Skip to Content
0
Former Member
Feb 05, 2004 at 08:17 PM

linking Km docs in a xml form

32 Views

Hi,

I'm trying to make a list of links as an xml form. The user can create new links to documents in the km content, and afther we show a list with the links and the option to go to the documents by clicking the title. I find a problem when I use the XFBrowser. This control only takes the direction of an archive refered to the root of km ( directory where /etc and /documents are located).

I put this value in a node of my xml called url.

I make a listshow form and I put a XFLabel whit the title of a link , and in the href property I put the value of the url node. But the problem is that the aplication don't complete the url , it refers to

http://host:50100/documents/examplefile/examplearchive.pdf when the rigth url is

http://host:50100/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/examplefile/examplearchive.pdf

I resolve the problem by editing the xsl and modify the function open_url_in_window but I think there is a better way to do this.

Could someone help me ?

Thanks and best regards.