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

Similar Messages

  • Error occurred while publishing the content item to the Knowledge Directory

    We are receiving the following error upon publishing non-binary content items to the knowledge directory:
    Error occurred while publishing the content item to the Knowledge Directory. Contact your portal administrator.
    Ironically, in the KD, we call see all content items located in Publisher when we are in Edit mode -- even though they haven't been published to the KD yet. In Browse mode, we can't see any content items.
    Has anyone see this error before? What could be the cause?
    We are using ALUI 6.1.

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • Publishing the content item.

    Hello,
    I have designed a workflow portlet. I have used the workflow tracker portlet to show the varies stages at which the request is pending. But at the end of the workflow i would like to notify the user that his request has been approved. Is there any portlet in the content server to do that ? If any pl let me know.
    Thanks.

    Hi,
    If you are seeing the documents in the Knowledge Directory and in edit mode, but not browse mode then check/try the following. What exactly were you doing when you got the error? Were you in Publisher or in the Knowledge Directory and running the Simple Submit task?:
    1. Try to approve the documents in edit mode.
    2. Go to the Administrative->Intrinsic Operations and run the following jobs.
    --> Search Update 1
    3. Make sure you have proper permissions on the folder in the Knowledge Directory and Publisher Folders.
    4. Check the permissions on the Content Source for the Knowledge Directory
    I need a little more information to get your better help.
    tnx
    James

  • 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.

  • 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.

  • Problem publishing database contents from non-unicode to unicode system

    Hello everyone!
    We just set up a new SAP WAS based on Netweaver 2004 as a unicode system. Out problem now is that we have a content management system on our non-unicode system and that we are publishing the contents via rfc to the WAS unicode system to display the contents online. the contents are stored in our own database tables.
    The problem thereby is that many texts pasted from microsoft word contain special characters like bullets, long minus or low-9 quotation marks which are not correctly displayed in the unicode system / on the website. we already found out that it has something to do with the codepage. the sap notes say we should use 1160 instead of 1100 and that the transaction SPUMG would be helpful. but we are not able to select any tables there.
    so now we do not know what to do exactly. do we have to change something in our non-unicode system or do we have to conversion in our unicode system. and what happends if content containing special microsoft word characters is published after the spumg conversion? do we have to to this frequently?
    We would be glad if anyone could help.
    Thanks a lot!

    Hi Martin,
    thanks for your quick answer.
    You got me right. We have a local non-Unicode SAP HCM Netweaver 2004 system running a self-developed web based content management system / wiki. The texts entered in the bsp application are stored in a string field in our database table. Actually we publish the contents to a WAS 6.20 non-Unicode system with the same database tables to provide the content via BSP for the public. Everything is working fine including the special characters.
    Now we want to replace the WAS 6.20 non-Unicode system by a new WAS 7.0/2004 Unicode system. But when publishing the contents via the same RFC function module to the new system the special characters seem to be damaged. We are not able to replace them with abap commands and when they are displayed on the website we only see "boxes".
    If I get you right we have to run SPUMG on our nw 2004 non-unicode productive hcm system, right? but isn't there a danger to damage existing contents?
    Best regards,
    Stefan

  • 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

  • Can not publish the contains of the activeX container to the web.

    It is easy to publish the front panel to the webserver. But in my application everything on the front panel appears on the web page but the contains of the activeX container (it is images from a web camera!). Does any one knows how to solve this? Is there any restriction on what objects on front panel can be publish to the web server?

    I know that you can publish the contents of an activeX container. I have done it several times. It is probably something to do with the activeX control you have placed in it. For instance, it might be that the image from the web camera is updating when the snap of the front panel is taken so that the image of the container seems blank. It also might have something to do with the picture depth you are using. Try playing around with some of the publishing settings you have available such as monitor, snap, refresh rate, picture depth, etc and see if any of them have any effect.

  • Regarding Content Selectors

    In which database table, Content selectors will be stored?

    The data in the datasync tables is in XML form , so you may not be looking at the correct place.(Im not sure whether in development modethe tables get loaded , i believe they do , but I havent verified , in dev mode I believe the portal uses the file system)
    if this is a new content selector , propagation will work, try it out. You can download inventory from local and you should be able to see the content selector...if you are modifying an existing content selector you may have problems with propagation , if so you have no way other than cleaning the tables.
    regards
    deepak

  • 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

  • Can we control the PDF file name that is generated by BI Publisher based on the content in the input PDF

    can we control the PDF file name that is generated by BI Publisher based on the content in the input PDF?

    No, there isn't. The way you're using the file is not recommended. You
    should use a review tracker to avoid getting in the way of one another.

  • Can you print the contents of a blob in Bi Publisher

    For example, Bi Publisher generate a pdf file in apex that will print the contents of a blob.
    Let's say you have a record with test.xls in a blob, can I take the test.xls out of the record and have bi publisher print it.
    Thanks,
    Doug

    BI Publisher can add some blobs to a report, such as a .jpg / .gif / .png, but excel just doesn't make sense, nor do I think it would work.
    Tyler Muth
    http://tylermuth.wordpress.com
    "Applied Oracle Security: Developing Secure Database and Middleware Environments": http://sn.im/aos.book

  • 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

  • When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    When I publish a SWF/HTML5 module with Captivate 8 and try to run it using IE9 - I get the following error "The content you are viewing is not supported in the current Document Mode" - anyone know why?

    TLCMediaDesign wrote:
    I've seen a lot of threads about getting rid of these kind of messages. Those messages are there for a reason most of the time. If you have CSS animations or other HTML5 standards that cannot be rendered in IE9 they won't magically start working becuse you got rid of a message. I use IE9 since that is the minimum standard for the client. I have never seen that message publishing to HTML5 content.
    IMO, if your client has IE9 I think that you should develop with IE9 in mind not IE11.
    When you say "develop with IE9 in mind not IE11" do you mean use SWF instead of HTML5? I used the standard question types, and a converted PowerPoint presentation. I didn't add anything out of the ordinary.

  • Is it possible to move content between private and public sites after publishing the latter?

    Hi. Is anyone else in this position? My institution kept its original iTunes U site after migrating our public content to the new public site last year. We now have separate public and private (university log-in only) sites and must maintain both. The Public Site Administrator allowed the copying of existing content from the original iTunes U site to the new public site, but ONLY prior to publication of the public site. I have two related questions for the community:
    1) How is it possible to maintain a workflow in which faculty create a course for the private iTunes U site (wanting to keep the content restricted to our students while the course is live), but then move the content over to the public site once the semester ends?
    2) With the new app for Courses and the Course Manager on the public site, what do we do with the courses already created by faculty as Collections (either in the public or private sites)?
    I hope there are folks out there that can help.
    Thanks!
    Kevin

    I'd like to see a discussion on this exact topic as well. Have you determined yet how to move a private course (apple hosted) to the public site? Can you use an RSS feed from the private?
    joe

Maybe you are looking for

  • N660 TF 2GD5 - PerfCap/GPU load/Power consumption problem

    Hello, at first, sorry for my english, I will try to do my best. I have problem with my GPU when I play Battlefield 4. Problem occours with newest Nvidia drivers, also with beta and older drivers. Problem is that I have huge FPS drops periodically, c

  • Item value on column link is not posted in 3.0

    Hi, I've on page 120 a column link to page 122 with 3 items: P120_X, P120_Y, P120_Z with the values set #P120_X#, #P120_Y#, #P120_Z# . If the value of P120_Z = # , then only P120_X und P120_Y are available at Page 122. P120_Z is NULL. My Version is A

  • I lost my wi fi connection right after downloading the ios6 for my iPhone 4s

    I lost my wi fi connection right after downloading the ios6

  • How do you get a Sub Query in a Mapping

    Hi, I am wanting to know how or what the work around is for getting a Sub query in a join operator? Its a really common place thing to do, I need to add an where exists or not exists type clause to one of my mapping joins. Can someone please advise h

  • Access Key Problem

    Hi SAPsperts, My problem is as below: I want to make some modification to the transaction CO15, This transaction is for Production order confirmation. First we will give the Order number on the first screen. Then we will check for the goods movement.