Skip to main content
Community site session details

Community site session details

Session Id : JXVb3b4wyJtn5dqGppCZgV
Power Apps - Building Power Apps
Answered

Using the patch function with hyperlink type on sharepoint

Like (0) ShareShare
ReportReport
Posted on 3 May 2024 18:22:13 by 4

Hi everyone!

 

I'm trying to patch a new link on a column in SharePoint that has the hyperlink type, but I don't know exactly how to do this.

 

This are the value I want to update 

Lhanoo_0-1714760386548.png

And this is the actual code that keep giving me some errors

Lhanoo_1-1714760436369.png

Does anyone know how to do that?

 

Thank you

 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 06 May 2024 at 03:17:16
    Re: Using the patch function with hyperlink type on sharepoint

    HI @Lhanoo,

    Power Apps patches the Url and Description with the same value. If you want to have different values for these you must use Microsoft Automate:

    Update a hyperlink or picture column in SharePoint using Microsoft Power Automate (Flow) – NateChamberlain.com

     

    For solution in Power Apps, You just need to 

    Patch('APP Requests',LookUp('APP Requests',ID=gblRequestForm.ID),{_GMUD:InputTextShui_gmud.Text});

    vqiaqimsft_0-1714965311298.png

     

  • Verified answer
    ANB Profile Picture
    7,128 Super User 2025 Season 1 on 04 May 2024 at 12:34:48
    Re: Using the patch function with hyperlink type on sharepoint

    Hi @Lhanoo , Did you tried using directly text? I mean this:

     

    Patch(
     ListA,
     LookUp(
     ListA,
     ID = 1
     ),
     {LINK: "https://www.microsoft.com"}
    )

     

    Please check below post:

    https://garrytrinder.github.io/2018/12/limited-patching-of-sharepoint-hyperlink-fields-in-powerapps

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Hyperlink-field-causing-quot-Network-error-when-using-Patch/td-p/2402425

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution ✅ if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.👍

    Thanks,
    ANB


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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading started
Loading complete