XML Form Sort List Problem!

Dear All
I have modified the news xml form to include priority and actionable, which worked fine. Now I want to order my list so that it only display one value of the priority or actionable.
My idea was to access the directory through an AbstractPortalComponent and then loop through the aResourceList and only display the news items with Priority = 1 ... But I can't seam to access the xml values ..
Thanks in advance.
Kevin

hello,
the reports parameter-form supports only the basic elements of creating a form. if you want to create a more complex/interactive parameter form, you have to use oracle forms to get the parameters and then call orace reports for that.
alternativly you can use HTML as well.
regards,
the oracle reports team

Similar Messages

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

  • 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 sorting list with virtual layout = false (and also with true)

    Hi,
    I've a problem sorting a list... or better... I've a problem showing the sorted list ;-)
    I've a list of xml item. The list is shown with an item renderer.
    my needs: a button to refresh data and a button to sort data.
    useVirtualLayout = false
    -> refresh works correctly, sort does not affect the view (even if the list is sorted correctly when printed with trace)
    useVirtualLayout = true
    -> sort works correctly, refresh reverse the list each time I press it (even if the list remain the same when printed with trace)
    does any one have an idea?
    thank you!!
    MXML
    <s:List dataProvider="{xmlListCollection}" width="100%" itemRenderer="myRenderer" minHeight="0" id="test" useVirtualLayout="false" >
    <s:layout>
      <s:VerticalLayout clipAndEnableScrolling="true"/>
    </s:layout>
    </s:List>
    XML example
    <unit sortField1="First Floor" sortField2="7">
      <employee>
        <id>3040684</id>
        <name>PIFFARETTI Vasco</name>
        <birthdate>20.05.1983</birthdate>
        <beginDate>2012-02-25 08:55:00</beginDate>
        <endDate>9999-12-31 00:00:00</endDate>
        <annotation/>
      </employee>
    </unit>

    You can tell when the scroll position has changed by handling the propertyChange event coming from the DataGroup:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   creationComplete="list1.dataGroup.addEventListener('propertyChange', handle)">
        <fx:Script>
            <![CDATA[
                import mx.events.PropertyChangeEvent;
                private function handle(e:PropertyChangeEvent):void {
                    if (e.property == 'verticalScrollPosition'){
                        trace('vsp changed');               
                    if (e.property == 'horizontalScrollPosition'){
                        trace('hsp changed');               
            ]]>
        </fx:Script>
        <s:List id="list1" width="100" height="50">
            <s:layout>
                <s:VerticalLayout />
            </s:layout>
            <s:dataProvider>
                <s:ArrayList>
                    <fx:String>0</fx:String>
                    <fx:String>1</fx:String>
                    <fx:String>2</fx:String>
                    <fx:String>3</fx:String>
                    <fx:String>4</fx:String>
                    <fx:String>5</fx:String>
                    <fx:String>6</fx:String>
                    <fx:String>7</fx:String>
                </s:ArrayList>
            </s:dataProvider>
        </s:List>
    </s:Application>
    You might also want to read and consider voting for http://bugs.adobe.com/jira/browse/SDK-21357

  • 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

  • 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

  • The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

    The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.

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

  • How to assign drop down list in XML form to properties

    Hi ALL,
    When i was creating <b>Edit form</b> in XML Forms Builder,for <b>Bulletin Board</b> Application, i had to assign two drop down list boxes to properties created under Content Management Configuration > Global Services > Property Metadata. Can any one help me how to ASSIGN it or provide any related documents.
    Suitable replies will be rewarded, for sure.
    Regards,
    Shankar

    Hi Shankar
    Please have a look at this document, especially the part about the cookbook. It explains how to add properties in a dropdown list to your XML form.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee639033-0801-0010-0883-b2c76b18583a
    Good Luck!
    Barry

  • 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

  • Sorting KM news / xml forms

    I've created xml forms / news.
    The publication is working fine but,
       - the news are sorted by News name
    and I would like to change the sorting
       - or by creating date
       - or by a specific field of the news' data model
    Does someone have experience with this ?
    Kind regards
    Vincent

    Hi Vincent,
    It appears the default setting for the "NewsBrowser" are as follows:
    Property for Sorting: modified
    Sorting Mode: descending
    This means the default NewsBrowser will renders all news articles
    on the last modified date in descending order where the property
    id modified maps to the property cm_modified.
    There is no property existing called "date", if you wish to sort
    the news articles on the creation date the property id you would
    use is created which maps to the property cm_created, so you
    parameters would look like this:
    Property for Sorting: created
    Sorting Mode: descending
    Did you tried above configrations?
    Best Regards
    Anjali

  • 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

  • Help Needed, problem reading a configuration file in XML form

    Hello,
    I am using NetBeans 6.5.1 with Apache Tomcat 6.0.18.
    I am trying to develop a web application and in my source files I have a thread that loops every second and reads the contents of a configuration file which is in XML form using java.util.Properties.
    As soon as I call props.loadFromXML(new FileInputStream(file)); I get several exceptions that I don't know what they mean nor I know how to resolve them.
    I would apreciate any help you guys can provide.
    Here is what I get in NetBeans:_
    Apr 30, 2009 8:56:53 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
    INFO: WSSERVLET15: JAX-WS servlet destroyed
    Apr 30, 2009 8:56:53 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
    INFO: WSSERVLET13: JAX-WS context listener destroyed
    Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader findResourceInternal
    INFO: Illegal access: this web application instance has been stopped already. Could not load META-INF/services/javax.xml.parsers.DocumentBuilderFactory. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already. Could not load com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:111)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:146)
    at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:233)
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
    at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)
    at java.util.XMLUtils.load(XMLUtils.java:57)
    at java.util.Properties.loadFromXML(Properties.java:852)
    And following the above I get:_
    Apr 30, 2009 8:56:53 PM org.apache.catalina.loader.WebappClassLoader loadClass
    INFO: Illegal access: this web application instance has been stopped already. Could not load com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    java.lang.IllegalStateException
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at javax.xml.parsers.FactoryFinder.getProviderClass(FactoryFinder.java:111)
    at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:146)
    at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:233)
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:123)
    at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)
    at java.util.XMLUtils.load(XMLUtils.java:57)
    at java.util.Properties.loadFromXML(Properties.java:852)
    Thanks in advanced.

    kimskams wrote:
    Very Sorry Problem Remains... I checked Scanner on a Smaller file (to give u fast feedback) but I think the spaces in Small file were normal.. that is why it worked..
    In fact I can feel some word on the blank line (hidden words).. its cursor who evidence their presence so Its not working..
    Its a big program which is accessing a lexical resource so I think what I copied was Ok..
    If u still have some solutions then please tell me otherwise I have to remove these blank lines manually for the time being but its not solution.
    I m trying alsoI don't think anyone can give you an answer: people here don't know how your file looks like. Obviously those lines (when the Scanner instance stops reading) are not just empty lines.

