Share via


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.

Syntax

public str uploadPhoto(DocuRef _docuRef)

Run On

Called

Parameters

  • _docuRef
    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.

See Also

Reference

RetailMediaChannelFacebookConnector Class