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

Get hyperlink display text in SP list

Just starting out in flow and falling at the first fence...

I have a list in Sharepoint Online.

I want to update the title column with the display text in a hyperlink field

I've built a 'When existing item is modified' trigger that catches a change and added an 'Update item' to udate the field.

It almost works... The title is updating nicely.

But I can only see how to use the default value of the hyperlink (The URL) when what I need is the display text

I suspect that I need to use an expression to get at a property of the hyperlink object, but I'm not finding the docs to be of much value

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get hyperlink display text in SP list

 

Hi @PSW ,

 

Please try to do this to get the text of the hyperlink.

For example, list2 has a field of type hyperlink.

Expression reference:

body('Send_an_HTTP_request_to_SharePoint')['d']['ColumnName']['Description']

Image reference:

18.PNG17.PNG

Hope it helps.

 

Best Regards,

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

View solution in original post

3 REPLIES 3
GrandMoffReknaw
Level: Powered On

Re: Get hyperlink display text in SP list

Community Support Team
Community Support Team

Re: Get hyperlink display text in SP list

 

Hi @PSW ,

 

Please try to do this to get the text of the hyperlink.

For example, list2 has a field of type hyperlink.

Expression reference:

body('Send_an_HTTP_request_to_SharePoint')['d']['ColumnName']['Description']

Image reference:

18.PNG17.PNG

Hope it helps.

 

Best Regards,

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

View solution in original post

PSW
Level: Power Up

Re: Get hyperlink display text in SP list


Thanks - that works


@v-bacao-msft wrote:

 

Hi @PSW ,

 

Please try to do this to get the text of the hyperlink.

For example, list2 has a field of type hyperlink.

Expression reference:

body('Send_an_HTTP_request_to_SharePoint')['d']['ColumnName']['Description']

 

Helpful resources

Announcements
firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

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