UiPath Documentation
apps
latest
false
Apps user guide
important :
For documentation on app projects in Studio Web, refer to the App Projects chapter in the Studio Web documentation: https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web.

Binding a media document to Image controls

Bind an uploaded media file to an Image control Source property using the Media expression syntax in the Expression editor.

Make sure the media file is uploaded to your app.

Note:

Media support is relevant for the Source property of the Image control.

  1. Add an Image control to your app.

  2. Open the Expression editor for the Source property.

    Note:

    Image controls accept the IResource data types.

    To reference a new IResource object, enter the following expression in the Source field: assignment

    new IResource("https://imageURL.png")
    new IResource("https://imageURL.png")
    
  3. To bind the media file, use the following expression:

    Media.<file_name>
    Media.<file_name>
    

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated