Is it possible to upload an image from a user's machine, store it in a KM folder/rep and get the complete URL for that?
I have an iview which displays a form with the file upload option. Is there a way (perhaps using KM APIs) to add this image to a KM repository and display the URL of the stored image to the user?
Thanks
Sid
Hi Sid,
for the case you want to develop such a thing, see Uploading Document from client browser and/or File Upload Problem using JSPDynPage in EP5 (PDK 5.0.6)
If any questions should stay open, just ask.
Hope it helps
Detlev
Hi Siddhartha,
If you have content Admin Privileges>Under KM content, select the folder where you want to upload the image, int the menu select folder> New-->Upload. You can Upload many images, and select the properties of the image by clicking on the context menu and selecting the details > Settings->properties--->AccessLinks (WebDEv URL).
If you are interested in looking at creating iview, Try looking at com.sap.portal.pdk.srv.urlgenerator under PDK and try URLGeneratorComponent.
Hope this helps,
Thanks,
Praveen
PS. Dont foget to award points if useful/solved
Add a comment