Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 2HdPKLONBHE4ZhcHBr4lAT
Power Automate - Building Flows
Answered

Customize display name of "link to item" in sharepoint column

Like (0) ShareShare
ReportReport
Posted on 14 Sep 2023 23:35:17 by 153

Hello everyone,

 

in my flow I update a sharepoint (hyperlink type) column with an url via link to item function.

 

Nuriel_0-1694734323411.png

 

This works, but displays of course the full url in the column

Nuriel_1-1694734423093.png

 

How can update the column with an url, but let the link display name say some other custom text, e. g. Link ?

 

Thank you!

 

  • Nuriel Profile Picture
    153 on 15 Sep 2023 at 07:52:10
    Re: Customize display name of "link to item" in sharepoint column

    Thanks @creativeopinion : unfortunately the Json file link was not available on youtube anymore, so I typed everything off 😉 But your solution worked like a charm, many thanks.

     

    @ManishSolanki : also thank you for posting your suggestion - I tried this one first, unfortunately I was getting a getbytitle metadata error here, I guess this additional part which @creativeopinion does, is required.

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on 15 Sep 2023 at 02:25:59
    Re: Customize display name of "link to item" in sharepoint column

    Hi @Nuriel 

     

    You could achieve this by using "Send an http request to SharePoint" action. Pls refer the sample flow mentioned below.

     

    In this example, I have used a SharePoint list 'Action Tracker' with 'hyperlinkCol' as a hyperlink column type.

    ManishSolanki_0-1694744027892.png

    Site Address: <<SharePoint site collection URL>>

    Method: POST

    Uri: _api/web/lists/getbytitle('<list display name>')/items(<item id>)

    Headers:

    Key Value
    Content-Type application/json;odata=verbose
    X-HTTP-Method MERGE
    IF-MATCH *

     

    Body:

    {
    "__metadata": {
    "type": "SP.Data.Action_x0020_TrackerListItem"
    },
    "hyperlinkCol": {
    "Description": "Link",
    "Url": "https://www.microsoft.com"
    }
    }

    In the above JSON code, 'Action_x0020_Tracker' is the display name of the list. The white space between name is represented by '_x0020_', if there is no space then it is not needed. In description, pass the link title and Url contains the actual link.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Verified answer
    creativeopinion Profile Picture
    10,406 Super User 2025 Season 1 on 15 Sep 2023 at 02:14:53
    Re: Customize display name of "link to item" in sharepoint column

    @Nuriel You need to use the Send HTTP Request to SharePoint action. Please refer to this section of one of my YT Tutorials.

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,743 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,081 Most Valuable Professional

Leaderboard