Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
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.
Solved! Go to Solution.
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.
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.
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