Problem in XML form generation

I am facing one strange problem while creating new User Defined form after the form is created each and every event gets fired except the lost focus even on which i need to write some code can anyone help me please

Lost focus in user defined form is problem and isnt fired. Im doing it so:
dim isform as boolean = False
In form load event I set isform = true
In form unload I set it back isform = false
in itemevent when some event is rasied and form is other than my form and isform = true I know, that form lost his focus.

Similar Messages

  • Problem in xml form

    Hi,
    i have created one xml form using form builder...there are three views..edit, renderer list and show....then in portal, i created one iview using newsexplorer layout set for edit form and newsbrowser layout set for show form . My problem is...wich layout set i have to choose for getting rendererlist form? one more thing, before creating iviews, should i have to create any folder in km repository ? i am using ep 6 sp2.
    regards
    ram

    Hi ram singh,
    There are some steps that you could follow :
    1. Create the XML FORMS using the XML FORMS Builder
        a) On Edit panel create your form that will be visible on NewsExplorer Layouset.
        b) On RenderList create how your form wil be visible on NewsBrowser Layouset.
    2. Create first Iview for Admin:
       a) Set the layouset to "NewsExplorer"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    3. Create second Iview for users:
       a) Set the layouset to "NewsBrowser"
       b) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
       c) Set the "Path to Initially Displayed Folder" to "/MyFolderForXMLFORM"
    That's all! Now you can create new items using the Admin iView, which will be storage on KM path that you had set on steps 2 and 3. When you open your User Iview will be show all xml files that exists on your  "/MyFolderForXMLFORM".
    <b>There are some helpful links above:</b>
    How to create XML FORMS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Creanting XML FORMS
    http://help.sap.com/saphelp_nw04s/helpdata/en/fd/bd016254946048a4d7a17c2aad7600/frameset.htm
    Cheers,
    Alcides Flach

  • "Feedback" problem in XML Forms

    Hi Forum,
                    I have created an xml form (for creating and showing articles similar to News) using form builder. In the "show" form i placed a button and assigned the action "Details" to it (So when it is clicked takes to Details Screen). Created a KM Navigational iview that uses my custom layout "myNewsExplorer" in which i have removed some of the command groups like properties, permissions etc.. as i dont want the end users to see these options in the details screen. But to my surprise the feed back button's action is not using myNewsExplorer layout and it is directly pointing to AdminExplorer and giving me all the unwanted command groups and commands. How can i make the feed back option to point to my custom layout set.
                     I dont want to use "give feedback", "feedback" commands at the resource renderer level, since they dont provide facility to open the given feed backs and read (They only allow to give feed back and just list the given feedbacks).
                     Now i am trying to use two feed back buttons in the show form, the first one with action - Details (for admin). I want to get this button to only specified admin user and not to end users. How can i capture the current logged in user from the xml form and put a condition that this button should only appear to admin user ?
                     Please share some ideas. I need to deliver this functionality immediately (working at client place).         (Points Assured)
    Thanks
    Ramesh Kotagiri

    Hi,
    Your requirement is to Browse from different km folders based on some dropdown selection in xml form.  is n't?
    We also face similar kind of problem, in which we have to enable/disable one fields depends on value of another fields.
    As i know it is not possible in XML Form. We acheived our requirement by adding some javascript in generated xml form.  Since it is not a recommended solution i am not suggesting to do so.
    Please ask suggestion from others also.
    Regards
    Baby

  • Problem starting XML Forms Builder

    Hi
    I have a SAP EP 6.0 SP2 Patch 28 portal where I newly implemented the how to guide "How To Secure Permissions fro Initial Content In SAP EP 6.0 SP2".
    In this guide I need to create a new Content Manager role, due to a SAP Note 775117.
    All this seems ok, but now I am not able to start the XML Forms Builder.
    I am getting an error message that says something about the <b>"Access is denied:com.sap.portal.system/applications/com.sap.km.cm/components/xfbuilder - security zone:medium_safety/Com.sap.km.cm"</b>
    I have tried out several ways, then the recommendation, of implementing to get this application to be loaded, but unfortunately - this does not work.
    Have anyone else reach some problem regarding this issue??
    Regards
    Kay-Arne

    hi
      navigate to systemconfiguration security Zone and to the folder as specified and change the security zone to low safety .also check with acl editor
    With regards
    subrato kundu

  • 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

  • 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

  • Problem with XML Forms

    Hello,
    We have EP6 SP2 with the latest patch.
    we are building a XML Form that the target url of it is to a page inside the portal and want to open it at the same brwser window.
    Thanks
    Asher Benbenisty

    Asher ,
    Take My redererShow.xsl file
    Yoav

  • Error in XML file generation :240416

    Hi All,
    I am facing problem with XML file generation.
    Steps:
    1. Source-->Query Transform and maintained Nested Stucture
    2. Generated XML fomat from query transform
    3. Created XML format file
    4. Make XML format as target and given XML generate path
    source table-->Query(nested structure)-->XML Format
    when I validate the job no errors found.
    Note: XSD file is in Local mechine and XML file will be generated in SFTP.
    Prooblems:
    1. Getting below error
    The input XML refers to file which is not part of the definition of this XML Schema format. Check your schema and XML files,
    and check that the root element in the XML file corresponds to the root element in the XML Schema
    Validate your XML Schema using external schema validators (found at w3.org)
    Thanks,
    Deepa

    Hi,
    I think issue Because in your Query Transform output the Root element is Query and XML target is having some other root element. Make the Query trasform name similar to root element and try...

  • I want  to design a News like the *LInklist* by XML Form Builder

    Hello:
       Everyone!
       Now I have another problem about XML Form Builder
       I want  to design a News like the LInklist by XML Form Builder
       I want the result,For Example
    SAP News
           1news1
           2news2
           3news3
    who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
    Thanks a lot
    Hope your help!

    Hi,
    In XML Form
    1) Edit form is used for designing the user interface.
    2) Show form is used for displaying the xml form to the end user
    3) RenderListItem is used for  rendering the xml form into a small description like 1News1, 2news2  etc..
        Here you need to display only the heading of the xml form
    After you create the xml form
    Create Layout set  where you need to give the proerties like xml renderer form , no of items to display etc...
    Thanks&Regards,
    Raghu

  • 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

  • Problem for xml generation using DBMS_XMLGEN

    Hi All,
    i have problem during xml generation using Any help would be highly appreciate
    how could we publish xml data using data base API DBMS_XMLGEN in oracle applications (APPS) i.e. at 'View Output" using
    Any help would be highly appreciate.
    Let me know if need more explanation, this is High priority for me.
    Thanks and Regards,
    [email protected]
    Message was edited by:
    user553699

    You can set the null attribute to true , so that the tag appears in your XML
    see the statement in Bold.
    DECLARE
    queryCtx dbms_xmlquery.ctxType;
    result CLOB;
    BEGIN
    -- set up the query context
    queryCtx := dbms_xmlquery.newContext(
    'SELECT empno "EMP_NO"
    , ename "NAME"
    , deptno "DEPT_NO"
    , comm "COMM"
    FROM scott.emp
    WHERE deptno = :DEPTNO'
    dbms_xmlquery.setRowTag(
    queryCtx
    , 'EMP'
    dbms_xmlquery.setRowSetTag(
    queryCtx
    , 'EMPSET'
    DBMS_XMLQUERY.useNullAttributeIndicator(queryCtx,true);
    dbms_xmlquery.setBindValue(
    queryCtx
    , 'DEPTNO'
    , 30
    result := dbms_xmlquery.getXml(queryCtx);
    insert into clobtable values(result);commit;
    dbms_xmlquery.closeContext(queryCtx);
    END;
    select * from clobtable
    <?xml version = '1.0'?>
    <EMPSET>
    <EMP num="1">
    <EMP_NO>7499</EMP_NO>
    <NAME>ALLEN</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>300</COMM>
    </EMP>
    <EMP num="2">
    <EMP_NO>7521</EMP_NO>
    <NAME>WARD</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>500</COMM>
    </EMP>
    <EMP num="3">
    <EMP_NO>7654</EMP_NO>
    <NAME>MARTIN</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>1400</COMM>
    </EMP>
    <EMP num="4">
    <EMP_NO>7698</EMP_NO>
    <NAME>BLAKE</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM NULL="YES"/>
    </EMP>
    <EMP num="5">
    <EMP_NO>7844</EMP_NO>
    <NAME>TURNER</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>0</COMM>
    </EMP>
    <EMP num="6">
    <EMP_NO>7900</EMP_NO>
    <NAME>JAMES</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM NULL="YES"/>
    </EMP>
    </EMPSET>
    http://sqltech.cl/doc/oracle9i/appdev.901/a89852/d_xmlque.htm

  • XML Form Builder-Problem with the save button

    Hi All,
    I created a project in XML Form Builder.
    I included a button "Save" in my project.
    All is working fine when i preview my project in XML Form Builder.
    The problem is when i run my project with iview.
    I suppose the form to save my input and then to be closed but
    unfortunately it did not.
    I don't know where the problem is as in the XML Form Builder everything seems ok.
    Thank you for your help!
    Regards,
    Ari

    Hi Carsten,
    Thank you for your help.
    There is no javascript error in the form.
    In the status bar when i have my mouse over the button i can see "javaxcript:HrefSubmit('save',"");"
    And when push the button "Transering Data..."
    I created the form in the Xml Form Builder and in preview there the project works.
    What do you mean "Did you access your Form using the KM Admin Explorer via a comman?"
    How can i have acess there?
    I appreciate you help!
    Regards,
    Ari

  • Problem with NewsLayout/XML Forms

    Hello,
    I have a created News(custom) item, through XML forms. When I preview the Edit,Show and Renderer form, they all work fine.
    The problem, I am facing is:
    When I create a news item under documents folder: New->Forms->News, it is saved. when i click on this xml file, I can see the news.
    But in the iView, when i set the Layout as "NewsBroswer" , these news are displayed as links but not as News item( as we see in Renderer list in XML froms ). All the other forms (FAQ, SAP Demo News are seen as news item )
    Can someone tell me why, this problem exists ?
    Regards,
    Poornima

    Hi Raghu,
    I have already done this. I am using the same layout set( with all the things u have mentioned ) to my other news, it works.
    The news where I am creating now is directly under root in another folder which is at the same level as documents folder. Should I do some XML resource rendering settings for this. The XML form is available for this folder.
    I have no idea pls help ! Its consuming a lot of my time to correct this.
    Regards,
    Poo

  • I love the new form generation stuff in FB, but some problem here

    I love the new form generation stuff in FB and I've created a form from a create autogenerated service.
    When the user fills in the form I call the method I assign it to a token in a call responder
            createtbMysteryShopperResultsResult2.token = tbMysteryShopperResultsService.createtbMysteryShopperResults(tbMysteryShopperRe sults2);
    The service just a void one
    However if the users fills the form again and called the same service I get an error:
    Item with id 'tbMysteryShopperResultsRPCDataManager:#:0' already exists.  Error on destination 'tbMysteryShopperResultsRPCDataManager'
    The primary key column is auto incremented in the ms sql database so I do not understand this error?
    Any advice would be great, this problem has been bugging me for days now
    A lot of the code generated stuff I don't understand so I don't know where to look for errors

    Sorry for the late response, but I think I've found a workaround, I encounter exactly the same trouble in my application, very rare trouble but more often when the application runs on touch screen. I think It's like the user double-click on the button firing the action of create item twice, in my case it should not arised because i remove the button on click but ... sometimes  it seems it should :-/ By default the RemoteObject wrapps in the DataService is in multiple mode , see concurrency in RemoteObject source :
        [Inspectable(enumeration="multiple,single,last", defaultValue="multiple", category="General")]
        * Value that indicates how to handle multiple calls to the same service. The default
        * value is multiple. The following values are permitted:
        * <ul>
        * <li>multiple - Existing requests are not cancelled, and the developer is
        * responsible for ensuring the consistency of returned data by carefully
        * managing the event stream. This is the default.</li>
        * <li>single - Making only one request at a time is allowed on the method; additional requests made
        * while a request is outstanding are immediately faulted on the client and are not sent to the server.</li>
        * <li>last - Making a request causes the client to ignore a result or fault for any current outstanding request.
        * Only the result or fault for the most recent request will be dispatched on the client.
        * This may simplify event handling in the client application, but care should be taken to only use
        * this mode when results or faults for requests may be safely ignored.</li>
        * </ul>
    Then I add a test in my code and the problem seems to disappear  :
                                if ( createPersonResult.token == null )
                                    createPersonResult.token = personService.createPerson(person);
    HTH,
    Stephane

Maybe you are looking for

  • Mass cancellation of invoices:

    Dear Freinds, I would like to know how to cancell invoices which are closed(posted for accounting document). I have around 5000 invoices which are suppose to be cancelled at one shot. thanks, sushil 93477 39539

  • Logical handle no longer valid

    I am getting the "logical handle no longer valid" SQLException when I reach the point in code marked by Object[] oaResults = (Object[])saResults.getArray(); I can't explain this! I have talked to every Java developer I know without any answers. This

  • Hi Everyone I have a tech question

    I got my iphone on thursday and it breezed thru activation with no problems. I've made and received several calls with no problems on both ends. My question is this we have roadrunner wifi and i was wondering during activation my brother got a messag

  • General error- trying to call n900

    Hello, first i am sorry for my english. So i have a problem with my Nokia n900, when i am trying to call other person i hear strange signal and on screen showed text with GENERAL ERORR. i tryed with other sim cards but its the same. Ofcourse  i can r

  • Built-in iSight Not Working After Re-format

    I just reformatted and reinstalled Mac OS X and applied all the system updates that were downloaded. Computer is working great. When I went to use iChat and Photobooth, it says my iSight is not connected or in use by another program. How can I get it