Adding a page path to an "all items in page group" SELECT?

I have a case where a client's asked me to produce a "report" (nothing fancy, so I'm thinking a basic SELECT right out of the DB here rather than a full solution like Discoverer or Business Objects) for them on all items in particular page groups in our Portal (v10.1.2.0.2).
I have a query that Oracle Support provided which I can fiddle with a bit to get most of the info I need:
select I.ID, I.display_name, I.name, I.itemtype, P.name
from PORTAL.WWSBR_ALL_ITEMS I,
PORTAL.WWSBR_ALL_CONTENT_AREAS CA,
PORTAL.WWSBR_ALL_FOLDERS P
where CA.name = 'MY_PAGE_GROUP'
and P.caid = CA.id
and I.caid = CA.id
and I.folder_id=P.id
and I.active=1
and I.is_current_version=1
and I.visible=1
and I.itemtype in ('basefile','baseimagemap','basetext','baseurl');
...however, what I'd like to do is add a "page path" column; that is, one that would trace up the tree from the item's page to the root of the page group and present something like "My Page Group > Departments > HR" like you get in Portal Navigator.
I can think of how to do this, conceptually, by tracing through the parent pages in WWSBR_ALL_FOLDERS, but what I'm not quite sure about is how to do it for an arbitrary depth in the page tree - i.e., the page can be any (reasonable) number of levels from the page group's root.
Any thoughts? I'd prefer to do this as a basic SQL query if at all possible, but writing a little reusable PL/SQL procedure to do it isn't out of the question. My knowledge of PL/SQL is pretty rudimentary but I have enough programming experience in other languages that I could probably manage to bumble through it if necessary.
Thanks.

First create a page that can contain two regions. One for a page-path item, and another to have a report portlet.
For the page-path, you can have another region in your page. Then edit this region to make it items type. Now add an item of type 'Page Path', with depth 3.
Now, you can create a portal report based on your SQL query, publish it as portlet, add it on that page as portlet.
That will give you exactly what you have described you want.
hope that helps!
AMN

