web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HyperLink for a link g...
Power Automate
Answered

HyperLink for a link generated through power flow

(1) ShareShare
ReportReport
Posted on by 29
Hi I want to create a HyperLink with name "OnbehalfCPTLink" for the links which I am creating through a power flow in my sharepoint list. How can I do that  ?

 
Hyperlink .png
I have the same question (2)
  • Suggested answer
    Power Platform 1919 Profile Picture
    2,205 Super User 2026 Season 1 on at
    Hi @KV-03091035-0,
    Can you please explain your requirement a bit more, the link is generated, where do you need this link in power apps or Sharepoint Column ?

    or you want the name of the link as "OnbehalfCPTLink", but underlying link address as your link address
    Example: OnbehalfCPTLink
  • Suggested answer
    chiaraalina Profile Picture
    1,882 Super User 2026 Season 1 on at
    Hi
     
    I recommend using SharePoint Column Formatting to customize how the hyperlink appears in your list.
    In your Power Automate flow, simply update the SharePoint Hyperlink column with the full URL (make sure it includes http:// or https://).
     
     
    Then, in your SharePoint list, follow these steps:
     
     
     
     
     
    Enter:
     
    {
      "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
      "elmType": "a",
      "attributes": {
        "href": "[$Hyperlink]",
        "target": "_blank"
      },
      "style": {
        "color": "#0078d4",
        "text-decoration": "underline"
      },
      "txtContent": "OnbehalfCPTLink"
    }
     
    Save
     
    Let me know if that helped!
     
  • KV-03091035-0 Profile Picture
    29 on at
    Hi @Power Apps 1919 

    Yes, the link is generated in SharePoint List but it seems too long, hence want to create a Hyperlink for those links similar to what you have given as example. 
  • Suggested answer
    Power Platform 1919 Profile Picture
    2,205 Super User 2026 Season 1 on at
    Hi @KV-03091035-0,
    then you can try @chiaraalina Suggestion of advanced column formatting using JSON, that can solve your problem, if you are seeing the column from SharePoint UI .

    And do you want to show this link in Another place like Canvas App? 
    If yes, Use HTML Text or Label/Button Control with OnSelect as (Launch ({Your Dynamic URL}))
  • Suggested answer
    Power Platform 1919 Profile Picture
    2,205 Super User 2026 Season 1 on at
    Update 2 :
    Check this link. this can help you, Without needing to alter the column formatting:
    Add Hyperlinks to SharePoint List Items Using Power Automate
  • KV-03091035-0 Profile Picture
    29 on at
    Hi @Power Apps 1919

    Thanks for the methods. was trying the Update 2 method however wanted to confirm that will this work only in new SharePoint view or it can work in classic SharePoint view also?  As i have tried the Update 2 method, shows the flow to be successful but the Hyperlink still isn't created i n the classic sharepoint view. 
  • KV-03091035-0 Profile Picture
    29 on at
    Hi @chiaraalina

    Thank you for your help. 

    However, this didn't work completely, although I was able to get the Hyperlink but when clicking on the link it shows blank page. 

    Also, when I tied to change the formatting to the orignial way it is not showing any link now, could you help me? 

     
  • Verified answer
    chiaraalina Profile Picture
    1,882 Super User 2026 Season 1 on at
     
     
    Thanks for the update!
     
    1. Check the internal name of your column
      Go to your SharePoint list
      Click on List settings → Columns → [Your Column]
      In the URL, look for something like:
      ...Field=YourColumnName
      Use that name in your JSON instead of Hyperlink, e.g. [$YourColumnName]
       
    2. Ensure the column type is: “Hyperlink or Picture” (not "Single line of text")
       
    3. Verify that the column has a value 
      Open the SharePoint list and make sure the Hyperlink column has a populated URL
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 541

#2
Valantis Profile Picture

Valantis 479

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard