XML Forms. Add a timestamp field

Hi all
I have a XML Forms project. I have included the valid from and valid until values and have tbs working.
Appart from this I want to insert in my form another Timestamp field.
In the datamodel I can´t create an entry of type timestamp, only date or time.
If I create it date and bind it to a timestamp reaader object from the toolbar I receive an error requesting to have a timestamp type of data binded to it.
Any help to do this?
Let me know if you need more info.
Regards
Fernando

Hi Kevin,
there is no possibility to provide default values or vairable values for date and time properties in KM.
The only thing you can specify is the format:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm</a>
One thing you could do is modify the xsl file and use some additional programming to fill the date whith the values you like.
But in the standard it is not possible.
Not only for XML forms, but in general for KM properties this is not possible...
Regards,
Sascha
Regards,
Sascha

Similar Messages

  • Issue in Java Scipt in XML form

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx in our Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // @author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // @changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you.

    Experts...still waiting for your comments.

  • Issue in Preview through XML forms having TinyMCE editor

    Hello Experts,
    I have one issue in our client portal, which is really giving me hard time to resolve.
    So I have come to you experts for helping me to resolve this issue.
    So below are the details of the issue.
    Actually it goes like that, we are using B.Texx Framework in our Client Portal Environment and most of the work is done by the users in the portal, who has author rights. Please note that Authors have the right to Edit and save the content.
    Most of the things are made on XML forms, with the help of Java Scripts.
    Now there is one XML form(Add General Content), through which users add the general contents and there is one template provided to the user for that content. The XML forms are integrated here with the Tiny MCE editor.
    Now, there is one link (Insert/edit link) in the Tiny MCE editor, when we write some text in the body and select the text, the link in the editor gets activated and when we click on the link, a pop up comes up, in which there is a browse button, through which we select the Navigation Element Link , which takes us in the navigation of the portal content(the way it is viewed by user in the portal according to the roles ), showing us different content and we select an content and press finished. Now the selected text becomes as a link in the body of xml form, then we fill up the title and there is one preview button. When we click on the preview button, the link is displayed to us.But when we click on that link nothing happens.
    Please note that if we save that form, the links appears on portal and we are able to navigate through the link.
    For this I have checked the js file(xmlformpreview_redirect.js)  responsible.I am sharing the code of the js file below.
    // author llaegner
    // Get current URL of XML Forms Preview
    // This Javascript should be included in the ShowForm Formular (old XSL Style)
    // in xml forms builder in a label-field in the attribute caption
    // this javascript file is then called by the Preview Button on an Edit Form, because the ShowForm is launched automatically always
    // changes by ekaraca
    // Add a if-Control so a redirect will work by clicking the xml file as well
    var currentURL=top.location.href;
    var redirectURL="";
    var startOfParameters=currentURL.indexOf("?");
    if (startOfParameters < 0) startOfParameters=currentURL.indexOf("%3F");
    if (startOfParameters > 0) {
         // Provide all parameters for SAP original preview iview to our new iview
        redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview"+currentURL.substring(startOfParameters);
    if(currentURL.substring(currentURL.length-4)==".xml") {     
         var xmluri = currentURL.substring(currentURL.indexOf("/irj")+15, currentURL.length); /* /irj/go/km/docs <---- 15 letters */
         redirectURL="/irj/servlet/prt/portal/prtroot/com.btexx.pct.easyWCM.customer.addons.xmlformpreview?show/test="+xmluri;     
         top.location.href=redirectURL;
    else {
         // If we have found something to redirect
         if (redirectURL.length > 1) {
              // Change current location and switch immediately to new iview
              top.location.href=redirectURL;
    I would really appreciate if any of you experts help me resolve this issue.
    So I am eagerly waiting for the response from all of you experts present here.

    guys i m still waiting for some expert comments here...plz help me out.

  • Can't see "Add or Edit Fields" menu in Acrobat 9 Standard v9.5.2

    I am trying to edit the fields of an Adobe form from one of my co-workers.  We both are running Acrobat 9 Standard v9.5.2.  She is able to see the Forms-->"Add or Edit Fields" menu, while I cannot.
    I cannot get this menu item to show?  Can someone tell me if there is an option or setting to enable so that I can get to this menu item?
    Here is a screenshot of the form:
    Here is a screenshot of the Adobe Acrobat version we are running:
    Thanks,
      Ted

    Finally found a work around to my problem.  Here are the steps:
    (1) The original form.  Note missing "Add or Edit Fields" menu item.
    (2) Click on Document-->Extract Pages
    (3) The following dialog pops up.  Since I am only working with a 1 page form I accept the defaults and click OK.
    (4) The following window is launched.  Now I just save the newly generated form:
    (5) Now when I check the Forms menu, I finally see the "Add or Edit Fields" item:  Yay!!!!
    (6) In checking the Document Properties of the new form, the Application (PScript5.dll)  and PDF Producer (GPL Ghostscript 8.15) metadata is still the same as before:
    Still don't know why I couldn't get to the "Add or Edit Fields" menu item in the original form.  After doing the Extract, now I am able to get to it.   At this point that's all I care about right now.
    Thanks George for helping me investigate this issue!
    Teo

  • Disable field on XML Form Builder

    Hi!
    I can disable a field in a XML form . For example, the date of creation and the SAP user, so that the user does not change this information. Thank you very much!

    Hi David,
    Do not use "date of creation" and "SAP user" fields in "Edit" form. You don't need to add this fields to "Edit" page of your xml forms since they are available as Properties.
    In the Project Browser go to
    Expand Properties -> System item and you can see
    "Created By" -> for Sap User and
    "Created" -> for date
    You can use lots of variables here in your RenderListItem and Show views.
    Hope this helps.
    Regards
    Abdul.

  • XML form SPS13 error saving form with user field

    Hello gurus!
    After upgrading to SPS13 all XML Forms with imput field type 'user' produce error when saving data: incorrect user id. But I select user id from user list! ID can't be incorrect.
    Please, help.
    bestRegards, RO-man

    Hi Roman,
       I am using EP 60 SPS13 Patch 3, have you installed this patch ?
    You have to create a sibling node, for instance "usuario", don't forget to define it as user (data detail).
    Then you add a browse object in your form, and change action property as user.
    Then you establish a relation between usuario and your browse object.
    Patricio.

  • XML form field choice list to be populated by collaboration room names

    I would like to create a news form used within collaboration rooms where one field should include the name of the room where the news entry is created.
    Preferably this should be done automatically as works for date and author fields ($date, $sap_user), but could also be done manually if there is a way to populate the list with all available room names. If so, how do I get these to show up in the XML forms builder. There is a property 'Room' with sub-property 'Name' in the builder's property menu, but I can't see how to use this to get the room name displayed in the form.
    Henning

    Steve
    Thanks!  After working with the example you sent me, I was able to get it to work -- great!  However, this method seems to overwrite all the other XML in my xfa:data -- not great!
    For example, without the script, I have something like this in my form data variable after a form is completed and submitted:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:07:02Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <root>
    - <performanceReview>
    <badgeNumber>8107</badgeNumber>
    <associateName>NATHAN JANNASCH</associateName>
    <department>Information System</department>
    <section>IS - System Devlopment</section>
    <jobFamily>Professional Staff</jobFamily>
    <GLBadge />
    <groupLeader />
    </performanceReview>
    <FSTARGETURL_ />
    </root>
    </xfa:data>
    However, when I use the script as you described above and in your sample to load the data for the dropdown list, I get this in my form data variable:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:10:17Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <GroupLeaders>
    - <GroupLeader>
    <GLBadge type="varchar">8103</GLBadge>
    <GLName type="nvarchar">AARON MEISTER</GLName>
    </GroupLeader>
    - <GroupLeader>
    <GLBadge type="varchar">5221</GLBadge>
    <GLName type="nvarchar">AB EDMONDS</GLName>
    </GroupLeader>
    </GroupLeaders>
    </xfa:data>
    It looks like the data the script loads is overwriting all of my other xfa:data.  This is quite bad, as my process is dependent upon this data.  Is there a way to append the dropdownlist data to the xfa:data, or perhaps load it into another node, rather than overwriting the existing xfa:data elements?
    Thanks!
    Toby

  • How to add a calculated field in a list definition (schema.xml)?

    Hello,
    I'm currently trying to add a calculated field to a list definition (schema.xml).
    I have put the following code at the end of the schema.xml for the list I want to create. But when I deploy and activate the feature for the list, it doesn't appear in the list field.
    <Field ID="{EE20EC4B-4216-4259-A84F-C478CE42B70F}" Name="EC_EventsMgmt_CalculatedTime" StaticName="EC_EventsMgmt_CalculatedTime" Group="EC_EventsMgmt" Type="Calculated" DisplayName="Calculated Time" Required="TRUE" Hidden="FALSE" ReadOnly="FALSE" Format="DateTime"> <Formula>=DATE(2009,1,1)+TIME(EC_EventsMgmt_ScheduleHour,EC_EventsMgmt_ScheduleMinute,0)</Formula> <FieldRefs> <FieldRef Name="EC_EventsMgmt_ScheduleHour"/> <FieldRef Name="EC_EventsMgmt_ScheduleMinute"/> </FieldRefs> </Field>
    Could you please give me some help and explain me why it is not working?
    Thanks a lot.

    Hi there.
    If I understand correctly, you create this list within the same feature?
    If so, the list isn't available during the propagation, and therefore the calculated field can't be added.
    If this is the case, then you could work around this by adding a feature activated event handler to your feature and add the calculated field programmatically in that event.
    Hope this helps.
    Regards,
    Magnus
    My blog: InsomniacGeek.com

  • Error in Browser field of  XML Form

    Hi All,
    We have recently upgraded our portal system from NW 7.00 (SP23) to NW 7.01 (SP09).
    Post upgrade we are facing an issue in XML forms for file browser element.
    On the XML forms we have an element u201Cfile browseru201D which we use for attaching documents as attachments in the XML forms.
    After upgrade, when we select a document using this element u201Cfile browseru201D, the file path is getting uploaded in the field without the file name. Hence after saving the XML forms when we try to display it and open the attachment in the XML forms, it is giving the following error.
    The folder you are looking for has no displayable content. You can try one of the following:
    u2022     Access the folder using the Navigation user interface.
    u2022     Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    Example : Suppose we are attaching a file f1.xls  in /documents/images folder, the path captured in the browser textbox is /documents/images  (it should be /documents/images/f1.xls).
    This was working fine before the upgrade to NW 7.01 SP09.
    Our system is already running LIVE on production and we are facing major issues due to this problem. Kindly provide a solution at the earliest.
    Regards,
    Nitesh

    It was a bug .
    SAP released two new patches
    EPBC209P_10-10005895
    SAPJTECHS09P_16-10005886
    issue resolved after patch application.
    Regard,
    Nitesh

  • Multivalue XML Forms field

    Hello.
    we will need multiple values in user dialogs, mostly KM File references. We dont now on beforehand how many there will be per entry.
    And we want to do it with XML Forms.
    From what I read so far, I cannot tell whether this is possible at all, so please post your suggestions.
    regards
    Carsten

    Hi Carsten,
    you cannot create a form with a dynamic number of input fields or something similar. Anyhow, you can offer for example 20 input possibilities within the edit form and only those fields filled in will be presented in the show form, when mapping the content to labels, for example.
    Hope it helps
    Detlev

  • Multivalue checkbox in single field of datascheme of XML form

    Hello everyone,
    is there a way to provide the user a chance to select multiple values via checkboxes in an XML-form and write the values in a single field of the datascheme?
    Currently only the first of the selected values ends up in the proper field, although several checkboxex are attached/connected.
    Any ideas?
    THX-Henning

    I found another alternative solution.
    Regarding to how to display the multivalue properties with the multi-valu check box in "Details":
    1) Go to CM -> Global Services -> Property Metadata -> Properties
    2) Go to the property that you want to display multivalue, for my case- "NewsType", set the "Property Renderer" parameter to "allowedvale_multivalued" (for sure you have to define the allowed values)
    3) Go and check in "Details", it should show the multi-value property in check box group. Then you can "tick" and "untick" to change the values.
    Kent

  • XML form field should be read only.

    Hi All,
    Can we have a field in a XML form which is read only and the number in field should be incremented every time a new form is created.
    Is this possible.If yes can someone please guide me how.
    Thanks,
    Nikhil Pai

    Hi Nikhil,
    Do u want this property to come in the Edit form also, or only on the show form?
    If its only on show form,
    1. Keep a text file in KM with a starting number say 1000.
    2. While creating the XML form, a KM Service listening to resource creation only in the folders,
    will update a property and also edit the text file and replace the number by 1001.
    So in the show form u will have a unique number for each XML form.
    Regards
    BP

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • Can someone please help me add a quantities field to my apparel order form?

    Would someone be able to help me figure out how to add quantities to my apparel order form?  I created a rating scale for colors and sizes, but I can't find the best way to add a quantity field.  There are many different colors and sizes, and I would like to make it possible to order more than 1 of each item without filling out another form for every item.  Please help!  (I'm an amateur.)  Thank you!

    Hi,
    Please take a look at this FAQ:https://forums.adobe.com/docs/DOC-1632
    In 'Purchase Field Mapping' section, you will see that you can set the Quantity field.  Your Quantity field will be a Number field (add a text field on  your form, then select it and on the Property Panel on your right change the field type to Number) associated with the corresponding Purchase field
    Thanks,
    Lucia

  • Form wher user adds or subtracts fields

    Hi, This may be way over my head.
    And since I only have acrobat pro for mac
    it may not even be a possibility.
    But I am creating reader enabled forms
    and I would like the user to be able to add
    and remove fields with just a click of a button.
    Like this pdf does.
    http://insurance.lovetoknow.com/Home_Storage_Inventory_Form
    Can someone guide me in the right direction.

    That particular form was created with LiveCycle Designer, which makes it easy to do such things. Forms created in Acrobat have some ability to add/remove fields, but it's more complicated and some of the methods won't work with Reader.