Maybe you are looking for

  • IPod Shuffle (1st Gen) is no longer seen in iTunes or Windows (Vista)

    I had it working flawlessly in Vista with iTunes then yesterday I plugged the shuffle in and Vista said it was an unidentified usb device. So iTunes no longer sees it and it doesn't even come up in Device Manager. Things I've done so far... 1. Reset

  • Unable to have ICal sync with Google

    I am constantly getting authentication of account failed message. I have deleted the keychain info, logged into google thru browser and it is fine. So it seems that the problem is with iCal. Help, it seems to recognize shared calendars and US holiday

  • Can't Sync Some Video Files

    I have just spent the last few weeks using HandBrake to rip the video files off my TV Seasons and movie DVDs and importing them into iTunes. I used the same exact rip settings for all my DVDs. There are some that are able to be synced to my iPhone, w

  • Can send my Journal to my PC but I do not know how to get a copy of the journal to a smart drive or disc HELP

    Sent my Jornal from iPhoto to my Dell lap top PC HOW can I copy the photos for a slide show on a smart drive or burn to disc? Need to make a presentation and would like to have a copy and not reley on the cloud or Itunes Marlene

  • 720p24 HDV to SD mpeg2 for anamorphic 24pDVD?

    I have tried everything to perform this compression this cleanly. So far, the results ARE really crummy, seems to be all pixelated and such. I have done many searches and read hours of posts. And NO, I am not going to drop sequences into other sequen