cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Browsing of Image and Uploading in value display

SOLVED

Browsing of Image and Uploading in value display

Hi,

Is it possible for the user to browse and upload a image in value display from local directory using file upload widget? 

Thanks,

Shalini V.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Browsing of Image and Uploading in value display

Yes.  The upload widget must save the file to a repository.  You trigger a service to execute after the UploadComplete event to get the file link of the file in your repository (you already know everything required from the upload widget to get just the one file you uploaded the GetFileListiingWithLinks service) and bind that value to the value display widget.

3 REPLIES 3

Re: Browsing of Image and Uploading in value display

For ValueDisplay widget, you need to make the uploaded image file to be an image property, You can also consider using Image widget in the mashup.

 

You could use CreateMediaEntity service to bind image to the Media entity, or create Thing with Image or Image Link property, and set property value after upload.

Re: Browsing of Image and Uploading in value display

Yes.  The upload widget must save the file to a repository.  You trigger a service to execute after the UploadComplete event to get the file link of the file in your repository (you already know everything required from the upload widget to get just the one file you uploaded the GetFileListiingWithLinks service) and bind that value to the value display widget.

Re: Browsing of Image and Uploading in value display

Hi @svisveswaraiya-

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon