FavoriteFolder, how to get the content inside this folder

Hi
I have to get with the Java api consumer the content inside the favorite folder. How can i get it?
i write this code:
               String searchQuery = search://{'guaglanto1'}?SearchKeywords=true&SearchExact=true&SearchCaseSensitive=true;
               ResponseHolder rh = boBIPlatform.get(searchQuery, null);
               InfoObjects myFav = rh.getInfoObjects();
               if (myFav == null || source.getInfoObjectArray().length == 0){
                 result="No terms matching the following search query could be found: " + searchQuery;
                         return result;
               result ="";          
               for (InfoObject infoObject: myFav.getInfoObjectArray()){
                 result= result+ infoObject.getName() + " has CUID: " + infoObject.getCUID()+ " type "+ infoObject.getKind() + " has childreen "+ infoObject.getChildrenObjects();
Where guaglanto1 is the title of the favoriteFolder.This code show the CUID,name,kind and children of the favoriteFolder.  Now i want to navigate this folder and get its content (i see from InfoViewApp there are 5 web intelligent report inside the favorite folder) but i don't know how can i get that.
Anyone can help me to resolve this problem?
thank you
best regard
Andrea

once you get the SI_ID or SI_CUID of the favorites folder you need to write an additional query to pull all its children using:
select * from ci_infoobjects where si_parentcuid='<si_cuid of favorites folder>'
If the favorites folder contains folders with subfolders, this will be a recursive call. You can use query://{select....} or path://
Look at the BIPlatform documentation in API reference and there is more information on how to use query:// or path://

Similar Messages

  • How to get the content of a jTextArea?

    hi everyone
    can some body provide me with some help???
    I want to know how to get the content of a jTextArea
    it may be a String and i want to use that String to make some applications
    I've use this :
    String ch=jTextArea.getSelectedText()
    but i'm not sure it will work and i'm not sure it will take the text writen inside the jTextArea ... please help
    Thanks

    http://forum.java.sun.com/thread.jspa?threadID=778988&tstart=0

  • I am thinking of buying a MacBook Air and am wondering how to get the content of my iPad into iTunes.

    I have iTunes on an old pc and am thinking of buying a MacBook Air. I am wondering how to get the content of my iPad on to the Mac as I know that sync only happens in one direction, from pc to device. I assume therefore that when I attach my pad to the new Mac it will sync to an empty iTunes and I will have lost all the content of my pad. I know I can restore purchases, but what about contacts, calendar, photos and music not purchased from apple. I have a fairly recent backup on a pen drive but it is a usb2 device and is formatted for a pc. Any advice would be appreciated.

    Do I copy my media library or from a backup.  I have a backup on my pc and on an external drive. This drive is usb2 and formatted for windows so I can't connect it to a MacBook Air to make the transfer.  Equally I don't think there is a way to connect the 2 computers via a cable ie usb2 one end and usb3 the other.  Will the computers talk to each other via wifi if I enable home share although I think this is only for music which still leaves contacts, mail etc.
    I am sorry to be such an ignoramus but any further help would be appreciated.

  • How to get the content of the uploaded file.

    Hi Experts,
    I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    Regards,
    Arun

    >
    ARUN KUMAR.S wrote:
    > Hi Experts,
    >
    > I am using a input box to get the path of the file to be uploaded.(I am not using FILE UPLOAD UI Element).Could you please let me know how to get the content of the uploaded file.
    >
    > Regards,
    > Arun
    You will not be able to use a normal InputField to upload file contents.  This is not allowed by the browser security model. You must use one of the upload specific UI mechanisms - the FileUpload UI element or as of 7.01 ACFUpDownload or FlashIslands.

  • How to get the contents associated with a component.

    How to get the contents associated with a component.
    Like i have 2 buttons and i want to get the contents associated with these button without clicking them i.e without firing the event.
    By Contents i mean, whatever things we get after firing the event,we get some other window and some thing is added to the current page and so on.

    grab all the code inside the actionPerformed(ActionEvent e) method

  • WD ABAP: How to get the contents of selected table lines?

    Hi,
    I'm trying to figure out how to get the contents of table lines back from the UI. I display a table with several lines of data. The user selects some rows. I want to move the contents of the selected rows to another table. I have a context attribute, say DATA, with attributes FIELD1... FIELDn, using a DDIC structure. These are bound to the table UI element and the corresponding table columns. To get the selected rows, I use wd_context->get_selected_elements(). This works, but what I get from this method is references to if_wd_context_element. How do I know which row (row number = ?) this corresponds to? And how do I get the actual data? I want a structure with FIELD1 = value1 FIELD2 = value2 etc. My context attributes FIELD refer to table columns, but I'm looking for the table line...
    Can somebody help me?
    Thanks,
    Ira

    Hi Ira,
    wd_context->get_selected_elements() returns WDR_CONTEXT_ELEMENT_SET which is a table type of IF_WD_CONTEXT_ELEMENT. You can loop through the WDR_CONTEXT_ELEMENT_SET, get into variable say node_elelement which is of type ref to If_Wd_Context_Element. Then you could use the method GET_STATIC_ATTRIBUTES of If_Wd_Context_Element which returns a structure with values of all the attributes in the selected row.
    If you need the row number, while populating the node you could have an additional attribute called rowno and populate it correctly. When you select the data using method GET_STATIC_ATTRIBUTES, you would get the appropriate row number.
    Regards,
    Srini.

  • How to get the content in embed swf file in Swf Loader on run time

    How to get the content in embed swf file in Swf Loader on run time
    [Bindable]
    [Embed(source="assets/index.swf")]
       private var SWFSRC:Class;
    <mx:SWFLoader id="_swfloader" source="{SWFSRC}" />

    Hi Flex harUI,
    Throw the error.
    Access of undefined property content

  • HT4623 i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS

    i have iOS 4.2.1 in 3G old one. how to get the applications for this iOS

    look at this thread
    https://discussions.apple.com/message/22837309#22837309

  • How to get the details inside base domain name?

    I need to extract the details inside the base DN like ou="" ,cn="" and so on..
    Somebody please help me in getting the details inside the base domain name. I could able to get the attribute names and values for the domain name...
    Anyone please help me?
    Thanks in advance...
    Edited by: Preethi_Engineer on Aug 3, 2010 9:54 PM

    Hi Vipin,
    This code snipet show that how to find the login user to the portal
    public void LoginUser( )
        //@@begin LoginUser()
         String LogonID;
           try{
              // create an user object from the current user
              IWDClientUser wdUser=WDClientUser.getCurrentUser();
              IUser user=wdUser.getSAPUser();
              //LogonID=user.getUniqueName();
              wdComponentAPI.getMessageManager().reportSuccess(user.getFirstName()" "user.getLastName().toUpperCase());
              //wdComponentAPI.getMessageManager().reportSuccess(LogonID.toUpperCase());
              wdComponentAPI.getMessageManager().reportSuccess("Logon User ID : "+wdUser.getClientUserID().toUpperCase());
           }catch(Exception e){
              e.printStackTrace();
        //@@end
    Note:  You also need to add"com.sap.security.2.0.0" jar file into your java build path liberary.
    Thanks
    Anup
    Edited by: Anup Bharti on Oct 13, 2008 2:18 PM
    Edited by: Anup Bharti on Oct 13, 2008 2:29 PM

  • How to read the content of this excel file in LV

    Hi could you please let me know how can I read the content of this excel file using the Read From Speardsheet function. It contains text and numbers
    Thanks
    The excel file is attached
    Attachments:
    Datalogging.zip ‏307 KB

    Check attached VI.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    ReadFromExcel.vi ‏27 KB

  • How to get the caret inside a custom editor?

    I was reading through old posts the other day and noticed this by Rob Camick in this thread Re: Problem in cell selection in JTable Java Swing :
    camickr wrote:
    All KeyEvents are passed to the editor for the cell and the editor is psuedo invoked. That is, the caret is not placed on the text field used as the editor, but the character typed is added to the editor.This set me thinking about a known issue in my app which I had shelved for a "rainy day": how to get the caret into the cell editor component. I thought I'd get it out and look at it. I tried the following, in my custom cell editor:
      public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected,
                                                 int row, int column)
        JTextField ec = (JTextField) editorComponent;
        ec.setText((String) value);
        if ("".equals(ec.getText()))
          ec.setCaretPosition(0);
        else
          ec.selectAll();
        return editorComponent;
      }But it has no effect whatsoever, the user still can't type something in and then press the backspace key to useful effect. Has anyone out there solved this problem? (And why, oh why, is the caret not put into the cell editor by default, if it's a component that has a caret?)

    Replying to my own post, in case what I ended up with is of some help to others. The desired behaviour was that anything the cell contained from the previous edit would be replaced by what the user types in the current edit, i.e.:
    user starts edit, types 234, stops editing, cell displays 234...user single-clicks on cell, types 567, stops editing, cell displays 567
    My code is as follows:
        public Component getTableCellEditorComponent(JTable table, Object value,
                                                     boolean isSelected, int row,
                                                     int column)
          final JTextField ec = (JTextField) editorComponent;
          ec.setText((String) value);
          // selectAll, so that whatever the user types replaces what we just put there
          ec.selectAll();
          SwingUtilities.invokeLater(new Runnable()
            public void run()
              // make the component take the keyboard focus, so the backspace key works
              ec.requestFocus();
              SwingUtilities.invokeLater(new Runnable()
                public void run()
                  // at this point the user has typed something into the cell and we
                  // want the caret to be AFTER that character, so that the next one
                  // comes in on the RHS
                  ec.setCaretPosition(ec.getText().length());
          return editorComponent;
        }

  • How to get the contents of more than one comments of human task?

    The human task have more than one comments. I use the following functions to get the contents but still only get the first comment. Append function only returns the first comment.
    How to get all conents of comments?
    <while name="While_1"
    condition="bpws:getVariableData('Variable_int_i')&lt;number(bpws:getVariableData('Variable_comment_node'))">
    <sequence name="Sequence_3">
    <sequence name="Sequence_3">
    <assign name="Assign_7">
    <copy>
    <from expression="string(bpws:getVariableData('single_approve_1_globalVariable','payload','/task:task/task:userComment/task:comment'))"/>
    <to variable="Variable_comment_string"/>
    </copy>
    </assign>
    <assign name="Assign_6">
    <copy>
    <from expression="bpws:getVariableData('Variable_int_i')+1"/>
    <to variable="Variable_int_i"/>
    </copy>
    </assign>
    </sequence>
    </sequence>
    </while>

    You also have to test the value:
    REPORT ztest MESSAGE-ID 00.
    DATA: BEGIN OF itab OCCURS 0,
            f1 TYPE i,
            f2 TYPE i,
            f3 TYPE i,
            f4 TYPE i,
          END OF itab.
    DATA: sel_field(20),
          value TYPE i.
    DO 5 TIMES.
      itab-f1 = sy-index.
      itab-f2 = sy-index + 10.
      itab-f3 = sy-index + 20.
      itab-f4 = sy-index + 30.
      APPEND itab.
    ENDDO.
    LOOP AT itab.
      WRITE: /001 itab-f1, itab-f2, itab-f3, itab-f4.
      HIDE itab.
      CLEAR itab.
    ENDLOOP.
    AT LINE-SELECTION.
      CLEAR: sel_field,
             value.
      GET CURSOR FIELD sel_field.
      IF sy-subrc = 0.
        CASE sel_field.
          WHEN 'ITAB-F1'.
            value = itab-f1.
          WHEN 'ITAB-F2'.
            value = itab-f2.
          WHEN 'ITAB-F3'.
            value = itab-f3.
          WHEN 'ITAB-F4'.
            value = itab-f4.
        ENDCASE.
        MESSAGE s001 WITH 'Value of' sel_field 'is' value.
      ELSE.
        MESSAGE s001 WITH 'Invalid field selected'.
      ENDIF.
    Rob

  • How to get the content of a DTD ?

    (i'm French, please excuse my English)
    I'm trying to get the content of the DTD corresponding to the file "fic"
    fic is like : "....../XXXXXX.xml"
    and contains : <!DOCTYPE composants SYSTEM "test.dtd">
    Here is my code :
    org.w3c.dom.Document Doc = DBXML.newDocument();
    Doc = DBXML.parse(fic);
    //Doc is a correctly parsed Document
    org.w3c.dom.DocumentType DT = Doc.getDoctype();
    System.out.println(DT.getSystemId());
    //echo : "test.dtd" so I think that DT is good
    System.out.println(DT.getNodeType());
    //Echo "10" ==> DocumentType Node
    System.out.println(DT.getNotations().getLength());
    //Echo "0" !!!!!!!!!
    I can't figure why getNotations() can't give me the DTD definitions
    Please tell me if I try to use a wrong way or if I missed something.
    Thanks a lot ...

    getNotations() method returns Dtd NOTATIONS when the NOTATIONS are referenced in the DTD.
    Dtd:
    <!ELEMENT map (entry*) >
    <!ELEMENT entry (#PCDATA)>
    <!ATTLIST entry value NOTATION (n1|n2) #REQUIRED>
    <!NOTATION n1 SYSTEM "n1-url">
    <!NOTATION n2 SYSTEM "n2-url">
    /* getNotation() returns NamedNodeMap*/
    DocumentType docType=xmlDocument.getDoctype();
    System.out.println(docType.getName());
    NamedNodeMap nnm=docType.getNotations();
    System.out.println((nnm.item(0)).getNodeName());
    System.out.println((nnm.item(1)).getNodeName());
    System.out.println(docType.getNotations().getLength());
    Output:
    map
    n1
    n2
    2

  • Big Permissions Problem: "You Cannot Change The Contents Of This Folder"

    I installed Tiger some time ago (and need to upgrade now from 10.4.6 to 10.4.9).
    I haven't used it much since some of my software will only run under Panther.
    In any case, I'm using it now and have been having big permissions/user accounts problems.
    I have two users on the computer "robert" and "ra", both with admin privileges (I set up two because I was trying to get around these problems -- I'd be very happy with just one).
    I have 10.4.6 installed on an external HD and boot from that into Tiger (I have Tiger on another external HD as a backup, and my main HD in the iMac has 10.3.9 -- that's what I boot from when I need to run older programs).
    In any case, both "robert" and "ra" have ADMIN privileges. But I get weird ownership problems. For instance, if I am logged in as "ra" and try to play a Realplayer file streaming from the web (in Firefox 1.x), I get the error
    /Users/robert/Desktop/307e6wz7 could not be saved, because you cannot change the contents of that folder.
    I check the ownership of the "Desktop" folder -- read/write for "ra".
    If I right-click I can save the Realplayer file to the desktop.
    Same with other links.
    I've also noticed other ownership problems (blocked folders at finder level) but can't duplicate tonight. Is this an obscure error, or is there something amiss in ownership recognition? Is there some way I can sort all out? Login in as "root" and set all right?
    Thanks
    G4 iMac   Mac OS X (10.4.6)  

    Yes they do. When you installed them you dragged these particular apps to the Applications folder. Doing so automatically attributes the program with the ownership attributes of the account owner who installed them - 'robert.'
    Proper application installers install apps under the system/admin ownership. You can try to fix these apps by changing their permissions:
    Select the app and CTRL-click to open the contextual menu. Choose Show Package Contents from the contextual menu. Select the Contents folder and press COMMAND-I to open the Get Info window. In the Ownership and Permissions section click on the tiny arrow icon to expose the panel. Click on the little lock icon to authenticate. Change permissions as follows:
    Owner = system with Read/Write privileges
    Group = admin with Read/Write privileges
    Other with Read-Only privileges
    Click on the Apply To Enclosed Items button. Close the lock by clicking again on the lock icon.

  • How to read the contents of images folder using AS3

    Hi,
    I'd like to load the images in the folder dynamically without using XML.
    Is there a mechanism in AS3 that enables me to read directly the content of images folder directly without using XML or should I use php to do that?
    Thanks

    Yes you can do that without XML. You need to use the Loader() class to dynamically load the images. Check the documentation of the loader class.

Maybe you are looking for

  • Stock as on Date

    Hi experts, Stocks keeps on changing.  We are in the processing of making Inventory Ageing Report. Please let me know the tables and fields where month wise stock is residing. I have tried table S032 , field MBWBEST but this table gives me correct st

  • All applications icons are missing in creative cloud panel?

    All app icons in my creative cloud window are missing?

  • Finding the exact path of a file using a Java program

    Can anyone tell me how to find the exact path of a file which is saved in a directory other than the one in which the main file is saved? I know there is a class called File which has many methods like isAbsolutePath() and isPath() but they return th

  • Itunes cannot start - unknown error 200.

    I've installed the latest update to itunes and now it won't start. each time i click on itunes i get an error. The iTunes application cannot be opened. An unknown error  occurred (-200). I've tired to remove the plist file and see if it starts then,

  • Grouping Packages for Execution

    I have created several packages that are single process focused and would like to execute each in a specfic order. How do I do this? I tried creating a package to process the packages, but that is not allowed. Do I have to create one hugh package to