on 2004 Feb 05 8:17 PM
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
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.
Hi Fernando,
here are some tips for using XMLForms:
(1) It is not recommended to use the forms "ListShow" and "ListEdit" because you are
running into performance problems. You better use the "RenderListItem" form, which
is using the FlexibleUI. These are much faster, if you have much NewsItems in one folder.
(2) If you want to create a link in you ShowForm, you can do the following steps in the XFBuilder:
(a) In the EditForm Create a XFBrowser and a new Schema Variable.
(b) Set XFBrowser to "action=image" and the variable "type=RID"
(c) Connect the Variable with the XFBrowser control
(d) In the ShowForm create a XFLabel and connect it to the variable
(e) In the property of the Label set "href=/DataSchema/ In normal case the url should be completed at runtime to
"/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/ ...." and the Link
should be working now.
I hope I could help you.
Best Regards
--Matthias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fernando,
not exactly a reply to your problem but maybe a workaround re. links to documents:
There is a 'Favorites' iView in KM where each user can maintain her personal favorites (either KM links or URLs) - > would that help in here ?
If the goal is rather a public link list where users can dynamically maintain their links, you could use the 'normal' KM links in an explorer iView and if necessary adapt the look and feel of it with the KM flexible UI (as from EP5.0 SP5/EP6.0).
Hope that helps.
Cheers,
Joerg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
10 | |
9 | |
9 | |
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.