Images Content Management in WLP 10

Hi,
I am looking for some advice on content management of WLP 10 in two specific areas.
1.  I want to save all the 'text' like labels on a JSP page,  into content management.  Is this a good idea? Is it preferable to maintain this is a property file?  If having this in content management is a good idea then what are the general guidelines to go about this.
2. I would like to store all the images that appear on my web page in WLP content management on a file system repository.  The documentation suggests that this is possible and the uploaded images can also be exposed to a web server like Apache which usually handles static content rather than an app server.  What are the steps to make this work?  I tried the following and couldn't really make any progress..  Help is appreciated
  a. created a file system repo.
  b. set the cm_content_webpath to the apache url
  c. uploaded images to the repo
  d. what JSP tag do i use to generate the HTML <img> tag for me based on the content identifier name or resource name?  Is this even possible?
-Ajaneesh

1. I think a file is better for i18N.
You can store the file itself in the Content management system and publish it , though there is always a disconnect between the developers and the Content Management users.
(Runtime cached files are also better than CMS)
2. you should simply read the path using cm:getProperty(This may have changed in 10.0!) tag and use the value in <img src="">
regards
deepak

Similar Messages

  • Content Management using WLP Vs using a Third Party CM Tool

    Hi All,
    In our Application we have a Workflow which we earlier implemented using WLI and stored the Content in File System ( The Dis advantages with this is no versioning capability , hard to manage the Content etc..)
    Now we are plannning to use WLP's Content Management Capabilities.
    Does the Library Services support a workflow ?? Does Workflow Definitions conform to any standard ?? (Like BPEL etc)
    The Content we have is a set of forms ( XML Based) and are unique for each user Task . Might be using the goal technology to capture the data from the Users..
    I would like to know the pros and cons of using WLP Content Management Features vs Storing the Content in a Full fledged CM tool and accessing it from the Portlets Deployed.
    Features we are looking for are..
    Versioning , Search Capabilities , History info
    Thanks
    Sateesh

    How do I create plan.xml for every env Im not sure what you mean. Use vi/notepad if you want! See the section 'Using an Existing Deployment Plan to Configure an Application' in the link. You simply need to create this plan once with the value you want and you can use the same one with a different path value(the one you want to change) for each environment. Whether you want to create a template plan.xml whose value is replaced by an ant build is upto you.
    Plan.xml is similar to a WLST script, you'd only need to parameterise the actual value you want to use as the path(and you'd have to run both for every deployment) - Im not sure this value is accessible over WLST though..
    regards
    deepak

  • Problem with images in content management portlet

    Hi all,
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s). Some how it seems to be a problem with the Taglib render. It tries to get the resourceRootPath to post it in front of the src path in the image tag and it always includes the parameter that are in the URL.
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree. The wired thing is, that the My Content Portlet works fine.
    Any help for a newbie???
    Cheers,
    Cord

    Hi Cord,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section <!-- URL templates -->. Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • Content management portlet not showing images

    Hi all,
    sorry for asking a question maybe already answered, but I couldn't find a solution in the newsgroups.
    I'm trying to use the content management portlet provided with Bea WLP 8.1 SP4, but I've a problem with the images (they're not displayed at all, only a lot of red "X"s).
    I followed the instructions in the help of workshop, so I think I've imported every needed files. Moreover, the images are in the right folder tree.
    Any help for a completely newbie???
    Thx in advance,
    Mirko.

    Hi Mirko,
    I was having that same problem, and I couldn't find anything on this website either. I tried creating a new portal project and following the directions exactly again, but it didn't work there either. It works in the sample portal.
    So I contacted BEA Support, and they were able to provide me with a solution:
    The file url-template-config.xml (in the WEB-INF directory) has to be modified and have the {url:currentPage} parameter removed in order to get the images working for the content management portlet. For now, do this only in the section . Leave the other places like in WSRP etc as it is.
    I actually took it out of the WSRP places too, by accident, but I don't use WSRP anyway, and everything else seems to be working fine. And the images show up!
    Hope this works for you too,
    Beth

  • WLP Content Management Repository

    We are using WLP content management system(file based repository), We have some configuration which is in content-config.xml, where we are setting a default value for "cm_fileSystem_path" to "c:\portal\content", so far it is ok, but once deployed in production this value overwrites the production value which is configured using WLP admin console. My question is how do we set it a particular value during deployment time rather than putting it always in 'content-cofnig.xml' then using WLP admin console to update with production env value.
    Here is what we would like to do,
    If there is no config parameter available then deployment should take this value from content-config.xml, but some how if we are providing this value during deployment time then it should over write the default value supplied with content-config.xml.
    Thanks
    Lalit Barik

    How do I create plan.xml for every env Im not sure what you mean. Use vi/notepad if you want! See the section 'Using an Existing Deployment Plan to Configure an Application' in the link. You simply need to create this plan once with the value you want and you can use the same one with a different path value(the one you want to change) for each environment. Whether you want to create a template plan.xml whose value is replaced by an ant build is upto you.
    Plan.xml is similar to a WLST script, you'd only need to parameterise the actual value you want to use as the path(and you'd have to run both for every deployment) - Im not sure this value is accessible over WLST though..
    regards
    deepak

  • Content Managed Image Gallery

    I am looking to see if there is an image gallery available
    out there that I can use in DreamWeaver that will allow my client
    to upload images, add categories and captions and the likes. I know
    nothing of dynamic development so I guess I am looking for some
    type of extension, or 3rd party effort that I can embed into the
    site, yet maintain the site's identity. Sure sounds like I am
    asking for too much I know, but...
    Thanks in advance!

    Would depend entirely on the scope of the original term
    "Content Managed
    Image Gallery". I have used PVII's ImageGalleryMagic on my
    brother's site
    in both a STATIC and a DYNAMIC mode -
    http://www.wildimages.biz/w_galleries.php
    The Wild Horses are STATIC, and the rest are DYNAMIC (MySQL).
    The static stuff is easy as pie. The dynamic is custom-built,
    but not
    difficult. I used IGM from PVII and DataAssist from
    WebAssist. What I like
    about DataAssist is that the code is pretty simple to
    understand and to
    customize - that certainly wasn't my experience with ADDT.
    But each person
    will be different, you know? Let me hasten to say that DA
    alone will not do
    this for you - you cannot avoid getting into the code. A case
    in point
    would be the image uploading for the galleries....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gp9jhv$pra$[email protected]..
    > Heya Murray,
    >
    > So do you have any step-by-step tutorials to post of a
    solution that meets
    > the
    > criteria of the OP then?
    >
    > "Someone that know(s) nothing of dynamic development so
    I guess I am
    > looking
    > for some type of extension, or 3rd party effort that I
    can embed into the
    > site,
    > yet maintain the site's identity."
    >
    > If you have a better solution by all means post it.
    >
    > Cheers
    >

  • Error With Uploading Images for Content Manager

    Hi Guys
    I have tried to upload an image into Content Manager..... and on the concurrent request i get a failed error..+---------------------------------------------------------------------------+
    Content Manager: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    BULKUPLOADCP module: OCM BulkUpload Process
    Current system time is 04-AUG-2006 11:47:46
    java.lang.NullPointerException
         at oracle.apps.jtf.util.ErrorStackUtil.getErrorStack(ErrorStackUtil.java:82)
         at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:163)
         at oracle.apps.jtf.util.ErrorStackUtil.fillDBErrorStack(ErrorStackUtil.java:151)
         at oracle.apps.ibc.admin.ContentItemManager.upsertContentItem(ContentItemManager.java:1776)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.getItemsFromXMLFile(BulkUploadCP.java:518)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.createItemsFolders(BulkUploadCP.java:269)
         at oracle.apps.ibc.admin.contentitems.server.BulkUploadCP.runProgram(BulkUploadCP.java:172)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2006 11:47:50
    this ist hte log

    Bumb thread. Please follow-up here: http://forums.adobe.com/message/4851765

  • Reading Images from DB2 content Manager

    Has anybody have read images from IBM db2 content manager using oracel forms.
    any links will be helpfu;
    or any links to how to make windows API calls in forms 5.0.

    OK, I found Greg's reply and that fixed it, once I played with it a bit.
    "Cory McGinnis" <[email protected]> wrote:
    >
    I am displaying an html page from a <cm:select> but the images do not
    display.
    I have set up the dmsbase directory as per the samplePortal, and loaded
    the content.
    The HTML displays, but with errors for the images.
    Here's the select from the portlet:
    <cm:select contentHome="<%=ContentHelper.DEF_CONTENT_MANAGER_HOME%>"
    query="type='page'"
    id="textDocs"/>
    <es:forEachInArray array="<%=textDocs%>" id="aTextDoc" type="com.bea.p13n.content.Content">
    <p><cm:printDoc id="aTextDoc" failOnError="true" /></p>
    </es:forEachInArray>

  • Error while trying to edit in Bea Portal Administration Content Management

    Hi,
    we are exploring the weblogic portal administration 9.2 and we encounter an exception when editing a content in the Content Management feature. We use the weblogic default workflow, we create a user attached to a group, add that group to a role, then delegate the edit and view capability of a content node in the Content Management to that role, we login using the respective user, check out the content, try to edit the property but then the exception occurs.
    It says "A Repository Exception was thrown: User does not have view privileges on the node"
    the detail exceptio on the property page was:
    "javax.servlet.jsp.JspException: Could not find a node at the key: nodeReqAttr
    at com.bea.jsptools.content.node.ViewPropertyTag.doStartTag(ViewPropertiesTag.java374)
    at jsp_servlet._contenet._node._nodeselected._properties._listpropertiescheckout._jsp_tag46 ...."
    Could u help us what step we went wrong, because we previously try this in the WLP 8.1.4 portal administration the exact same step but never encounter this error before.
    And is there anyway I can atteched screenshots to help better explain this problem?
    Thank you for your help.

    Hi,
    You have to set your activex control properly. then only edit locally in KM will work.
    Also check the below wiki
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/KMC/HowtotroubleshootproblemswithLocalEditing
    Hope that helps
    Raghu

  • Out of the box porlets for Content Management with BEA Portal

    I am looking at BEA Portal for a simple Intranet site with some basic content management system capabilities. I would like to implement this without the use of a third party tool and wanted to know if there are any open source or out of the box BEA portlets/web-apps with basic CMS capabilities beyond what has been shown in the Portal tutorials around CMS. From doing the tutorials, I have learned how to manage content, and how to build a site from scratch to access the content using the <cm:> tags. However, without additional third party products such as Documentum or Interwoven, is there any free BEA/open source portlets to:
    - Configure exposure of this content in a runtime framework? (ie content manager can expose new content from the repository by a configurable admin GUI, place where this content is on the page)
    - Allow for a simple approval workflow where content that gets added to the repository by user A has to be approved by user B before automatically exposing?
    Interested to know if custom portal type development is the only way to do these kind of simple functions, or third party product.

    Hi,
    Did you have a chance to look into WebLogic Portal 8.1 SP3? Check out the new Library Services features, which includes versioning and simple approval:
    http://e-docs.bea.com/wlp/docs81/adminportal/help/CM_MAN_LifecycleOV.html
    We also provide a few ootb portlets that allow users to interact with the CM system. Let us know if you have additional questions.
    Best Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Weblogic 10.3 content management requirement.

    Hi,
    I have a requirement to pull the pdf from the weblogic content management without weblogic portal configuration. Is it is possible to achive this.If possible please suggest me how to do.
    thanks in advance....
    Uday Sariki.

    In your JSP, use the <embed> and <object> html tags appropriate for Flash files, like this:
    http://www.w3schools.com/flash/flash_inhtml.asp
    For the src attribute (the url to your swf file in UCM), you can either use the ShowPropertyServlet class:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/com/bea/content/manager/servlets/ShowPropertyServlet.html
    Or construct it with something ugly like:
    src="<%= request.contextPath%>/ShowPropertyServlet?nodePath=<%= node.path %>"
    You might need to URLEncode the path.
    Some comparable Java code looks like this:
    try
    StringBuffer imageSrc = new StringBuffer();
    imageSrc.append(request.getContextPath());
    imageSrc.append("/ShowPropertyServlet?nodePath=");
    String requestEncoding = request.getCharacterEncoding();
    if (requestEncoding == null)
    requestEncoding = "UTF-8";
    String encodedPath = URLEncoder.encode(node.getPath(), requestEncoding);
    imageSrc.append(encodedPath);
    imageSrc.append("//");
    imageSrc.append(propertyName);
    return imageSrc.toString();
    catch(UnsupportedEncodingException uee)
    return "";
    }

  • Answer:  814 content management gets ConcurrentModificationException

    I wanted to get this into this news group for others to find.
    Solution: Open a ticket and get patch patch_CR211051_81SP4
    Problem:
    WLP 814 using content management P13N tags or APIs. While your portal is up and users have browsed content, run the portalAdmin--content update content, or use load_cm_data.sh and you get exception.
    FYI I believe this bug will most likely happen on SMP boxes. IE you'll not likely see this on a single CPU box. Just my guess based on experience.
    <Jan 21, 2005 3:55:13 PM EST> <Info> <EJB> <BEA-010051> <EJB Exception occurred during invocation from home: [email protected]51
    threw exception: java.util.ConcurrentModificationException
    java.util.ConcurrentModificationException
    at java.util.Hashtable$Enumerator.next()Ljava.lang.Object;(Unknown Source)
    at com.bea.p13n.cache.CacheImpl.createSet(Z)Ljava.util.Set;(CacheImpl.java:764)
    at com.bea.p13n.cache.CacheImpl.keySet()Ljava.util.Set;(CacheImpl.java:350)
    at com.bea.content.manager.internal.CacheHelper.flushAllBinaryCacheEntries(Ljava.lang.String;Ljava.lang.String;)V(CacheHelper.java:482)
    at com.bea.content.manager.internal.NodeOpsBean.updateProperties(Lcom.bea.content.ID;[Lcom.bea.content.Property;)Lcom.bea.content.Node;(NodeOpsBean.java:1391)
    at com.bea.content.manager.internal.NodeOpsEJB_e40s0j_ELOImpl.updateProperties(Lcom.bea.content.ID;[Lcom.bea.content.Property;)Lcom.bea.content.Node;(NodeOpsEJB_e40s0j_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    iSync automatically takes the newest changes to data on your devices and applies them to all other devices when you sync.
    There is no manual override for similar content when syncing your phone. The ability to select data on one device or another appears on an initial sync when you choose to 'Merge' the data on the device and on the Mac. Doing this is often unsuccessful, so for an initial sync its better to start with a fully up-to-date Mac Address Book and a completely empty phone.
    Have you renamed the telephone number fields in the Mac Address Book? If you have, that can cause multiple phone numbers of the same type to appear. However Sony Ericsson phones only support one number of each type:
    work
    mobile
    home
    fax
    other
    If your fields in the Mac's Address Book are named anything other than this, set them back. Then make sure your Mac's Address Book is fully up-to-date, back it up, then click "Reset Sync History..." in iSync Preferences and re-sync your phone.
    .Mac Sync is separate to iSync and is for syncing Mac-to-Mac, so you can ignore any references to .Mac if you're just syncing your phone.
    For further iSync Tips see my web-site here:
    http://www.feisar.com/isync_tips.html

  • Content Management approach in a JSF application

    Hi all,
    I had developed a JSF application. Now I would like to manage my application in the content management approach, that is changing the text content or image by means of an admin console. Kindly suggest me if there is any way to accomplish this.
    Thanks in Advance!!

    The richfaces editor component comes to mind, as a start.
    [http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_editor.html|http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_editor.html]
    But honestly, I would say this is a clear case of too late. If you want the content of your application to be managed, the application should have been designed and developed with that idea in mind from the very beginning. What you have now is probably just some static JSF/facelets pages with perhaps a facelets template here or there, but what you want is dynamic content where you can swap out text, images and probably have some control over where they are placed and how they space. That is not going to happen out of the box, it requires development work and careful planning. Good luck trying to work that into an existing product.

  • Content Management Configuration in WebLogic Portal 9.2 Beta

    Hello All,
    I am aware of configuring Content Management System to Third Party CMS using a DMBase directory reference in the application-config.xml in WLP 4.0, 7.0 and 8.1 Versions...
    This also include the DocumentConnectionPool to point to the Database where the METADATA is stored.
    But how do I do this in 9.2 Beta Version. I did read thru the cm.pdf where they talk about the CMS configuration.
    Where do I configure the DMBase direcory?
    Any help would be appreciated.
    Thanks and regards,
    Pazhanikanthan. P

    Hi,
    You can use the "i18n" tags associated with resource files.
    http://e-docs.bea.com/wls/docs92/i18n/utilities.html
    Also, in netuix-config.xml, you can enable localisation and choose the default locale:
    <localization>
    <enable>true</enable>
    <default-locale language="fr" country="FR"/>
    </localization>
    By default, the locale will be chosen from attributes in the request. But if you want to change this behavior (for example decide the locale from the URL), you can develop a custom LocaleProvider (com.bea.netuix.servlets.l10n.LocaleProvider)
    Best regards
    Stéphanie

  • How to use documents like pictures, stored on content management in forms

    Hi,
    We store on content management as an attachment, and in relations with a marketing campaign, an image which represents the campaign. We developed a smartform which restores the data of the campaign and we want to insert the image about which I speak above. It seems that the documents stored on content management are not stored on a physical path but that they are it in cluster tables and thus I does not see how can I post this image in the smartform which we have to create. Thus I seek somebody who would have the solution of this problem.
    Best regards,
    Jean-Baptiste Butat

    I do not know or have time right now to look up NDP format.
    To write to NTFS from Mac, you need a driver.
    And to write to HFS from Windows also.
    I strongly recommend Paragon drivers for both.
    That way you can access anything from any platform.
    Paragon Software for Mac

Maybe you are looking for