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

Highlighted
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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Solution Authors
Top Kudoed Authors
Users online (6,005)