cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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

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

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
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities
Advocate III
Advocate III

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?

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

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 ?

 

@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

 
 

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Top Kudoed Authors
Users online (7,915)