CMIS Query to get documents in a folder - link to document

Hey
I have created a page that uses Content Presenter to get a list of content in a folder. The CMIS query looks like this:
SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xCollectionID = 73120544374400676
I have a Content Template to display the content titles, and that is all working well.
The next step is to hyperlink the document name to the actual document. If I had done a service call to get tjis information, I would get back DocUrl which would link directly to the web rendition of the document. Does the CMIS query return anything like this, or is it a matter of building up the URL manually?
Cheers,
A

Look at this documentation: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_content_presenter.htm#CHDFEBIB
It provides all the properties from the node element in your CP template.
#{node.url} will return the URL of the document.

Similar Messages

  • CAML Query to get specific item in folder based on dropdown value using Javascript client object model

    Hi,
    I am using the Javascript Client object model.
    I have a custom list and a custom document library.
    Custom list contains 2 columns - dlName , dlValue
    The document library contains 2 folders - "folder1" ,  "folder2" and contains some images.
    The image name starts with the "dlValue" available in the custom list
    I am using a visual webpart and using javascript client object model.
    I am trying to achieve the below functionality:
    1) Load a dropdown with the custom list.
    2) set the image based on the value in dropdown.
    I have achieved the first option, I have set the dropdown, but not sure how to query the folder and set the image.
    Below is the code i have used so far:
    //In Visual webpart
    <select id="ddlTest" >
    </select>
    <br/>
    <div id="PreviewLayer">
    <img id="imgPlaceHolder" runat="server" alt="Image" title="imgPlaceHolder" src=" " />
    </div>
    // In Javascript file
    function RenderHtmlOnSuccess() {
    var ddlTest = this.document.getElementById("ddlTest");
    ddlTest.options.length = 0;
    var enumerator = this.customListItems.getEnumerator();
    while (enumerator.moveNext()) {
    var currentItem = enumerator.get_current();
    var dropdownValue = currentItem.get_item("dlValue");
    ddlTest.options[ddlTest.options.length] = new Option(currentItem.get_item("dlName"), dropdownValue);
    setImage(dropdownValue); // Not sure how to query the folder and set the image based on value.
    // Also if dropdown value is changed, corresponding image should be shown
    How to query the folder and based on dropdown value, show the image? Also, how to handle the dropdown value change?
    Thanks

    Hi,
    Here are two links for your reference:
    Example of how to Get Files from a Folder using Ecmascript \ Javascript client object model in SharePoint 2010
    http://sharepointmantra.wordpress.com/2013/10/19/example-of-how-to-get-files-from-a-folder-using-ecmascript-javascript-client-object-model-in-sharepoint-2010/
    SP2010 JSOM Client Object Model: How to get all documents in libraries including all folders recursively
    http://sharepoint.stackexchange.com/questions/70185/sp2010-jsom-client-object-model-how-to-get-all-documents-in-libraries-including
    In SharePoint 2013, we can also use REST API to achieve it.
    http://msdn.microsoft.com/en-us/magazine/dn198245.aspx
    Thanks,
    Dennis Guo
    TechNet Community 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]
    Dennis Guo
    TechNet Community Support

  • Move a folder, sub-folders, and documents under that folder from one document library to another within a Workflow

    Hello,
    I'm building a workflow in SharePoint Designer 2010 (Unfortunately we are not on 13 yet), and in that workflow I need to move a folder (with all it's sub-folders and items) from one document library to another document library.
    I tried a copy item but that kept failing, I checked content type, columns, and permission and it all looks good.
    the other option I started looking into is to Create the folder in the document list and them move all the items under that folder to the new folder. However I can't figure out how to loop through each items in that folder.
    Has this issue been addressed? or does someone has a solution.
    I looked and searched and all I found was tutorials on moving single items into a folder, but not entire folders.
    Thanks
    Hani

    Why to take pain in creating a workflow that copies folders, sub-folders and all of its contents from one document library to another.
    Simply open your source and destination document library in Windows Explorer mode and start copying your folder, sub-folders and contents that you want to copy out of the box.
    You will find "Open with Explorer" button under the Library tab on the ribbon of document library.
    Please remember to click 'Mark as Answer' on the reply if it helps you

  • How can we change Topic Names Generated after linking a document

    Hi:
         I linked a document and generated a topic in RoboHelp for HTML. The topics are generated with some names and i am not able to rename them after they are generated.
    I tried doing this as per help
    Define the topic name pattern for generated topics
    When you set heading styles for pagination, the heading text is included by default in the filename of the topic file created in RoboHelp. For example, suppose you define Heading 2 for pagination. If the Word document has two Heading 2 topics, “Introduction” and “Beyond basics,” the topics are created as files named introduction.htm and beyond_basics.htm. The result is intuitively named HTML files that indicate the topic title. In addition to this default scheme, you can define more naming conventions. If, however, the Help system uses sequentially numbered files, such as helptopic001.html, helptopic002.html, and so on, you can define the pattern to support that convention.
    Do one of the following:
    Select File > Import > Word Document.
    Select File > Link > Word Document.
    Select File > Project Settings.
    In the Conversion Settings dialog box, select Other Settings.
    In the Other Settings tab, set the topic name pattern.
    Topics are named according to the selected pattern. You can select one of the following or create a topic name pattern.
    Default
    Uses the topic title text as the topic filename.
    <$filename_no_ext>-<$paratext>
    The name of the converted HTML topic contains the following:
    The name of the Word source file without its extension
    Hyphen as the separator
    Paragraph text used to demarcate HTML topics
    For example, a Word file named “Chapter.doc” with “1-Introduction” as paragraph text is converted to an HTML topic named “Chapter-1-Introduction.”
    <$filename_no_ext>-<n>
    The name of the converted HTML topic contains the following:
    The name of the Word source file without its extension
    Hyphen as the separator
    A sequential number
    For example, “Chapter.doc” is converted to an HTML topic named “Chapter-1.”
    <$paratext_no_num>
    The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic, without numbering. For example, paragraph text “1.Introduction” is converted to an HTML topic named “Introduction.”.
    <$paratext>
    The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic. For example, paragraph text “Introduction” is converted into an HTML topic named “Introduction.”
    But, still its doing the same. Can anybody help me .
    1. How can i generate what i need .
    2. or How can i rename the topics which are genrated.
    When i import word document, i can rename the topics. But, when i link them. They are readonly.
    Thanks
    Santhosh

    I verified it at my end and found that at times the "other settings" are lost if only other setting are updated but this behavior is a bit random.
    I have a workaround for this issue :-
    1. please link the document first
    2. Open the File->project setting dialog and click Edit button for Framaker setting (this wont cause any issue as you wont be using these settings)
    3. In "conversion setting" please update any "other settings" and then click OK
    4. Now on the other setting for word documents will get retained and after this it will always be retained for even the new projects.
    5. then OK on project setting dialog and can verify it by reoprning these settings
    Hope this helps
    Ashish

  • No link / reference document / between FI and JV documents

    Hi,
    I am uploading bank statements using transaction ff_5.
    After upload all postings are done, but for some documents there is no 'link' / reference document / . I've checked table JVSO1 and the field reference number is blank.
    Can you give an idea what could be the problem ?
    Thanks,
    Stefan
    Edited by: Stefan Kolev on Nov 28, 2011 5:45 PM

    Hi Ricky,
    BSEG-BELNR = COBK-REFBN
    Regards,
    Santosh

  • SAP Easy DMS - Link between Document Area and Document Types

    Deat Friends,
    Is there a transaction code or a customizing available to link the Document Area and Document Types??
    For example: Document Area (DMS) is linked with Document Type (DRW)
    Thank you,
    Sri

    Hello Chandu,
    We are trying to create a documents via TCODE: CVO1N
    One of the entry we need to populate is the "DOCUMENT TYPE" to create a document. If, we enter the Document Type = DRW, we are not able to see our custom Storage Category while attaching/Check-in a document.
    Where as, If, we enter the Document Type = DMO, we are able to see our custom Storage Category while attaching/Check-in a document.
    I see that the Document Type = DRW is linked to Document Area = DMS
    Similarly, the Document Type = DMO is linked to Document Area = FILESYSTEM
    My question is, Is there a transaction code or a customizing option available to link the Document Area and Document Type?
    Thank you,
    Sri

  • How to get the count of items(folders or documents) in a SharePoint document library and for a folder in any SharePoint document library?

    I need to get a count of documents and folders in a selected document library(the item for EventRecievers for event deleting) and the count of documents in a selected folder(the item for EventRecievers for event deleting) to determine whether the item(document
    library or folder) is empty or not, as I need to use this condition for one of my custom EventReceivers.
    Can you please suggest me the code to do the same?

    Hi.
    Try this:
    class Program
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://z2012net"))
    using (SPWeb web = site.OpenWeb())
    SPList l = web.Lists["List001"];
    List<FolderInfo> res = new List<FolderInfo>();
    getListCount(l.RootFolder, ref res);
    private static void getListCount(SPFolder sPFolder, ref List<FolderInfo> res)
    SPQuery query = new SPQuery();
    query.Folder = sPFolder;
    res.Add(new FolderInfo() { ItemCount = sPFolder.ItemCount, Name = sPFolder.Name, Url = sPFolder.Url });
    SPListItemCollection items = sPFolder.ParentWeb.Lists[sPFolder.ParentListId].GetItems(query);
    foreach (SPListItem item in items)
    if (item.FileSystemObjectType == SPFileSystemObjectType.Folder)
    SPFolder f = sPFolder.ParentWeb.GetFolder(item.UniqueId);
    getListCount(f, ref res);
    class FolderInfo
    public string Url { get; set; }
    public string Name { get; set; }
    public int ItemCount { get; set; }
    Regards,
    Bubu
    http://zsvipullo.blogspot.it
    Please mark my answer if it helped you, I would greatly appreciate it.

  • I am trying to download the latest iTunes update.  Keep getting error message stating "The folder path 'My Documents' contains an invalid character".  I can't uninstall iTunes for the same reason.  HELP!

    I am trying to download the latest iTunes update; keep getting error message that says "The folder path 'My Documents' contains an invalid character".  This also happens when I try to uninstall iTunes.  HELP!

    OK, never mind!  I saw another question on the right side that addressed the problem, and it worked perfectly!  Went to Major Geeks' page, downloaded the Windows Installer Cleanup Utility, and was able to reinstall the updated version of iTunes!  This community is super!

  • Getting error Can't read from the source or disk when moving documents from one folder to another folder in the library

    Hi,
    When we try to move documents from one folder to another folder in the document library using "Open with explorer" getting beloe error.
         Can read from the source file or disk.
        The user having below permission for the Library as well as site.
    Fullcontrol,Limited access--->Given directly
    Read,Limited access--->Givin through the all Test grp
    Contribute,Limited Access-->given through test members grp
    Read,Limited access---> givin through The group grp
    Could you please help me anyone....
    Thanks

    Hi Reddy,
    If you are moving files in two libraries in different sites, then the error will occur and it is by design that there are limitations on the DAV move commands that the DAV client is respecting.
    https://social.msdn.microsoft.com/Forums/en-US/6245f332-c609-4a7b-8e00-c8b5e46f7759/cant-move-files-using-windows-explorer-cant-read-from-source?forum=sharepointgeneral
    If you are moving files in the same library, I recommend you to use Wireshark to reveal the error message and enable IIS
    Trace Logging for Failed Requests to examine the IIS log file for troubleshooting.
    https://social.msdn.microsoft.com/Forums/en-US/47cd569d-98f2-4cca-b78e-fd178c097285/cant-read-from-the-source-file-or-disk?forum=sharepointgeneralprevious
    To narrow down the issue scope, I recommend you to test with another library and see if the copy in explorer can work.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Query to get InfoObject(ReportObject) from specific Folder

    Hi,
    I am using XI Release 2.I am having one report object in two folders with the same name.
    example: I am having one report object named TestReport that exist in folder ALL as well as folder TEMPORARY in CMS.
    Following query i am using:
    "SELECT TOP 1 * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Report'").append(" AND SI_INSTANCE=0 AND SI_NAME='").append(TestReport ).append("'");
    but it always returns the report object from folder ALL while i want to have report Object from folder TEMPORARY
    Reporrt Path: path://InfoObjects/Root Folder/Temporary/
    Can anyone help me out with the query to get the report object from specific folder?
    Thanks
    Prakhar Paharia
    Edited by: prakhar paharia on Mar 10, 2009 3:43 PM
    Edited by: prakhar paharia on Mar 10, 2009 3:44 PM
    Edited by: prakhar paharia on Mar 10, 2009 4:17 PM

    Hello Prakhar,
    You are querying the the CI_INFOOBJECTS table for crystal reports that have the name TestReport.
    If a crystal with name TestReport exists in folder ALL and another crystal with name TestReport exists in folder TEMPORARY , you should get two INFOOBJECTs with your query!
    Look at your query : 
    SELECT TOP 1   means select one entity.
    I guess this is the reason for your problem.
    bernd
    Edited by: BerndB on Mar 12, 2009 8:42 AM

  • Need to add OR condition in cmis query

    I am trying to retrieve some documents using the cmis query based on a condition where I need to specify the collection Id.To be more clear I have a folder outer within with which I have three subfolders first , second and third , I have a search condition where I need to query all the three subfolders here and bring me the results , but as soon as I start giving the collection ID of the outer most folder It searches only for that folder and does not recursively search the subfolders , So in my query I am trying to add the collection ids of the subfolder in OR condition but i get the error that OR is not a valid operand , AND , ORDER is expected .
    Can any one help me to find if we can write queries with OR condition in UCM?

    Hi ,
    Thanks for the reply. I am pasting the query below along with the error mesg.
    SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xCollectionID = '888438448042000024' OR ora:p:xCollectionID = '888438448042000025' OR ora:p:xCollectionID = '888438448042000026' OR ora:p:xCollectionID = '888438448042000027' OR ora:p:xCollectionID = '888438448042000028' OR ora:p:xCollectionID = '888438448042000029' OR ora:p:xCollectionID = '888438448042000217'
    Caused by: oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException: oracle.webcenter.content.integration.cmis.query.ParseException: Encountered " "OR" "OR "" at line 1, column 134.
    Was expecting one of:
    <EOF>
    "AND" ...
    "ORDER" ...
         at oracle.webcenter.doclib.internal.model.presenter.conf.QueryStringDatasource.toSearch(QueryStringDatasource.java:124)
         at oracle.webcenter.doclib.internal.model.presenter.conf.PresenterDatasource.validate(PresenterDatasource.java:321)
         ... 90 more
    Caused by: oracle.webcenter.content.integration.cmis.query.ParseException: Encountered " "OR" "OR "" at line 1, column 134.
    Was expecting one of:
    <EOF>
    "AND" ...
    "ORDER" ...
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.generateParseException(CmisQueryParser.java:1288)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.jj_consume_token(CmisQueryParser.java:1170)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.cmisQuery(CmisQueryParser.java:80)
         at oracle.webcenter.content.integration.cmis.query.CmisQueryParser.parseQuery(CmisQueryParser.java:34)
         at oracle.webcenter.content.integration.cmis.query.CmisSearch.getInstance(CmisSearch.java:61)
         at oracle.webcenter.doclib.internal.model.presenter.conf.QueryStringDatasource.toSearch(QueryStringDatasource.java:116)
         ... 91 more
    <AbstractPresenterBean> <getConfiguration()> Jan 14, 2013 7:53:18 PM oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException asError
    ALL: Query expression must be a valid, non-empty expression.
    oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException: Jan 14, 2013 7:53:18 PM oracle.webcenter.doclib.internal.model.presenter.conf.PresenterConfigurationException asError
    ALL: Query expression must be a valid, non-empty expression.
    I also tried using the 'in clause' like xcollectionId in (<collectionId>,<collectionId>) but still had issues.

  • How do I count the number of records returned in the CMIS query

    How do I count the number of records returned in the query CMIS?
    SELECT COUNT(*) FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = \'RD_PROJETOS_EXCLUSIVOS\''}
    Euler Homero

    Hi Euler,
    interestingly enough, the reference guide for CMIS ( http://wiki.alfresco.com/wiki/CMIS_Query_Language ) that I found does not mention the COUNT function at all. On the other hand it states that: "The SELECT clause identifies which virtual columns to return in the result set. It can be either a comma-separated list of one or more queryNames of properties that are defined by queryable object types or * for all virtual columns."
    There are, however, some other posts like e.g. http://alfrescoshare.wordpress.com/2010/01/20/count-the-total-number-of-documents-in-alfresco-using-sql/ which state that they could make it working.
    Having asked in the WebCenter Portal forum, I assume that your content repository is WebCenter Content. The CMIS doc for the Content is available here: http://docs.oracle.com/cd/E23943_01/doc.1111/e15813.pdf (no COUNT there either). It does, however, mention explicitly that "CMIS queries return a Result Set where each Entry object will contain only the properties that were specified in the query.". This means your could rather investigate the Result Set. Note that there are also other means than CMIS how to get the requested result set (e.g. calling a search service directly via so-called RIDC).
    In the given context I am also interested what your use case is. OOTB CMIS in WebCenter Portal is used, for instance, in Content Presenter, where it is content rather than "parameters" what's displayed.

  • ORDER BY in cmis query

    I have a custom metadata field in ucm and I need to sort content presenter result based on that field. I have followed http://yonaweb.be/using_dynamic_queries_content_presenter_0 document and used cmis query to show content. My getter method of query looks like
    public String getContentQuery(){
    StringBuffer query = new StringBuffer();
    query.append("SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = 'UPDATE_REG_DEF'");
    String contentType= (String)ADFUtil.evaluateEL("#{viewScope.pLinkSelectionType}");
    if("News".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'News'");
    if("Event".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'Event'");
    if("Insight".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'Insight'");
    query.append(" ORDER BY ora:p:xDocumentSortDate DESC");
    return query.toString();
    It works fine when load the page first time but after that if we change value of documentsortdate in ucm and try to reload the page, it shows same result. Looks like result is getting cached. On reloading my getContentQuery method is getting called so I believe content presenter flow is getting executed.
    Thanks
    Sanjeev.

    I tried to introduce a delete button to delete content. I set a refresh condition on contentpresenter task-flow as #{requestScope.pRefreshUpdateSection == 'Y'}. Now on delete button I am calling following bean method.
    public void deleteContent(ActionEvent actionEvent) {
    // Add event code here...
    String dID = ((ValueWrapperImpl)ADFUtil.evaluateEL("#{node.propertyMap['dID'].value}")).getStringValue();
    String dDocName = ((ValueWrapperImpl)ADFUtil.evaluateEL("#{node.propertyMap['dDocName'].value}")).getStringValue();
    String user = (String)ADFUtil.evaluateEL("#{securityContext.userName}");
    RIDCUtil ridc;
    try {
    ridc = new RIDCUtil();
    ridc.deleteDocument(user, dDocName, dID);
    ADFUtil.getRequestFlowScope().put("pRefreshUpdateSection", "Y");
    } catch (IdcClientException e) {
    String errorMessage = "An unexpected error occured while deleting document. Please contact the System Administartor." + e.getCause();
    throw new JboException(errorMessage);
    RIDC is able to delete content successfully but when contentpresenter binding is getting executed, its still looking for old content. Ideally it should start executing new query and start showing content as per new query. I get following error instead.
    <UIXRegion> <_warn> Error processing viewId: /doclib-content-presenter/presenter-multi-node-view URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/presenterMultiView.jsff actual-URI: /oracle/webcenter/doclib/view/jsf/taskflows/presenter/presenterMultiView.jsff.
    oracle.webcenter.content.integration.RepositoryRuntimeException: Dec 10, 2012 1:49:50 PM oracle.webcenter.content.integration.spi.ucm.NodeOps getVcrGetDocumentByNameDataBinder
    SEVERE: Unable to fetch document in repository UCM with dDocName VMOHSKEND03633000335. When calling service VCR_GET_DOCUMENT_BY_NAME, as user sponsor, at timestamp 12/10/12 1:49 PM, recieved status code -16.
         at oracle.webcenter.content.integration.Node.getProperties(Node.java:867)
         at oracle.webcenter.content.integration.Node.getProperties(Node.java:795)
         at oracle.webcenter.content.integration.Node.getProperty(Node.java:692)
         at oracle.webcenter.content.integration.el.support.NodeWrapperImpl.getProperty(NodeWrapperImpl.java:278)
         at oracle.webcenter.content.integration.el.support.ContentPropertyMap.getProperty(ContentPropertyMap.java:159)
         at oracle.webcenter.content.integration.el.support.ContentPropertyMap.get(ContentPropertyMap.java:90)
         at oracle.webcenter.content.integration.el.support.ContentPropertyMap.get(ContentPropertyMap.java:46)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getConvertedString(ValueRenderer.java:145)
         at oracle.adfinternal.view.faces.renderkit.rich.OutputTextRenderer.encodeAll(OutputTextRenderer.java:148)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeHorizontalChild(PanelGroupLayoutRenderer.java:499)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$100(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:659)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at oracle.webcenter.content.internal.view.template.TemplateSwitcher.processFlattenedChildren(TemplateSwitcher.java:161)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXIterator$1.process(UIXIterator.java:163)
         at org.apache.myfaces.trinidad.component.UIXIterator$Runner.processComponent(UIXIterator.java:566)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXIterator$Runner.run(UIXIterator.java:535)
         at org.apache.myfaces.trinidad.component.UIXIterator.processFlattenedChildren(UIXIterator.java:166)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
         at org.apache.myfaces.trinidad.component.UIXGroup.encodeChildren(UIXGroup.java:138)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:278)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:201)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:300)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeChildrenVertically(PanelCustomizableRenderer.java:1053)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:356)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.page.editor.renderkit.PageCustomizableRenderer.encodeAll(PageCustomizableRenderer.java:323)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$300(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:682)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:601)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXGroup.processFlattenedChildren(UIXGroup.java:96)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag$FacetWrapper.processFlattenedChildren(IncludeTag.java:675)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:160)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    <removed some log>
    Caused by: oracle.webcenter.content.integration.NoSuchNodeException: Dec 10, 2012 1:49:50 PM oracle.webcenter.content.integration.spi.ucm.NodeOps getVcrGetDocumentByNameDataBinder
    SEVERE: Unable to fetch document in repository UCM with dDocName VMOHSKEND03633000335. When calling service VCR_GET_DOCUMENT_BY_NAME, as user sponsor, at timestamp 12/10/12 1:49 PM, recieved status code -16.
         at oracle.webcenter.content.integration.spi.ucm.NodeOps.getVcrGetDocumentByNameDataBinder(NodeOps.java:1683)
         at oracle.webcenter.content.integration.spi.ucm.NodeOps.getUCMNodeWithId(NodeOps.java:1569)
         at oracle.webcenter.content.integration.spi.ucm.NodeOps.getProperties(NodeOps.java:385)
         at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.webcenter.content.integration.federated.internal.delegate.LatestInterfaceVersionWrapper.invoke(LatestInterfaceVersionWrapper.java:73)
         at $Proxy188.getProperties(Unknown Source)
         at oracle.webcenter.content.integration.federated.internal.filter.logging.NOPSLoggingFilter.getProperties(NOPSLoggingFilter.java:371)
         at sun.reflect.GeneratedMethodAccessor757.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.webcenter.content.integration.federated.internal.delegate.LatestInterfaceVersionWrapper.invoke(LatestInterfaceVersionWrapper.java:73)
         at $Proxy188.getProperties(Unknown Source)
         at oracle.webcenter.content.integration.federated.internal.filter.validation.NOPSValidationFilter.getProperties(NOPSValidationFilter.java:379)
         at sun.reflect.GeneratedMethodAccessor756.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.webcenter.content.integration.federated.internal.delegate.LatestInterfaceVersionWrapper.invoke(LatestInterfaceVersionWrapper.java:73)
         at $Proxy188.getProperties(Unknown Source)
         at oracle.webcenter.content.integration.federated.internal.filter.cache.NOPSCacheFilter.getProperties(NOPSCacheFilter.java:457)
         at sun.reflect.GeneratedMethodAccessor755.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.webcenter.content.integration.federated.internal.delegate.LatestInterfaceVersionWrapper.invoke(LatestInterfaceVersionWrapper.java:73)
         at $Proxy188.getProperties(Unknown Source)
         at oracle.webcenter.content.integration.federated.internal.delegate.LatestNodeOpsDelegate.getProperties(LatestNodeOpsDelegate.java:585)
         at oracle.webcenter.content.integration.Node.getProperties(Node.java:833)
         ... 277 more
    Caused by: oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve information for 'VMOHSKEND03633000335'. Unable to find latest released revision for item 'VMOHSKEND03633000335'.
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)
         at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
         at oracle.webcenter.content.integration.spi.ucm.UCMBridge.executeRequest(UCMBridge.java:778)
         at oracle.webcenter.content.integration.spi.ucm.NodeOps.getVcrGetDocumentByNameDataBinder(NodeOps.java:1671)
         ... 304 more
    Pagedef binding looks like
    <taskFlow id="doclibcontentpresenter2"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    Refresh="ifNeeded"
    RefreshCondition="#{requestScope.pRefreshUpdateSection == 'Y'}">
    <parameters>
    <parameter id="taskFlowInstId" value="${'myinst'}"/>
    <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
    <parameter id="datasource"
    value="#{backingBeanScope.NewsAndEventBean.contentQuery}"/>
    <parameter id="templateCategory" value="${''}"/>
    <parameter id="templateView" value="${'templates.news.list'}"/>
    <parameter id="regionTemplate" value="${'false'}"/>
    <parameter id="maxResults" xmlns="http://xmlns.oracle.com/adfm/uimodel"
    value="#{backingBeanScope.NewsAndEventBean.contentMaxResult}"/>
    </parameters>
    getContentQuery method of bean returns query and getContentMaxResult method returns number of max result as
    public Long getContentMaxResult(){
    String contentType= (String)ADFUtil.evaluateEL("#{viewScope.pLinkSelectionType}");
    if("News".equals(contentType) || "Event".equals(contentType) || "Insight".equals(contentType)){
    return 5L;
    else
    return 15L;
    public String getContentQuery(){
    StringBuffer query = new StringBuffer();
    query.append("SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = 'REL3_UPDATE_REG_DEF'");
    String contentType= (String)ADFUtil.evaluateEL("#{viewScope.pLinkSelectionType}");
    if("News".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'News'");
    if("Event".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'Event'");
    if("Insight".equals(contentType)){
    query.append( " and ora:p:xUpdateContentType = 'Insight'");
    query.append(" ORDER BY ora:p:xDocumentSortDate DESC");
    return query.toString();
    As content presenter is looking for old file, I think some kind of caching is going on.
    Thanks
    Sanjeev

  • Need to create report query to get latest open and last closed period for given application

    Hi All,
    I need to create a report query to get below result displayed in report output.
    1)   -   Application name
    2)   -    Ledger name
    -o/  -Operating Unit
    3)   -  Last Closed Period
    4)   -  Current Open Period
    5)   -  Date Closed – Last Closed Period
    6)   -  Date Open – Current Open Period
    I tr I tried to create the query below is the same. Please let me know if it looks fine.
    SELECT *
      FROM (SELECT fav.application_name ,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status ='C'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc )WHERE ROWNUM = 1 
    UNION ALL
    SELECT *
      FROM (SELECT fav.application_name Application_Name,
                   hou.name Operating_Unit_Name,
                   gl.name Ledger_name,
                   gl.latest_opened_period_name,
                   gps.period_name Period_Name,
                   DECODE(gps.closing_status, 'O', 'Open', 'C', 'Closed') status,
                   gps.last_update_date Last_status_modified_date
              FROM gl_period_statuses gps,
                   gl_sets_of_books   gsob,
                   fnd_application_vl fav,
                   hr_operating_units hou,
                   gl_ledgers         gl
             WHERE gps.period_name = gps.period_name
               AND gps.closing_status = 'O'
               AND fav.application_short_name =
                   NVL('&p_application_short_name', fav.application_short_name)
               AND gps.application_id = fav.application_id
               AND gsob.set_of_books_id = gps.set_of_books_id
               AND hou.set_of_books_id = gps.set_of_books_id
               AND gl.ledger_id = gsob.set_of_books_id
               AND hou.organization_id=NVL('&p_operating_unit',hou.organization_id)
               AND gl.ledger_id=NVL('&p_ledger_id',gl.ledger_id) 
             ORDER BY gps.last_update_date desc)
             WHERE ROWNUM = 1

    It is within the table I believe (I'm not a DBA or a developer) since I created a BLOB column and then used the file browse feature to allow users to attach a resume to the table in order to be able to perform a search of the attached documents.
    I'm just having a hard time pointing the link in the search results report to the document in the blob column.
    The information on that page is great if you're trying to create a link to the document on the initial report.
    But I created a query using Oracle Text to run a report that does a boolean search of the attached word documents in the table.
    When it displays the search results, it doesn't create a link to the document and I can't figure out how to do it.
    Here's a link the the instructions I used to create the initial search report with Oracle Text, mind you I only created the index and query, I didn't add in all the link data since they're using documents on websites and I'm using documents in a table.
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    If you can help me with this I'd really appreciate it.
    Thanks again.
    Greg
    Edited by: gjones77 on Dec 2, 2008 8:14 AM

  • Moving expired documents to another folder

    Hi,
    I'm new in SAP's world, and I already have the following scenario:
    At the portal my team is developing, in the KM, we have folder structures of about 5 levels, and most of these folders are Timelife enabled. Up to here everything is fine.
    But my problem happens when the documents, that are at these timelife enabled folders, expires, and I must move them to another structure of folders.
    Firstly, a colleague told me to develop a Repository Service to do this. I found some code that almost do this, but didn't helped me so much.
    After, talking to another guy, he suggested me to implement a "parallel" scheduler task. I found information about how to develop a task and schedule it at the portal (Did you know you can schedule jobs in portal using KM's Scheduler Task?).
    Now, what's the way to navigate through a folder structure, check if the timelife is enabled, check which documents have expired and move them to another folder?
    Thanks in advance,
    André Ramos Souza

    Hi André,
    First, welcome on SDN!
    About your questions:
    That's really a bunch of questions, and I would agree with Patricio to read through the basic KM dev docs to get some basic understanding.
    Anyhow, just some additional pointers for your concrete concerns:
    navigate through a folder structure
    ==> Check out https://media.sdn.sap.com/javadocs/NW04/SPS15/km/com/sapportals/wcm/repository/IResource.html and realise that ICollection is the subinterface which represents a folder.
    check if the timelife is enabled
    ==> See my answer in How to get property of a KM folder? for getting FolderSettings; use
    Boolean tbpBool = folderSettings.isTimebasePublishEnabled();
    tbp = (tbpBool == null) ? false : tbpBool.booleanValue();
    to determine if the time based publishing service is activated on a folder.
    check which documents have expired
    ==> https://media.sdn.sap.com/javadocs/NW04/SPS15/km/com/sapportals/wcm/repository/service/timebasedpublish/ITimebasedPublishServiceManager.html (also usable for the last concern).
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

Maybe you are looking for

  • Tomcat issue

    Hi, First off want to say I didnt see a place to put a tomcat question so am putting it here for now. My tomcat was fine up till a couple days a go. Now I cannot start it up. I get this stacktrace when starting up eclipse now too(I didnt get it befor

  • Why can't my HD to SD SHORT film look good? Best Encode?

    I have a 12 minute short film on HDV. I imported it to FCP5 and then DVDSP4 and created an HD-DVD and it looked GREAT. Then I found out my computer is pretty much the only DVD player that can play the HD-DVD I had created. Thus began my journey to ma

  • BPEL Assign Activity XPath failure

    Hi, My BPEL process fails during the Assign activity and it is failing because the Query expression does not find the 'from' element. Which makes sense because for one my test cases I am not including a value for that element in the XML instance. My

  • TransformVector in debug/publish version of flash

    I have problems with transformVector function when debugging flash. I use simple translation matrix that moves point by 25 on z-axis, everything works fine when I run the flash in browser but in debug mode, transformVector makes vector -20 -20 -20 to

  • Alv subtotal calculation

    hi gurus, my query is : i have to calculate rate per min , p3 =  p1/p2 in subtotal column.but in the scenario given below it is just adding all the rpm and giving the total = 0.56 , but -3612/13940 = 0.26 is correct. EX:   amt(P1)     minutes (p2)