cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Domainator
Level: Power Up

update link AND text in Hyperlink field of SharePoint item

from Flow I'm able to edit the hyperlink location.

 

hyperlink.PNG

 

but how to I set up a nice text for the link instead of long URL?

9 REPLIES 9
Community Support Team
Community Support Team

Re: update link AND text in Hyperlink field of SharePoint item

Hi @Domainator,

 

Do you want to update the display text for the hyperlink within your SharePoint list item using Microsoft Flow?

 

I afraid that there is no way to update the display text for the hyperlink within your SharePoint list item in Microsoft Flow currently, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: update link AND text in Hyperlink field of SharePoint item

Use InfoPath to add Hyperlink description after "Show advanced view"

Administrator
Administrator

Re: update link AND text in Hyperlink field of SharePoint item

Hello, @Domainator!

 

Have you had an opportunity to apply @Anonymous‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

 

Thank you for being an active member of the Flow Community!

 

-Gabriel

Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
bdc604
Level 8

Re: update link AND text in Hyperlink field of SharePoint item

Has anyone had any luck leveraging REST API in a Flow: HTTP or Flow: Send an HTTP Request to Sharepoint to achieve the link/display issue for hyperlinks?

AjiIchiban
Level: Powered On

Re: update link AND text in Hyperlink field of SharePoint item

Hi @bdc604

 

I had a client ask for the ability to export individual items to Excel.  SPO export function by default exports all items so long story short I ended up using Flow.  I used the below action to update the URL to the CSV file and changed the display name to "CSV"

 

TestURL2 is the column name

 

2018-08-29_091344.png

starcou
Level: Powered On

Re: update link AND text in Hyperlink field of SharePoint item

Hi !
Thanks for your idea !
But that's doesn't work.

I have create my http request, my JSon is valid, but when it's executed, I have an error 412. 

"La valeur «  » ETag de la demande ne correspond pas à la valeur « "4" » ETag de l'objet."

This is in Frech, but that's said : "the value "" ETag of the demande doesn't match to value "4" ETag of the Object".

Please, can you help me ?

 

andybeno
Level: Power Up

Re: update link AND text in Hyperlink field of SharePoint item

@bdc604 - yeah I just did this (updating a list item's URL value, both display text and URL) via a REST API call like the one below.  The name of my hyperlink field is "URL" and one of the properties we're setting is "Url", so it might be a little confusing in my example:

 

Type: Send an HTTP Request to SharePoint

 

Site Address: https://your.sharePoint.com/site/URL

 

Method: POST

 

Uri: _api/web/lists/GetByTitle('YourListNameHere')/items(@{triggerBody()['ID']})

 

Headers (key : value):

accept : application/json;odata=verbose

content-type : application/json;odata=verbose

X-HTTP-Method : MERGE

IF-MATCH : *

 

Body:

{'__metadata': { 'type': 'SP.Data.ClientsListItem' },
'URL':
{
'__metadata': { 'type': 'SP.FieldUrlValue' },
'Description': 'Google',
'Url': 'https://www.google.com'
}
}

 

Hope that helps!

 

Andy

 
 

Re: update link AND text in Hyperlink field of SharePoint item

@Domainator ,

 

You will need to use a REST API to add the hyperlink field. It is really easy to do if you follow the steps in this article: 

 

https://www.dmcinfo.com/latest-thinking/blog/id/9832/creating-sharepoint-list-items-in-microsoft-flo...

prashanthsparks
Level: Powered On

Re: update link AND text in Hyperlink field of SharePoint item

Thanks this worked like a charm


@AjiIchiban wrote:

Hi @bdc604

 

I had a client ask for the ability to export individual items to Excel.  SPO export function by default exports all items so long story short I ended up using Flow.  I used the below action to update the URL to the CSV file and changed the display name to "CSV"

 

TestURL2 is the column name

 

2018-08-29_091344.png



 

 

2018-08-29_091344.png



 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (6,075)