RetailMediaChannelFacebookConnector::doUploadPhoto Method [AX 2012]

The uploadPhoto method is called when image needs to be uploaded to the service, if it is a separate operation from posting a message.

Syntax

server private static str doUploadPhoto(
    RecId _settingsRecId, 
    RetailCommonWebAPI _webApi, 
    RetailMediaFileDescription _picture)

Run On

Server

Parameters

Return Value

Type: str
Returns ID of the uploaded image, if successful.
Returns an empty string, if failed.

See Also

Reference

RetailMediaChannelFacebookConnector Class