Maybe you are looking for

  • Using a 30" Cinema Display with new Mac Pro

    Hello Everyone: I just purchased, and waiting to arrive a new 2014 8 core Mac Pro which is an upgrade to my 2009 quad core Mac Pro. I currently use a 30 inch Apple Cinema display which has the DVI connection. I was thinking that I would use a DVI to

  • ITunes scrolling now had annoying lag with Trackpad

    I have a new scrolling issue with iTunes and the trackpad. In either List or Album View, there is a noticeable lag when using two-finger gesture to scroll up and down the list.  If I quickly swipe continuously swipe up and down, there is then a delay

  • How do I bring my menu bar back and the adress bar across the top of screen

    across the top it says most visited getting started latest headlines, next line is yahoo search and mail shopping etc, next line is google search . I am missing the top line that has tools , file etc and the type in address bar with the drop down box

  • Help, Firefox keeps crashing. Firefox version 20.0, how do I fix this?

    Hi, I had Firefox version 19.0, and it occurred an error which caused Firefox to crash. I followed the troubleshot steps, and started it up on Safe mode, and I got a message saying "The connection has timed out". I browsed the forums for a while for

  • SAPbobsCOM.Documents.Lines.Text ReadOnly

    I'm trying to do something like this oSapInvoice.Lines.Text = oDocDett.Text where oSapInvoice is a SAPbobsCOM.Documents, but the Text property is readonly. How can I do to copy the column "Item Details" (Text property) in a document line using the SD