Feb 28 2024 01:03 AM
Hi Team,
Do you know if the is a way to add the last update date in from of the name of the list?
I tried to look unsuccessfully on this forum.
Best regards
Feb 28 2024 03:20 AM
Are you trying to change the display name of SharePoint list? If yes, go to your SharePoint list and double click on the list name (at left hand side below list command bar), it will open the popup where you can rename the list and Save.
Note: You cannot have the list or list view name dynamic based on dates - it has to be static and changed manually/programmatically.
If you are trying to change the list name in list URL, follow this: Change SharePoint Online List URL using PnP PowerShell
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Feb 28 2024 04:31 AM
Solution@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)
Feb 28 2024 05:48 AM
Feb 28 2024 07:37 AM
I just have issues with the first http request and a part of the Uri formula:
Feb 28 2024 07:41 AM - edited Feb 28 2024 07:43 AM
@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)
Feb 28 2024 07:45 AM - edited Feb 28 2024 07:52 AM
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
Feb 29 2024 12:42 AM - edited Feb 29 2024 01:30 AM
Dear @Rob_Elliott
I succeed to finalize the flow as you did with the old designer and without the 'for each' action
Best regards
Jean-Tristan
Feb 29 2024 02:16 AM
@jtsables in fact the environment variables was my mistake. I didn't think the list title in the trigger would update when the title was changed and so the flow would fail. But I've just tested it on a different flow and it does update. This indicates to me that the trigger and subsequent actions display the current title but actually use the internal GUID of the list. Even after 5 and a half years with Power Automate you can still learn something new every day! Sorry for giving you the extra work with the EVs and solution (although they are often a good idea and it's good to know how to create them).
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
Feb 29 2024 02:36 AM
Thank you very much, I learnt a lot with this exercise !
I'm glad you learn also something with this discussion.
Best regards
Jean-Tristan
Feb 28 2024 04:31 AM
Solution@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)