Content Server - Delete Item Presentation Template code?

I know the code to create a content item:<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?fid=" + detFolderId + "&det=(data entry template name)
And to edit a content item:<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='item.pcs_id'></pcs:value>
But what about deleting a content item?
Thanks! Tim Halbach Stiefel Laboratories

I was wondering, did you find out if this is possible. We are trying to do this. as well. We have been able to setup the Editing from the Portlet level, but haven't found a way to handle deletes.

Similar Messages

  • Content Server 6.40 Presents a Save As dialog for ContentServer.dll file

    hi All
    we have installed successfully the content server 6.40 on a windows 2008 with iis 7 environment. The installation wen successfully with no errors. however when we run a test by calling the URL http://<server>:<port>/ContentServer/ContentServer.dll?serverInfo URL, instead of getting a response, we are getting a save as file dialog to save the dll file.   Also, after the installation, even with the install website tick checked, the website was not installed. we had to do the installation of the website manually for the port.
    With content server 620 on windows 2000 this was never the case
    if anywone has an idea on how to resolve the issue, please advice
    Regards
    Ronny

    GOT the Solution
    to anyone else who could be going through the same issue, see if the solution below solves your issue
    The website should get created if all the roles in IIS 7.0 are installed. Therefore, please try to install the IIS 7.0 by selecting
    all the roles followed by installation of the SAP Content Server. By doing so, websites should be created automatically.
    In the IIS 7.0, all the roles are not selected during the installation by default. Please make sure all the below roles are included and IIS 7.0 is installed, as per the installation manual for the Content Server on Windows 2008:
    Roles needed in IIS 7.0.
    Common HTTP Features
    Static Content
    Default Document
    Directory Browsing
    HTTP Errors
    HTTP Redirection
    Application Development
    ISAPI Extensions
    ISAPI Filters
    Health and Diagnostics
    HTTP Logging
    Logging Tools
    Request Monitor
    Tracing
    Custom Logging
    ODBC Logging
    Security
    Basic Authentication
    Windows Authentication
    Request Filtering
    Note : Anonymous Authentication should be enabled which is done by
    default.
    Performance
    Static content Compression
    Dynamic Content Compression
    Management Tools
    IIS Management Console
    IIS Management Scripts and Tools
    Management Service
    IIS 6 Management Compatibility
    IIS 6 Metabase compatibility
    IIS 6 WMI Compatibility
    IIS 6 Scripting Tools
    IIS 6 Management Console
    I hope it helps someone!

  • Pcs:if tag error in Content Server presentation template

    This probably isn't the right discussion group, but I couldn't find a group to which this inquiry applies.
    Anyway, I'm working on Content Server (5.0.2) presentation template code, using a pcs:if tag, that looks something like this:
    <pcs:foreach var=&#034;item&#034; expr=&#034;itemList&#034;>
         <pcs:if expr='item == &#034;Cats & Dogs&#034;'>
              Print something
         </pcs:if>
    </pcs:foreach>
    After clicking &#034;Save&#034; or &#034;Validate&#034; (to validate my code), I receive the following error message:
    Error: Expected to find an apostrophe (') ending the attribute value, and did not.
    <pcs:if expr='item == &#034;Cats & Dogs&#034;'>     // <--- the ampersand is highlighted
    In other words, the validator doesn't know how to escape the ampersand (&) inside my string (&#034;Cats & Dogs&#034;).  I've tried numerous ways to escape it, but, so far, nothing has worked.  Replacing the ampersand with &#034;&&#034; effectively changes the string, so that doesn't work either.
    Please let me know if you have a solution to this.
    Thanks,
    -Jose

    Hi,
    I am new to this field.
    Kindly bear with me & guide me how to verify the password in SM59.
    I went there,but not sure of it.Please let me know.
    Regards,
    john.

  • Creation of new entity on ADEP content server fails

    Hi. 
    I get the following error when trying to persist a new instance of an entity into the content (experience?) server:
    Create Item Failed, RepositoryException: {Code}-LCC-REP-FCT-002, {Message}-Access denied
    The new instance is defined in a Flex GUI and connected to the content Server through Data Services.  The error occurs when I try to develop the simple app shown in
    Session #9: Using Model Driven Development with Persistence in the ADEP Content Repository (http://www.youtube.com/watthech?v=rNnLC8fADlc).
    I have loaded the sdk, samples and cmis packages.  RDS and Unsecured RDS are enabled on the server.  The Deployment Handler is set to content on the Flex GUI.
    I think it fails becuase the app does give appropriate security creditials to the server, but don't know how to do so (as commented by Hodmi on the YouTube page).
    Would appreciate any help to make progress as I am keen to see what ADEP can do.
    Regards
    Jamal

    Jamal-
    Check out this link: http://learn.adobe.com/wiki/display/ADEPSamples/Model-driven+Development
    In the Run the Application section, the step I've copied below will solve your issue.  I actually did not change the permissions on the "content" node (step 4), but selected my application node under content, and that also worked.
    Have fun with ADEP!
    -Matt
    PS-Thanks to Gary for pointing me in the right direction for this answer.
    To create node or delete node when running the application, you can  use anonymous user but you need to configure the ACL for the user  according to the following steps:
    Open http://<server_name>:<server_port>.
    Enter admin/admin as user name/password, click Sign In.
    Click Content Explorer in the right side panel.
    Click the node “content” in the left tree.
    In the top bar, click Security > Access Control Editor.
    Click the check box next to ACL, then click Set selected policies.
    Click New ACE, and then click Browse, select user, and click Search Now, select anonymous, and click select.
    In Privileges list, select jcr:all.
    Click the Green arrow, and then click OK
    Note: If you want to add  authentication for the application, the login page should be needed, and  you can refer to the detailed sample code to learn how to add  authentication to such applications.

  • Deleted Items recovery in Outlook question

    I recently implemented a policy to users deleted items boxes via Exchange Server 2007.  I applied this policy to just a few users to test it out and all appears to working well.  The policy is set to delete any items that hit the deleted items
    folder and sit there for seven days.  My question is in regards to the deleted items recovery feature in Outlook.  Does the policy I created in Exchange overwrite the server deleted item retention of 30 days?  So, being that I currently have
    the Exchange Server deleted item retention set at 30 days when I click on my deleted items box in Outlook and then on the Recover Deleted Items option under tools I should see 30 days of deleted emails right?  When I do this I only see two emails though...
    Can someone help clear this up for me please? Thanks - Abacus

    Hi,
    What’s the version of Outlook?
    Deleted item retention must be configured on the server. Otherwise, there will be no deleted items
    stored in the dumpster available for recovery. By default, the DumpsterAlwaysOn
    registry key is set to 1 in Outlook 2007, so all folders are enabled for deleted item recovery. By default, all folders are recoverable on the Exchange server.
    In Outlook 2003 and earlier versions, only the
    Deleted Items folder is enabled for recovery by default. All folders are recoverable, however, you must enable the ability to see the items in the dumpster. You must use the DumpsterAlwaysOn
    registry key to recover hard-deleted items, which are those items that were deleted while holding down the SHIFT key and that were never moved to the
    Deleted Items folder.
    More information:
    How to Recover a Deleted Item
    Recover deleted items

  • Reformat Content Server Error

    Sometimes we get an LDAP error. This causes UCM to display a content server error page to the user. It has the message that 'content server failed' and then some small detail. The page has a navigation bar on the left.
    We would like to catch errors like this and format a nice error page that the user is not stunned with.
    I thought about a custom component in the check credentials service that would do a redirect to our new web page but not sure this would work.
    Any ideas would be a help.
    Thanks

    You could also build a component that contains a new error page template (with the same name as the original one and with a load order that'll make the content server show your custom template instead of the original one). You do not have to change any of the services for this to work and your end users will always see the same template whenever they get an error.

  • Custom content presenter template - multiple items

    I am having an issue with using custom content presenter template...
    Here are the steps I took:
    *1. I created a single item display template veventItem_CP.jsff*
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <dt:contentTemplateDef var="node">
        <af:panelGroupLayout id="pgl1" layout="vertical">
          <af:outputText value="#{node.propertyMap['dDocTitle'].value}" id="ot1"/>
        </af:panelGroupLayout>
      </dt:contentTemplateDef>
    </jsp:root>
    and create a portal resource:
    Content Repository Name: UCM
    Content Type: IDC:Profile:Event
    Content Type Default View: true
    View ID: veventItem_CP
    *2. I created multiple item display template veventsList_CP.jsff*
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <dt:contentListTemplateDef var="nodes" >
        <af:panelGroupLayout id="nodeListPanel" halign="left" layout="vertical" valign="middle" inlineStyle="text-align:left;">
          <af:iterator rows="0" id="i1" var="node" value="#{nodes}" varStatus="iterator"  >
              <af:commandLink text="#{node.propertyMap['dDocTitle'].value}" id="cl1"/>
              <dt:contentTemplate id="listitem" node="#{node}"
                    view="veventItem_CP"
                    nodesHint="#{node}"/>
          </af:iterator>
        </af:panelGroupLayout>
      </dt:contentListTemplateDef>
    </jsp:root>
    and create a Portal Resource:
    Category Name: events
    Category ID: *
    Category Default View: true
    View ID: veventsList_CP
    *3. I drag and drop a folder from my UCM connection onto home.jspx and enter the following parameters into the binding:*
        <taskFlow id="eventsContentPresenter"
                  taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="taskFlowInstId"
                       value="${'cd6c7cd6-2c74-4e6c-a711-a748d9abd0d8'}"/>
            <parameter id="datasourceType" value="${'dsTypeFolderContents'}"/>
            <parameter id="datasource"
                       value="${'AcqUCM#dCollectionID:133054394311000404'}"/>
            <parameter id="templateCategory" value="${'events'}"/>
            <parameter id="templateView" value="${''}"/>
            <parameter id="regionTemplate" value="${'false'}"/>
            <parameter id="maxResults" value="${''}"/>
          </parameters>
        </taskFlow> Then when I deploy the code the error I get is:
    <TemplateRegistry> <getListTemplateViewId()> No default template view specified for category id 'events'. Returning the default view for the default category.

    Hey Yannick,
    I think you are mistaken...
    I am using a contentListTemplate, and in the developer's guide it says to use the templateCategory for multiple-item content presenter templates. When I do what you suggested, my veventsList_CP doesn't work and the ADF default tempalte is used.
    I accomplished what I needed to accomplish on the home page by re-writing my veventsList_CP to not use the nested template:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core">
      <dt:contentListTemplateDef var="nodes" >
        <af:panelGroupLayout id="nodeListPanel" halign="left" layout="vertical" valign="middle" inlineStyle="text-align:left;">
          <af:iterator rows="0" id="i1" var="node" value="#{nodes}" varStatus="iterator"  >
            <af:panelGroupLayout id="pgl1" layout="vertical"
                                 inlineStyle="padding-left:10px; padding-top:10px;">
              <af:commandLink text="#{node.propertyMap['dDocTitle'].value}" id="cl1"
                              inlineStyle="font-size:small; font-weight:bold;"/>
              <af:outputText value="#{upcomingEventsBean.dates}"
                             id="ot2"/>
            </af:panelGroupLayout>
          </af:iterator>
        </af:panelGroupLayout>
      </dt:contentListTemplateDef>
    </jsp:root>
    Now I need to make the commandLink direct to a content presenter display template that shows all of the event's metadata. I've done this before by using the default navigation model, but never programmatically. I will give it a try and report how it goes.
    Edited by: ilovebuffets on Sep 19, 2011 11:42 AM

  • Displaying img from content server thr' content presenter display templates

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

    Hi,
    I have created a static list element definition which contains three elements i.e. plaintext, image and WYSIWYG.
    I have accessed the plaintext and WYSIWYG elements on Content presenter template using
    <af:iterator var="items" value="#{node.propertyMap['ARTICLE_RGD:chapters'].nestedProperties}">
    <af:outputText id="ot1" value='#{items[0].value}'/>
    <af:outputText id="ot3" value="#{items[2].value}"/>
    </af:iterator>
    But may i know how to access the image element on the static list. I tried this with <af:image> tag
    <af:image styleClass="test" source="#{items[1].url}" shortDesc="Test" id="idtest" inlineStyle="float:left;"/>
    As the source tag of af:image tag requires an uri, and as we are passing the url, the image is not getting rendered.
    As there is no uri property on the node attribute, Kindly help to fetch the image element from CS.
    Not only in static list, may i know how to render the image element in adf from CS
    Thanks
    S. Muthukumaran

  • Can I create multiple presentation templates against one content item?

    I want to create multiple presentation templates that publish the same content item in different ways.
    As far as I can tell from the publisher GUI this is not possible.
    Am I missing something?

    It may not be feasible to have two PT associated with a DT technically. But there is a workaround / solution for your requirement. thats what i meant in my prev post.
    To accomplish your requirement in a simple fashion try doing this
    1) copy the contents of all PT, DT and Content Items with all its folders in the _NEWS (portlet templates) folder to a new folder called 'PortletA' (or) make use of the News portlet template to create a portlet
    2) Now modify the DT's and PT's according to your requirement.
    3) Create a portlet using "Published Content" webservice and configure the 'Main' to your portlet.
    4) if you create and pblish new article, you can find two html's are getting published.
    If this doesn't resolve your requirement,
    Create two sets of Dt & Pt's. In the article PT, try to add the other Pt as "related items to publish", so on publishing one the other one gets published.
    Bharat Karthik
    [email protected]
    http://www.eminenttech.com/
    Edited by bharatkarthik at 09/05/2007 2:35 PM

  • How to display all value of metadata from nodes collection model in content presenter template

    Hi All,
    first of all the new look of OTN is great.
    coming to problem i am facing (i dont know whr to ask here or in portal forum).
    i am creating a content presenter template to display list of items.
    now as per requirement i need to create a drop down to filter the list.
    now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
    i have to display similar category list on portal to allow user to filter list.
    i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
    also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
    so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
    somthing like this
    #{nodes.xCategory} (but this one is not correct).
    please suggest me any solution.
    thanks
    -somesh

    Hi,
    you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
    I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
    However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
    Frank

  • Trouble creating content presenter template

    I'm trying to create a template for the content presenter that will display a table view of files in a folder.
    I tried creating a custom template based off the sample list-detailed-tabular-view.jsff that was included. but I am having trouble figuring out what my error is.
    When I export the template I can successfully upload it to webcenter but when I try to apply the template to a content presenter the page goes blank and I have to go back to administration to disable the template to get the page to load again.
    After several failed attempts I even tried copying the sample table template directly without changing any of the code but when I apply it the page still goes blank and becomes inaccessible
    This only happens when I try to create a template that calls another single template. I was able to get a template working that was for a single item, but I need to get the documents under a folder to work...
    How can I troubleshoot whats causing the error? I am new so I have a feeling I may be missing some steps when creating,exporting, or uploading the template.
    Below are the sources for the 2 templates, do I have to create anything else besides a .jsff file?
    Single Item which works by it self:
    <?xml version = '1.0'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates">
    <dt:contentTemplateDef var="node">
    <af:goImageLink text="#{node.name}"
    id="gil1" icon="#{node.primaryProperty.icon.smallIcon}"
    destination="#{node.primaryProperty.url}"
    targetFrame="_blank"
    shortDesc="#{not empty node.propertyMap['xComments'].value.stringValue ? node.propertyMap['xComments'].value.stringValue : node.primaryProperty.value.binaryValue.name}"
    rendered="#{not empty node}">
    <af:showPopupBehavior triggerType="mouseOver" popupId="::cpPopup"/>
    </af:goImageLink>
    <af:outputText id="emptyot" value="#{templateBundle.EMPTY_NODE}"
    rendered="#{empty node}"/>
    </dt:contentTemplateDef>
    </jsp:root>
    The Table Template that calls the single item (this is what seems to break the page when I activate it)
    <?xml version='1.0' encoding='utf-8'?>
    <!-- Test -->
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:dt="http://xmlns.oracle.com/webcenter/content/templates">
    <dt:contentListTemplateDef var="nodes">
    <jsp:include page="./support/miniView.jsff"/>
    <af:table rowSelection="none" columnSelection="none" columnStretching="column:c1"
    columnBandingInterval="0" rowBandingInterval="1" var="node" value="#{nodes}"
    summary="#{templateBundle.DEFAULT_TABULAR_LIST_TEMPLATE_DESC}" id="tblRslt"
    emptyText="#{templateBundle.EMPTY_NODES}" styleClass="AFStretchWidth"
    autoHeightRows="25">
    <af:column id="c1a" rowHeader="unstyled"
    headerText="#{null}"
    rendered="#{userPreferences.accessibilityMode=='screenReader'}">
    <af:outputText value="#{node.name}" id="ot1"/>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_DOCUMENT}"
    sortable="true" align="left" minimumWidth="200"
    sortProperty="name" id="c1">
    <dt:contentTemplate node="#{node}"
    view="keith.list.item"
    nodesHint="#{nodes}" id="ct1"/>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_MODIFIED_DATE}"
    sortProperty="modifiedDate" sortable="true" align="end"
    id="c2">
    <af:outputText value="#{node.modifiedDate}" id="ot2">
    <af:convertDateTime type="both"
    timeZone="#{generalSettings.userTimeZone}"/>
    </af:outputText>
    </af:column>
    <af:column headerText="#{templateBundle.COLUMN_MODIFIED_USERNAME}"
    sortProperty="modifiedBy" sortable="true" align="end"
    id="c3">
    <af:outputText value="#{node.modifiedBy}" id="ot3"/>
    </af:column>
    </af:table>
    </dt:contentListTemplateDef>
    </jsp:root>
    Also if anyone knows where I can find tutorials to learn how to create the templates that would be great.

    You may want to repost your question in the WebCenter Portal forum. The problem is likely not on the Content Server side.

  • Recover deleted document from Oracle content server

    Hi All,
    I've deleted some of documents from oracle content server mistakenly. I am using oracle ucm11g.
    I found that we have a feature called "Trash bin". Trash-bin used for recover the deleted document/folder but unluckily settings for "Trash Bin" is disabled in my UCM folder configuration.
    Is there any other way to recover?
    Please kindly help me on this. It's an urgent production issue, please.
    Thanks for your great support in advance.

    Is there any other way to recover?
    Try to take a look at Repository Manager admin application: http://docs.oracle.com/cd/E21764_01/doc.1111/e10978/c03_repository.htm#DAFCGDIE
    If you still can see your items there, you could recover the status.
    If not, I'm afraid your documents are gone from UCM. In that case, you might recover them from a back-up. There is also a chance that documents are still present in the Vault directory, so rather than 'recover', you might 're-submit' them.

  • Get Content Security Role using PCS tags in Presentation Template

    I'm trying to determine what content security access(role) a user has in Publisher using PCS tags in the Presentation Template. Basically I need to check whether a user has access or not to a content item in Publisher and before an action. I've looked through all documentation can't find anything related to this, I know I could do this using remote API but I'd rather use PCS tags if possible.
    thanks

    Vince,
    I don't think this is possible directly, however we have enabled this in publisher by checking if the user is in a specific group, or content manager and doing a check with the following code if it helps.
    <pt:standard.choose xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>
    <pt:standard.when pt:test="stringToACLGroup('group=1,<pcs:value expr="groups"></pcs:value>;').isMember($currentuser)" xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'>
    </pt:standard.when>
    </pt:standard.choose>
    You could do the same with users. We added a select tree to choose the users and groups within publisher.
    Hope this helps.

  • Custom Content Presenter Template gives Empty result

    Hi All,
    I am Using Jdev 11.1.1.6 and am trying to display UCM content via a custom template using content presenter.
    I have a page with the following:
    <af:region value="#{bindings.doclibcontentpresenter1.regionModel}" id="r1"/>
    The bindings for the content presenter taskflow:
    <taskFlow id="doclibcontentpresenter1"
    taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="taskFlowInstId" value="${'photo'}"/>
            <parameter id="datasourceType" value="${'dsTypeQueryExpression'}"/>
            <parameter id="datasource"
                       value="#{backingBeanScope.NewsBean.photoContentQuery}"/>
            <parameter id="templateCategory" value="${''}"/>
            <parameter id="templateView" value="${'templates.photos.list'}"/>
            <parameter id="regionTemplate" value="${false}"/>
          </parameters>
    </taskFlow>
    And the photoContentQuery bean method return result of the Query i.e  SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xRegionDefinition = 'PHOTO_REG_DEF' AND ora:p:xArchiveFlag<>'No' ")
    I have a fragment with the portal resource attributes set as:
    Category name = Default Templates
    Category ID = oracle.webcenter.content.templates.default.category
    Category Default View = true
    View ID = templates.photos.list
    The above fragment has this code: I also made this fragment has portal resource.
    <dt:contentListTemplateDef var="nodes">
            <af:panelGroupLayout id="pnlContainer" layout="vertical"
                                 >
                <af:iterator id="pagList" value="#{nodes}" var="node" >
                    <af:panelGroupLayout layout="horizontal" rendered="false">
                    </af:panelGroupLayout>
                        <af:panelGroupLayout id="pnlContent" layout="vertical">
                         <dt:contentTemplate node="#{node}"
                              view="template.photo"
                                nodesHint="#{nodes}"/>
                    </af:panelGroupLayout>
                </af:iterator>
                </af:panelGroupLayout>
      </dt:contentListTemplateDef>
    and
    <dt:contentTemplate node="#{node}"
                              view="template.photo"
                                nodesHint="#{nodes}"/>  this is another pagefragment contains the following code.
    <dt:contentTemplateDef var="node">
        <af:panelGroupLayout id="pgl2">
          <af:panelGroupLayout id="pgl1" layout="vertical" styleClass="photoImg">
            <af:outputText value="#{node.propertyMap['PHOTO_REG_DEF:PHOTO'].asTextHtml}"
                           id="ot1" escape="false"/>
          </af:panelGroupLayout>
        </af:panelGroupLayout>
      </dt:contentTemplateDef>
    When I run my project on the Integrated WebLogic Server and when I click on my page, the data is coming empty.
    When I see the Administrator console, this content presenter template is in Hidden by default. I just edit the template and made it availabe. But still am unable to get result in the required template.
    On my page, if I do not specify the  <parameter id="templateView" value="${'templates.photos.list'}"/>, then I will get the result with default content presenter template.
    Could any one please help me out?
    Thanks
    Kotresh

    Hi,
    I am able to get the result with required custom content presenter template. But every time when I run the project , I need to explicitly need to make it "show" my custom content presenter display template i.e. in the Administration console, initially it is in Hidden state, I need to edit and make it show.
    I already made this template as portal resource  but why it is still be in Hidden state. what extra step do I need to make in order to move it to "show" state?
    Thanks
    Kotresh

  • MS Word Template in Content Server

    Hi, we have this problem.
    we have a Z transactions asking the user to give some data and save it in a table with key number, the user can attach several documents (.DOC) from local pc and transaction use content server to store these documents and linked it to the data stored in table via the key document. all of this is working fine. we are using  ARCHIVOBJECT_CREATE_FILE and ARCHIV_CONNECTION_INSERT functions to save this file in content server and link the document to the key number.
    now we are trying to make the transaction open a  MS  word template , the user fill the word document and when its done the transaction save it in content server
    some can give some help to do this?
    we are searching a way to :
    1.- store a Ms Word template in SAP
    2.- Open this MS Word template with a button in the  Z transaction.
    3.- Let the user fill the template .
    3.- save the document filled in content server without change the original template and linked to the data with the same key number.
    thanks.

    All catch is to insert table in the correct level of xml schema.
    1. So you first need to insert add elements to the template until you reach the element that you want to use in the table. For example if you want to display items of orders, this level would be Transactionhistoryofheader - Btdocflowall - Item
    2. After that you would insert table with 2 rows and as many columns as you need.
    3. The first row of the table is used for column headers. You can type in freely any text you want to display in column headers.
    4. The second row of the table is for the entries themselves. In the second row you have to add elements from the xml schema that are in the lower part of the element under which you inserted table. For example, under Transactionhistoryofheader - Btdocflowall - Item are then next nodes Btorder - Administrationheaderoneorder - Description. So in this case in first column will be displayed descriptions of all entries.
    5. At runtime rows are added dynamicly depending on actual number of entries.
    Regards.

Maybe you are looking for