on 10-23-2007 8:35 PM
Hi
I need to display link to some KM folder in my WebDynpro application.
I have View with UI element of type LinkToUrl with reference to string attribute in the context.
The question is how to init this context attribute with link to /documents/xxx folder?
Thanks
It's work!
Use PathKey.NAVIGATION_PAGE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the code:
try{
RID rid = RID.getRID("/documents/News/");
IURLGeneratorService urlgen =(IURLGeneratorService)
ResourceFactory.getInstance().getServiceFactory().getService
(IServiceTypesConst.URLGENERATOR_SERVICE);
String folderUrl = urlgen.getResourcePageUri
(PathKey.CONTENT_ACCESS_PATH, rid, null).toString();
wdContext.currentContextElement().setFolderUrl(folderUrl);
}
catch.......
When application is running and I click the link, I see this message:
http://server:port/irj/go/km/docs/documents/News
The folder you are looking for has no displayable content.
You can try one of the following:
Access the folder using the Navigation user interface.
Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
When I choose "Access the folder using the Navigation user interface" I can see it. But how to access the folder without the message?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
To access km file through LinktoURl. the URl should like this
http://hostname:port/irj/go/km/xx/xx/xxx
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try out with this tutorial
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this Blog
/people/bobu.georgeputheeckal/blog/2006/12/22/getting-an-image-from-km-documents-to-be-used-in-web-dynpro
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.