cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading image in to portal's specific location?

Former Member
0 Kudos

Hi,

I'm trying to upload an image file (.png, gif, .jpg file etc.) in a specific location in portal with using web dynpro java.

Later a will prepare a wdjava program to show them in screen.

Is there a blog or sample code to do it?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

here you go

[How to Upload a File into the Knowledge Management Repository using Knowledge Management API|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70a60afe-d576-2a10-68bf-9ce3988dc39e]

[Getting an image from KM Documents to be used in Web Dynpro|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5275] [original link is broken] [original link is broken] [original link is broken];

Former Member
0 Kudos

Hi,

problem with first link. It does not give .jar list, and in doContent() code there is number mismatch open arrowed brackets with close arrowed brackets.

junwu
Active Contributor
0 Kudos

second link gives all the jar required.

for the code, please be more intelligent

Former Member
0 Kudos

It does not require using same jars.They are different projects, intelligent John.

If I knew the codes inside them , that time i did not ask to persons like you.

junwu
Active Contributor
0 Kudos

I never expect you would understand the code,

at least you should know how to fix open bracket

junwu
Active Contributor
0 Kudos

how can you be that intelligent and know they require different jars?

they are jars used to read or write the KM.

junwu
Active Contributor
0 Kudos

I should have mentioned this one.

/people/rohit.radhakrishnan/blog/2005/05/27/uploading-files-to-km-repository-using-webdynpro-apis

Answers (0)