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.

Syntax

client server public static str Encode(RetailRichMediaTmp _sourceData, RecId _defaultRecId)

Run On

Called

Parameters

Return Value

Type: str
The encoded list of media.

See Also

Reference

RetailRichMediaEncoder Class