Custom Actions in XML Forms Builder

Hello everyone,
We are starting a project to replace our current intranet with Enterprise Portal + KM + Collaboration.  Our current intranet has many interactive foms developed as ASP pages for doing thinks like requesting new user ID's etc.  These forms are attached to a workflow engine (Ultimus) where they trigger various workflow processes.  I am exploring wherther or not these existing ASP based forms can be replaced by XML forms developed on the form builder.
Can XML forms be developed that trigger external actions like generatating a workflow?  I have not found anything in the documentation so far that would indicate how this is accomplished?
Thanks,
-Matt Schababerle

Thank you Detlev, that is what Im looking for. 
I knew that XML forms are primarily for document creation.  I'm just trying to think 'out of the box' and find a way to convert all the ASP forms we have to a standard, portal-based format.
The forms I am reviewing are mostly simple pages that would basically validate and save the form data, then kick off a single workflow task. For existing forms, we will utilize URL iViews and link to the existing form.
For new forms, it sounds like we could probably make the XML forms builder work, but would probably be better off just creating basic .jsp or web dynpro pages to handle the data validation and external workflow submission.  What do you think?
Thanks for your help!
-Matt

Similar Messages

  • XML Form builder - Issue with Reset button

    Hi Experts,
    Using xml form builder I have created a project.In the show form I have added the "Reset" button.
    This reset functionality is working fine during creation of new xml file item.
    But when I am editing the existing xml file ,  onclick of the "Reset" button it is not clearing all the data fields instead it is clearing the newly added data.
    Please sugguest me how to achieve this functionality of clearing the fields during editing existing file item.
    Thanks,
    Regards,
    Rudradev Devulapelli.

    Hi Rudra,
    Try writing custom java script and call the same in the button click.
    ~Priya

  • Property not loaded in XML form builder

    Hi,
    I am trying to create a new application in XML form builder. I have created few custom properties in KM. I want to use those properties to map to the field in XML application. But i see that under teh data model, I am not able to see any properties from KM. When i click reload properties nothing gets loaded. Also when i right click on DataSchema, menu doesnt appear. What could be the problem?
    Regards,
    P188071

    Hi!
    You probably have to create a property group and a property structure in the Property Structure Service of km configuration first.
    See here for more details:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=944815&messageID=5712759#5712759
    Pretty much the same requirements you have.
    Cheers,
      Jürgen

  • Problem saving XML Forms builder project

    Hello,
    I have extended my xml forms project with some functionalities and now I'm not able to save and generate it. When I'm trying to save the project saving process stops while saving 'GUIModel-Internal.xml'  which is quite big file (~4MB). I can't find the reason which cause that.
    I would be grateful for any ideas.
    Best Regards,
    Michal Maciejewski

    Hi Fallon,
    It was typicall extension with normal changes within the XML Forms Builder. I've added some nodes in Data Schema and then create some controls on Edit and Show form which I connected with the newly created nodes. I know that custom changes in .xsl file will be erased after opening and saving the project within the XML Forms Builder so I'm trying no to do that. Have you got any idea why the project is not saving properly? Is it possilbe that XML Forms Builder could damage some files of my project while saving? After several tries of saving Show form could not be load while opening project. It's quite urgent for me to find solution or cause of this issue.
    Regards,
    Michal

  • XML Forms Builder complete Documentation and more

    Hi,
    I have several questions to the XML-Forms-Builder (XML-FB):
    1)
    I am searching for a really complete documentation of the XML-FB. I know the "how to create xml forms - PDF", the "help.sap.com", this forum,...., but i don't find one complete documentation. For example i miss the description of really all controls AND whose properties.
    2)
    Can I await any changing/enhancement between NW 2004 SP16 (my active Release) and NW 2004s SPx - with focus to the XML-FB?
    3)
    Is it possible to create forms witch allows <u>the author</u> to choose the placement of controls - for example images in the left, right, middle of the page - maybe via select/assign the corresponding form (-> maybe via using control-selector)? This means more individual flexibility for the author.
    I am searching for a solution without programming a proprietary solution, only customizing !
    okay, that's all, up to now
    Thanks for your patience
    Hermann

    Hi Herrmann,
    1.) There is no. Some features have been added more or less silently within the last year, but a central doc hasn't been published.
    2.) All I know is: Not much. Maybe the Forms Builder developer at SAP reads this and could throw a somewhat more detailed answer.
    3.) We have developed this as a small part of easyWCM; when creating the XML form, you can define not only 1 ShowForm, but different; the author then can choose which form to use. We provide such pre-defined forms within the BP.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Missing permissions to delete temporary files in xml forms builder

    Hi,
    we have the following problem:
    A user with role content manager is using the xml forms builder. Every time, he is saving or generating a project, a error message comes up, telling him, that some files *.xml.xlb.___save_file could not be deleted. Those are temporary files which are created during editing (I guess?!).
    As recommended by SAP, the content manager only has read/write permission on the used KM-folder. If the user has the role (NOT group!) Administrator, everything works just fine. The same is true when the permissions are added manually. Is this the only way to solve the problem or am I missing some configuration?
    Help appreciated.
    Best regards,
    Hauke Siehlmann

    Dear Hauke,      
    Hope you found a solution in the meantime for this permission issue. Hence I just give a very general comment on this. Generally such content admins are supposed to be System Principals in CM by role assignment.
    By this concept and default delivery on this it is assured that users having access to administrative iViews by role assignment does also have relevant permissions. See http://help.sap.com/saphelp_nw70/helpdata/en/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm.
    Whenever having custom specific roles this System Principal concept should be part of the design.
    Best Regards, Peter

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • XML Forms Builder - problem with checkbox

    Hi,
    I have created many checkboxes in XML Forms Builder and if I want to create a new document based on this "Form" I have still checked one of checkboxes. I would like to have all empty  checkboxes becasue user should check the appropriate checkboxes.
    Do you know how to resolve this problem?
    Thaks for help!
    Regards,
    Andrzej Tabara

    Hi,
    is it always the same checkbox that is already filled in? Is this ckeckbox based on a metadata-definition?
    If yes: You could maybe have a look at the metadata-definition. Is there maybe a default-value defined?
    Kind reagrds
    Karin

  • In XML form builder data schema not clickable

    Hi ,
    I have installed JRE version 1.6.0_07. When i click on xml foms builder ,it gets opened but when i click on data schema it's not clickable but icon is displayed next to data schema.I am not able to create any node in data schema.
    Regards.
    Adity.

    Hi,
    my problem is simular to Aditys: My Java Version is JRE 1.6.0_15. When I go to Content Managment --> Formbuilder, the XML Forms Builder starts automatically but it is not possible to open Data Schema. After downgrade to Java 1.4 I can not start the Form Builder, that means, after clicking on "Form Builder" in the Portal, a pop-up opens, but the XML Form Builder does not load.
    Can you help me?
    Jannis

  • How to make use of the XFList in the Function Bar  of the XML Form Builder?

    Hello:
        Now I am creating blog using the XML Form Builder.
        In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
        I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
    lexian
    Thanks a lot!

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • Attachments in XML Form Builder

    Hello
    I have created a XML Forms Builder Project.
    News Author  will create News using this form and attach Documents  to the news.
    for ataching document I am using a Schema Element with datatype set as rid  .
    from this element i created a Browser control .
    At run time , i am able to select files from KM using the browser control.
    But while Viewing the News when i click on the Hyperlink for that control
    it opens up the same news again .. (its referencing self instead of the document)
    What property setting i am missing ?
    what is the correct way to attach documents and view them using a project created by XML Forms Builder ?
    Regards
    Rajendra

    Solved

  • Problem in XML Form Builder  development

    I am developing some KM Navigation iView template with XML Form Builder . I create a label , when it be clicked , relative files will be download to local PC. But the caption of the label is the complete path of the file, not "file down" which I expected.
    I need help, Regards.

    Sonal,
    You can check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/fe743c74fa6449e10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    James

  • Problem in XML Form Builder

    Hi all,
    Can any one provide me any document related to FAQ in XML Form Builder?
    i have created one project in xml form builder but not getting how to create iviews at admin side and user side.
    Thanks in advance!
    sonal.

    Sonal,
    You can check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/fe743c74fa6449e10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    James

  • Anonymous access to XML Form Builder file

    Hi to all
    I create a XML Form Builder project to create a method for news publishing.
    I use an KM navigation iview tath containing XML file.
    If i authenticate me on the portal i view all correctly.
    the problem is with anonymous user, the portal required me autentication.
    I setting the folder permission where the XML file is stored.
    I setting the permission for the KM Document Iview.
    I view correctly image, html file, ecc with anonymous user.
    PLEASE help me.
    Thanks

    thanks for your answer but i have the error:
    com.sapportals.wcm.repository.InvalidUriException: Invalid RID: .xml
         at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:399)
         at java.lang.Throwable.(Throwable.java:195)
         at java.lang.Exception.(Exception.java:41)
         at com.sapportals.wcm.WcmException.(WcmException.java:59)
         at com.sapportals.wcm.util.content.ContentException.(ContentException.java:38)
         at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:162)
         at com.sapportals.wcm.repository.InvalidUriException.(InvalidUriException.java:48)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findRepositoryManager(CmAdapter.java:1599)
         at com.sapportals.wcm.repository.runtime.CmAdapter.findManagerAndResource(CmAdapter.java:1322)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResourceImpl(CmAdapter.java:979)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource(CmAdapter.java:192)
         at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResourceImpl(ResManager.java:272)
         at com.sapportals.wcm.service.xmlforms.utils.ResManager.getResource(ResManager.java:112)
         at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:199)
         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.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:377)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:390)
         at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
         at java.lang.Thread.run(Thread.java:534)

  • XML Form Build Error Unexpected http response code 500: Internal Server Err

    Hi
    I have the following error message when i am trying to load  XML Form Builder
    "Unexpected http response code 500: Internal Server Error "
    When i am trying to Run the test its shows me the follwoing error log.
    Test Environment: XML Forms Builder Environment Check *
    Start Time: 2008-09-17 15:09:53                       *
    End Time: 2008-09-17 15:09:59                         *
    - Test: Java Environment
    - OK
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:53
    -      Java Runtime Version is 1.6.0_02
    - Test: Connection Tests
    - ! Test Failed !
    -      Start Time: 2008-09-17 15:09:53
    -      End Time: 2008-09-17 15:09:59
    -      A test in the suite failed
         - Test: Download XML Forms Builder Jar
         - OK
         -      Start Time: 2008-09-17 15:09:53
         -      End Time: 2008-09-17 15:09:55
         -      Successfully loaded XML Forms Builder Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/km.appl.xmlforms.xfbuilder_core.jar, Version 6.4.1
         - Test: Download SAP XML Toolkit Jar
         - OK
         -      Start Time: 2008-09-17 15:09:55
         -      End Time: 2008-09-17 15:09:59
         -      Successfully loaded SAP XML Toolkit Jar from http://zhmscad8.whirlpool.com:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/etc/xmlforms/sapxmltoolkit.jar
         - Test: XML Forms Builder Version
         - ! Test Failed !
         -      Start Time: 2008-09-17 15:09:59
         -      End Time: 2008-09-17 15:09:59
         -      Unexpected http response code 500: Internal Server Error
         - Test: Load Global Settings
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
         - Test: Load Project List
         - Not Started
         -      This test depends on the test "XML Forms Builder Version", which did not complete successfully
    Please let me know the how to slove this Problem.
    Thanks
    Mmukesh
    Edited by: mmukesh reddy on Sep 17, 2008 9:29 PM

    Hi Koti Reddy
    That is not related to my issue.
    Here this error only comming for two users in my group.
    The environment every thing working for remaining user.  But only that two users are facing the problem.
    So please let me know is there any security issues.
    Thanks
    mmukesh

Maybe you are looking for