This documentation is archived and is not being maintained.
RetailRichMediaEncoder::EncodeValues Method [AX 2012]
Encodes the supplied values for _url and _altText and formats them as an xml string.
The method will add a emoty value for 'Alt text' field, if supplied _altText is not send.
For the information on the encoding format, please see the class description.
client server public static str EncodeValues(str _url, [str _altText])
Run On
Called
Parameters
-
_url
- Type: str
The url to be added to the encoded return xml string.
-
_altText
- Type: str
The optional alt text for the media to be encoded in the xml string.
Return Value
Type:
str
The encoded list of media.