Get the items in a content area!!

Hello
I have created a content area with a structured like that:
MainFolder1
Item1
SubFolder1
Item2
Item3
Item4
SubFolder2
Item5
SubFolder3
Item6
I have to display the names of the items content on this CA on a page, and I need to do It in the same way the structured is show, but that I mean I need to show it like that:
Item1
Name of the Subfolder1
Item2
Item3
Item4
Name of the Subfolder2
Item5
Name of the Subfolder3
Item6
I have found an api but It doesn't have a way to acces the folders of a CA or the items inside an specific folder in order to show the things like I need.
Please help me, how can I achieve that??
Thanks in advance
Ana Lasprilla

You could walk through the wwv_corners table to get a list of your folders and then walk through the wwv_things table to retrieve the items in the folders. Once you have your items you will need to use various techniques to display them. This really gets complicated though because you probably want to display folders and content in the order they display within the content area.
Another and simpler way to at least traverse this content is to call http://server/pls/portal30/portal30.wwsbr_folderxml.generate?p_id=somefolderid& p_siteid= somesiteid
This will produce an xml formatted dump of the folders and content. This goes to the http stream so you will have to capture and parse this.
Mike

Similar Messages

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • Locking "Portal Administrators" out of items in a content area

    I have a content area that will contain sensitive documents.
    I've been asked to find out whether security can be set up so
    that only a certain group of users can access the content area.
    This includes locking out the portal administrators from seeing
    these items. Is this possible and how can it be done?
    Thanks!
    Esther Poulsen

    You will always need a couple of users that can function as
    Portal superusers/administrators. That said, most
    administrative tasks can be delegated and decentralized so that
    only these few administrators have completely global
    privileges. One of the key purposes of content areas is to
    partition security among your users.
    Regards,
    Jerry

  • Rate it Link for items in a content Area

    Hi,
    How do I add a rate it link for all items in a content area and track the rating for items by all the users. This is urgent and any help is appreciated
    Thanks
    Makario

    You need to create a custom item type, with a procedure that displays a link to do the rating.
    For an example of a custom item type procedure, see Re: personal oracle 9i
    Note that the primary key for an item is (masterid, id, caid, language).

  • SharePoint 2013 Rest API - How to get the item count with startsWith

    Hi All,
    I am using the below url to get the item count for specfied startsWith. For example I want to know how many items are there in the list which starts with "A". When i hit the below url in the address bar i am getting HTTP not found.
    siteURL/sites/Apps/SharePointApp3/_vti_bin/listdata.svc/SampleList/items?$filter=startsWith(Title,’A’)
    Navaneeth

    what
    is SharePointApp3.
    here. 
    it is a webpart.
    this will not work on webpart\apps
    Also I am not sure if it will work with specific SampleList 
    Try 
    siteURL/sites/Apps/SharePointApp3/SampleList/_vti_bin/listdata.svc/Keywords?$filter=substringof('r',Title)
    If this helped you resolve your issue, please mark it Answered

  • How to get the item stock for a date

    Hi all
    I need to get the item stock quantity on a date, but i don´t know if i can get it from a table or if i have to make a query to calculate it from the documents´lines. If you can help me please reply this post.
    Thanks

    Do you already know of table OINM (Warehouse table) - it is not documented in SAP-BO references?
    This table contains entries for each movement in stocks of your system. Here are some examples of fields in this table:
    BASE_REF document number of document affecting OITW.OnHand
    DocDate      date of this document
    ItemCode     Item of which the stock quantity is changed
    Dscription    name of item
    Warehouse  affected stock
    InQty       number of items added into stock (OITW.OnHand is increased)
    OutQty       number of items taken from stock (OITW.OnHand is decreased)     
    TransType   type of booking (see below)
    Balance      this is NOT the OITW.OnHand at the date of this booking;
                      it's something like the cumulated stock value in some currency
    To calculate the OnHand-value at a date of any of these bookings you have to
    sum up the incoming/outgoing quantities, e.g. (z.B. SUM(InQty) - SUM(OutQty)).
    Relation between the type of booking and the values in InQty / OutQty:
      ++ InQty/OutQty contain the number of items added to/taken from the stock;
      the number complies to the value OITW.OnHand is increased/decreased;      
      -- doesn't affect stock (InQty/OutQty = 0)
      ? missing documentation
    TransType InQty OutQty
    -2              ++     --         opening balance
    13      --       --         outgoing invoice
    13              --      ++          outgoing invoice without previous delivery note
    15              --      ++        delivery note
    18              --       --         incoming invoice
    20             ++      --         incoming delivery note
    58             ?        ?          inventory
    59             ++      --         stock receipt (without purchasing transactions)
    60              --      ++        goods issue (without sales transactions)
    67              --      ++        transfer between stocks
    67             ++      --         transfer between stocks
    I hope that I got your question right and that my hints will help you!
    Frank

  • Does anyone know if Apple are planning on releasing a new version of the iPad in 2013? I want to buy one, but would rather wait to get the latest one if they are planning on a release of a newer version later this year.

    BEFORE JUST REJECTING MY QUERY, AS A POTENTIALLY NEW CUSTOMER I WOULD APPRECIATE SOME FORM OF AN ANSWER!!
    I want to buy an iPad (my first one), but would rather wait a couple of months to get the latest one if they are planning on a release of a newer version later this year. I certainly cannot afford to buy one now and then update when a newer model comes out, especially if it's released only a couple of months from now.

    The latest one came out just 4 months ago. Doubt one is coming out soon.
    There are always going to be people who are one day out of their return period when a new device comes out, and that's just that. No one can predict. And we are all just users here who would have no idea. But I would get an iPad now given the last one came out four months ago.

  • Unable to get the item value in cursor

    I have function which returns organization_id for each item selected in Sales Order window.
    From this function I will populate warehouse value in shipping tab whenever i am tabbing out from ordered item in Sales Order Form.
    But my cursor is unable to get the item id value (Ex: FOR cur_rec IN cus_l (l_item_id)). It is directly going to last return statement and displaying default value.
    Please help me out.
    FUNCTION custom_default_rule (
    p_database_object_name IN VARCHAR2,
    p_attribute_code IN VARCHAR2
    RETURN NUMBER
    AS
    l_line_type_rec oe_order_cache.line_type_rec_type;
    l_item_id NUMBER;
    p_org_id NUMBER;
    CURSOR cus_l (p_item_id IN NUMBER)
    IS
    SELECT a.organization_id, b.element_name, b.element_value
    FROM mtl_parameters a,
    mtl_descr_element_values b,
    mtl_system_items_b c
    WHERE b.inventory_item_id = c.inventory_item_id
    AND a.organization_id = c.organization_id
    AND a.organization_id = c.organization_id
    AND c.inventory_item_id = p_item_id
    AND a.organization_id <> a.master_organization_id
    ORDER BY a.organization_id;
    CURSOR cur_org (p_org_id IN NUMBER)
    IS
    SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = p_org_id;
    BEGIN
    l_line_type_rec :=
    oe_order_cache.load_line_type
    (ont_line_def_hdlr.g_record.line_type_id);
    l_item_id := ont_line_def_hdlr.g_record.inventory_item_id;
    FOR cur_rec IN cus_l (l_item_id)
    LOOP
    IF cur_rec.element_name IN
    ('Frequency',
    'Emission Norms',
    'Voltage',
    'Duty Rating',
    'Phase',
    'Product Family'
    AND cur_rec.element_value IN
    ('50',
    'Dual',
    'Euro',
    '210',
    '230',
    '440',
    'Low',
    'Medium',
    'Heavy',
    'Three',
    'QSK60',
    'QSK15',
    'QSK10',
    'DQK50'
    THEN
    RETURN cur_rec.organization_id;
    If u want more info. abt function refer: Refer "PL/SQL API + Defaulting Rules in OM" in Forums.oracle.com
    (OR)
    PL/SQL API + Defaulting Rules in OM
    Please help me out. This is very urgent.
    Thanks & Regards,
    Sateesh Kumar

    Hi Suresh,
    I tried like below:
    create or replace FUNCTION custom_default_rule (
    p_database_object_name IN VARCHAR2,
    p_attribute_code IN VARCHAR2
    RETURN NUMBER
    AS
    l_line_type_rec oe_order_cache.line_type_rec_type;
         l_line_rec OE_AK_ORDER_LINES_V%ROWTYPE;
    l_item_id NUMBER;
    p_org_id NUMBER;
    CURSOR cus_l (p_item_id IN NUMBER)
    IS
    SELECT a.organization_id, b.element_name, b.element_value
    FROM mtl_parameters a,
    mtl_descr_element_values b,
    mtl_system_items_b c
    WHERE b.inventory_item_id = c.inventory_item_id
    AND a.organization_id = c.organization_id
    AND a.organization_id = c.organization_id
    AND c.inventory_item_id = p_item_id
    AND a.organization_id <> a.master_organization_id
    ORDER BY a.organization_id;
    CURSOR cur_org (p_org_id IN NUMBER)
    IS
    SELECT organization_code
    FROM mtl_parameters
    WHERE organization_id = p_org_id;
    BEGIN
    l_line_type_rec :=
    oe_order_cache.load_line_type(ont_line_def_hdlr.g_record.line_type_id);
         l_line_rec := ONT_line_Def_Hdlr.g_record;
    --      l_item_id := l_line_rec.inventory_item_id;
    -- FOR cur_rec IN cus_l (l_item_id)
         FOR cur_rec IN cus_l(l_line_rec.inventory_item_id)
    LOOP
    IF cur_rec.element_name IN
    ('Frequency',
    'Emission Norms',
    'Voltage',
    'Duty Rating',
    'Phase',
    'Product Family'
    AND cur_rec.element_value IN
    ('50',
    'Dual',
    'Euro',
    '210',
    '230',
    '440',
    'Low',
    'Medium',
    'Heavy',
    'Three',
    'QSK60',
    'QSK15',
    'QSK10',
    'DQK50'
    THEN
    RETURN cur_rec.organization_id;
    FOR cur_rec_org IN cur_org (p_org_id)
    LOOP
    RETURN cur_rec_org.organization_code;
    END LOOP;
    END IF;
    END LOOP;
    RETURN '204';
    EXCEPTION
    WHEN OTHERS
    THEN
    IF oe_msg_pub.check_msg_level (oe_msg_pub.g_msg_lvl_unexp_error)
    THEN
    oe_msg_pub.add_exc_msg ('OE_Default_PVT', 'CUSTOM_DEFAULT_RULE');
    END IF;
    RAISE fnd_api.g_exc_unexpected_error;
    END custom_default_rule;
    This function executed without errors. But it is displaying final return statement value (i.e., 204).
    I am not getting inventory_item_id value to my cursor.
    Please help me out...It is very urgent.
    Thanks & Regards,
    Sateesh Kumar S
    Message was edited by:
    user610830

  • HT203175 I have attempted to sync my new iPod touch 4th gen. with my current PC running Windows XP and everytime I attempt it I get the dreaded blue screen, here are the error codes- 0x0000007E; 0XC00000005; 0X00000000; 0XBA51B7C8; 0XBA51B4C4 any suggesti

    I have attempted to sync my new iPod touch 4th gen. with my current PC running Windows XP and everytime I attempt it I get the dreaded blue screen, here are the error codes- 0x0000007E; 0XC00000005; 0X00000000; 0XBA51B7C8; 0XBA51B4C4 any suggestions?

    In the course of your troubleshooting to date, have you worked through the following document?
    iPhone, iPad, or iPod touch: Windows displays a blue screen message or restarts when connecting your device

  • Is there a way go get the item number of the current item?

    In an item with multiple instances: Is there a way to get the item number of the current item? If for instance, I am on the 3rd item, is there some kind of “GET CURRENT RECORD NUMBER” built-in that would return a ‘3' to the program?
    Thanks
    Edited by: WayneFMcKinstry on Apr 9, 2010 10:50 AM

    If i am getting you correctly that in tabular item you want to know the current record or current item you can try this...
    For current record
    :SYSTEM.CURSOR_RECORD;
    or
    :SYSTEM.CURRENT_RECORD;for current item
    :SYSTEM.CURSOR_ITEM;-Ammad

  • How to get the dID of any Content from SS_DATAFILE in Site Studio 10gR4?

    Hi,
    I am trying to get the dID of a Contributor Data File from its dDocName (SS_DATAFILE). I can do a search based on this Content ID but if I am able to get the dID using one of the Site Studio variables, it will be great.
    Thanks,
    Justin

    Hi Sapan,
    I am trying to customize a Dynamic List element to display the list of related content for the contributor data file. For this, I use the GET_RELATED_CONTENT service exposed by the Oracle RelatedContent component which needs the dID as a parameter. Now in a Contribution Region, I can get the the dDocName (Content ID) of the datafile from the SS_DATAFILE Site Studio variable. However, I need to get the dID from this Content ID.
    Thanks for your reply.
    Justin

  • What report is run in SAP to get the DATE on which Users are locked ?

    Hello,
    What report is run in SAP to get the DATE on which Users are locked ?
    I have tried with RSUSR200 ,-- last logon ,last password change , but i did not get a option to find the date on which are Users are locked .
    Can anyone suggest what report should be executed to get the date on which Users are locked and by whom ?
    As a alternate , i  am usig SUIM to get extract this data but i am looking for a report .
    thanks & regards
    Ganesh

    Hi Ganesh,
    You can try the below link where many of the options are described:
    How i can check at what date perticular user was locked and who lock it?
    Regards,
    Nilanjan

  • How to get the search option when we are creating new view

    Hi,
    How to get the search functionality when we are creating new view.
    Ex:- if we see the standard component BT112S_SC. Under this
    AdvancedSP  is the view,
    same kind of view if i want to create new view with same bol entity in my new component. I am unable to get that search functionality.
    for search functionality,,i think view should inherit the super class CL_BTSRV_ADVS_CNTRL, but in my new view controller class, i am unable to find this class.
    Can anybody give me some inputs on this.
    Thanks,
    neelam

    In case you are still not able to proceed please refer the following blog.
    http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view
    Regards,
    Harshit

  • How can I get the items gride of MIRO trx?

    Hi everyone,
    I have a requirement where I need to get the items grid of MIRO trx. Is there a function module to do this?
    Thanks in advance!
    Regards.
    Leo.

    Hi Leo,
    try to use the BadI MRM_HEADER_CHECK.
    The parameter TI_DRSEG contais the values of the grid.
    FC

  • When I try to use the editor in Joomla, I get the message that cut & paste are not available.

    Hi -- I'm using Joomla to develop a website. When I try to use the editor, I get the message that cut & paste are not available. I am directed to instructions to edit the user.js file. I found the file in xhpnmg5i.default and then inserted the various 'user_pref' lines as instructed changing the site name to "http://localhost". This made no difference whatsoever so I downloaded an add on called allow clipboard helper. Looks great but how do you use it? There's nowhere on the screen that allows you to start the program. I've spend most of the day trying to do something that I'm surprised an open source program doesn't just let me do. HELP

    Uninstall the program then download and reinstall - activate with the serial number from your Amazon purchase.
    PSE 10, 11 - http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html 
    PE 10, 11 - http://helpx.adobe.com/premiere-elements/kb/premiere-elements-10-11-downloads.html

Maybe you are looking for

  • Clock and date settings are not saved

    clock and date settings are not saved in lion

  • OCA in forms 4.5 connected with Ms Access

    i have written a cursor which get values from one table and same to be stored into other table. but it is fetching only first and last records. what could be the reason

  • Photo could not be opened, because the original item cannot be found

    I've drawn a blank. This error message gets touched on in places, but I cannot find a direct answer. I have never used iPhoto. After installing and without changing any settings, I got to import folder. I select my photos folder and begin to import a

  • Running web forms in netscape 6.1

    Has anyone succeeded in running web forms in netscape 6.1? Oracle say it only runs in Netscape 4.7 Thanks for any responses

  • Item placeholders, tabs

    Is there a way to show a page with tabs and have those tabs remain active when an item placeholder (in this case, for an HTML file) on a tab is selected by the user? Intuitively, it seems like this should work, but the page with tabs is simply replac