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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal Comments with '...
Power Pages
Answered

Portal Comments with '&' becomes '&'

(0) ShareShare
ReportReport
Posted on by 63

I'm having an issue with the Portal displaying Portal Comments with an '&' in them.

 

My Portal Comment object in dynamics 365 has a description like so:

http://contoso.com/username=Jonah&password=HelloWorld&Location=USA

 

But when this description is displayed in the Portal it is displayed like this:

http://contoso.com/username=Jonah&password=HelloWorld&Location=USA

 

I know that '&' is used to display the '&' in HTML but the portal isn't displaying it as such and thus breaks the links in the comments.

 

How do I go about preventing this from happening or at least parsing out the 'amp;'?

Categories:
I have the same question (0)
  • Verified answer
    theportalguy Profile Picture
    Microsoft Employee on at

    Yes this is a bug. Portal team will fix this in next release.

     

    Meanwhile you can try adding custom javascript on document.ready or Add comment button click to decodeURIComponent for the innerhtml of elements with class note. This is just a temporary workaround though.

  • Chris J Profile Picture
    on at

    Suggest to raise a ticket to Microsoft Support, it could be a product issue.

  • Satish1024 Profile Picture
    279 on at

    It sounds more like a bug. Can you contact Microsoft support? I am afraid there is not much we can do if it's happening as you explained. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 51 Super User 2025 Season 2

#2
Jerald Felix Profile Picture

Jerald Felix 25

#2
Lucas001 Profile Picture

Lucas001 25 Super User 2025 Season 2

Last 30 days Overall leaderboard