Content Preview in Form Builder

Hi all,
I have duplicated the standard SAP XML form SAP_Announcements from the Form Builder. The standard xml form displays only the title and creator of the item in the RenderListItem tab. I am trying to modify it such that it displays the first 3 lines of the content as well. I managed to display the content but not able to limit the display to the first 3 lines. Is there anyway of doing this in Form Builder other than modifying the xsl file?
Thanks

okay - I uninstalled 5.6.3 and instead installed 5.6.2 and that seemed to have fixed my problem.
Thanks,
Rob

Similar Messages

  • Unable to preview - XML Forms builder

    Hello gurus,
    please forgive the silly question as I'm completely a newbie on the argument.
    I'm trying to implement a news iview in Portal; I found an exaustive and intesting How-to guide that designs exactly my scenario:
    How to Create XML Forms (NW2004)
    However, I tried to start from the existing SAP_DemoNews project doing some little modifications in order to include a society logo.
    So, I opened SAP_DemoNews project and did a Save as... to MyTemplateNews project.
    However, even though the project seems correct as there are no errors in the generate() phase, I cannot see a preview of any module as the windows which is opened contains the following message:
    XML - Forms 
    Item /documents/xmlforms/xfbuilder/preview/MyTemplateNews.xml does not exist
    I guess there's something wrong with paths and configuration, but didn't found any reference searching the forum; could anyone provide me an help to work with previews?

    Hi Matteo,
    > preview works correctly on the EDIT form, while still crashes on the Show and RenderListItem forms
    "the preview function in the XML Forms Builder is not supported for the RenderListItem form" (http://help.sap.com/saphelp_nw70/helpdata/en/42/f6733c20e73247e10000000a11402f/frameset.htm)
    But for Show it should work, and you said it does for standard forms delivered by SAP!?
    For the default trace, you can use the log viewer in VisualAdmin (7.0) or the log viewer in NWA (7.0/7.3). VA: http://help.sap.com/saphelp_nw70/helpdata/en/57/5f1140d72dc442e10000000a1550b0/frameset.htm; NWA: http://help.sap.com/saphelp_nw73/helpdata/en/47/af4560fa711503e10000000a42189c/frameset.htm
    Contact your basis people for further information; maybe they can check if the traces throw some insight...
    Hope it helps
    Detlev

  • Change content in adobe forms of Print Preview in Appointment screen

    Hi ,
    I have a requirement in which I have to change content of adobe forms which comes after clicking on Print Preview in Appointment screen,
    I am new to Smart forms and Adobe forms , request expert suggestion onto this.
    Thanks.

    Try opening in Chrome or Firefox and inspecting the elements. You can turn easily locate the CSS that's driving the background and experiment with settings. You get there by right clicking on an element and select Inspect Element from the options. It's much easier than trying to go through all of that HTML code without a style sheet to go along with it.

  • Error writing output with iview for xml form builder

    Hi,
    I created a Xml Form Builder's project in which I developed an "Edit" and "ListEdit" sheet.
    I also created an iview for theese in which the code link is:"com.sap.km.cm.xmlform",and the field for Style Sheet for List and for single item are set up correctly,but when I tried the preview the following error message happened:
    com.inqmy.lib.xsl.xslt.XSLOutputException: Error writing output. -> org.w3c.dom.DOMException: Root Element is already present, cannot be appended as a child.
    could someone help me?
    thank's a lot!
    Nick.

    Hi,
    Now I'm confused,what do you mean with create new data? Are users editing existing documents
    (as if they go to a document example.xml > edit) or they are creating new documents (as if they go
    on folder > new > forms)?
    The problem is, in both cases a user would need read/write permissions.
    The normal flow content (data) is created in KM is as follows:
    1. user is assigned to a role
    2. role contains KM Navigation iView
    3. KM Navigation iView executes com.sap.km.cm.navigation component
    4. user chooses New > Form UI command (edit_xml_forms)
    5. edit_xml_forms UI command executes its code (com.sapportals.wcm.rendering.uicommand.cm.UIXMLFormsCreateCommand) and open xml edit for the user
    6. user fill the form and click Save, form is created into folder
    For what I understood so far, your requirement basically asks you to go directly to step 5, it is
    possible to pass a URL that goes directly to step 5, the UI command button, but if you do that
    you won't have a context, so chances that it will work are slim, since a context is required to
    fill the parameters asked by the app (like folder, user, permissions, etc). Even though, in some cases you can
    still pass the parameters via post in the URL but you must know which service/parameters the
    app asks for it, also a URL is static...
    That was the create scenario, I think it's more cons than pros, users would still be
    able to bypass the URL iView created for that, I'd suggest evaluating again if it's really
    a problem having users access cm to manage data
    kind regards,
    Rafael

  • Emailing contents of XML form

    Hi, I have designed an XML form (using XML Forms Builder ) which accepts input from the user and when the user clicks on the "Send" button, the data needs to be saved as well as sent to 3 email addresses. Currently, I have created 2 iviews namely "Admin Form" iView and "Display Form" iView. When I preview "Admin Form" iview, I see a link which says "New InputForm" (where, InputForm is the name of my form). When I click on the "New InputForm" link, I am able to enter data and then preview it. In the "Display Form" iview, I only display the data. Now is it sufficient to have just the "Admin Form" iview since, I just need to accept input from the user? Also, do I have to edit "RenderConfig.properties" file, since I already see only the "New InputForm" link in "Admin Form" iView? If so, can you please tell me how to go about with editing the "RenderConfig.properties" form and also under what name should I save it? Also can you please tell me in which file I can find my source code? I believe I need to call a component from the code which will email the input to the recepients. I have just started learning XML and hence all these questions. Can you please point me in the right direction? Thanks for all your valuable time and effort.
    Sincerely,
    Sri

    Hi Sri,
    You need to develop a custom EventReceiver (there is an example of a simple eventreceiver somewhere on SDN...), which should be triggered when the user presses the send button. As far as I know, there is no way to find out which button has been pressed, the eventreceiver just listens to events such as "create" and "edit" (So it will work if you always want to email the xmlform).
    The flow of the program will be something like:
    -user gives input in xmlform, and saves
    -eventreceiver gets the "create" event (here you should check if the resourcetype is the xmlform you created)
    -eventreceiver gets the content of the xmlform input (most likely you will want the formatted input e.g. use ...Show.xsl), for this you can use the XMLFormsService.
    -send the emails using the mail API
    Hope this helps.
    Johan

  • Forms Builder - form not pulling the data from the DB into the datablock

    I'm working on a school project, and I'm not sure if I'm doing something wrong, or if something is wrong with my setup.
    I created a basic form, 3 fields, and ID, firstname and lastname
    the wizard connected fine, pulled the three fields into forms builder
    I setup a canvas - type content with the a form format layout of the three fields.
    saved the form.
    When I run the form and it's displayed, nothing gets pulled into the fields (all blank).
    Shouldn't it pull at least the first row from the table?
    it says it's on record 1/1
    XP, Oracle 10g, Form builder 10.1.2,
    I'm not getting any errors
    I want to get this basic form working first, before I start adding to it, and it doesn't seem to want to cooperate.
    I've done the same steps as in the tutorials....

    I did find that, if I put data in the ID, first and lastname on the form, and click Execute & Save on the Menu, it does add it to the database.
    Maybe what I'm missing, is how do I get the form to read from the database when it starts up?

  • 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

  • Displaying tab page canvas on content canvas in Forms 6i

    Forms [32 Bit] Version 6.0.8.8.0 (Production)
    I have an existing form which has multiple canvases and there are couple of fields on Content canvas and then on the same content a Tab canvas is layed out. I can see both canvases in same layout editor and select and move the tab canvas.
    But when I create a new form and want to layout a tab canvas on top of content, it appears in a separate layout editor window on design time.
    I want it like below:
    -----------content--------------------
    |                                       |
    |                                       |
    |                                       |
    |TabPag1     TabPage2                   |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    |                                       |
    -------------content------------------How can I create it so that it appears in same layout editor window at design time and appears in same window like one canvas on runtime.

    In order for the Tabbed Canvas to appear on the Content Canvas in the Layout Editor, you have to actually draw the Tabbed Canvas on the Content Canvas; eg: open your content canvas in the layout editor, click on the tabbed canvas toolbar button and then draw it on your content canvas. If you create the Tabbed Canvas object through the Object Navigator and then set the properties so it would display on the content canvas - it won't be visible on the content canvas with the layout editor.
    This is a bit of a quirk in the Forms Builder and they haven't corrected this in any of the newer versions of Forms yet. :-(
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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)

  • Desname parameter works fine in Report builder but fails in Forms builder

    Hi,
    I need some help with my current task. Here is my problem.
    I am working on Oracle 10g. My reports and Forms builder version is 10.1.2.3.0.
    My objective is to use Forms builder to call a report which will direct the output directly to the printer without preview.
    First , in report builder , I use the Parameter Form builder and set Report parameter DESTYPE = PRINTER and the DESNAME automatically changes to PCL6 ( which is the network printer name I am using).
    When I run the report , the output is directed to the printer and it works just fine.
    But in Forms builder , when I call the same report, set the DESTYPE as Printer and DESNAME as 'PCL6' , it gives an error Invalid printer name 'PCL6' specified by parameter DESNAME.
    I tried searching in this forum, it says the error is due to an invalid printer name specified in the DESNAME. But if my printer name is invalid, I wonder how the same printer name works well in Report builder?
    My coding in Forms as below :
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESTYPE,PRINTER);
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESNAME,'PCL6');
    Appreciate if anyone can help. Thanks
    Regards
    Shiva

    Hi Puppethead,
    I have tried with your suggestions.
    the following condition -- did not work
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
    but for the other condition ---
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
    is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
    if the user enters null, it has to display records with null only but with the above condition it takes '%'
    The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
    Thanks

  • XML Forms Builder Errors after SP Stack 14 upgrade

    Hello,
    I upgraded development portal to NW04s SPS14 (from SPS11).
    In XML Forms Builder, try to open my existing project but not succedd. I get the message "Operation Timeout".
    "The current operation timed out and was aborted. This was caused by network communication problems . Some data may have been lost.try again later"
    After click cancel, I get a second message:
    "There are no projects stored on the server"
    In KM content, etc folder, xmlforms , I can see all my projects !!!
    Of course, no network problems exists.. portal is working ok, ...
    I applied OSS note 1150307 - "Internal Server Error when accessing XML Forms Builder" but I have the same problem.
    Any idea¿?
    Thanks and Regards
    Noemí Llano

    Hello, I did a test...
    from the same client machine ...(with JRE 1.6.0_03) I start XML Forms ....
    with SPS11 portal, I can see the Projects.
    With SPS14 portal, I can not see the projects
    Thanks and Regards
    Noemí

  • Issue with XML form builder

    Hi All,
    1 ) My XML form builder is hanging up very very frequently (other than this, my portal is very fast).
    when I save the project its hangs up at "50% saving internal model". then I have to close the xml form builder and reopen it and save it again (when i do it repeatedly, some time it saves).
    when I click on "open Project" many times its not popup the project list, I have to close the xml form builder, logout from my portal and then login back.
    Its horrible to work on this, keeps on hanging every time. Any idea why its behaving like this? as I said, my portal is very fast except XML form builder.
    My Java version is 1.4.2_16... XML form builder verison is 6.xx
    2) when clicked on "preview" button, can we open a pcd iview??? my requirement is, when user clicks on preview button I need to open my application built in PDK java (created iview out of it, which shows xml form in a better way)?
    3) Can I show "Edit" form first other than "Renderer" form in News application? Presently it shows renderer form-> user has to click edit link -> then it will open Edit form. I want "Edit" form to be visible to the user in the first step itslef. is it possible?
    Thanks
    Pradeep
    Edited by: pradeep bondla on Nov 19, 2009 3:08 AM

    Hi.
    I suppose changing of the JDK, because 1.4.2_16 is not recommended version (see SAP  Note 716604). Refer to note 718901 - How to Change the JDK of the J2EE Engine.
    Also check what version of client JRE in use. (see Note 1341069 - XML Forms Builder not supported if client JRE is 1.6).
    Best regards,
    Aliaksandr Zhukau

  • Can i set pf-status in print preview of form

    I want to download a smartform in pdf after viewing the print preview .
    For that i want to give a button / menu  in the form print preview page.
    can i set pf-status for that ?

    Hi,
    Please find the Snippet below
    *Calling the Function Module of the SmartForm
      CALL FUNCTION l_fmodule
        EXPORTING
          CONTROL_PARAMETERS = wa_cparam
                         HEADER             = wa_emp
        IMPORTING
          JOB_OUTPUT_INFO    = it_otf_from_fm
        TABLES
          APPRAISALS         = it_emp1
        EXCEPTIONS
          FORMATTING_ERROR   = 1
          INTERNAL_ERROR     = 2
          SEND_ERROR         = 3
          USER_CANCELED      = 4
          OTHERS             = 5.
      IF SY-SUBRC <> 0.
        case sy-subrc.
          when 1.
            message e005.
          when 2.
            message e010.
        endcase.
      ENDIF.
      it_otf[] = it_otf_from_fm-otfdata[].
    *PDF Preview
      CALL FUNCTION 'SSFCOMP_PDF_PREVIEW'
        EXPORTING
                 I_OTF                    = it_otf[]
        EXCEPTIONS
          CONVERT_OTF_TO_PDF_ERROR = 1
          CNTL_ERROR               = 2
          OTHERS                   = 3.
      IF SY-SUBRC <> 0.
        case sy-subrc.
          when 1.
            message e006.
        endcase.
      ENDIF.
    *Converting into PDF Format
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
          MAX_LINEWIDTH         = 132
        IMPORTING
          BIN_FILESIZE          = l_bin_filesize
        TABLES
          OTF                   = IT_OTF
          LINES                 = IT_pdf_tab
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          ERR_BAD_OTF           = 4
          OTHERS                = 5.
    Function Module 'SSFCOMP_PDF_PREVIEW' will Show the PDF Preview while executing the Driver Program.
    And the 'CONVERT_OTF' Function Module will convert it to the PDF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          BIN_FILESIZE            = l_bin_filesize
          FILENAME                = l_FULL_PATH
          FILETYPE                = c_bin
        TABLES
          DATA_TAB                = IT_pdf_tab
    The Above function Module will Download the content of smart form in the PDF Format.
    This may help you.
    Thanks and Regards,
    Prakash K

