cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nbarsley1 Advocate II
Advocate II

Sharepoint List Link Column

Hi, 

I'm creating an app to update a Sharepoint list. The list contains a hyperlink column that consists of two properties, URL and display text.  I cant figure out how to update the display text in the list. The only property I can modify is the URL. Does anyone have any suggestions? 

2 REPLIES 2
TopShelf-MSFT Community Champion
Community Champion

Re: Sharepoint List Link Column

adding in @KeremY to assist with this question

 

@TopShelf-MSFT

Power Automate
Power Automate

Re: Sharepoint List Link Column

I will assume you would like to modify this within PowerApps (since the screen shot is from SharePoint showing how you do that in SharePoint). Please correct me if I'm wrong.

 

example on SharePoint offers both URL and display value

 

sharepointDisplay.PNG

 

The default form in PowerApps only shows url, and when you submit this form you'll get the url edited in both Url parameters of the SharePoint list.

 

defaultform.PNG

 

So I was hoping we might be able to patch the two values similar to how Flow can do this, but this format errored out because we are not offering more than 1 return value (see advanced options screen shot):

 

Patch(URLTest,Defaults(URLTest),
{Title: "Bing",
MyLink:
    {
    Url:"https://www.bing.com",
    Description:"click"
    }
})
 

advanced.PNG

 

This all seems to indicate that this is not possible (at least from a form control) today. I did however find that someone had achieved this with Flow here:

https://techcommunity.microsoft.com/t5/PowerApps-Flow/Updating-a-Hyperlink-field-both-url-and-descri...

 

Adding @anees@GregLi to keep me honest.

 

Also feel free to add this to our Ideas forum so others may vote on it, and we may consider an enhancement:

ideas.powerapps.com

 

Thank you,

Audrie

 

 

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (6,667)