on 12-21-2005 5:26 AM
Hello Everyone,
i am using accessing Km from WebDynpro.i have successfully uploaded the files into km.but i am unable to retrive the file content from KM.
my requirement is when user click on the KM file i want to show that file in seperate window.
any suggestions will be appriciated
Regards
Naidu
hi Rohit,
thanks for ur replay
i did the same thing.i am displaying tha all the files and folders on the screen.but i am unable to retrive the content in files.
Regards
Naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naidu,
Go though the link to add the jar files and the code to access the km and show the details of files in webdynpro application
http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutoria... on using knowledge management functions in web dynpro - 26.htm
define a context attribute as path
in do init give path as
wdContext.currentContextElement().setPath("/documents/Public Documents/Elearning");
You can alter the path by concatenating additional folders if necessary
for example
wdContext.currentContextElement().setPath(wdContext.currentContextElement().getPath()"/"<folder name>);
In the link to action event handler write code for opening window
IWDWindow newwindow = wdComponentAPI.getWindowManager().createExternalWindow(
"/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs"wdContext.currentContextElement().getPath()"/"+name,"from km repository",false);
Hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.