cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rob_CTL
Helper V
Helper V

Turning SharePoint site and list URL into a variable?

Hi

 

I have a number of site templates and they have associated flows, I keep a master template of the flows which a user "Saves As" then edits it to update the SharePoint site/list information within the controls.  Some of the flows have a lot of controls that require updating which takes a long time and increases the chance of human error.  So I was wondering if it was possible to get the site URL and list name into a variable so the user just needs to update the initial Flow control then all the ones below it use the variable and thus don't need editing?

 

Or is there is a better way of templating Flows?

 

Thanks in advance

Rob

3 REPLIES 3
Jcook
Super User
Super User

Hello @Rob_CTL 

 

Yes you can use Variables for certain fields for SharePoint connector.

 

Just make sure in your template to select the 'Enter custom value' than click your Variable.

 

Edit::

 

Here are some pictures:

Enter Custom Value.png

 

 

Parameters Variables.png


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Hi @Jcook 

 

Ah, I hadn't thought of doing that way, although that works it would be great if there was a way to get the URL dynamically so the user updating the template only had to change the initial control (When item is added).

 

Cheers

Rob

hbadhbds
New Member

In the dynamic content, the properties are not coming, when I put the site Url in a variable.

hbadhbds_0-1655725587753.png

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,931)