Applies to Product - Power Apps
What’s happening?
When using "greater than" (>) or "less than" (<) characters in notification messages, these symbols do not render correctly in the desktop application, although they display properly in the web portal. Additionally, if users enter text enclosed within these symbols, the data may appear missing when retrieved from Dataverse. This issue is also observed in the mobile application.
Reason:
This occurs because certain special characters—such as < and >—are interpreted as XML/HTML markup and are not allowed in plain string or memo fields in Dataverse. As a result, the data may not be saved correctly or may be stripped during retrieval, leading to incomplete or missing content.
Resolution:
To mitigate this:
Next Steps:
If the issue continues despite applying these mitigations, further investigation will be necessary. Create a work item or escalate to the appropriate product or engineering team for deeper analysis and resolution.
What’s happening?
When using "greater than" (>) or "less than" (<) characters in notification messages, these symbols do not render correctly in the desktop application, although they display properly in the web portal. Additionally, if users enter text enclosed within these symbols, the data may appear missing when retrieved from Dataverse. This issue is also observed in the mobile application.
Reason:
This occurs because certain special characters—such as < and >—are interpreted as XML/HTML markup and are not allowed in plain string or memo fields in Dataverse. As a result, the data may not be saved correctly or may be stripped during retrieval, leading to incomplete or missing content.
Resolution:
To mitigate this:
- HTML encode the content before saving it to Dataverse to ensure special characters are preserved.
- Sanitize the input by removing or replacing invalid characters before persisting the data.
- Use the method System.Xml.XmlConvert.IsXmlChar(char) to validate each character and ensure only valid XML characters are stored.
Next Steps:
If the issue continues despite applying these mitigations, further investigation will be necessary. Create a work item or escalate to the appropriate product or engineering team for deeper analysis and resolution.
