Monday, July 6, 2009

Publisher and WebCenter Not Playing Well Together

Those of you who have taken the time to install and become familiar with the latest version of "ALUI" may have run into an issue with the integration of Publisher 6.5. I recently stood up the Oracle WebCenter Interaction 10gR3 suite of products on a virtual machine. For the most part, the products seemed to integrate properly with each other (Collab, Analytics, etc...).

Installing Publisher was as easy as usual but the product is not as fully integrated with the WebCenter framework. The main drawback is that Publisher is not configurable through the WebCenter Configuration Manager web-based interface. You do still need to go in and manually edit the Publisher config files on the server. This omission was most likely made due to the eventual shift to UCM (Stellent) in the next version of WebCenter. Even more annoying than dealing with the config files is the disturbing realization that the Published Content Portlets .pte server import package does not play nicely with WebCenter.

After installing Publisher, configuring the database and checking the diagnostics page (no issues reported), I tried to import the Published Content .pte file. The portal's import utility finished successfully but upon further inspection, several of the key files and publisher templates were not imported for each language. For example, the EN (English) News publisher template folder did not have an images folder whereas other language versions of the same publisher template folder did contain the folder. I tried re-importing the .pte file but was unable to get a full set of publisher files to import properly. The resulting templates were broken and the user is unable to use the out-of-the-box News, Announcement, Content Canvas, Community Directory, Header or Footer publisher portlets.

After much trial and error I found a workaround (what, you didn't think I was going to post something with out some sort of "solution" did you?). By extracting and editing the files within the published-content-portlets.zip file that is referenced by the .pte file during import, I was able to make modifications to get the import to work properly. The trick here is that I needed to eliminate languages other than English from the file. Once the files are edited and English is the only language being imported (no need to edit the .pte file), the import finishes properly for all EN portlets and all files and folders are available for the publisher templates. Now for those of you who need to support multi-language portals you may need to contact Oracle support to open a ticket for this issue. I was able to replicate this issue on a few machines (both .NET and Java portals) so I don't think it is machine specific.

If anyone has another solution they have come across to fix this issue, please post it as well. Rather than forcing you to make the language modifications to the ZIP file yourselves, I have posted my edited version here. Thankfully in release 11g of WebCenter we won't have to jump through these Publisher hoops anymore. I just hope Oracle has a good upgrade path in place to get content migrated from Publisher to UCM.

5 comments:

Geoff said...

I recall having that exact same problem when installing our initial 6.0 portal. Disappointing but not surprising that they haven't done anything about it. QA over there is not what one would expect.

Its a pain in the neck for sure but all you need to do is copy the images from another language, put them in the correct location and publish it all. That did the trick for me.

pringi said...

Well, I follow the manual and had no problems with that package.

geetha said...

wonderful information, I had come to know about your blog from my friend nandu , hyderabad,i have read atleast 7 posts of yours by now, and let me tell you, your website gives the best and the most interesting information. This is just the kind of information that i had been looking for, i'm already your rss reader now and i would regularly watch out for the new posts, once again hats off to you! Thanks a ton once again, Regards, Oracle Portal online trainingamong the Oracle Portal in Hyderabad. Classroom Training in Hyderabad India

Sandeep Oracle said...

Thanks for posting the blog. I am new to this site, but I felt comfortable while reading the post. Keep posting on topics like this..................................Please contact us for Oracle Fusion Financials Training

mahi eswari said...

Very informative and well written post! Quite interesting and nice topic chosen for the post.
thanks for sharing this nice post,
tally course in hyderabad