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 Apps / Let users add RTF - ur...
Power Apps
Unanswered

Let users add RTF - url links to a RTF control in Powerapps? - sharepoint links ot working in RTF control, why?

(0) ShareShare
ReportReport
Posted on by 1,097

I have a problem. I have created an app that is connected to a Sharepoint list as datasource.

 

I have created an RTF control to add data to an RTF text column in the sharepoint list.

 

Everything works. except when a user adds a link to a document stored in Sharepoint.

 

If i let a normal user create a record containing a hyperlink to www.google.com

Then it works

 

If i let a normal user create a record containing a hyperlink to a sharepoint document.

Then it does not work. The link that is created looks OK but when a user clicks on it, it does not open to the document, it opens to a domain that looks like this:

https://pa-content.azureedge.net

 

I have tried all types of combinations to add the link. But it is impossible. Every time i add a sharepoint link that starts with
domain.sharepoint.com it removes that and adds the pa-content azureedge.net link.

 

Why?

This kills my app completely. I need all users to be able to link to internal sharepoint documents.

How can i fix this?

 

I have tried to change from https to http

nothing works.

 

 

 

5a.png
1.png
3a.png
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    Hi @Oskarkuus ,

    Add the SharePoint Library as a data source, present it in a Library then

    Launch('Link to Item')

     

    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.

  • Oskarkuus Profile Picture
    1,097 on at

    But i cant add all file locations/librarys to the app. Many users will attach links from many many librarys. 

     

    I need links. 

     

     

  • Oskarkuus Profile Picture
    1,097 on at

    To explain the problem more.

     

    1. User create a record. Adding text and links to files and resources.

    2. Other users read the records, clicking on links and reading text.

     

    So the user need to add links to whatever they want to post/share.

     

  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    @Oskarkuus ,

    Do all users have at least read access to the SharePoint list? I have confirmed with a test this end that the URL of 

     

    Launch(https://xxxx.sharepoint.com/sites/SiteName/ListName/FileName.Ext)

     

    works perfectly as long as the recipient has access to the Library.

     

    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.

  • Oskarkuus Profile Picture
    1,097 on at

    Yes, all users have Read and Write access to the sharepoint list (datasource).

     

    If i dont grant them read and write, they can not create new records in the datasource.

     

    I let the usre create a post/record. I let them add links in the text, by using the RTF controller.

    But how to user your solution with Launch()?

    How do i let them add a link to the list. Some users might add 10 links, some might add 1. Where do they type in launch("link")?

     

  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    Hi @Oskarkuus ,

    I just picked up something else - URLs will need to be Plain text and the only content of the field, then all you do is Launch the field content.

    Launch(YourControlName.Text)

    Why are you using rich text?

     

  • Oskarkuus Profile Picture
    1,097 on at

    I am using rich text editor so the user can make a nice looking record. They type text, add links, make som bold text etc etc.

     

    How can i let a user add 10 links to a record that are clickable for another user?

    Only way to do this is to use RTF editor as far as i know.

    But if there is a way to let the end user add links to a record in datasource that would be greate.

     

    Do you mean i need 10 columns in a datasoure that is dedicated to potential links?

    So links that might be posted need to be separated from the users text?

     

    Or can i somehow create a way so that users can add links in the rich text they are typing?

  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    Thanks @Oskarkuus ,

    Yes, to use the Launch() function you would use multiple columns.

    You could put the code on the OnSelect of the control, so it would launch as soon as clicked.

     

    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.

  • Oskarkuus Profile Picture
    1,097 on at

    Ok then i understand.

    This solution changes the whole app.

     

    Why wont sharepoint links work in a rich text editor?

    Why do all other links works to other websites but not sharepoint?

     

    Using your solution is doable... but it will mess up the whole application. I need to find some space to put a bunch of columns... i have no clue on how many links a user might be adding... so i must have a bunch of columns just for "maybe they will add lots of links"....

     

    Feels so strange that Microsoft do not allow linking from powerapps to sharepoint adress but allow linking to google and other websites.

  • WarrenBelz Profile Picture
    156,386 Most Valuable Professional on at

    Hi @Oskarkuus ,

    I am a user like you (just a guy from Oz trying to help people). I have never tried to use Rich Text for hyperlinks, so do not know the answer, but clearly it does not work.

     

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard