cancel
Showing results for 
Search instead for 
Did you mean: 

uploading image path

Former Member
0 Kudos

Hi All,

in my requirement i need the path where the image will be uploading in the server dynamically.

Thannks,

Ramani.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

You can try uploading the images dynamically to the Content Management inside the Portal.

in my file upload program i use following path

RID pathRID = RID.getRID("/documents/Public Documents/PICDATA"); //Root Directory

where /documents/Public Documents/PICDATA is existiing folder in KM on portal.

If you are using webdynpro for Java then make use of FileUpload UI element and KM API's

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9]

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71]

Greetings

Prashant

Former Member
0 Kudos

Hi Prashanth,

iam not uploading in KM.iam cropping one image and that cropped image will be uploaded in the server.

i want that url so that i can display that cropped image in my application.

Thanks,

Ramani

Former Member
0 Kudos

Sorry from the question you posted, i was not clear!!

Conceptually you can always store the data of the croped image in the context of WD application. Ensure that you use the Attribute of type

type	com.sap.ide.webdynpro.uielementdefinitions.Resource

Until user decides to save it.

Greetings

Prashant

Former Member
0 Kudos

check this link

Former Member
0 Kudos

Hi Ramani,

I did a webdynpro java application 3 months back for uploading the image/file in the server.

At that time, i stored the path of the image/file in a SQL database table.So i suggest you to store the path of the image in SQL database table.

Regards,

T Krishna Balaji