Deploying Content Selectors

How do I deploy Content Selectors to a remote server. They do not seem to be packaged
into the EAR from Workshop. They do not show up on the WebLogic Portal Console
Admin by default - is there something else that I need to do?
- Thanks,
Noam

This has changed significantly since 7.0 from an EBCC based Datasync to a file
or database driven framework. A little background: In development mode, the
portal utilizes the XML files to describe Content Selection Queries within ".sel"
files stored within the META-INF\data\contentselectors\GlobalContentSelectors
directory. This is also the case when deployed in an exploded format. Once deployed
in a production mode as an EAR file, the Portal loads these files into the database
via the Datasync webapp at http://server:port/portalDomainDatasync/index.html.
There, options are provided to "bootstrap" the Master Data Repository and view
the resultant rulesets, as well as to merge and overwrite the files by uploading
a JAR to the server.
"Noam Bunder" <[email protected]> wrote:
>
How do I deploy Content Selectors to a remote server. They do not seem
to be packaged
into the EAR from Workshop. They do not show up on the WebLogic Portal
Console
Admin by default - is there something else that I need to do?
- Thanks,
Noam

Similar Messages

  • Content Selector is not loading during deployment

    Hi Alll,
    I am using weblogic portal 10.2 and MySQL 5.0.
    I have created content selector during developement using workshop.
    and deployed the same EAR in Staging server.
    But content selector is not loaded after deployment.
    I got confirmation after checking adminconsole ->> Content Selectors(Which will be displayed in home page of admin console after login)
    And i can see that , other changes ,,JSP Changes...are reflected as part of deployment.
    Please let me know what might be the poblem,for not loading content selector??
    Is there any number of restrictions on number of content selectors for an environment??
    Srinivas

    hi
    production mode does have the behavior you see, and there are good reasons why this must be so.
    You mean to say, we need to propagate Content selectors from STAGING to PRODUCTION??Yes you need to propagate from an environment which has all the data you want correctly to your production environment. You can scope the propagation to only Content Selectors (if you want, the documentation has data how you can do this) and you can run this via GUI or via ANT.
    regards
    deepak

  • File repository Content Selectors not working

    Hi,
    I am using Weblogic Portal 10 with a file a file repository. When I add content using the admin console (for example an image of type image), I am able to view it. The file is also added to the file system. But for some reason the content selector is not able to retrieve it. Is there something obvious I am missing?

    Doing a local deployment to the server on my laptop, I found that I could recreate this if doing a deployment with the application in .ear format. Deploying from workshop, the application did not seem to have any issues. Did a successful deployment to the Test server this morning deploying with the .ear file in exploded format. Things seem to be working well.
    I think that we will change our deployment process to do deployments with the exploded .ear file. If anyone has run into issues with this type of deployment it would be interesting to hear. Closing the thread.

  • Slow response from Content Selectors

    We are running Weblogic 8.1 (sp4) and the associated Workshop IDE.
    In Workshop we built base content selectors which when run pull back a large pool of content (this was done as we don't seem to have the ability in Workshop to build a empty content selector). These content selectors are deployed, with the application, to the application server. The plan was when the application is run the user will be able to add query parameters to the base content selector by choosing items from drop down lists.
    During run time, in the application, the user can choose from multiple drop down lists to refine their search for content stored in the CMS. The code in the struts action classes takes these choices and builds queries. When the flow goes back into the JSP, the queries are appended to the base content selector using the tag parameter "appendQuery".
    We have found if one search criteria is chosen ,the resulting list comes back in seconds. The user can then choose an item from the list and have the document displayed in the page, again within seconds. To restate the flow: user selects one search criteria, the result takes say 10 seconds to get the document list, the user selects from the lists a specific document and it takes say an additional ten seconds to get the document rendered in the page. In the resulting list, the document title is a link which goes back to a content selector to retrieve the document. The content selector for the link is different than the content selector used to retrieve the list of documents.
    The problem case:
    Now if the user selects a value from each of the drop downs, to get to an exact document, the resulting search takes approximately two minutes. The result is always displaying a single document, there is no list in this case. We need to reduce the time needed to retrieve the document to an acceptable amount.
    Some of the debugging we have done up to this point shows that a large amount of time is spent in the JSP going into the content selector to find the document.
    Is there a known issue with using the "appendQuery" parameter in a content selector for multiple additional parameters?
    Should we be building our content selector queries differently?
    Is there something we need to do in the database to speed up the results?
    Any help will be greatly appreciated.
    Thank you,
    Robert

    In looking at this a little further, if we try to build a content selector in Workshop which uses all of the properties a user could choose. So basically we are hard coding in what could be a users choices. We are seeing a delay in the content coming back to the Content Preview window in Workshop.
    When building queries is there some known limit to the number of type Property values which can be used before there is a performance issue in getting the content returned by the content selector?
    Thanks

  • Is there a limit to the number of content selectors?

    <p>I'm on WebLogic 8.1.4.
    <p>I am using content selectors to pull metadata from Documentum, and I am currently experiencing 2 problems --
    <p>Problem 1) I can't seem to create subdirectories under \META-INF\data\contentselectors\GlobalContentSelectors\. If I do so, and create some content selectors under a subdirectory, it will not work. I would like to organize my content selectors into subfolders under the GlobalContentSelectors directory.
    <p>Problem 2) I have created about 22 content selectors under GlobalContentSelectors directory, and I can preview the results queried for each .sel file, under the "Content Preview" tab, either in WL Workshop or in the Portal Admin page. I.e., there are results returned for every content selector created. However, when I generate a portlet from the .sel file, and invoke the content selector in a .jsp file, the content selector returns 0 results. I've created a content query in the same jsp file with the exact same query as in the content selector, and that works fine in the jsp. Next, I tried deleting 21 of the content selectors, leaving the one content selector I was working with, restarted the server, and reloaded the jsp file, and this time it works. Then, I put back all 21 of the content selectors, and restarted the server, and it stopped working again. This is very bewildering. I see a stack trace in the logs, but I'm not sure if it is related (See below).
    <p>Does anyone have any idea why this is happening? Any help is greatly appreciated!!!!!!!!
    <p>
    <pre><Jun 28, 2005 3:24:18 PM PDT> <Error> <Rules> <BEA-401004> <An error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls. Refer to the root cause below.com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has encountered a fatal error condition; see embedded exception for details.
    at com.bea.p13n.expression.internal.parser.ExpressionParserImpl.parse(Ljava.lang.String;Ljava.io.Reader;)Ljava.lang.Object;(ExpressionParserImpl.java:190)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createRuleSet(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Object;(RuleSetPersistenceManager.java:523)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createDataItem(Lcom.bea.p13n.management.data.repository.DataRepository;Lcom.bea.p13n.management.data.repository.DataItem;)Lcom.bea.p13n.management.data.repository.Result;(RuleSetPersistenceManager.java:172)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(Lcom.bea.p13n.management.data.repository.DataItemOperation;)V(AbstractDataRepository.java:887)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(Lcom.bea.p13n.management.data.repository.DataSyncMessage;)V(AbstractDataRepository.java:826)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:217)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(Lcom.bea.p13n.management.data.repository.SyncRequestResultMessage;)V(AbstractDataRepository.java:980)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:226)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(Lcom.bea.p13n.management.data.repository.SyncRequestMessage;)V(AbstractDataRepository.java:945)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:222)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Ljava.lang.String;)V(AbstractDataRepository.java:679)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(Lcom.bea.p13n.management.data.repository.RefreshMessage;)V(AbstractDataRepository.java:742)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:212)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.refreshDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;)V(AbstractDataRepository.java:328)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Ljava.lang.String;Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:306)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:285)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.register()V(RuleSetPersistenceManager.java:495)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.<init>()V(RuleSetPersistenceManager.java:127)
    at java.lang.Object.emptyConstructor()V(Unknown Source)
    at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
    at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getRuleSetRepository()Lcom.bea.p13n.rules.manager.RuleSetRepository;(RulesManagerImpl.java:433)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContextPoolFactory()Lcom.bea.p13n.rules.manager.internal.ContextPoolFactory;(RulesManagerImpl.java:457)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.ejbCreate()V(RulesManagerImpl.java:559)
    at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_Impl.ejbCreate()V(RulesManager_jswjkk_Impl.java:135)
    at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=index, description=]. A rule with the same name already exists.
    at com.bea.p13n.rules.internal.RuleContainerImpl.add(Lcom.bea.p13n.rules.internal.Rule;)V(RuleContainerImpl.java:91)
    at com.bea.p13n.rules.internal.parser.core.CoreTransformVisitor.visit(Lcom.bea.p13n.rules.internal.parser.core.RuleSetNode;Ljava.lang.Object;)Ljava.lang.Object;(CoreTransformVisitor.java:157)
    at com.bea.p13n.rules.internal.parser.core.RuleSetNode.accept(Lcom.bea.p13n.rules.internal.parser.core.CoreVisitor;Ljava.lang.Object;)Ljava.lang.Object;(RuleSetNode.java:37)
    at com.bea.p13n.rules.internal.parser.core.CoreCompositeNode.accept(Lcom.bea.p13n.expression.internal.parser.expression.ExpressionVisitor;Ljava.lang.Object;)Ljava.lang.Object;(CoreCompositeNode.java:43)
    at com.bea.p13n.expression.internal.parser.expression.ExpressionCompositeNode.accept(Lcom.bea.p13n.expression.internal.parser.ast.Visitor;Ljava.lang.Object;)Ljava.lang.Object;(ExpressionCompositeNode.java:48)
    at com.bea.p13n.rules.internal.parser.core.CoreTransformVisitor.transform(Lcom.bea.p13n.expression.internal.parser.ast.Node;Ljava.lang.String;)Ljava.lang.Object;(CoreTransformVisitor.java:103)
    at com.bea.p13n.expression.internal.parser.ExpressionParserImpl.parse(Ljava.lang.String;Ljava.io.Reader;)Ljava.lang.Object;(ExpressionParserImpl.java:185)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createRuleSet(Ljava.lang.String;Ljava.lang.String;)Ljava.lang.Object;(RuleSetPersistenceManager.java:523)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.createDataItem(Lcom.bea.p13n.management.data.repository.DataRepository;Lcom.bea.p13n.management.data.repository.DataItem;)Lcom.bea.p13n.management.data.repository.Result;(RuleSetPersistenceManager.java:172)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.handleDataItemMessage(Lcom.bea.p13n.management.data.repository.DataItemOperation;)V(AbstractDataRepository.java:887)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDataSyncMessage(Lcom.bea.p13n.management.data.repository.DataSyncMessage;)V(AbstractDataRepository.java:826)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:217)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestResultMessage(Lcom.bea.p13n.management.data.repository.SyncRequestResultMessage;)V(AbstractDataRepository.java:980)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:226)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onSyncRequestMessage(Lcom.bea.p13n.management.data.repository.SyncRequestMessage;)V(AbstractDataRepository.java:945)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:222)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.notifyDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Ljava.lang.String;)V(AbstractDataRepository.java:679)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.onRefreshMessage(Lcom.bea.p13n.management.data.repository.RefreshMessage;)V(AbstractDataRepository.java:742)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.executeMessage(Lcom.bea.p13n.management.data.repository.Message;)V(AbstractDataRepository.java:212)
    at com.bea.p13n.management.data.repository.internal.MessageDispatcherImpl.sendMessage(Lcom.bea.p13n.management.data.repository.MessageExecutor;Lcom.bea.p13n.management.data.repository.Message;)V(MessageDispatcherImpl.java:90)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.refreshDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;)V(AbstractDataRepository.java:328)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Ljava.lang.String;Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:306)
    at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.addNotifiedDataRepository(Lcom.bea.p13n.management.data.repository.DataRepository;Z)Z(AbstractDataRepository.java:285)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.register()V(RuleSetPersistenceManager.java:495)
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.<init>()V(RuleSetPersistenceManager.java:127)
    at java.lang.Object.emptyConstructor()V(Unknown Source)
    at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source)
    at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getRuleSetRepository()Lcom.bea.p13n.rules.manager.RuleSetRepository;(RulesManagerImpl.java:433)></pre>
    <p>Here's the jsp file --
    <p>
    <pre><%--Generated by WebLogic Workshop--%>
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="http://www.bea.com/servers/portal/tags/personalization" prefix="pz"%>
    <%@taglib prefix="utility" uri="http://www.bea.com/servers/p13n/tags/utility"%>
    <%@taglib prefix="cm" uri="content.tld"%>
    <%-- Retrieve the content and display each node name in a list. --%>
    <h3>Test 1 - Using Content Selectors</h3>
    <pz:contentSelector rule="unify_cc_disclosures_bal_transfer" id="nodes"/>
    <font color="red">Query returned [<%= nodes.length %>] items.</font>
    <utility:notNull item="<%=nodes%>">
    <ul>
    <utility:forEachInArray array="<%=nodes%>" id="node" type="com.bea.content.Node">
    <li><cm:getProperty id="node" name="cm_nodeName" conversionType="html"/></li>
    </utility:forEachInArray>
    </ul>
    </utility:notNull>
    <h3>Test 2 - Simple query execution</h3>
    <cm:search id="mytest" query="a_webc_url='pages/unify/credit_cards/disclosures/bal_transfer.xhtml'" failOnError="true" />
    <font color="red">Query returned [<%= mytest.length %>] items.</font>
    <utility:forEachInArray array="<%=mytest%>" id="aDoc" type="com.bea.content.Node">
    <li><b>a_webc_url:</b> <cm:getProperty id="aDoc" name="cm_nodeName"
    failOnError="true" />
    <li>The <b>object name</b> is: <cm:getProperty node="<%=aDoc%>"
    name="object_name" failOnError="true" />
    <li>The <b>Id</b> is: <b>content link</b><cm:getProperty node="<%=aDoc%>"
    name="cm_uid" failOnError="true" />
    <li>The <b>path</b> is: <%= aDoc.getPath() %>
    <li>the is;
    <a href="<%=request.getContextPath() + /ShowBinary?nodeId=" +
    aDoc.getId() %>"/>Content</a>
    </utility:forEachInArray></pre>

    I don't think it's an issue of file length, however, as a test you could revert to your previously working file and place all the new CSS in a new file, and see whether that makes any difference.
    If you clear the error console and reload the page, do you get any unexpected style warnings? By unexpected, I mean things other than, for example, -webkit-transform is not recognized and is being dropped. Illogical messages can indicate an unnoticed typo.

  • Content Selector Results After Re-ordering the Content in Admin Console

    Hi All,
    I am working on weblogic portal 10.2 and MySQL 5.0
    I have created 3 sample contents in portal admin console.
    And I have re-ordered the contents as mentioned in documentation below.
    http://e-docs.bea.com/wlp/docs102/cm/contentTypesCm.html#wp1096803
    Once they are re-ordered , I can able to see the changed order in the table "cm_node"
    But if I am trying to access those contents using content selectors, with the created type, those contents are not coming in changed order.
    results of content selector is order of creation ,
    pls suggest how to get the results of content selectors as per latest re-ordered content
    Srinivas

    Hi
    Thanks for your reply...
    I tried as per your suggetion....But its showing following warning in the console.
    kindly help needed.
    <Nov 4, 2008 10:24:35 AM IST> <Warning> <Search> <BEA-415620> <Invalid sort criteria "toProperty(
    'beatools_defaultView') ASC". Property "beatools_defaultView" must be a system property or explic
    it property.>
    Regards,
    Srinivas

  • Content selector is not loading content in application

    Hi all,
    I am working on weblogic portal 10.2 and MySQL 5.
    I have created one content selector using workshop and i can preview the content in workshop
    Same content I can see using weblogic portal admin console.
    And written a JSP to display the content in it.
    But that content is displaying in JSP.
    Please let me know how to debug or findout rootcause for this type of problems.
    Regards,
    Srinivas

    Hi Srinivas
    Please send the JSP code snippet. Are you using this cs tag or pz tag or just have content API or content tags code to show the content. Please note that if you have Library Services enabled, only Published content will be shown. So make sure all your content is publised. There are many packages to enable for debug like com.bea.content.*. But first check your code snippet only.
    Ravi Jegga

  • Display PDF in JSP using a content selector

    Hello,
    We are running on WLP 8.1 sp4. We have documents (Word and PDF) stored in the Weblogic Portal content management system. We have made several tries, but are unsuccessful in rendering a PDF inside a JSP using Content Selector tags. We can get a link to display and other properties of the content type, but we have not been able to show the actual binary property of the PDF. Has anyone climbed this mountain before, any help will be greatly appreciated!
    Rob
    The following displays links to the documents, but not the actual document.
    <pz:contentSelector rule="novel_flu_db_archived_reports"
    id="fluArchiveQuery" />
    <utility:notNull item="<%=fluArchiveQuery%>">
    <utility:forEachInArray array="<%=fluArchiveQuery%>" id="docA" >
    <cm:getProperty id="docA" name="file" conversionType="html" />
    <ad:render id="docA" />
    </utility:forEachInArray>
    </utility:notNull>

    Thank you for the response.
    Option 1 - would be great, but I am having problems getting this to work (see thread "Problem accessing a file stored in the CMS from link on JSP")
    Option 2 - I need to look into, as we need to be compliant with Accessibility standards and I can't remember if IFrames pose any problems for screen readers.
    Option 3 - introduces an additional step to the work flow, we would like to avoid extra work (if possible)
    In looking through the archives, there was mention of a "stand alone" JSP which was not under a Portlet or the Portal. The PDF was displayed in the stand alone JSP where the mime type was altered to PDF. Would this be an option?
    -Rob

  • Publish the content selectors

    Hi
    I am Surya ,I am working in bea weblogic portal 8.1
    I want to publish the content selectors which is created in the Portal Admin
    How should i display the html file which i have uploaded?
    When i access my home page ,i could not see the html File which i uploaded in
    Content Item(Portal Admin under BEA Repository).
    Here is the step which i followed
    1.I have created content selector named "Home.sel" in contentselectors\GlobalContentSelectors
    Directory
    The parameters given are
    1.Start Date 1st June 2004
    2.I have created Type name "BPO" in the Portal Admin under BEA Repository
    The parameters Used are
    1.Start Date
    2.End Date
    3.File(i have Uploaded a html file)
    4.Author
    3.I have created a Content Item named "June2" in the Portal Admin under BEA Repository
    The parameters given are
    1.Start Date 1st June 2004
    2.End Date 30th June 2004
    3.File(i have Uploaded a html file)
    4.Author Suresh
    4.In my portal,i have added "<pz:contentQuery>" tag in Jsp to see the result in
    my "home.jsp" file
    <pz:contentQuery id="docs" query="author = 'Suresh'" />
    <ul>
    <es:forEachInArray array="<%=docs%>" id="aDoc"type="com.bea.content.Node">
    <li>The document Author is: <cm:getProperty id="aDoc" name="Author" conversionType="Text"
    />
    <li>The document File is: <cm:getProperty id="aDoc" name="File" conversionType="html"
    />
    </es:forEachInArray>
    </ul>
    Can you pls mail me the solution or hint
    Thanks in Advance
    Regards
    Surya

    Hi
    Use
    <pz:contentSelector rule="Home" id="nodes"/>
    <pz:contentQuery id="nodes" query="Author = 'Surya'" />
    <utility:forEachInArray array="<%=nodes%>" id="aDoc" type="com.bea.content.Node">
    <cm:getProperty id="aDoc" name="File" transactionTimeout="30" conversionType="html"
    />
    <cm:getNode path="<%=request.getContextPath() +aDoc.getPath()%>" id="myNode"/>
    <cm:getProperty node="<%=myNode%>" name="html" conversionType="html"/>
    </utility:forEachInArray>
    Key word here is
    transactionTimeout="30"
    Thanks
    Surya
    "Surya" <[email protected]> wrote:
    >
    Hi
    I am Surya ,I am working in bea weblogic portal 8.1
    I want to publish the content selectors which is created in the Portal
    Admin
    How should i display the html file which i have uploaded?
    When i access my home page ,i could not see the html File which i uploaded
    in
    Content Item(Portal Admin under BEA Repository).
    Here is the step which i followed
    1.I have created content selector named "Home.sel" in contentselectors\GlobalContentSelectors
    Directory
    The parameters given are
    1.Start Date 1st June 2004
    2.I have created Type name "BPO" in the Portal Admin under BEA Repository
    The parameters Used are
    1.Start Date
    2.End Date
    3.File(i have Uploaded a html file)
    4.Author
    3.I have created a Content Item named "June2" in the Portal Admin under
    BEA Repository
    The parameters given are
    1.Start Date 1st June 2004
    2.End Date 30th June 2004
    3.File(i have Uploaded a html file)
    4.Author Suresh
    4.In my portal,i have added "<pz:contentQuery>" tag in Jsp to see the
    result in
    my "home.jsp" file
    <pz:contentQuery id="docs" query="author = 'Suresh'" />
    <ul>
    <es:forEachInArray array="<%=docs%>" id="aDoc"type="com.bea.content.Node">
    <li>The document Author is: <cm:getProperty id="aDoc" name="Author" conversionType="Text"
    />
    <li>The document File is: <cm:getProperty id="aDoc" name="File" conversionType="html"
    />
    </es:forEachInArray>
    </ul>
    Can you pls mail me the solution or hint
    Thanks in Advance
    Regards
    Surya

  • How to know deployment contents

    My weblogic domain has some adf applications created by other people. I have not the source code. Some applications may conflict. How to know the deployment contents of these adf applications and extensions (such as soa, webcenter) of domain?

    You can take a look into deployment descriptors such as web.xml, weblogic.xml, application.xml, weblogic-application.xml, jazn-data.xml, and other files related to ADF applications.
    If your domain has been enabled with SOA Suite 11g or WebCenter Suite then you can look at for composite.xml, .bpel, and other deployment descriptors related to J2EE and SOA applications.

  • Content selector rules and EBCC, wlps3.5

    Hi
    I'm working on the migration of our portal/commerce app to 3.5 and I'm
    having trouble with EBCC.
    This is a simple rule I want to migrate from 3.2 to 3.5 :
    (Rule)
    Name: RetailerTipOfTheWeek
    Type: content.selector
    ContentType: LoadedData
    (When)
    (Then)
    (New)
    ClassName: ContentQuery
    CONTENT.language eq USER.b2boost.favorite_language
    CONTENT.startDate lte now
    CONTENT.endDate gt now
    Its purpose is to return documents in the correct language and whith a
    validity period (startdate and enddate) active. This allow us to have for
    example a document visibile from August 1st to August 15th.
    Using EBCC, I can't find a way to use "greater than" or "lesser than" on
    date attributes of the LoadedData property set. It was possible with 3.2 so
    I assume it's possible unless some features were taken away. Can you tell me
    how to do this?
    Thanks a lot!
    Nicolas

    Nicolas,
    I'm not sure what you want to do.
    I have attached an image which shows creating a content selector where
    creationDate is between two times. This was created using WLP 7.0, but I
    was under the impression that the code for displaying this dialog has
    not changed. (I could be wrong though).
    Thanks,
    Jalpesh.
    Nicolas Lejeune wrote:
    Hi
    I'm working on the migration of our portal/commerce app to 3.5 and I'm
    having trouble with EBCC.
    This is a simple rule I want to migrate from 3.2 to 3.5 :
    (Rule)
    Name: RetailerTipOfTheWeek
    Type: content.selector
    ContentType: LoadedData
    (When)
    (Then)
    (New)
    ClassName: ContentQuery
    CONTENT.language eq USER.b2boost.favorite_language
    CONTENT.startDate lte now
    CONTENT.endDate gt now
    Its purpose is to return documents in the correct language and whith a
    validity period (startdate and enddate) active. This allow us to have for
    example a document visibile from August 1st to August 15th.
    Using EBCC, I can't find a way to use "greater than" or "lesser than" on
    date attributes of the LoadedData property set. It was possible with 3.2 so
    I assume it's possible unless some features were taken away. Can you tell me
    how to do this?
    Thanks a lot!
    Nicolas
    [temp.gif]

  • Programatically passing values to a content selector

    HI,
    Currently Iam manually providing values to a property while creating a content selector from BEA Workshop.
    Please let me know whether it is possible to programmatically pass values to a property while creating a content selector from BEA Workshop.
    Thanks and Regards
    Karthik Dhanaraj
    email : [email protected]

    Hi
    have you looked at pz:contentSelector tag , the query and appendQuery attribute?
    query
    Optional (String) - A content query string used to search for content. This query overrides any query that was defined for the Content Selector in the Content Selector designer.
    Example:
    query="cm_contentType contains 'text' && author='Salinger'".
    appendQuery
    Optional (String) - A content query string to append to the resulting content query from the rule. If the content selector rule conditions do not match, this value will be ignored. If this value starts || (two vertical bars), it will be logically OR'ed with the content query. If it starts with && (two ampersands), it will be logically AND'ed with the content query. If it doesn't start with || or &&, it will be logically AND'ed with the content query
    You can also programmatically achieve what this tag does
    regards
    deepak

  • Templates for deploying content management in sap ep at user end

    Where i can find templates for deploying content management at user end in sap enterprise portal ? or Please suggest me about default templates provided by sap if any for content management ?
    Regards-
    Sumeet Sharma

    My question is not yet answered
    hi, I want to know about Templates in the sense that what the information should be collected or form shoud be filled up for deploying content management at user's end from the user.?
    what must be the contents for that form or template for content management or user id creation......?
    Plz Reply...?
    Thank's in advance
    Regards-
    Sumeet Sharma

  • Corrupted Content Selectors

    I recieved the following error after running a Content Selector - which causes
    ALL of my Content Selectors to stop functioning - and NO content to render.
    "'weblogic.kernel.Default'> <<anonymous>> <BEA1-1CBD107156D1> <BEA-401004> <An
    error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls.
    Refer to the root cause below.
    com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has
    encountered a fatal error condition; see embedded exception for details."
    "Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=FWS_Forms_LM,
    description=]. A rule with the same name already exists."
    Any ideas?
    - Noam
    [wl-domain.log00002]

    Did you clone one of the .sel files without opening it in Workshop? This
    is a known issue (CR106758 -
    http://e-docs.bea.com/wlp/docs81/relnotes/relnotes.html#1067991).
    This error will occur if 2 .sel files in
    contentselectors/GlobalContentSelectors have the same
    <cr:name>...</cr:name> value, since that is what the rules parser uses
    to generate the internal rule representations (the file names don't
    really matter to the parser).
    Otherwise, I'm a bit stumped. Try refreshing and notifying all
    repositories in the datasync webapp for the application and see if it
    goes away.
    Greg
    Noam Bunder wrote:
    I recieved the following error after running a Content Selector - which causes
    ALL of my Content Selectors to stop functioning - and NO content to render.
    "'weblogic.kernel.Default'> <<anonymous>> <BEA1-1CBD107156D1> <BEA-401004> <An
    error occured parsing the rule set XML document with URI /contentselectors/GlobalContentSelectors.rls.
    Refer to the root cause below.
    com.bea.p13n.expression.internal.parser.ParseException: The parsing engine has
    encountered a fatal error condition; see embedded exception for details."
    "Caused by: java.lang.IllegalArgumentException: Invalid rule Rule [name=FWS_Forms_LM,
    description=]. A rule with the same name already exists."
    Any ideas?
    - Noam

  • Error when adding content selector

    Hi guys, I have a portal which is derived from the sample portal. Everything works
    fine except for the fact that when I try to add a content selector, I get an error
    message saying that there is a server communication error. The line generated
    in the server log file is the following:
    ####<Jun 14, 2004 12:40:01 PM EDT> <Debug> <HTTP> <GMC-200808> <portalServer>
    <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <BEA-101147>
    <HttpServer(20881442,null default ctx,portalServer) Found no context for "/AEPortalAppTool/PropertySetWS".
    This request does not match the context path for any installed Web applications,
    and there is no default Web application configured.>
    I verified most configuration files and did alot of testing, but I just can seem
    to find what causes this. If I run my portal in the test browser, it's fonctional
    and communicates fine with server for several tasks including authentication.
    Anyone has a clue ?!?!
    Thanks!

    Oh, that's weird. You're right, right after I change the link it turn out working after few minutes. Thanks a lot :)
    BTW, can I ask you once more question? It's about margin selector. Normally, if I put and "auto" value into "margin" it suppose to be center right? But in this code it won't (I never see this sintulation before)
    <style>
    main {
    background: rgba(0,0,0,.4);
    position: absolute;
    margin: 20px auto;
    padding: 5px;
    width: 1000px
    </style>

Maybe you are looking for

  • Linked Office 2013 Home and Business to incrorrect Microsoft account.

    Hi Guys, I was installing Office 2013 Home and Business for a customer and I accidentally linked the Office product key to my own personal Microsoft account. How can I transfer this to the customers correct Microsoft account? Thanks Aled

  • Error in IDOC segment

    Hi guys I have a problem here with IDOCs. I am getting this nasty entry in a field of a segment of my message type. Because of that entry my IDOC is failing but at the same time there are similiar IDOCs with everything same and they are posted OK. I

  • CUA: Cannot generate partner profile

    Hi, I´am implementing CUA in ower landscape. I have the RFC´s and users with their specific roles in Central and child systems, but also I´ve registered the logical systems in BD54 both parts. I had no problems with this SAP process . Recently I bega

  • How to make JACK stop blocking /dev/dsp?

    I'm currently using JACK (with -d alsa) for my sound mixing needs. However, some of my applications use OSS exclusively. Is it possible to make JACK unblock /dev/dsp so those apps can use it when JACK is running? (Note that I don't need mixing of OSS

  • Subscription payment failure, AGAIN!?!?!

    Hi, this is like the third time I´ve had seriously problems with my Spottily Premium monthly debilitation (I have a subscription). This meens me going to work and all sudden some not very nice and really loud commercial screams in my ears and when I