Content model presenter of webcenter

How to display alternative files and details of primary file in the model content presenter?

I can get the main url using the #{node.url.renderUrl}.  How to get the url of the file replacement for the same file?

I use the last jdev 11.1.1.7 and webcenter 11.1.1.8.

Hello.

The municipality EL Expressions of content using Presenter simply to allow access to the primaryFile.

The other file is mapped to the Web layout and then you need to access the 'return' of the web

You can use some tricks to access the 'return' of web page layout:

Vignette for the definition of the Image element to the content Presenter

Oracle Webcenter content & portal advice: show any return of the image in a content model Presenter (My colleage blog)

Change the setting of rendering to use web instead of the thumbnail

I hope this helps.

Kind regards.

Tags: Fusion Middleware

Similar Questions

  • WebCenter spaces: content display model Presenter for the image gallery

    Hi all

    I use 11.1.1.6 Webcenter spaces

    I need to create a custom content presenter display model where a folder is chosen by the moderator. And all the files it contains will be shown as an album in a drop down.

    Whenever the user selects any album in the drop-down list, the images inside this album should be below in a thumbnail.

    I've set up two models one for the drop-down list and others to show images.

    I just need to know how can I use the two together. And how the selection of an album in the drop-down list should change the images?

    Should I call 2nd model presenter content from 1?

    Help, please.

    Kind regards

    Deepak

    Hello.

    I have a better approach:

    1. Store in a variable of limited scope, the folder selected in selectOneChoice.
    2. Use the cmfn:searchNodes function to retrieve the folder nodes
    3. Use the list of nodes with dt:contentTemplate.


    Information on the use of cmfn:searchNodes:

    Basically, he's waiting for the name of your repository of the University Complutense of MADRID and a CMIS query that must be built using the information in your file or a path.

    The CMIS query will have to be something like the following example (he gets all the contents of the folder with xCollectionId =988901828852000401

    SELECT * FROM cmis:document WHERE IN_TREE('/ucm/IDC:Folder/988901828852000401')

    
    
        
        Retrieve a collection of content nodes by CMIS query, specifying the maximum number of nodes to return.
        
        searchNodes
        oracle.webcenter.content.integration.servlets.functions.NodeRetrievalFunctions
        
          oracle.webcenter.content.integration.Node[] searchNodes(java.lang.String, java.lang.String, java.lang.Integer)
        
        
          
    ]]>
  • Presenter content model cannot retrieve content automatically

    Hello

    I created a content model of presenter and used on a page in Oracle Webcenter Portal. This model of content presenter retrieves a file from the content server.

    When I go to the portal page, the content (a title, image and body) are not displayed immediately. If I open another tab and connect to the webcenter, then the image and the text displays in the portal page.

    No idea why this is happening. Please advice on measures to solve this problem.

    Thanks in advance.

    Concerning

    Arun rimbault

    Hello Arun,

    Please provide the version of the webcenter portal. I also met the same type of problem. For the portal question private definitively resolved using SSO between webcenter portal and content using OAM or SAML.

    To debug this problem please download the header http live and check the URL that is not rendered.  Also check the security group on the server content at the Complutense University of MADRID.

    Try also to add under entry in card credentials to the content server (connect on cs-> administrator-mapping of credentials.

    @#all,. @public (R)

    Thank you
    Amey

  • Content model view presenter not showing the content of the data file for the contributor to Site Studio

    Hello

    I created a data file for contributor to the Site Studio (11.1.1.8.0) using my definition of the region RD_ONE_ELEMENT.

    Here is the XML of the contributor data file (DATA_ONE_ELEMENT.xml)

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    " < = xmlns:wcm wcm:root ' http://www.Stellent.com/WCM-data/NS/8.0.0 "version ="8.0.0.0"> "

    < wcm:element name = "TITLE" > This is the title... Successful. < / wcm:element >

    < / wcm:root >

    It's the definition of the region (RD_ONE_ELEMENT)

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < regionDefinition xmlns =" http://www.Oracle.com/SiteStudio/element/ "" "

    " xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    " xsi: schemaLocation =" http://www.Oracle.com/SiteStudio/element/ http://www.oracle.com/sitestudio/ss_element_definition.xsd' > .

    elements <>

    < elementReference name = "TITLE" location = "ED_PLAIN_TEST" >

    < property name = "label" value = "TITLE" / >

    < property name = value "description" = "" / > "

    < / elementReference >

    < / items >

    < property name = value "description" = "" / > "

    < name dataProperty = 'metadata' > < / dataProperty >

    < name complexProperty = "switchregioncontent" >

    < property name = "createnewxml" value = "true" / >

    < property name = "createnewnative" value = "false" / >

    < property name = "choosemanaged" value = "true" / >

    < property name = "chooselocal" value = "false" / >

    < property name = "choosenone" value = "false" / >

    < valueList name = "createnewnativedoctypes" >

    < / valueList >

    < name complexProperty = "choosemanagedquerytext" >

    < property name = "corecontentonly" value = "false" / >

    < name dataProperty 'querytext' = > ((xWebsiteObjectType & lt; matches & gt;)) 'Data file') & lt; and & gt; (xRegionDefinition & lt; matches & gt; 'RD_ONE_ELEMENT')) & lt; or & gt; (xWebsiteObjectType & lt; matches & gt; 'Native 'Document') < / dataProperty >

    < / complexProperty >

    < name dataProperty = "defaultmetadata" > < / dataProperty >

    < / complexProperty >

    < / regionDefinition >

    In my portal, I added a Presenter content workflow. On the content tab, I put DATA_ONE_ELEMENT (one piece of content). On the model tab, I chose my Presenter content model.

    I had created a content model project Presenter DesignWebcenterSpaces (that I got from zip file - http://download.oracle.com/otndocs/tech/webcenter/files/DesignWebCenterSpaces_11.1.1.8.0.zip) here is the code:

    Here's the code for the view model:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    " < = xmlns:jsp jsp:root ' http://Java.Sun.com/JSP/page "version ="2.1" "

    " xmlns =" http://xmlns.Oracle.com/WebCenter/content/templates "" "

    ' xmlns:af = ' http://xmlns.Oracle.com/ADF/faces/rich "> "

    < var dt:contentTemplateDef = "node" >

    < af:outputText value = "#{node.path}" id = "ot1" / > "

    < af:outputText value = "#{node.propertyMap ['RD_ONE_ELEMENT:TITLE'] .asTextHtml} '"

    ID = "ot2" / >

    < / dt:contentTemplateDef >

    < / jsp:root >

    The output I see on the Web page is as follows:

    / EXTASC/DATA_ONE_ELEMENT. XML

    I don't see any other texts. Which means, there is no output of:

    < af:outputText value = "#{node.propertyMap ['RD_ONE_ELEMENT:TITLE'] .asTextHtml} '"

    ID = "ot2" / >

    Can someone help me in this? I would like to see the value of my Web page TITLE.

    Hello.

    I am currently weapons... This is not normal, as is a common task.

    Sorry, but we do a general audit of the configuration before enabling the TRACE log levels because it should be a simple thing missing.

    Can you confirm that WebCenter content are activated as a result of components (UCM Console-> Administration-> server-> Component Manager Admin)? :

    - Studio site.

    -Site of Studio for external Application.

    -WebCenterConfigure

    -LinkManager

    -DBSearchContainsOpSupport


    In the case of be activated all (don't forget to restart UCM if you turn any component). Make sure that you have done as following steps:

    1. Log in to Content Server and open the Administration page.
    2. Select the Studio Site Administration, and then set the default Project Document information.
    3. Accept the default settings, and then click Update.
    4. Select the Studio Site Administration, and then to set Document information by default Active Web.
    5. Accept the default values and click Update

    Kind regards.

  • How to get the nodes size in the presenter content model

    Hi all

    I created a content model of presenter to display a list of content carousel with x of y (current number of total size).

    also I do not use af:carousel component used instead af:iterator.

    is it possible I can get number total i.e. nodes size outside a java bean.

    something like #{nodes.size} or nodes.length.

    Please suggest something which can fly running (i.e. performing edition of the model should be enough)

    Thank you

    -Yves

    Hi Yves,

    You should be able to use #{nodes.rowCount} to EL.

  • WCC-ADF-10900: required features are not enabled on the content server instance 'Default' WebCenter Feature: 'framework orkFolders', Minimum level: 2.1

    Hi all

    I am facing the error when I open my ADF UI below. I had installed all the required patches on weblogic ADFUI and MLR - 6 patch for COE. It's the same error discussed in this thread - required feature is not enabled on the content server instance 'Default' WebCenter Feature: 'FrameworkFolders', at least level: 2.1 but I think have everything installed the patched. Y at - it a particular fix that brings FrameworkFolder from 2.0 to 2.1.

    < 24 April 2015 18:11:26 IST > < error > < oracle.wcc.adf.logger.Exception > < WCC-ADF-10900 > < required feature is not enabled on the content Serv WebCenter

    ER instance "Default". Feature: 'FrameworkFolders', at least level: 2.1

    oracle.wcc.adf.model.WccException: WCC-ADF-10900: necessary feature is not enabled on the content server instance 'Default' WebCenter Feature: "setting

    orkFolders's, at least level: 2.1

    Kind regards

    -Anand

    I assume that you missed this step:

    1. after changing properties of connection CRMI - save

    Now comes the key:

    2. Select the bean Select viz ADFConnections - operations - parent. Here, select Invoke.

    The action is logged and persistent changes to the MDS repository on successfully executing step 2, otherwise the changes will not be saved and will be reset to restart the server after original values.

    Now restart the servers of the ADF managed, test and report the results.

    Thank you

    Srinath

  • Content workflow presenter - only point - crawl the content

    There is this small region which contains a box of drop-down selection menu and some content in my Web site target.  This region will appear in a few pages.  The contents of combo box selection can change between two pages, in which the region can be displayed.

    My approach was to use a content Presenter task Flow-> datasource for a particular content of UCM-> create a view model that would be to analyze the contents of the UCM file-> create an Option button with the contents parsed University Complutense of MADRID.

    I was able to get the content of my page.  But I'm unable to crawl the content.  Can someone ' a please guide me on how I can get the contents of the data source to a variable so I can analyze the content?

    Hello.

    Are you try create a with the value of metadata? With values from a data file?.

    values in the data file.

    It's the XML content is it not a definition of the region (asset Web, data file)? If set to true, using XSTL (XML parsing of JSTL).

    N ° this is the CSV file.

    These responses are opposed as Datafile = region definition = active Web.

    In any case, I understand what the problem is, (you want to analyze files such as CSV or TXT in the Presenter content model).

    My steps so that there are at.

    (1) build a process/analysis RegionController a current selected node and store information in a limited range variable analysis. This means that whenever you use a content presenter workflow you must register this class in the associated page definition.

    (it is a Phase for regions listener, run your code before the process of rendering)

    For me, is not a good practice approach.

    Reference: understand the lifecycle Page Fusion


    (2) build your own workflow with an entry in the file picker parameter (you can use the same as OOTB task runs). For me, this is the best way

    In your own Job Flow follow the following ideas:

    • A method call to generate a variable scope with analysis information on the entry point file.
    • Fragment view showing your select field

    I do not know what you go with, select the option when draw it. But I think that if you build your own task Flow for your condition, it will be give you more freedom.

    I hope this information help you.

    Kind regards.

  • Failed to load the metadata server using GET_DOC_METADATA_INFO content model?

    Hi all

    I create connection in Jdeveloper to the repository of content both are 11.1.1.6.0 version. I'm creating RIDC Socket type Socket.
    everything by testing the connection I get under Error.UCM runs in other ways machine come IP. trying to connect from my local Jdeveloper.

    Test failed:
    Failed to load the metadata server using GET_DOC_METADATA_INFO content model.
    Permission denied. Address ' XX. XX. XX. XX'(IP) is not an authorized remote socket address. (IP replaced by XX...)

    Why his error.do showing that I need to put any changes of the UCM let me know problem question

    Please give me an idea about this error and the solution for the same.


    Concerning
    Siva sery

    To eliminate the first manifesto, see this post: fail to connect to the content if server use 'web' for the RIDC socket type and check that the other IP is allowed, amongst, IPs (you can use a mask, or type it directly) - do not forget to restart the server after the change.

    If this does not help, test, if other services such as DOC_INFO_BY_NAME can be called via RIDC, or if they have the same problem.

  • Adding model presenter content to a page

    Hello
    I'm new in the Application of the WebCenter portal. So far, I learned to write a contenttemplate and adding this template to a page created from portal. But I have a question, I can add a contenttemplate directly to a page I want to say in a .jspx under JDeveloper page? Here is the contenttemplate I wrote:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns = "http://xmlns.oracle.com/webcenter/content/templates."
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:f = "http://java.sun.com/jsf/core" >
    < var dt:contentListTemplateDef = 'nodes' >
    < af:panelGroupLayout id = "pgl2" layout = "scroll" >
    < af:iterator id = "i1" value = "#{node}" var = "node" >
    < af:panelGroupLayout id = "pgl1" layout = "scroll" >
    < af:showDetailHeader text = "' leaked 'false' id = 'sdh1' = >"

    < af:panelHeader text = "" id = "ph1" > "
    < af:outputText value = "#{node.propertyMap ['FAQ_RGD:FAQQuestion'] .asTextHtml} '"
    ESC = "false" id = "ot1" / >
    < / af:panelHeader >


    < af:showDetail disclosed = "true" id = "sd1" >
    < af:outputText value = "#{node.propertyMap ['FAQ_RGD:FAQAnswer'] .asTextHtml} '"
    ESC = "false" id = "ot2" / >
    < / af:showDetail >

    < / af:showDetailHeader >
    < / af:panelGroupLayout >
    < / af:iterator >
    < / af:panelGroupLayout >
    < / dt:contentListTemplateDef >
    < / jsp:root >

    And I put this as a resource portal. It is a Fragment of the JSF Page. Now, I want to know how can I add this in a page. By drag and drop?

    In http://yonaweb.be/webcenter_tutorial/using_content_presenter_templates, he was invited to drag and drop the contenttemplate in content facet and the region by selecting from the context menu. I followed this step, but I can't find any menu in context with the region. Any information will be very useful.

    Thank you and best regards.

    its Documents called - content Presenter
    It should be their in the resources under the webcenter taskflows palette.

  • Cannot add content "model of development" in the edition of model

    Hello

    I created a new template and I am trying to add a custom navigation (created by me only) in this model.
    When I'm clicking on "add content", I get only the options below:

    Alerts and updates
    Analytics
    Content management
    Mash-Ups
    Surveys
    Portlets
    Social and Communication
    Tagging and research
    Web development

    I get no option to add the created Navigation.
    I get also on console error below:

    < 18 July 2012 15:52:30 IST > < WARNING > < oracle.webcenter.webcenterapp.internal.
    model > < BEA-000000 > < Exception while getting the value of the parameter for pg_pageTemplate
    ID in PageDef: / pageDefs/oracle/webcenter/siteresources/scopedMD/s39012866_e610_
    47a5_8313_bd7e2309f6bb, siteTemplate, gsr5e003700_2b09_4c2a_95e1_e296414c7bfe, Cont
    ainerPageDef.xml, Exception: oracle.mds.core.MetadataNotFoundException: MDS-00013
    : no metadata found for the metadata object ' / pageDefs/oracle/webcenter/siteresource.
    s/scopedMD/s39012866_e610_47a5_8313_bd7e2309f6bb/siteTemplate/gsr5e003700_2b09_4
    c2a_95e1_e296414c7bfe/ContainerPageDef.Xml">
    < 18 July 2012 15:52:30 IST > < Info > < oracle.webcenter.framework.resource.extern
    Al. GenericRequest > < BEA-000000 > < RESOURCEURI: HttpServletRequest.getScheme = http >

    < 18 July 2012 15:52:31 IST > < WARNING > < oracle.webcenter.webcenterapp.internal.
    model > < BEA-000000 > < Exception while getting the value of the parameter for pg_pageTemplate
    ID in PageDef: / pageDefs/oracle/webcenter/siteresources/scopedMD/s39012866_e610_
    47a5_8313_bd7e2309f6bb, siteTemplate, gsr5e003700_2b09_4c2a_95e1_e296414c7bfe, Cont
    ainerPageDef.xml, Exception: oracle.mds.core.MetadataNotFoundException: MDS-00013
    : no metadata found for the metadata object ' / pageDefs/oracle/webcenter/siteresource.
    s/scopedMD/s39012866_e610_47a5_8313_bd7e2309f6bb/siteTemplate/gsr5e003700_2b09_4
    c2a_95e1_e296414c7bfe/ContainerPageDef.Xml">
    < 18 July 2012 15:52:31 IST > < Info > < oracle.webcenter.framework.resource.extern
    Al. GenericRequest > < BEA-000000 > < RESOURCEURI: HttpServletRequest.getScheme = http >

    Can anyone provide any input on that?

    TIA
    Amrita

    Hi Amrita,

    You cannot add the navigation model directly modeled on the author's page, but you can add style of navigation (tree, menu, tab etc.) for the default navigation in the catalog of resources. Once you add navigation style on your page template, you can then change the default navigation for another model of navigation model by using the following steps:-

    1. in the properties of the component: tree Navigation dialog, click the settings tab.
    2. in the Navigation drop-down list, select your Navigation model.

    I hope this has answered your question.

    Kind regards
    Imran

  • Can show us scrollbar on the screens where more content is present

    Hello

    Is there an API that can show a scroll on the right bar where drag us and see the content of the next page.

    the purpose of this is that the user must know the amount of content on the home page itself is present in the rest of the screen.

    The user must have click on scrooBar to view all the content.

    Please help me on this, if this is not possible let me know is there an another way of representing the scroll bar.

    Thanks in advance

    Ratna

    As far as I KNOW, there in no direct api for this.

    Concerning

    Bika

  • Table InDesign content model

    Hello

    I would like to creat content/index United Nations table and include in a paragraph styles that are in my model (gabbarits), but it does not work. Is it possible? How?

    Also I would like to place the style of paragraph 2 on the same line...

    Please help me

    You cannot have two paragraph styles on the same line, but you can use styles GREP and/or styles nested to automatically add Character Styles to specific parts of your line.

    The extent of why you cannot successfully create your Table of contents of your paragraph style, explain what you tried and what has happened.  Screenshots help us understand your process and maybe understand what goes wrong.

  • Multilingual support in the Navigation model in the webcenter Portal

    Hi people,

    I have an interesting question at hand.

    I am building a portal WebCenter application where I need to support multiple languages.
    In addition, the change of locale is not derived from browser but provided as a choice (as a drop-down menu) so that the user can choose the language on the run time.

    So I did the created resource bundles, bean and done the basic setup and it works for all labels, labels etc.

    But I need to show these menu items in the local language and I'm stuck with navigation model that when I change the language by changing the value of the drop-down list, it never takes effect in the menus.

    I tried below, but was unable to do so.
    https://blogs.Oracle.com/ATEAM_WEBCENTER/entry/navigation_model_locale_dynamic_run

    If anyone has any idea please help us to on this.

    Kind regards

    Hello.

    If you set up your navigation model titles use all resources you need to invalidate the cache model SiteStructure or Navigation.

    You have multiple threads in OTN on this example question and mapping based on the solution of the A-team:

    Thread:
    Re: multilingual using WebCenter construction Portal (Read the section on navigation)
    Re: Updating navigation model
    Re: What about Webcenter Global Bundle

    Blog post with the download link:
    http://danielmerchanoracle.blogspot.com.es/2011/09/multi-lenguaje-en-una-aplicacion-de.html

    Concerning

  • Layered above content model

    It would be useful if a page template as a whole or partially could be layerd above the content of a web page.

    e.g. http://www.kohenderiks.nl/sales-rapportage.html

    When is changed (I got recently) must be in the model that I had to change most pages separately, because the content disappears under the top of the page when scrolling.

    I hope that my question is clearly described. If not, please let me know and I'll see if I can do better :-)

    Thanks in advance!

    Peter

    You can do it in Muse already. You place the content of the master page (or any page your on) on a layer above other content.

    I hope this helps.

  • Model presents itself as a blue square and not a notebook with a large e on my desk

    Hello there, hope you can help me.

    My models appear as a blue square with a white square inside rather than appear as a blank page with a big e when I see it on my desktop

    Inside my HTML editor my model displays correctly with the white page with the big E

    Just had my pc upgraded and reformatted.

    I need to know if there is a setting somewhere that will fix this problem

    Hello

    1. what the extension to these files?
    2 have you installed the necessary software to open these files?
    3. what happens when you try to open these files?

    This behavior occurs generally when you don't have installated in the application required to open the files.  In addition, this may happen by corrupt icon cache. To solve the problem, please rebuild the icon cache.
    a. click the Start button, and then click computer.
    b. in the toolbar, click on organize, then choose folder and Search Options.
    c. click on the view tab, check to select the hidden files and folders option, and click OK.
    d. then, enter the following directory:
     
    %USERPROFILE%\AppData\Local
     
    e. find the IconCache.db file and rename it to IconCache.db.old.
    f. close the window and restart the computer.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for