RetailRichMediaEncoder::Decode Method [AX 2012]

Decodes a list of medias from the supplied string representation into the supplied RetailRichMediaTmp table.

The method returns the id of the first media record.

For the information on the encoding format, please see the class description.

client server public static RecId Decode(str _encodedData, RetailRichMediaTmp _store)

Run On

Called

Parameters

_encodedData
Type: str
The string representation of a list of media.
_store
Type: RetailRichMediaTmp Table
The RetailRichMediaTmp table to store the decoded media list into.

Return Value

Type: RecId Extended Data Type
Rhe id of the first media record.

The method does not check how many fields are there in every tuple it finds, nor it checks the values anyhow.

Show: