RetailRichMediaEncoder::Encode Method [AX 2012]
Encodes the supplied RetailRichMediaTmp table with a list of media into a string putting the record with the id of _defaultRecId first.
The method will not include the 'Alt text' field, if supplied _mediaType is Videos.
For the information on the encoding format, please see the class description.
client server public static str Encode(RetailRichMediaTmp _sourceData, RecId _defaultRecId)
Run On
CalledParameters
- _sourceData
- Type: RetailRichMediaTmp Table
The RetailRichMediaTmp table with a list of media to encode into a string.
- _defaultRecId
- Type: RecId Extended Data Type
The id of the record that must be stored first.
Show: