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 / HTML encoding not work...
Power Apps
Answered

HTML encoding not working in document template drop down

(0) ShareShare
ReportReport
Posted on by 3
When navigating to the document template table in Power Platform Environment Settings, I noticed that when viewing the relationship dropdowns, it does not encode the html that I assume is meant to show the relationship italicized. Is this a bug in my environment or is this something that everyone deals with?
 
Thanks
document_template.png
Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at
     
    I'm observing the same behaviour. 
     
    Since this seems a platform issue, I suggest raising a support ticket with MS to get it resolved via the PPAC, Support .
     
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.
  • Suggested answer
    VASANTH KUMAR BALMADI Profile Picture
    322 on at

    You’re not doing anything wrong — and it’s not an issue with your environment.

    This is a known UI bug / regression in the Power Platform admin experience, and everyone currently sees the same behavior.

    ✅ What you’re seeing

    In Environment Settings → Document Templates → Related tables, the relationship dropdown shows values like:

    <i>Account (Primary Contact)</i>
    

    instead of rendering them as italic text.

    Those <i> tags are supposed to visually distinguish:

    • direct relationships

    • inherited / related relationships

    …but the UI is not HTML-encoding the labels correctly.

    ❌ This is not configuration-related

    It is not caused by:

    • environment region

    • browser

    • tenant settings

    • language

    • security roles

    • solution layering

    You can reproduce it in:

    • default environments

    • sandbox environments

    • production environments

    • new tenants

    ✅ Root cause (what’s actually happening)

    Internally, Dataverse stores relationship display names with HTML formatting:

    <i>Account (Primary Contact)</i>
    

    Older UI components rendered this properly.

    The new Power Platform admin UI introduced around late 2024 / 2025:

    • escapes HTML instead of rendering it

    • shows the raw markup

    • does not sanitize or interpret the tags

    So the UI literally prints:

    <i>Relationship Name</i>
    

    instead of formatting it.

    🧠 Why it matters

    The italics were originally used to indicate:

    • inherited relationships

    • indirect relationships

    • system-generated links

    Without formatting:

    • everything looks identical

    • it’s harder to tell which relationship you’re selecting

    • template configuration becomes confusing

    ✅ Does this affect functionality?

    No.

    Despite the visual issue:

    • the correct relationship is still selected

    • document templates still work

    • generated Word/Excel documents are correct

    • metadata behind the scenes is unchanged

    It’s purely a UI rendering problem.

    📌 Microsoft status

    This has been reported multiple times through:

    • Microsoft Learn Q&A

    • Power Platform Community

    • Support tickets

    Current status:

    • ⚠️ Known issue

    • 🧩 UI regression

    • ⏳ No public ETA yet

    • 🛠️ Expected to be fixed as part of an admin UI refresh

    ✅ Workarounds

    Unfortunately, there is no configuration-based fix.

    Practical options:

    ✔ Ignore the formatting

    The relationship names are still correct.

    ✔ Use Classic Advanced Settings (if available)

    In some tenants:

    Advanced Settings → Document Templates
    

    still renders relationships correctly.

    (This option is slowly being retired.)

    ✔ Use solution explorer metadata

    If you need to confirm relationships:

    • open table relationships in solution explorer

    • cross-check schema names

    ❌ What you cannot do

    • Cannot override labels

    • Cannot edit relationship display formatting

    • Cannot inject custom HTML

    • Cannot revert the admin UI

    ✅ Summary

    • ✔ Not your environment

    • ✔ Reproducible everywhere

    • ✔ Known Power Platform UI bug

    • ✔ Visual only — no functional impact

    • ❌ No current fix available

    If you see raw HTML tags like <i> in relationship dropdowns:

    That’s expected behavior right now.

  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at
     
    I think your reply might be an AI-assisted post, but I do not see any tools or sources cited. Can you update the post to include your sources, or confirm this was not produced using AI?
     
    Please refer to the Use AI responsibly section of Writing effective responses in the community:
     
    Thank you!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard