on 02-08-2005 10:05 AM
Hi,
As a xml forms novise I have these questions:
1. Is it possible to display only xml forms documents containing certain values (radio button or checkbox choices) in a list view? How?
2. Can xml forms editing iviews be personalized?
3. Is it possible to set default values when user opens a new document for editing (editing iview), retreived from the users profile/personalization?
Thankful for any reply
Hilde
<i>1. Is it possible to display only xml forms documents containing certain values (radio button or checkbox choices) in a list view? How?</i>
I believe that you would need to develop a custom property filter to achieve such a task. see:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/code sample - how to develop a property filter.article
<i>2. Can xml forms editing iviews be personalized?</i>
No, not to my knowledge....
<i>3. Is it possible to set default values when user opens a new document for editing (editing iview), retreived from the users profile/personalization?</i>
Yes and no, the following is form saphelp and are the only way of defaulting data that I am aware of.
$date
Current date at the time of creation in the format YYYY-MM-DD.
$locDate
Current date at the time of creation in the country-specific date format of the current user.
$time
Current time at the point of creation in the format HH:MM:SS.
$locTime
Current date at the point of creation in the country-specific format of the current user.
$sap_user
User who is currently logged on
$guid
Globally unique identifier (GUID) that is generated by the system.
Please assign points if it helps.
Kind regards
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hilde, hi Daniel,
> the following is form saphelp and are the only way
> of defaulting data that I am aware of.
Just to get it complete, the parameters supported you can see in class CreateXSLDocument (within com.sap.km.cm.xmlforms/private/lib/km.appl.xmlforms-xfbuilder_core.jar), method initDefaultParameters.
The most interesting for daily use will be sap_user, sap_language, date, fulldate, time, locDate and locTime, I think (more or less the props mentioned by the official docs).
Hope it helps
Detlev
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.