Apr 12 2023 03:06 AM
Hi, I am a beginner so thorough explanation would be appreciated.
I am using the Image Column where users can upload an image (not a hyperlink). It then automatically gets uploaded to a folder named after the list ID. When formatting the column/view using "txtContents":"[$ImageColumn.serverRelativeUrl]", I can see the URL needed.
Now whenever the list item has an image uploaded, I need to get its URL and automatically populate a Hyperlink Column with it.
Ideally, the process would be this:
PowerApps: User adds a new item to the list --> SharePoint: New item is created in the list --> PowerAutomate: If there is a photo in the Image Column, get the Server Relative URL --> Add the URL to the Hyperlink Column.
From my research I need to use "Send an HTTP Request to SharePoint" but I'm stuck on how to do this correctly. Any help would be brilliant please.
Thank you.
Apr 12 2023 04:32 AM
Solution@viktorijab Yes, you have to use "Send an HTTP Request to SharePoint" action in Power automate flow to get the Image column details as standard SharePoint connector triggers do not provide it in triggerOutputs.
So, you have to use the flow like below:
Related reads:
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Apr 12 2023 06:30 AM
Apr 12 2023 07:19 AM
@viktorijab It is working fine for me. I have tested and posted screenshot of working flow.
What is the problem when using tenant URL with outputs of compose action? You can also concatenate both using concat function to create a single string output.
Also, you are receiving the error when you are not using tenant URL because SharePoint hyperlink column expects value with valid URL staring with either http or https. Hence, you have to prepend the tenant URL to server relative URL of an image.
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.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs
Apr 12 2023 07:29 AM