Forum Discussion
Update the Sharepoint List Name with last update
- Feb 28, 2024
jtsables it is possible using a flow in Power Automate but you will need to use environment variables in a solution so that you don't have to keep manually changing the source list name. My original SharePoint list was titled Bridge:
This is the flow and you'll see the site name and list name are using the environment variables I created in a solution:
We need to use 2 send an http request to SharePoint actions, the first to get the previous title of the list and the second to post the new title.
After an item in the list is created or modified this is the new title of the list:
And again a couple of minutes later.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
I just have issues with the first http request and a part of the Uri formula:
jtsables literally just paste _api/web/lists(guid'@{actions('Get_item')['inputs']['parameters']['table']}')?$select=Title directly into the Uri field, it will create the expression.
And you don't want that get item inside a for each - one of the issues with the new designer, which was why my solution used classic.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
- jtsablesFeb 28, 2024Copper Contributor
Yes this is what I did the first times but I always have this message:
I was wondering the 'for each' on my get item created this issue but I cannot figure out why
And I still have this problem with the old design