Similar Messages

  • Image instead of List Name, and hyperlink the image to view 'All Items.aspx' page

    Hi,
    I would like remove the Page title for list (i.e., name of the list in view all items.aspx page) , and instead use image and hyperlink the image
    to 'All items.aspx" page.
    Using developer tool found the element (#PageTitle) and added 'Script Editor' webpart and below css script to it. I am successful in replace the
    title to image, however, I am unable to add the HTML tag for hyperlink. Where do I need to add or how do I add? Could anyone help me please??
    <style type="text/css">
    #pageTitle
    background-image: url('http://w2k81368:2116/SiteAssets/Test.jpg');
    background-repeat:no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    </style>
    Regards,
    Sunitha

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • IDCS2 Win: How to iterate all items in a group item?

    I want to access each item in a page group item, How to do that? Any guide or code snippet will help. Thanks in advance.
    Haikun

    you can use InterfacePtr<IHierarchy> hier(group, UseDefaultIID()); <br /><br />and then hier->GetChildCount() & hier->GetChildUID(n) or hier->QueryChild(n) to visit all its direct children.  Hier->GetDescendents gets a list of all items in the group (including items in a group that are in the group).<br /><br />Ian

  • How do you SELECT ALL on a page (used to CTRL L-CLICK in margin then mouse over selection)?

    In Pages 4x you could hold CTRL+LEFTMOUSE while in the margin area then select multiple things on that page you were looking by mousing over them (including selecting all).  Now you have to go one item at a time to delete? Is there a work-around?

    Ghazgkull wrote:
    . ctrl+clicking in iTunes selects all.
    No, it does not. You are still incorrect.
    ctrl + click does NOT select anything.
    It checks all boxes when you ctrl click on one box.
    If you want to select a bunch of consecutive songs...
    Select one then Shift click another, This will select all items from the first selection to the last selection.
    This is just plain nutty and is normally achieved on Windows 7 using ctrl+a,
    No it doesn't
    ctrl + a selects all.
    You are not selecting anything when you check all boxes. You are sinmply checking all boxes.

  • How to default the EP7 UWL (Workflow Inbox) options to show ALL Items

    Hi All,
    We currently experiencing some users when they access the Workflow inbox, they get the options of Work On: My Items, Items on Behalf of Lastname, Firstname and All Items.
    The default selection of the option is "My Items".  Just wondering if anyone know how we can set this to "All Items"
    Many Thanks in advance.
    Daniel

    I'm looking for an answer to this same issue.  Have either of you found out how this can be achieved?
    thx,
    Larry

  • Ungroup All Items with JavaScript, Illustrator CS6

    I'm working on pretty complicated Illstrator files. Each file has 20 or so layers, and many of those layers have multiple sublayers. Each of those sublayers contain many grouped items, and those grouped items contain additional grouped items. And so on. There's literally hundreds of groups in each file, and I don't want to manually ungroup them.
    So I'm I writing attempting to write a Javascript to ungroup all grouped items and keep them inside the correct layer. I'm new to Javascript and new-ish to the concept of recursion. My idea is to loop recursively through all the layers, then loop recursively through all the grouped items, then move all items above the grouped items. That seems to be what other people have demonstrated on this forum (or at least how I understood it). I'm posting a screenshot of what I've written so far. What I have ungroups many groups, but errors out eventually. Any replies, ideas, or references would be greatly appreciated. Thanks.

    I think you will find some resources in the Illustrator Scripting forum.
    http://forums.adobe.com/community/illustrator/illustrator_scripting
    Do a search for "ungroup" or something similar.
    http://forums.adobe.com/message/2077311#2077311

  • EL for a specific page in a Navigation Model with a Pages Query

    In WebCenter Portal: Spaces we are using the Default Navigation Model, which includes a Pages Query which shows all the accessible pages for the current space.
    How do I create an EL Expresion that allows me to perform navigation from within a page?
    <af:commandLink text="Link"
    id="cl1"
    actionListener="#{navigationContext.processAction}"
    action="pprnav" >
    <f:attribute name="node"
    value="#{navigationContext.defaultNavigationModel.rootNode.childByIndex[1]}"/>
    </af:commandLink>
    this gets me a reference to the desired page, but only as long as the Pages Query is the first item in the model and my page is at index 1 in the Pages Query. Not very robust.
    Is there any way to refer to a page by its title or something like that?
    I know Business Role Pages in Spaces have a direct URL I could use, but I want to use partial page navigation wherever possible.

    Jaap,
    Can you describe your exact use case in a bit more detail?
    Do you wish to link to a specific page or generate links to all pages (iterating through the pages) in the space? If it is the former, how do you identify the specific page? If it is the latter, consider creating a custom navigation model that contains only a pages query and iterate over this.

  • Is it possible to ignore the cover page of a document when viewing two pages at a time.

    when viewing a document with two pages up at a time, I want to ignore the very first page/cover page in the document so that all subsequent pages line up correctly. I can't find how to do this, is it possible. I cannot extract or delete the first page b/c the document is protected. I don't want to modify the document in any way. This document is a catalog that has information spread across two pages. So, when the cover page is included in the two page scroll viewing option, all the corresponding pages are offset by one page. I want the cover page to be at the top, by itself and the rest of the pages to show side by side.

    Show - Page Display - tick Show Cover Page in Two Page View.
    On Fri, Aug 15, 2014 at 4:55 PM, lost in acrobat <[email protected]>

  • Retrieve all items in a list by caml query then write it to a word file page by page

    Dears,
    Greetings
    I have some code which will retrieve all items of a list with caml query.
    Now i want to generate a word file with all these retrieved data. I am using foreach here to get all the items in a SPListItemCollection. Now my question is how i can write all the retrieved items inside the word file?
    see the below code which is writing only the last row item of the SPListItemCollection inside word file. I want to write all the retrieved rows inside this word file.
    SPQuery qry = new SPQuery();
    qry.Query = "<Where><Eq><FieldRef Name='Department' /><Value Type='Text'>HR DEPARTMENT</Value></Eq></Where>";
    SPListItemCollection listItems = KPILIst.GetItems(qry);
    foreach (SPListItem item in listItems)
    lblBadgeNo.Text = item["Badge No"].ToString();
    lblName.Text = item["Name"].ToString();
    lblPosition.Text = item["Position"].ToString();
    lblDept.Text = item["Department"].ToString();
    lblHireDate.Text = item["Hire Date"].ToString();
    lblGrade.Text = item["Grade"].ToString();
    lblCurStatus.Text = item["Status"].ToString();
    string FinalOut = "";
    FinalOut = "<table cellpadding=0 cellspacing=0><tr><td style='height:30px;'></td></tr><tr><td style='height:22px;'></td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblBadgeNo.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblName.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblDept.Text + "</td></tr>";
    FinalOut = FinalOut + "<tr><td style='text-align:justify;font-size:22px;'>" + lblHireDate.Text + "</td></tr>";
    FinalOut = FinalOut + "</table>";
    System.Text.StringBuilder strBody = new System.Text.StringBuilder("");
    strBody.Append("<html " + "xmlns:o='urn:schemas-microsoft-com:office:office' " + "xmlns:w='urn:schemas-microsoft-com:office:word'" + "xmlns='http://www.w3.org/TR/REC-html40'>" + "<head><title>EPCCO : HR Comapny Letter</title>");
    strBody.Append("<!--[if gte mso 9]>" + "<xml>" + "<w:WordDocument>" + "<w:View>Print</w:View>" + "<w:Zoom>90</w:Zoom>" + "<w:DoNotOptimizeForBrowser/>" + "</w:WordDocument>" + "</xml>" + "<![endif]-->");
    strBody.Append("<style>" + "<!-- /* Style Definitions */" + "@page Section1" + " {size:8.5in 11.0in; " + " margin:1.0in 1.25in 1.0in 1.25in ; " + " mso-header-margin:.5in; " + " mso-footer-margin:.5in; mso-paper-source:0;}" + " div.Section1" + " {page:Section1;}" + "-->" + "</style></head>");
    strBody.Append("<body dir=rtl lang=EN-US style='tab-interval:.15in'>" + "<div class=Section1>" + FinalOut.ToString() + "</div></body></html>");
    Response.AppendHeader("Content-Type", "application/msword");
    Response.AppendHeader("Content-disposition", "attachment; filename=Eval_" + lblBadgeNo.Text + ".doc");
    Response.Write(strBody);
    Regards
    Shaji
    I am new to SharePoint

    Hello,
    you can try with OpenXML SDK to create word file. I found one link for your reference:
    http://sharepointplace.blogspot.in/2009/12/programmatically-creating-word.html
    Another way is , use Microsoft Word Object Library.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/5b82c0b5-ecaf-40f2-a68a-c7c17c85414f/create-word-documents-by-c?forum=csharpgeneral
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • When I have current shows to download, my check for available downloads tells me all items have been downloaded. I have to go to iTunes Store and then to the show's iTunes page and click download.

    When I have current shows to download, my check for available downloads tells me all items have been downloaded. I have to go to iTunes Store and then to the show's iTunes page and click download.

    Downloading past purchases from the App Store ... - Support - Apple

  • On adding a URL in URLInclude item, the page times out

    Hi,
    I'm trying to display the contents of a URL in the base OA Framework page by specifying the URL in URLInclude item, but the page times out once this item is added.
    I also tried using a java code to read the contents of a URL and display the contents in the base page, but there again the page times out.
    Has anyone faced this issue with use of URLInclude. Should there be any property set within applications to bypass proxy or something similar in order to read the contents of an external URL. Please throw some light on the possible reasons as to why specifying the URL will cause the page to time out. The URL that I'm specifying has only 2 sentences in there, so it is not a big page that we are trying to read here.
    Appreciate any help.
    Thanks.

    Hi,
    I'm trying to display the contents of a URL in the base OA Framework page by specifying the URL in URLInclude item, but the page times out once this item is added.
    I also tried using a java code to read the contents of a URL and display the contents in the base page, but there again the page times out.
    Has anyone faced this issue with use of URLInclude. Should there be any property set within applications to bypass proxy or something similar in order to read the contents of an external URL. Please throw some light on the possible reasons as to why specifying the URL will cause the page to time out. The URL that I'm specifying has only 2 sentences in there, so it is not a big page that we are trying to read here.
    Appreciate any help.
    Thanks.

  • Export all items of the pages in jpg [HELP]

    hi,
    how could export to jpg all items in a document indesign?
    and also need measures each item.
    if someone could help me I would appreciate
    sorry for my English
    thanks

    start here:
    exports page items to created subfolder.
    jpg-naming: sourcepage + itemcount
    #target InDesign
    //set properties for export to your needs
    with(app.jpegExportPreferences){
        antiAlias = true;
    embedColorProfile = false;
    exportResolution = 300;
    jpegColorSpace = JpegColorSpaceEnum.RGB; //JpegColorSpaceEnum.CMYK, JpegColorSpaceEnum.GRAY     r/w    One of RGB, CMYK or Gray
    jpegQuality = JPEGOptionsQuality.HIGH; //JPEGOptionsQuality.LOW, JPEGOptionsQuality.MEDIUM, JPEGOptionsQuality.HIGH, JPEGOptionsQuality.MAXIMUM     r/w    The compression quality.
    jpegRenderingStyle = JPEGOptionsFormat.BASELINE_ENCODING; // JPEGOptionsFormat.PROGRESSIVE_ENCODING     r/w    The rendering style.
    simulateOverprint = true;
    //doc has to be saved once
    var theDoc = app.activeDocument;
    var docName = theDoc.name;
    var docShortName = docName.replace(/.indd/, '')
    var docPath = '' + theDoc.fullName;
    var docContainerPath = docPath.replace(docName, '')
    var destPath = docContainerPath + '/' + docShortName + '_jpgExport/'
    if(Folder(destPath).create() != true){alert('Could not create targetfolder.'); exit();}
    var pageItems = theDoc.pageItems.everyItem().getElements();
    l = pageItems.length;
    counter = 0;
    for(var i = 0; i < l; i++){
        counter = counter + 1;
        var singlePageItem = pageItems[i];
        currParentPage = singlePageItem.parentPage;
    if(currParentPage == null){parentPageNumber = 'pasteboard'}else{parentPageNumber = singlePageItem.parentPage.name; }
    newFile =new File(destPath + 'page_' +  parentPageNumber + '_' + 'item_' + counter + '.jpg');
    if(singlePageItem.exportFile(ExportFormat.JPG,  newFile) === false){alert(newFile + ' could not write jpg-File.')} 

  • Slideshow page appears to load all images at once making it very slow. Is it possible to force it to load just the required items for the immediate page / slide

    Hi Everyone
    First post and a Muse / Web Noob.
    Im building my personal website with muse ( CC and now CC 2014 ) , its quite simple with slideshows embedded inside each other and is just 4 pages in total.
    My two slideshow pages appears to load all images at once making it very slow ( plus 20 secs on my system ). Is it possible to force it to load just the required items for the immediate page / slide. It would be so much faster and would work much better in this particular situation.
    Ive built all the images and icons at the correct size so optimisation shouldn't be an issue. The whole site is only about 42mb.
    www.paradoks.co.uk
    Many thanks
    Deck

    Oh well the problem seems to have fixed itself. It seems it was either a Java or Tumblr problem because the same thing happened when I installed Chrome. It is a lot more stable now and no more crashes yay.

  • Page Item Drag and Drop reset all items Displayed Field attribute

    If I use the Drag and Drop feature it resets all items Displayed/Field attribute to yes. Is this just the way it is and it is to bad so sad for Nicholas or is there something I can do to be able to use drag and drop and still retain my setting for the Item's Displayed/Field attribute.
    Any assitance is much appreciated

    Probably the easiest way would be to have 2 arrays that hold
    the data being sent to box A. Just add/or subtract from one that
    you don't care if it changes, and leave the other one alone. When
    you want to reset, just clear Array 2 and populate it again from
    Array 1. For Box B, just reset the contents of the array to nothing
    - myArrayB = new Array({item1:'',item2:''})

  • How to Clear Cache for all Items of the Current Page of a TAB

    Hi,
    I am having a TAB, when that tab is clicked..it goes to suppose Page 1, what I want to Clear the Cache of Page 1 ...as soon as Page appears...
    I don't see any option for that in the TAB Definition Properties....
    Thanks,
    Deepak

    I got the solution....
    refer by SCOTT...
    Re: ApEx Development Team: tab clear cache - new feature?
    thanks,
    Deepak

Maybe you are looking for

  • Hp laserjet pro 200 color mfp m276nw no print preview

    Hello Folks, I have windows 7 64 bit HP laserjet pro 200 color mfp m276nw and do not see a print preview option. Is there a way to get this? In Linux I use print to ps file and ghostscript to view. Our oldink jet had a print preview option. I did see

  • How to install adobe forms

    Hi Experts. Kinldy tell me how to install adobe forms ...

  • Forms in SharePoint Online

    Hi we have SharePoint online - E1 Plan. We need to create some custom forms with meta data, that look up lists, have attachments, workflow etc..would you suggest javascript in SPO or would you suggest a provider hosted app - store the app in SQL Azur

  • GP - consolidating structured parameters problem

    Hi, I have a problem when consolidating parameters of the same structure type. I want to consolidate parameters between two Web Service CO. The output parameter of the first has the same type as the input parameter of the second. They are structures

  • Get database name

    Hello, I am using JDev 11.1.1.4.0. One of a requirement for me is to send email notification to a group of users. While composing a message, the subject should prefix with the database name. For instance, if the message is about a new Employee being