cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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.
Highlighted
Anonymous
Not applicable

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

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

Highlighted
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
Community Manager
Microsoft Power Automate | Power Virtual Agents
Are YOU a member of a Power Platform User Group?
Fill out This Form to claim your Community User Group Member Badge!
Highlighted
Advocate III
Advocate III

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?

Highlighted
Regular Visitor

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

Highlighted
Frequent Visitor

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 ?

 

Highlighted
New Member

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

 
 
Highlighted
Resolver II
Resolver II

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...

Highlighted
Regular Visitor

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,603)