Salesforce

How Do I Use the Mobile Device Camera or Select an Image from the Gallery? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Use the Mobile Device Camera or Select an Image from the Gallery? (Magic xpa 3.x)

You can initiate a camera or select an image from the gallery from the Android, iOS and Windows 10 Mobile client.

You do this in the Logic Editor:

  1. In the Logic tab, define a User event.

  2. Create an Update Variable operation.

  3. In the With property, define the ClientImageCapture function and in the source parameter (first parameter) use the following value: 0 to open the camera and 1 to open the gallery.

The path to the image will be returned from the function. If the user did not take an image, a blank string will be returned.

    See also

    The Rich Client Samples project (program RMO07)

    Reference
    Attachment 
    Attachment