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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Browsing of Image and Uploading in value display

svisveswaraiya
17-Peridot

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

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.

View solution in original post

3 REPLIES 3

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.

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.

slangley
23-Emerald II
(To:wposner-2)

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

Top Tags