Change Portlet Content item in 9.0.2.

Hi
If I add a few images to a page, and I go to the categorie page where these images are stored, I can't see these images.
Instead I see a lot of information about these images (create date, page group,...)which i don't want to see.
On this categorie page all the items are stored in a "portlet content" item.
Is there a way to change the settings of this "portlet content" item?
greetings

Hi
The changing of relative to absolute is the one that bothers me. I think it also added line breaks, which caused problems with gaps appearing between images.
The other one I remember is adding <tbody> tags to a table.
I would prefer it if one could prevent the editor from making any changes in the HTML whatsoever. As an option maybe.
Is it possible to create a simple HTML item as a shared component that one could drop into any page?
Regards
Harry
What changes are you seeing?
I know that the editor converts relative links to absolute links (a bug has been logged for this and the issue is mentioned in the release notes).

Similar Messages

  • Display content items into custom remote portlets

    Hi, I need to dinamically display content server items in a custom portlet, using the EDK, but I did not find any way to get this result. Is it poossible to get an object (in my case a published content item) within an ObjectManager and display it's content (in our case a simple HTML content).
    I need to do this because whe have to format the home page of the portal in order to display the first half in three columns and the second half in two columns and we are trying to do this implementing a custom portlet (in the content canvas area) containing a three columns table displaying each a different content item.
    Thank you.

    There are basically two ways that I have done to open the content item editor.1) From a content presentation template you would call a JavaScript function like:
    <script>
    function edit_article$$TOKEN$$() {
    var width = 700;
    var height = 527;
    var left;
    var top;
    left = window.screenLeft + 10;
    top = window.screenTop - 30;
    if ( (left + width/2) > screen.availWidth ||
    (top + width/2) > screen.availHeight ) {
    left = 0;
    top = 0;
    var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
    window.open("<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='pcs_id'></pcs:value>&title=ContentItemEditArticleTitle", '', params);
    </script>
    2) The other way is using the content Item API. You get the editor url from the content item, which you already have. Now what you are doing below is almost correct. The importance of the pt:objectid is crucial. Take a look at the web docs on Plumtree ([url[/url]http://www.plumtree.com/edoc/Enterprise_Web_Development_Documentation.htm) under portlets/adaptive portlets/transformer tags/links. So the reason yours is not working is that you are missing some ptargs. The pt:objectid needs to be the objected of the "Content Administrator" portlet. This is for 2 reasons. One is so that you get the correct PTargs and the second is that it will use the basic auth information stored in its web service. So if your objectid of the portlet was 201 then it would look like this:
    lblHref.Text = "<pt:gatewayLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'pt:ObjectID='201' pt:href=\""+ url + "\" target='TinyURL' onclick=window.top.open('','TinyURL'," + WindowOpenParams + ");>"+myContentItem.Name + "</pt:gatewayLink>";
    Andrew Morris | bdg | [email protected]| www.bdg-online.com
    Like blogs? Check out bdg's Plumtree blog at http://bdg-plumtree.blogspot.com.

  • Displaying content item -(IContentItem) in portlet using Content Server API

    Hi,
    I am using the latest Content server API in my remote server to get the published content items. I have to display the content item in the JSP portlet.
    So how to display the content item in the portlet, if you have the IContentItem Object retrieved from the content server ? Is there any mechanism to get the HTML code/JSP code that corresponds to the IContentItem object?(All the content item will be an html or jsp )
    Currently we are extracting the publish url and opening an http connection to retrieve the html, which is not a good solution if you have mutiple portlets in the same page. So please suggest how can I display the content item (IContentItem Object) in the portlet.?

    Hi Anand,
    I am facing the same problem on IBM WebSphere Portal 5.1.
    Did you find a solution to your problem ?
    Thanks
    Ganesh

  • High Response Times with 50 content items in a Publisher 6.5 portlet

    Folks,
    Have set up a load test, running with a single user, in which new News Article content items are inserted into a Publisher 6.5 portlet created of the News Portlet template. Inserts have good response times through 25 or so content items in the portlet. Then response times become linearly longer, until it takes ten minutes to insert a content item, when there are 160 content items already.
    This is a test system that is experiencing no other problems. There are no other users on the system, only the single test user in LoadRunner, inserting one content item at a time. The actual size of the content item is tiny. Memory usage in the Publisher JVM (as seein on the Diagnostics page) does not vary from 87% used with 13% free. So I asked for a DB Trace, to determine if there were long-running queries. I can provide this on request, it zips to less than 700k.
    Have seldom seen this kind of linear scalability!
    Looked at the trace through SQL Server Profiler. There are several items running for more than one second, the Audit Logout EventClass repeatedly occurs with long durations (ten minutes and more). The users are publisher user, workflow user, an NT user and one DatabaseMail transaction taking 286173 ms.
    In most cases there is no TextData, and the ApplicationName is i-net opta 2000 (which looks like a JDBC driver) in the longest-running cases.
    Nevertheless, for the short running queries, there are many (hundreds) of calls to exec sp_execute and IF @@TRANCOUNT > 0 ROLLBACK TRAN. This is most of what fills the log. This is strange because only a few records were actually inserted successfully, during the course of the test. I see numerous calls to sp_prepexec related to the main table in question, PCSCONTENTITEMS, but very short duration (no apparent problems) on the execution of the stored procedures. Completed usually within 20ms.
    I am unble to tell if a session has an active request but is being blocked, or is blocking others... can anyone with SQL Server DBA knowledge help me interpret these results?
    Thanks !!!
    Robert

    hmmm....is this the ootb news portlet? does it keep all content items in one publisher folder? if so then it is probably trying to re-publish that entire folder for every content item and choking on multiple republish executes. i dont think that ootb portlet was meant to cover a use case of multiple content item inserts so quickly. by definition newsworth stuff should not happen to need bulk inserts. is there another way to insert all of the items using publisher admin and then do one publish for all?
    i know in past migration efforts when i've written utilities to migrate from legacy to publisher the inserts and saves for each item took a couple of seconds each. the publishing was done at the end and took quite a long time.

  • Has anyone implement paging / page breaks in long content items?

    Has anyone implement paging / page breaks in long content items? Eg when a text item is long it would be nice if there was a portlet or something to be able to separate it in pages that fit in the users screen and display a message in the bottom like "page 1 of 3" etc with next and previous links.
    Any ideas?

    Oracle has a pretty good Oracle By Example on OTN covering this at [http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm]. I'd also recommend following on with the one on Item Placeholders to complete the picture [http://www.oracle.com/technology/obe/obe1014portal/item_placeholders/itmplacehold.htm].
    My announcements are text items in one region. The region has a HTML content layout that uses pl/sql to determine where the first space is after 650 characters and if it is larger than 650 characters opens the item in a page using the item placeholder (hence my suggestion above). The code to generate this looks like this on the template. v_length is declared at the top of the tempalte so it is easy to change the length of the announcements:
          IF LENGTH ('#ITEM.CONTENT#') > v_length THEN
          v_space := INSTR('#ITEM.CONTENT#',' ',v_length,1); /*Find first space after designated length*/
             HTP.p('
      <table width="100%" cellpadding="3" cellspacing="0" border="0">
        <tr>
          <td>#ITEM.IMAGE#</td><td valign="top">' || SUBSTR ('#ITEM.CONTENT#', 1, v_space) || '</td>
        </tr>
        <tr>
          <td align="right" colspan="2"> &lt;MORE...</td>
        </tr>
      </table>'
          ELSE
             HTP.p ('
       <table width="100%" cellpadding="3" cellspacing="0" border="0">
        <tr>
          <td>#ITEM.IMAGE#</td><td valign="top">#ITEM.CONTENT#</td>
        </tr>
      </table>'
          END IF;Check out the OBE's and post back with any questions. They can sometime be challenging to get to work just right, but you can do a lot with these templates.
    Rgds/Mark M.

  • Enable change logs for item level of Sales Document

    Hi,
    On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
    When this date is changed in the header, the corresponding dates are changed in the item level as well.
    However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
    When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
    The data element has 'Change Document' checked.
    How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?

    Hi Nidhi,
    Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
    Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
    This function creates the change documents based on the data changes.
    I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
    So I would compare the various internal tables for both scenarios (header change,  item change) to determine their differences.
    After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
    Hope this makes sense,
    Robert

  • Best practice for implementing META tags for content items?

    Hello,
    The portal site I'm responsible for managing our content (www.sers.state.pa.us) runs on the following WebCenter products:
    WebCenter Interaction 10.3.0.1
    WebCenter Publisher 6.5
    WebCenter Studio 2.2 MP1
    Content Service 10gR3
    The agency I work for is one of many for the commonwealth of PA, which use this product suite, and I'm encountering some confusion on how to apply META tags to the content items for our site, so we can have effective search results. According to the [W3C site's explanation on META tag standards|http://www.w3schools.com/tags/tag_meta.asp], the tags for description, keywords, etc, should be within the head region of the HTML document. However, with how the WebCenter suite's configuration is set up, the head section of the HTML is closed off by the end of the template code for a common header portlet. I was advised to add fields to our presentation and data entry templates for content, to add these meta fields, however, since they are then placed within the body section of the HTML as a result, these tags fail to have any positive impact on the search results. Instead, many of our content items, when searched for, the description in the search results only shows text that is displayed in the header and left navigation of our template, which come early in the body section of the HTML.
    Please advise as to possible method(s) that would be best to implement usage of META tags so we can get our pages containing content to come up in search results with this relevant data.
    Thanks in advance,
    Brian

    if i remember right the index server will capture meta tags even if they are not in the <head> section. it is not well formed html but I think i remember that we created meta tags down in the body section and the index server still picked them up. you might try this and see if it still works. i believe it worked in 10gR3. Let me know your results.

  • Content Items Sorting based on picklist property fails

    Content Server 6.0
    We have developed a custom presentation template to display a list of all the work items. While displaying the work items, I would like to sort them based on a property and then filter them based on another property. I have a template code similar to below:
    <pcs:foreach var="item" expr="filter(sort(sort(index.folder, 'item.pcs_id', true), 'item.application', true), '(filtered.workflow_status != "Completed")')">
    The content item has two properties: application - a picklist, and workflow_status - a picklist.
    The above code template does not return any results. However if I change the expression so that I am sorting by a text property, then it displays the results correctly.
    For e.g,
    <pcs:foreach var="item" expr="filter(sort(sort(index.folder, 'item.pcs_id', true), 'item.name', true), '(filtered.workflow_status != "Completed")')">
    (name is a text property of the content item).
    Is there another way of accesing a picklist property in sort function to retrieve the desired results? Can somebody point out what am I doing wrong?
    Thanks for your help in advance.
    Thanks
    Jignesh.

    Not currently. We're considering this for a future release.
    Regards,
    Jerry
    null

  • Editing a previously published content item results in no workflow applied

    Hi,
    We have developed numerous workflows, which are configured as default from New menu configurations.
    We are seeing two issues:
    1) Copying an existing content item, the assigned workflow to the New menu is not applied. This is apparently by design in 11g (did work in 7.x) according to Oracle support. We have raised a product enhancement request
    2) Editing a content item which has passed through its workflow stages and has been published, the previously assigned workflow is not assigned.
    Issue 2) is what we are looking into now. Apparently (again) this is by design.
    Is there a common approach that people are using to resolve this issue, in that editing a previously published content item, those changes will be subject to the original workflow stages before it will be re-published?
    We have heard mentioned of listeners or further stages in the workflow...
    Thanks

    then use SPD to customize the task process to lock them out upon starting and give them rights again upon rejection.
    http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com
    Hi
    How was this resolved in the end. I to want to disable editing of document whilst workflow in progress. In SPD how is this achieved?
    Thanks

  • How to get content item out of work flow automatically

    hi experts,
    my requirement is that Contributor will contribute the Content , and provide the content publish Date.
    When contributor contribute content, content goes in workflow. I want auto approval of workflow so that when Publish Date actually comes, Content is out of workflow and published on site.
    Is there any way to achieve this ??
    Or is there any way that when publish date comes, meta-data of the content item changed....?
    Thanks

    try putting your date comparitor and wfExit() code in the update event of the step the content item is in.
    You may need to wait up to an hour after the time/date elapses before the comparitor evaluates to true and kicks content out of the workflow.
    However, you should really evaluate the reason you're using workflow in the first place. It looks like you're using it as a holding ground.
    I recommend using the dReleaseDate field to prevent the item from being indexed and released to the search results.
    Then use subscriptions (e.g. push subscriptions) to handle the notification.
    If you need more advanced subscription and notification capability take a look at our Subscription Notifier product: http://bit.ly/ENRwq
    Hope this helps
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • Publisher Content Item has become corrupt

    Hi Team,
    I am a newbie here.
    I have Publisher 6.5. I have a content item that has become corrupt and is not editable any longer. However it can be accessed i.e seen on portal pages.
    We have decided to delete this content item and recreate it again. However the problem is, this content item is used by multiple portlets. If we delete the content item then the connection with other portlets will get broken, I guess.
    How best can I recreate the content item and how should I rejoin it to the broken portlets

    Could you be more descriptive about what you mean by "corrupt"?
    If you haven't already, I would recommend creating a help desk ticket.

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

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

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

  • Portlet content localization

    Hi,
    I am wondering if someone has successfully localized portlet contents in 5.0 using java.
    I created two properties files MessagesBundle.properties with "greetings = Hello." and MessagesBundle_de_DE.properties with "greetings = Hallo."
    In my portlet.jsp:
    language = new String("en"); //for testing
    country = new String("US"); //for testing
    Locale currentLocale;
    currentLocale = new Locale(language, country);
    ResourceBundle messages = ResourceBundle.getBundle ("MessageBundle", currentLocale);
    out.print(messages.getString("greetings"));
    The file compiles fine but doesn't display in the portal. Any ideas of what I need to change? Currently I place the properties file in the same folder as the portlet.jsp file.
    Thanks.
    Hao
    [email protected]

    Does it happend just for G6? Does it work for v.5.*?

  • Find/Change w/Multiple items on clipboard/cursor

    WinXP, IDCS3 5.0.2
    Is it possible to find/change with the change to contents of clipboard when multiple items are loaded to cursor (change to = ^c) but w/1,2 or 3 or someother code to tell it which loaded cursor item to change to??
    thanks
    sandy

    A loaded cursor is not the clipboard. Replacing with ^c gets you the
    contents of the clipboard, not the contents of a loaded cursor. There is
    only one clipboard, so no matter how much text you copy, whatever you
    last copied is what you're going to get with ^c. No choices.
    What is it you want to Find/Replace? Maybe there's some other way to
    accomplish it.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • Publishing Content Items through API

    Hello,
    I am currently using EDK 5.3 for publishing content items. I have been sucessful in editing an existing content item using APIS. However It looks like APIS doesn't have a way to schedule to publish content items for a future date.
    I tried to do some reverse engineering and found out that this information is stored in pcsscheduledcontent and pcsscheduleitems tables. I was able to figure out how to change the dates as this are stored in pcsscheduleitems table,however can't find out where are the values are being stored for time.
    Say, I want to publish the content item for 08/28/2008 4:00 pm using the APIS, I am able to get to the date from the above 2 tables but really can't find out where the time is stored. I have tested from the User interface that the time is also retained based on the options we pick.
    And also I have seen that the Loadid keeps on increasing for every change I make.
    Can someone please help me/ guide me in the right direction?
    Thanks.

    pcsscheduledContent table. schedule something to be published in the future and then do a select on that table with an order by clause of :
    ORDER BY ITEMBEGINDATE DESC
    The itembegindate column contains the date AND time of the publishing schedule. you may just not be converting the value correctly.
    hth,
    Robert

Maybe you are looking for

  • Can TWO Editors Work On The SAME Project Separately ??

    Have Premier CS3 on XP We have a heavy edit this week for a film festival. Can one editor work on part 1 on one PC machine...and another editor work on part 2 on a mac...and then somehow... be able to transfer the mac timeline over to the PC machine

  • How to delete the existing list and prevent auto-completed web sites?

    Hi, As soon as I start to type "www" in the address bar, a list of previously visited web sites appears, as if auto-completed. They seem rather random, and not necessarily the most recent ones. I have tried resetting Safari, deleting the cache, looki

  • My nano will no longer sync to my iTunes

    I can no longer get my iPod nano to sync to my iTunes.  Any suggestions?

  • CProjects - Issue related to WFM & Project role

    Hello All, Immediately after log-on I see two errors: "Communication with the WFM Core system is not possible" "Unable to establish connection to LiveCache" Ignoring these message, if I go ahead creating project, system allows me to create the projec

  • Problem while creating cost centre

    hi all , I am trying to create cost centre in t.code ks01 but the error message comes ''controlling area vi01 does not have a standard hierarchy(please assign one)'. but i i try to assign standard hirarchy in t.code okkp  again the error message come