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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Adrian Begovich's Blog / Xrm.Encoding Client API Met...

Xrm.Encoding Client API Methods

Adrian Begovich Profile Picture Adrian Begovich 1,027 Moderator

The Xrm.Device Client API namespace is included in Microsoft Dynamics 365, version 9.0 as part of the Xrm Object Model. It provides five methods for encoding and decoding strings.

0181.Xrm.png

htmlAttributeEncode

This method takes a string as a parameter and encodes the string into a format useful as part of a HTML attribute.

Xrm.Encoding.htmlAttributeEncode(arg)

htmlDecode

This method takes a string that has been HTML encoded and converts it into a decoded string.

Xrm.Encoding.htmlDecode(arg)

htmlEncode

This method adds HTML encoding to a string.

Xrm.Encoding.htmlEncode(arg)

xmlAttributeEncode

This method takes a string as a parameter and encodes the string into a format useful as part of a XML attribute.

Xrm.Encoding.xmlAttributeEncode(arg)

xmlEncode

This method adds XML encoding to a string.

Xrm.Encoding.xmlEncode(arg)

Comments

*This post is locked for comments