Maybe you are looking for

  • How to switch off HNAP on EA4500

    We have a couple of EA4500 wireless routers in our local network. Unfortunately every x minutes the routers query devices in the network and this fills up our access logs on the web servers. "GET /HNAP1/ HTTP/1.1" 404 168 "-" "-" "-" "GET / HTTP/1.1"

  • Vendor non conformance not displaying green in exception

    Dear All, Vendor non conformance quality notification is not displaying green in exception even after completing well before required end date in QM10. Can you please let me know the logic of report of QM10 for vendor non conformance notification typ

  • Get photo from archive link and link into WDA Image UI

    Hi guys, I have employee photos stored in archive link under PREL HRICOLFOTO object. The question is: how can I get the image and link it on an image UI element on WDA? I have read some posts but, to be honest, I don't understand very well. I'm tryin

  • JvmStatsManager taking up PermGen space

    The following is taking up about 100MB of PermGen on our iPlanet (7.0.9) instance. Anyone know what this might be and if it can be disabled? (java.lang.OutOfMemoryError: PermGen space, PermGen space), stack: java.lang.OutOfMemoryError: PermGen space

  • CS4 Win 7 64bit video capture problem

    On my win 7 64 bit new installation of CS4 my Premier or OnLocation would not control my capture video devices. The solution turned out to be simple but not something I found on any help forum. Go to the device manager and open the IEEE 1395 Bus host