Placeholder Content Node Question

Hi,
I'm trying to find a way to get the node a placeholder query returns either from a standard query or a campaign query. I need the node Object instead of the straight HTML code. I've tried using the PlaceholderService interface but that only seems to return HTML as a string. Any ideas on what else I could try?
Thanks,
Greg

I don't believe it is possible to get out anything else than the HTML. The
PlaceholderService API is rather stupid is this sense.
I have been forced build own jsp wrapper tag around <ph:placeholder> -tag in
order to do some changes to the HTML code it returns from the CMS
repository.
If you could hide the object-id (or such) to the HTML-content, then you
could do something with it. Complicated indeed!
Regards,
Juha
<Greg Loyd> wrote in message news:[email protected]..
Hi,
I'm trying to find a way to get the node a placeholder query returns either
from a standard query or a campaign query. I need the node Object instead
of the straight HTML code. I've tried using the PlaceholderService
interface but that only seems to return HTML as a string. Any ideas on what
else I could try?
Thanks,
Greg

Similar Messages

  • How can i retrieve an image from a content Node in repository

    Hi,
    could you tell me how i can retrieve images, which i have stored in content management
    repository content node as primary property?
    i want to display the image in a Jsp, what do i have to include in the jsp page?
    thanx

    Hi,
    You can use javax.swing.ImageIcon like so
    ImageIcon anIcon=new ImageIcon("image.jpg");Hope thats what you are after,
    Cheers
    Jack573

  • Content node name problem during creation on portal 9.2 cm filesystem repo

    Hi all,
    We are developing a portal site using weblogic portal server 9.2.
    We are using the portal built-in content management system of the portal admin app. And We use the filesystem repository (with library service disabled) to store our content data by following the setup on documentatation.
    We use the create_db.cmd script to create the cms tables in a oracle database. The input contents' binary files and metadata are successfully stored in the filesystem directory and database correspondingly.
    However, we encountered some bugs/unexpected behaviour on creating/uploading binary data when using the content creation form.
    The problem is that when we try to create a content with one (required and primary) binary property, the node name of the new content does not always follow the name input by the user. The content node name will changed according to the uploaded file or the binary property name defined in content type, which are unexpected behaviour. In fact, we expect the node name stay as the same (with extension padded) of what user input on creating it and the property's filename should use this name.
    When we use the WYSIWYG editor to create the document of the binary property, after saving the document, the filename of this binary property automatically changed to the content type's property name, after clicking save button on the content, the node name of the content changed to the content type's property name too!
    When we upload file for this binary property, the property 's filename changed to the uploaded file's filename, and changing the node name of that content too!
    We would like to know what would cause this kind of misbehaviour/bug,
    could it be caused by misconfiguration on server? the filesystem repository? the database scheme?
    Any helps or suggestions on it would be greatly appreciated.
    Best Regards,
    Keaton

    Thanks for the reply jalpesh, you answered the filename on file upload method.
    But what about the filename changes due to create document (WYSIWYG editor) method. The content filename changed to the property-name.ext about saving the content, which is quite a strange behaviour. As the user will not be able to add the same type of content on current directory cause the content filename follow the property-name.ext and cause same filename conflicts when saving.
    We are using the weblogic portal server 9.2 MP 2 with oracle database (bea type 4 connection driver).
    Any advices or suggestions?
    Regards,
    Keaton

  • Exposing content nodes as links in WLP 9.2

    Hi!
    I am a portal 'newbie' with a POC on my hands, in which one goal is to index the content in a BEA Repository with my company's search technology. I have managed to expose the content node i'name' and 'path' properties in a simple web page, but I really need to turn these into searchable links. In other words, I want to traverse a path, extract all nodes, and expose them as links.
    Again, my knowledge of CM is limiited here - just can't see how to proceed. Here's the working code I have so far. Any specific code tips would be greatly appreciated!
    try {
    Node node;     
    ContentContext ctx=new ContentContext(request);
    ISearchManager searchManager=ContentManagerFactory.getSearchManager();
    String searchPath="/BEA Repository/BIPIFolder";
    Search sch=new Search("contributor='weblogic'");
    sch.setSearchPath(searchPath);
    com.bea.content.paging.ISortableFilterablePagedList list=searchManager.search(ctx,sch);
    com.bea.content.paging.IPagedListIterator iterator=list.iterator();
    %>
    <table>
    <tr><td>Content Name</td><td>Content ID</td>
    <%
    while(iterator.hasNext()) {
         node=(Node)iterator.next();
         %>
         <tr>
         <td><b><%=node.getName()%></b></td>
              <td><i><%=node.getId()%></i></td>
         </tr>
         <%
         } catch(Exception e) {}
    %>
    Paul L.

    Hi Paul,
    I'm not sure exactly what you want to do when a node is clicked upon. Presuming you want to 'expore' that node and its children...
    It sounds like you have some minimal rendering code in place, but you need the rendering code to respond to link clicks.
    The easiest way to do this is to have your JSP/servlet accept parameters, and have your rendering code pass a request parameter when the link is clicked, indicating the desired node to render when a link is clicked upon. Your rendering code then needs to 'do the right thing'.
    There are additional options for rendering nodes aside from that above-- you might want to take a peek at the display templates feature, for example. This feature allows each node type (objectClass) to have its own renderer. So for example, one could display a node of ObjectClass 'Car' by displaying the 'Car' template, and a node of ObjectClass 'Camera' by displaying the 'Camera' template.
    It might also be helpful to take a peek at the content portlets sample on dev2dev codeshare, which performs some of this exploring. You can find it at
    https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=S284
    -Steve

  • Placeholder content not visible in Preview

    I am a RoboHelp10 newbie with two projects on the go, one inherited and one new.  Placeholder content (breadcrumbs and Topic TOCs) is visible in Preview mode (Ctrl+W) in the inherited project, but not in the new project.  They don't show in Firefox/IE Preview either.  All other content/formatting seems to preview just fine.  MS_HTML_Help is the designated primary layout for both projects.  Based on a post in this forum, I tried updating DHTML effects, but it didn't help.  Any suggestions?
    I am assuming if they don't appear in Preview, they won't appear in the generated CHM.  Correct?
    RESOLUTION:  I finally fixed the problem with brut force by starting a new project and importing the HTML pages, etc.  Even then, it took a few tries before it worked.  Still don't know the underlying cause. 
    Message was edited by: Steve@SSA on 16Nov2013

    Vamsi mailed me offline and I have suggested looking at Using RH7 on my site where this problem is covered.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • Error While fetching content nodes from Weblogic Portal

    Hi,
    I am trying to deploy an application on Weblogic server which will connect to Weblogic portal repository and fetch content nodes from the specified repository. While accessing the repositroy nodes from my jsp code I get following error:
    I am not very clear what is going wrong
    Error 500--Internal Server Error
    com.bea.content.RepositoryRuntimeException: Repository configuration error.
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:194)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'examplesWebApp.BEA_content.RepositoryOpsHome' didn't find subcontext 'examplesWebApp'. Resolved ''; remaining name 'examplesWebApp/BEA_content/RepositoryOpsHome'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:246)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.bea.content.ContentEJBHomeCache.lookup(ContentEJBHomeCache.java:56)
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:187)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)

    Repositories are essentially external to applications.
    Applications are associated with repositories via repository configs. Repository configs allow applications to access repositories.
    1. There is no special 'centralized repository'.
    2. This can be done, but has caveats, especially around caching. If multiple applications have repo configs which refer to the same repository, there can be caching issues. For example, suppose apps A and B both have repo configs for accessing repo R. If you use app A to change some data in repo R, then try to read the change via app B, you can end up with cached data instead of the most recent data in repo R. This is something to be aware of with this type of configuration.
    3. There is typically one WLP admin url per application. For example, if you have an application named 'FooApp', then the admin url can typically be found at 'http://localhost:7001/FooAppAdmin'. Application 'BarApp' may have an admin url at http://localhost:7001/BarAppAdmin.
    You can use the weblogic server console at http://localhost:7001/console to see these -- click on Deployments, then click Monitoriing. In the Context Root column, you can see the various top-level context roots registered for this application.
    4. Repositories are top-level possibly-shared entities, similar to databases.
    Applications 'use' Repositories via Repository Configs.
    Applications 'own' RepositoryConfigs, which allow them to 'use' a specific Repository.
    It's possible to have multiple applications 'use' the same repository (each application would have to have its own RepoConfig referring to the same repository), but there can be caching issues with this configuration -- see (2).
    Each application 'owns' its own set of repo configs, and therefore its own VCR namespace. The VCR namespace is compsed of the RepoConfigs that application 'owns'. For example, if an application has repository configs with names 'Repo1' and 'Repo2', then the VCR namespace includes /Repo1/... and /Repo2/...
    Note that each RepoConfig entry has a name, which becomes its VCR namespace path. The path to a node in a repository begins with / followed by the name of the RepoConfig followed by /. Application A and application B may each be accessing Repo R, but via different names. For example, if A has the path to Repo R registered via name 'RepoR', then its VCR path to Repo R is /RepoR/... If B has the path to Repo R registered via the name 'R', then its VCR path to Repo R is /R/...

  • CQ's built-in search requires jcr:content nodes?

    I'd like to build my data model within CQ5 while at the same time using CQ5's built-in search.  It seems I must 'inflate' my data model with unnecessary  jcr:content nodes in order to do so.
    This is what I'd like:
    /content/myapp/data/recipes [myapp:recipeList]
    /content/myapp/data/recipes/recipe1 [myapp:recipe]
    /content/myapp/data/recipes/recipe2 [myapp:recipe]
    /content/myapp/data/categories [myapp:categoryList]
    /content/myapp/data/categories/Thai [myapp:recipe_category]
    /content/myapp/data/categories/Indian [myapp:recipe_category]
    /content/myapp/data/categories/Vegan [myapp:recipe_category]
    In this 'reduced' model, all my properties can be added to my child nodes.  Seems to be searchable though:
    - *List nodes must extend cq:page
    - the recipe and category nodes must be nested within a jcr:content node
    - the recipe and category nodes must extend cq:page instead of nt:unstructured
    - the recipe properties must be nested within yet another layer of jcr:content nodes
    /content/myapp/data/recipes [myapp:recipeList]
    /content/myapp/data/recipes/jcr:content/recipe1 [myapp:recipe]
    /content/myapp/data/recipes/jcr:content/recipe2 [myapp:recipe]
    /content/myapp/data/recipes/jcr:content/recipe1/jcr:content/recipeproperties [myapp:recipeprops]
    /content/myapp/data/recipes/jcr:content/recipe2/jcr:content/recipeproperties [myapp:recipeprops]
    /content/myapp/data/categories [myapp:categoryList]
    /content/myapp/data/categories/jcr:content/Thai [myapp:recipe_category]
    /content/myapp/data/categories/jcr:content/Indian [myapp:recipe_category]
    /content/myapp/data/categories/jcr:content/Vegan [myapp:recipe_category]
    What value do I obtain from adding all the extra jcr:content nodes?

    Ideally, the model above would 'cleaner' like the example described in this CRX tutorial: http://dev.day.com/docs/en/crx/current/developing/data_modeling.html#The%2520Repository%25 20Model

  • Uploading a file from jsp page on weblogic portal 9.2 into VCR content node

    I am working on Content Management in Weblogic Portal 9.2 using the com.bea.content API. I have succedded to the extent that I have created "Node" both Hierarchy and Content Node in the Virtual Content Repository using the CM API from a JSP.
    Now I have to upload a file from this JSP into VCR Content Node. I am facing some problems. I am not able to figure out which class to use for this purpose from CM API. Please help in this regard.

    Hi,
    You need to ensure you're using an ObjectClass with a PropertyDefiition of type Property.BINARY. Then, construct a BinaryValue with your InputStream. Use that to construct the Value and Property for the Node you're creating or updating.
    -Ryan

  • No Web Content node found in HelloClint project.

    Please check:
    In tutorial document "Building Web Services"
    Step 7. of section "Developing a Client for a Service using Proxy Generation" says:
    If you wish to inspect the WSDL, expand the :Hello | Web Content | hello nodes and double click on the HelloService.wsdl file.
    Actually, there is no Web Content node under the root node Hello.
    Node Hello only has one sub node Application Sources.
    Please check: is it an error or not?
    If not, please let use know how to create Web Content node in this project.
    Also please explain why the picture in step 3 of the following section "Create and test the Client" the "Web Content" node disappearing? (for the same project Hello).

    Thanks for your advice, but it still doesn't work. I have created a new project for my tests with only the web object in it to make sure no other objects etc. are influencing the output. I  published the project and tried to run it on different browsers/operating systems and directly from my hard drive vs. Adobe Connect. The results:
    Using my Mac and opening the project with the HTM.-file from my hard drive after I have added the published files folder  to the trusted locations for Flash (without this setting, it doesn't work), the web object only appears in Safari, but not in Chrome and Firefox. Using AdobeConnect, it's the same: only Safari.
    Using a Windows laptop (again opening the project with the HTM.-file from my hard drive after I have added the published files folder  to the trusted locations for Flash), it works with Internet Explorer and Firefox, but not with Chrome. Using AdobeConnect, no browser works. I only get this message:
    I can't use the web object when it only loads under very special circumstances. Moreover, I found out, that checking the "Scale HTML content" checkbox in the publish window  results in a totally misplaced web widget in those browsers that support the web object. It then looks like this:
    I use this option regularly, so this is really a problem for me.
    I hope you can tell, what I can do to get the web object running. I simply can't believe that this  is the standard behaviour and that everybody else is experiencing the same problems. There must be something I can do to get it running.
    I hope you can help.
    Best Regards
    Andreas

  • Retreiving Content Node

    Hi All,
    Iam looking for ways in which one can retrieve Content Node by usnig either Content
    API OR tag. I have given the scenarion here:
    Suppose this is my structure in CMS Repository:
    Home(Node)--> Child1(Node)-->Child2(Node)-->Child3(Node). Assume that there are
    actual contents in thses Nodes.
    Suppose , all I know is ONLY name of "Child3(Node)", then how can I get the complete
    Parent's heirarchy??
    I have gone through APIs : for Constyruction of Node, you need to give complete
    PATH from Repository and Not just the Node name.
    How can I achive this functionality??
    TIA,
    Prashanth Bhat

    If you only know the node name, you can either use the Search Tag, or the API to
    search by cm_nodeName = "Child3". This will return all nodes named "Child3" in
    your example. After that, you can call getAncestry on the API to get the ancestor
    Nodes.
    Regards,
    James
    "Prashanth Bhat" <[email protected]> wrote:
    >
    Hi All,
    Iam looking for ways in which one can retrieve Content Node by usnig
    either Content
    API OR tag. I have given the scenarion here:
    Suppose this is my structure in CMS Repository:
    Home(Node)--> Child1(Node)-->Child2(Node)-->Child3(Node). Assume that
    there are
    actual contents in thses Nodes.
    Suppose , all I know is ONLY name of "Child3(Node)", then how can I
    get the complete
    Parent's heirarchy??
    I have gone through APIs : for Constyruction of Node, you need to give
    complete
    PATH from Repository and Not just the Node name.
    How can I achive this functionality??
    TIA,
    Prashanth Bhat

  • BI Content Upgrade Question

    Hi SDNers
    I am sure that I will get answer to my question.
    We are currently on Add on Package BI Content 3.5.2 on SAP Netweaver04.
    As per SAP Recommendation if we are going for BW 3.5 SP19
    then we should have BI Content 3.5.3.
    We need to know that when we upgrade BI Content 3.5.3 from BI Content 3.5.2 ->>>>> <b>will it overwrite</b> all existing BW objects including standard SAP delivered objects(Infoobjects,Infosurces,ODS, Infocubes etc). These existing SAP delivered BW objects are enhanced or modified by us in our BW system.
    As per my understanding UNLESS I install new business content using RSA1-> Business Content the existing old content BW objects should not be overwritten by new content version.
    Please help with your inputs.
    Regards
    Pradip

    According to the course material provided by SAP, you have to compare the Business Content objects with the existing objects in the A version.
    1. You can change objects that were transferred from the Business Content, since only the derived A version and not the Business Content version of the objects will be changed.
    2. Not all objects can be compared
    3. If you do not compare the objects, the new version is transferred (copied) and the (old) A version overwritten when you activate the Business Content.
    Refer page 39 - TBW42_1

  • Table of Contents Issue/Question

    Hi everyone, I hope I can put my question accurately into words. 
    I'm working on a 450 page product catalog in Indesign CS5 for the mac.  The catalog has 7 main sections, in which there are numerous smaller sections. I need to create a table of contents for these smaller sections, however, my issue is this;  my table of contents is based on the product names which I've applied a paragraph style to, but, also included on the same line that the product name is, are several small icons.  I used the library function to put these icons into place.  I put my curser where I wanted the icons to be, went to the library, right clicked on the icon I wanted, and selected place item.  I found this to be the easiest way since there were approximately 1500 products in the catalog.  So, my issue is, now that I'm creating a mini-table of contents for these numerous sections, the icons are included in my table of contents, which I don't want.  I can manually go in and delete each icon, but I'm thinking there has to be a faster way.  I thought of possibly a grep style but can't figure out how to make that work.
    Any help would be appreciated!  It's going to take a while to delete each one of those.  I hope I've described this accurately; please feel free to ask any questions if it's not clear.
    Thanks so much!
    Annette

    Oh my gosh, that did it!  Thank you sooooo much! 
    I couldn't figure out how to choose just those characters because I hadn't designated them as anchored objects; that was throwing me, but I guess Indesign saw them as such.
    Thanks again, you've saved me hours of work!
    Sincerely,
    Annette

  • Table of Contents navigation question in Captivate 5.5

    Hi - I'm a fairly new user of Captivate (5.5.), and hope that someone can answer this question. I'm trying to set up a table of contents with navigation that will not let users go to slides that they have not yet viewed, but still enable users who have left and re-entered a course go back to any previous slide that they've viewed. Here are some details:
    * I'm publishing the course using the SCORM 2004 setting, and testing it in SCORM Cloud and our LMS (Cornerstone)
    * The table of contents navigation is set only to "Navigate visited slides only."
    * After reading as many of the related posts as I could find on this forum, I've been able to get bookmarking to work - that is, the course will take the user back to where he or she left off. And by using the InfoSemantics TicTOC widget, when a user returns to the course, all previously viewed slides are checked off in the table of contents.
    * However, whatever I've tried, a user who leaves and goes back into a course can only navigate back to the first slide, not to any of the other slides he or she already viewed. I'd like for our users to be able to go back to any previous slide they viewed (for example, to review the section just before the one where they left off, or to review any part of the course for reference after completing it).
    Is there a combination of settings, or a widget somewhere, that will let you both limit forward navigation to visited slides only, while still allowing users to go back to any previously viewed slide after exiting and re-entering a course? And this would need to work in an LMS.
    Thanks for any advice you can give!

    I did have the self-paced learning option checked, so I unchecked it. I did not have "user must past quiz" as required (it's set as optional). I tried adding an interactive button to the first slide and giving it a score. But after re-publishing, I still can only go back to the first slide (not any previously viewed slide) if I stop and re-enter the course. Here are the settings:
    Quiz Reporting:
    Manifest:
    LMS Customization:
    Quiz Settings:
    Quiz Pass/Fail:
    Settings for the interactive object on the first slide:
    Settings for the "quiz" on the last slide:
    Thanks so much for helping me with this.

  • EA 3.1 - Data Node Questions

    I have the following questions regarding the Data and Model Nodes
    1. Is it possible to define one table/view to be used in building the model(s) and a different table/view for testing the model.
    2. If we use the same table/view for the build and testing, can we see what data is being used for the build and what data is used for the testing
    3. For question 2, can we extact the data into another table etc

    Hi Brendan,
    See answers below.
    Thanks, Mark
    1. Is it possible to define one table/view to be used in building the model(s) and a different table/view for testing the model.
    Answer:
    Yes. Just connect another data source to the Classification or Regression Build Node.
    The second DS node has a link labeled as Test. If you want to swap the build and test data source, then select the Build Node, right click to bring up the node context menu and select "Swap Data Sources".
    2. If we use the same table/view for the build and testing, can we see what data is being used for the build and what data is used for the testing.
    Answer:
    No. The split data are temporary views. If you want to control exactly what data is used, then use your own test and build data source nodes.
    3. For question 2, can we extact the data into another table etc
    Answer:
    See answer to question 2.

  • Content preview question

    Hi,
    We are using Content Management in Portal 9.2.1. We have written our code for content creation, workflow approval, deletion of content using CMS API and controls.
    Our process is
    1. Content creator logs in and creates content (workflow status = Ready)
    2. Content approver logs in and previews the content and publishes (workflow status from Ready to Published)
    3. Content selectors displays the published content
    We have problem at step 2, when the approver logs in and tries to preview the content, we got the following error message.
    <Jul 18, 2007 10:40:32 AM IST> <Error> <ContentManagement> <000000> <
    com.bea.content.RepositoryException: Either a Primary Property is not defined fo
    r Node: /BEA Repository/Images/homeImage or the node has not been published.
    at com.bea.content.manager.servlets.ShowPropertyServlet.printNode(ShowPr
    opertyServlet.java:294)
    at com.bea.content.manager.servlets.ShowPropertyServlet.doPost(ShowPrope
    rtyServlet.java:117)
    at com.bea.content.manager.servlets.ShowPropertyServlet.doGet(ShowProper
    tyServlet.java:104)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Truncated. see log file for complete stacktrace
    Can we use the cm:getNode to preview the content or do we have to write CMS API code to get content?. Both are same?.
    Can we preview a un published draft status content?. We assumed it will be possible as from administration console, we can able to do this.
    Someone please help us.
    Thanks
    bharat

    Hi
    im not that familiar with 9.2 CMS but i believe you do need to use the API's
    This might work for you
    //id = ID of node
    //getContext() returns ContentContext
    IVersionManager vm = ContentManagerFactory.getVersionManager();
    VirtualNode vNode = vm.getNode(getContext(), id);
    Version ver = vNode.getCurrentVersion();
    //replace with the name of your property
    Property prop = ver.getProperty("Body");
    InputStream is = vm.getStream(getContext(),id, prop.getId());
    ..use stream
    is.close();
    //read the docs on retrieving stream in context of transactions
    HTH
    deepak

Maybe you are looking for

  • In BPEL, how to create a SOAP fault?

    I am using JDeveloper 11.1.1.6. I need to send SOAP fault by setting faultstring, faultcode and faultactor. How can I define asoap fault and send?

  • NLS Error?

    When trying to create and index, I get the following error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: interMedia Text error: DRG-11422: linguistic initialization failed DRG-00100: internal error, arguments : [52

  • Dynamic Tables - Coordinated Drop Downs

    Hello Community This is my first post and i am new in all this so please forgive if any...newbiness comes out! :P Anyway what i wanted to ask if there is a way or a tutorial to add, appart from Coordinated Drop-Down Lists also a dynamic Table! What i

  • Calling servlet with out entry in web.xml

    Hi I want to know whether can a servlet be invoked with out having an entry in web.xml.Because to my knowledge when ever an entry is made in teh web.xml the <url-pattern> and the class file will be stored as key value combination it is only then when

  • Exigent: 'The following step failed:run preupgrade script for AppleMobileDevicesSupport.'

    Trying to update my iPhone version so I can download an app. I need for the GRE. In order to do so, I'm told that I have to update my iTunes..I get the cited error! Thanks in advance!