RetailMediaChannelFacebookConnector.uploadPhoto 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.

public str uploadPhoto(DocuRef _docuRef)

Run On



Type: DocuRef Table
The DocuRef record pointing to the document containing the image to upload

Return Value

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