XML Forms & Document Lifetime question?

Hi All
I am creating an xml form and want to use the 'ValidTo' property for document lifetime. I have created the browser and can get the date picker, however the 'ValidTo' requires date and time.
How on the xml for can you user a dateTime Picker or is there another way to do this?
Thanks for your help!

Hi Phil,
If the time is not required, you can specify a default time. See http://help.sap.com/saphelp_nw04/helpdata/en/b4/fd2c407586ea01e10000000a155106/frameset.htm for more details.
Unfortunatelly, a comfortable time picker is not available which means that a user needs to enter the time manually if not the default time should be taken.
Kind regards,
Roland

Similar Messages

  • Openning XML Forms 'Document' in a Power Point

    Kinda strange question for everyone.
    We are looking to have portal users enter data into KM using XML Forms. However, when the users go to view the content entered from the XML Forms we would like it to be view via a Power Point slide. Anyone done this before?

    Hi Craig,
    I think a solution could be a content filter which transforms the XML forms content into PowerPoint format. If you have a transformation rule from XML forms to PP format this should be no problem.
    Regards,
    Thilo

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • XML Form Builder-How to access data saved from a form?

    Hi All,
    I created a form in XML Form Builder. This form include checkboxes and input fields.
    Also i include a Save button.
    I used this form in a iView.
    Many users will access this iView and save their input data.
    So, after the user Save this data, in the KM folder , is created a XML form where i can see the inputed data.
    So for every user's Save is created a XML form .
    The question is,
    how can i collect all these data for each created XML form, so as i can process them?
    Please i will appreciate if anybody has any documentation or can give me step-by step instruction .
    I am new in EP  .
    Regards
    Ari

    Hello Avinash,
    You can directly use query in form personalization Conditions like
    select date_probation_end from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID
    and put in your condition like if you want to validate Probation end date is less then sysdate then in condition put in like.
    TRUNC(SYSDATE) < (select TRUNC(date_probation_end) from per_assignments_x where person_id = :PERIOD_OF_SERVICE.PERSON_ID)
    set the error message.
    Regards,
    Saurabh

  • XML Forms: Distinct Editing

    Hi all!
    I have a requirement to create a XML Forms App which works as a Q&A App. So, the end user creates the XML Form with a question, and the admin answers the question by editing the XML Form. The problem is that the same person that creates the question CANNOT enter the answer too, so using the same Edit form for both Admin and User is not feasible.
    Is there a way to achieve this behaviour? Can i show one Edit form to the End User and another with extra fields to the Admin?
    Any help is appreciated. Also, if you have a suggestion for this requirement other than XML Forms or the one i stated above, please share!
    Thanks in advance
    Thiago

    Hi,
    I had the same problem. You can solve it working with resource type.
    When you create a form, it has associated a resource type. The idea is working with two forms, one of them is for question and the other is for answer.
    Once the user to ask a question and press save botton, you must replace resource type by the answer form.
    You have to use two diferent layout set. Remember that each layout set uses collection renderer, in these collection you must filter by resource type.
    Each one of theses layout set must be assigned in your km navigation iview.
    In short:
    You have two user A and Q.
    Q User, to ask a question to do that this user has a km navigation iview with a specific layout set. This layout allow him to create a question but once the form is saved as its resource type is changed disappeard.
    A user, answer questions, to do that use other km navigation iview with other layout set. As Q user change resource type, A user sees a new question.
    Patricio.

  • Open XML Forms not using KM

    Hi experts,
    I have the following request:
    Place a link in the Portal that displays a custom XML Form document to fill in.
    By now I have always filled in new XML Forms documents by accessing KM and selecting 'New > Form > <custom form>'.
    Now I need to access a XML Form by clicking a link in Portal (without accessing KM). Is there any special iView already created for this? Is this possible in any other way?
    Many thanks in advenced and regards
    Stella

    Hi,
    You can create a KMnavigation iView and change the following propertie s
    Layout set = NewsExplorer
    folder =News
    and create iView.
    Assign this Iview to the role and role to a user.So when user clieks on role he can create  news .
    Hope it helps.
    Reward suitable points.

  • How to reduce a PDF document that contains an Adobe XML form?

    Hi,
    I have created some fillable PDF files using Adobe LiveCycle Designer and used Adobe Acrobat Pro XI to save it as Reader Extended PDF > Enable More Tools (includes form fill-in and save)…
    The form includes image, text field, check box, radio button, table and other controls, as well as java scripts behind. The files are from 1 to 3 MB in size. I tried Reduced Size PDF and Optimized PDF, but I got a message: “This PDF document contains an Adobe XML form. Such files cannot be optimized.”
    My questions are:
    Is there a way I can reduce the file greatly, say about 100 KB?
    And after the size reduced,  does it still keep the original quality in format and function?
    Thanks

    Hi,
    if you only use default fonts like Arial or Myriad don't embed fonts into the form at all.
    If you have to use a specific font because of corporate identity you should check if there are fields in your fom using other fonts like Arial.
    Especially floating fields are a reason for big files as they use Designers default font even if you'll never see it in the PDF.
    When using images, you should not check the "embed" checkbox, as this will save the images a base64-stream into the xml-source.
    If unchecked the images are stored as hex-stream in the PDF-stream which cause a smaller file size.
    Also, don't use high res images, 150dpi are far enough. You also don't need 16Bit depth as Designer only supports 8Bit images with RGB colors.

  • Show lifetime in xml forms?

    Hi ,
    I have  created forms for News using XML Form Builder.I have also put the ValidFrom and ValidTo Fields on my Edit form for the News Authir to set Life Time for the news he will create.
    The Properties value for both ValidFrom and ValidTo Fields is as follows :
    ValidFrom : /Properties/tbp:VALIDFROM
    ValidTo : /Properties/tbp:VALIDTO
    I have enable time-based publishing for my folder where these forms/news is being saved.
    But the time-based publishing is not working.
    I even tried setting properties in Details -> Lifetime for the news craeted directly but its not working.
    I am using EP6 SP14.
    Wht could be going wrong.
    Pls help.
    Regards
    Saurabh

    hi Patricio,
    In Content Management,I have created a folder "abc" under the repository "document".This folder will hold the xml files created for the news items.
    The document repository is predefined and has been assigned the Repository Service "tbp".
    i have enabled the time-bound publishing for the folder "abc" in its Detail section.
    For the news reader , I have made the folder "abc" as "read only".
    But the news reader is not able to see the news.
    My xml form for the news Author has fields for entering date and time for both "Valid from" and "Valid To".
    On saving the news item ,i can actually see these values in the property "LifeTime" of the news document that has been created.
    I even set these ValidTo and ValidFrom at the "LifeTime" property also.
    But nothing is working.
    Also could u pls elaborate on ur statement :
    "time-dependent publishing service requires the application property service."
    Nothing is working for  me.
    Pls help.
    Regards
    Saurabh

  • Error after enabling lifetime on XML FORMS.

    Hi all,
    I’ve created my article (XML FORMS) that was working fine. However, after add the lifetime properties (validfrom, validto) into the form, a message error “Resource cannot be displayed with XMLResourceRenderer” is showed when a new article is created. Does anyone know what could going wrong?
    Any help will be appreciated,
    Alcides Flach

    Hi Alcides,
       In this folder, where you have created these xml files by mean form builder, do you have other kind of documents not created with form builder ?
       If you create other folder and then within it you create xml documents (form builder) after that display them using KM Navigation iview with a suitable layout set, do you have the same problem ?
       Have you tried to restart this server ?
       At last, you can enable debugging settings option in System Administration->System Configuration-KM-CM-User Interface-Settings-Advanced Options-Debuggings Options-edit and enter you user-id. After that refresh you browser.
       After that, when launch km navigation iview you are going to see a renderer link.
       Try with this link:
       https://www.sdn.sap.com/irj/sdn/thread?threadID=110919
    Patricio.

  • XML forms - how to assign KM folder for documents?

    Hi guys!
    I have created an XML forms application and iViews for authoring and display.. But one of the Iviews' property (KM navigation iView) is the name of the folder for the XML documents...
    My question is - how to set, where to save the documents form XML forms application? In which KM folder?
    I created the application, but in KM was no new folder for my documents.. Is it needed to set-up explicitly?
    Thanx for answer! 
    Peter

    Hi Peter
    The location has to be specified if you are creating a KM Navigation iview.You can specify the location to an already existing folder. It is better to create separate folder in KM for storing the documents.
    The folder path has to be specified in the "Path to Initially Displayed Folder" property of the KM Navigation iview.The default value is
    Path to Initially Displayed Folder:/documents/News
    In this case all the documents created is stored in the "News" folder.
    The documents can also be created by using the menu options  in KM. (Folder->New->Forms->your form)
    Regards
    Geogi

  • How to use adifferent Show form to display a document created by XML forms

    Hi,
    I have created some XML documents using an XML form.
    The XML form contains two Show forms, Show & Show2. The default is Show. When I view the XML document via a KM Docs iView the default Show form is used to display the resource.
    If I wish to display the XML document using a KM Docs iView, but using the Show2 (non-default) form how is this done?
    I have created Layout Sets for each of the different ways to display the XML forms, but there is no option to choose Layout Set in the KM Docs iView config.
    Thanks,
      Tom
    Edited by: Tom Parle on Apr 3, 2008 12:45 PM

    Hi Tom,
    Check out the SAP Help site [Linking Your Own List Forms into iViews|http://help.sap.com/saphelp_nw04s/helpdata/en/0e/1affa0f8c47447a164998b60025aea/frameset.htm]
    I think it explains exactly what you are looking for.
    Hope it helps,
    Robert

  • XML Forms - Cannot append a text to a document node.

    Hi,
    I just created a new xml form as a copy of another working    form.
    I changed a bit in it and tried to run both i preview an real. Edit worked and renderlistitem worked. On the Show I got the error in the bottom.
    I tried to remove all the elements again, down to the displayname. But still I get the same error.
    I'm on NW04s SP9
    XML - Forms 
    Error applying XSL stylesheet to XML
    com.sapportals.wcm.WcmException: com.sap.engine.lib.xml.util.NestedException: org.w3c.dom.DOMException: Cannot append a text to a document node. -> org.w3c.dom.DOMException: Cannot append a text to a document node.
         at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:284)
         at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.pipeIt(Transformer.java:133)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:105)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:77)
         at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:122)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:391)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:222)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.sendForm(PreviewServlet.java:165)
         at com.sapportals.wcm.app.xmlforms.PreviewServlet.doGetAction(PreviewServlet.java:130)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:331)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi Rasmus,
    Quite probable your XSL is broken.
    > tried to remove all the elements again
    So two possibilities:
    (a) You tried to - but failed
    (b) You are the victim of a cache
    Wait for at most 30 minutes and/or recheck your changes.
    Hope it helps
    Detlev

  • Lifetime in xml forms - final users cannot see available docs

    Hi, I have a News xml forms project integrated with Approval process, and I want to integrate lifetime too.
    1) How do I to enable Lifetime??
    What I did is the following: I`ve enabled Lifetime in the folder containing the docs, and I setup manually the validto and validfrom properties (Details->Settings->Properties->Lifetime) of every doc, and the only people who can see the docs are those that have write permission on the folder (and myself too).
    I´ve read a lots of forums and I did everything that they say but successless.
    Could anybody help me??
    Well, Thanks in advance!!
    Marcelo
    ps: I didnt forget to publish every doc after I modified the valid to/from properties.   ideas?

    Hola Juan
    In my case, i had no CM System selected on Task Scheduler.
    So check System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Services -> Scheduler Tasks -> Check valid from -> TimeBasePublishingPublish
    (idem for Check valid until -> TimeBasePublishingUnpublish)
    At that point, you must check if you have selected any CM System, if not, select one. Help Sap says that that field is optional...but, well, as you can see, I had no cm system selected, and after I selected one, the lifetime began working very well.
    check <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d1/5b6635f5e0ef428fb513336881679b/frameset.htm">Scheduler Tasks for Time-Dependent Publishing</a>
    Hope it helps!!
    Regards
    Marcelo

  • Can we include a Document into a XML Form

    Hi!
    If I want to attach a document into a XML Form is posible?
    i.e an Excell Document.
    Thanx in Advanced!
    Gerardo J

    Hi Gerardo,
    The info it's on my brain, jejeje, I have some experience with XML Forms. I really don't think you can attach (by standard/default) anything to an xml form, everything is a refence (even images).
    XML Forms generates xml files, witch are rendered thru layouts and the configuration you set in the RenderList and Show forms.
    Unless you find some kind of deployment that unifies the xml document with the file you want you will have to work with the references (link).
    Best Regards,
    Jorge M.

  • XML Forms and the Lifetime timestamp format

    Hello all,
    I have an XML form we use to create News.  When the content manager creates the News item, they provide Valid From and Valid Until timestamps for the News item's lifetime.  For the time, they must use military time format (00:00:00 - 23:00:00) because if they input 03:00:00 PM, in the system it will display 03:00:00 AM.
    We are fine using military time... the content managers have now been trained to do this.  However, when they edit an existing News item, the edit form will not display the time in military time anymore.  So, for example, if the content manager originally set the Valid Until time to 15:00:00, when they edit the News item, 03:00:00 PM will display instead, and then will save it with the incorrect time (03:00:00 military time) after the change.
    Has anyone else experienced this problem?  I'm not sure where the trouble lies... on the XML form side?  In the configuration of the KM metadata?  On the server?  Any help would be greatly appreciated.
    Thanks in advance,
    Fallon

    Hi Fallow, did you resolve the problem?
    Can you reply the solution?
    Thanks,
    Jesú

Maybe you are looking for

  • For loop vs Iterator

    I'm writing an application in which performance will be quite important and was looking into my collection classes. I recently saw the move towards using Iterator instead of for loops, while loops to retrieve objects from a List. I wanted to test to

  • Jaxb xs:any problem

    I have the following xsd. <xs:element name="test" type="test"/> <xs:complexType name="test"> <xs:all> <xs:element name="Error" type="xo_000EMError"/> </xs:all> </xs:complexType> <xs:complexType name="xo_000EMError"> <xs:all> <xs:element name="Descrip

  • Error message: "unknown error..."

    After buying tv shows from iTunes store as they were downloading I kept getting this error message: "The iTunes Library file cannot be saved. An unknown error occurred (-50) Please help. What does this mean? Am I going to lose my download and my mone

  • VF11 invoice cancallatiom

    Hi , actually original invoice is cancelled in VF11. For this cancelled invoice when i checked in FB03, in invoice ref field  " v " is updating. This is affecting my z prog, giving me runtime error convt_no_number . Actually this field should be eith

  • Firefox crashes and I get this error ID: ID: cef89c2d-a54f-42f2-acdd-3e97a2101206 - can anyone help?

    Hello Every so often, Firefox will crash when I open a web page. It was doing it a lot when I opened my Yahoo mail, but I did some troubleshooting and updated all my plug ins and it seemed to stop doing that - but occasionally when I try and access c