cancel
Showing results for 
Search instead for 
Did you mean: 

document properties in XML Forms Builder for EP 6.02

Former Member
0 Kudos

Hi,

we develop our own form with XML Forms Builder and want to display some document properties in the show form. These are for example targeturl, webdavurl, explorerurl from access links group. Only drag&drop to label doesn't display anything. is there anything special to consider?

Thank you,

N.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Don't know if this applies to your case, but our XML Forms produced documents was stored in a folder other than below /documents which caused the properties to not being displayed. Default configuration uses the com.sap.km.cm.docs servlet for displaying all items from repositories if nothing else is specified.

There is a file called xmlforms.oth where you can specify the paths for using the com.sap.km.cm.xmlformpreview servlet for content created with XML Forms. Using this servlet all resource properties can be displayed.

Hope this helps

Kenneth

Former Member
0 Kudos

It sounds good. Does it need the second ObjectTypeHandler? Or do i need to change only some definitions like this:

<Paths>

<Path>/documents/**</Path>

<Path>/documents/Test/**</Path>

</Paths>

and

<ActionType Namespace="http://sapportals.com/xmlns/cm/rendering" Type="view"/>

and

<ActionURL URL="com.sap.km.cm.xmlformpreview?show/test=&lt;resource.uri&gt;"/>

Do this changes need a restart of the system or does it work immediatelly?

thank you,

Nicole

Former Member
0 Kudos

It is enough to just add your path to the Paths-list in the xmlforms.oth, no need to create a new.

But is it the path /documents/Test/** you would like to add? It should already be covered by /documents/** which takes all subdirectories of documents.

There is a setting in the portal that enables you to reload the oth-files runtime, but first you have to add yourself to the UI superusers: System Administration -> System Configuration -> Knowledge Management -> Configuration -> Content Management -> User Interface -> Debugging Settings. If you now call up a folder or an iView, the Rendering Information link is displayed in the upper left-hand area of the window. Click this and in the new window there is a button for reloading OTH.

If this is not possible, a restart is the only way.

Former Member
0 Kudos

Hi Kenneth,

sorry for bothering you. did you try this out with EP 6.0 SP2 ? or do you work with EP 5.0 ?

because i still working on this problem and still the rendering properties doesn't display. The property "created" from system group does display but the property "targeturl" does not display. is there a bug by sap?

Nicole

Former Member
0 Kudos

I'm using EP6 SP2, but I didn't try using targeturl until just now. I'm not able to display that property either, so it seems like there is a bug. Or missing functionality... I haven't seen any specifications yet to what is possible to display with XML Forms, everything is done by trial and error.