Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi all,
Like the subject, I'd like to upload and display an image into Mashup without using File Upload widget. Is there any way to perform it?
Any help is appreciated.
Thanks.
Solved! Go to Solution.
Hello,
Something like that is probably nearly the best result you can achieve easily without developing your own JavaScript extension.
See mashup code attached. I exported it from 7.4, but it should load in 8.x. Please let me know if it doesn't work.
/ Constantine
Hello,
Do you want a user to upload it through his web browser, or some external program through some scripting? If latter, then the answer depends on a kind of external program that you have. Just a couple of examples:
If you want a user to upload a file through his web browser, then what's wrong with the standard FileUpload widget?
Basically, you need to explain in more detail what you are trying to achieve.
/ Constantine
Hello Constantine,
Actually, I would like to create a "custom widget" like "SaveImage" in FileRepository. For more details, please check the attachment.
Thank you.
Hello,
Something like that is probably nearly the best result you can achieve easily without developing your own JavaScript extension.
See mashup code attached. I exported it from 7.4, but it should load in 8.x. Please let me know if it doesn't work.
/ Constantine
Thank you very much, Constantine
It works.