Share via


RetailPromotionFacebookSitesSolution::registerMediaType Method [AX 2012]

Sets the media type by using RetailMediaChannelConnectorSettings table fields.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static void registerMediaType(
            RetailMediaChannelType _channelType, 
            str _mediaTypeId, 
            str _mediaDescription)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server private static void registerMediaType(
            RetailMediaChannelType _channelType, 
            str _mediaTypeId, 
            str _mediaDescription)

Run On

Called

Parameters

  • _mediaTypeId
    Type: str
    String value for Media type ID.
  • _mediaDescription
    Type: str
    String value containing media description.

See Also

Reference

RetailPromotionFacebookSitesSolution Class