Wednesday, 26 October 2011

Content Presenter document preview on linux server

When displaying a document from the Doc Lib in Webcenter, you may be getting the properties for the file but not the web preview.

If you have setup Webcenter and UCM/IBR following the documentation, you may be missing the PDF third party font path. If you don't set this up conversion to PDF may fail and pass through.

Go to IBR
login as weblogic and your password.
Click on Conversion Settings and the options button for OutsideIn Filter.
Input the path to TrueTypeFont.
In my case my linux didn't have the fonts. However some were included in the JRE of webcenter.
You can go to your middleware home and perform a Find -name fonts, in case you can't find them.

After including the setting documents preview correctly.
For power point slides ensure you had the Powerpoint slider ucm component before enabling the webcenter configure component. You can check by browsing dynamic conversion templates from UCM power user interface.

Tuesday, 18 October 2011

Adding a taskflow from composer goes to a blank page

If this happens to you, you're probably using a custom catalog on PS4 (this bug will be fixed in PS5).
This happens because when you create a custom catalog, spaces somehow eats some of the single quotes in taskflow definitions.

In the meantime here are simple steps to fix this issue:
Get the code for the custom catalog, then copy it into a notepad, then performed a replace all on:
replaced with

then to adjust for those entries which already had the quote, another replace all:
replaced with

Try to add your taskflow again and it should now work normally.

Wednesday, 12 October 2011

Content Presenter templates not showing sitestudio templates?

This happened to me during an implementation. I couldn't confirm if it was documented somewhere, but to get content presenter templates to work, you must enable the SiteStudio for External Applications UCM component. Simply tick it from the UCM Admin Server component page. That's where the code which allows the templates to show in WebCenter Spaces resides.

Thursday, 22 September 2011

HTML Background image should auto tile smarter

When designing the background for this blog page, an idea came to mind, wouldn't it be nice if you could provide a single image, and have HTML/CSS automatically tile, so that it flips the image down and across keeping the pattern intact. In this case the spider web, now forms an expanding and shrinking web, as you scroll down, the catch is that I had to modify/upload the image which ended up twice as big, so it could then use the normal HTML tile to continue the vertical pattern.

Wednesday, 21 September 2011

Upgrade WebCenter & UCM from PS3 ( to PS4 ( on linux 64bit.

Download these Files (1-2 hours depending on download speed)
You may need an Oracle account.
Download link of Weblogic patchset:  You can get download links of weblogic patchset from the following location:-
Download link of Middleware patchset: You can download the patches of Fusion Middleware (JDEV, WC, SOA, UCM etc) from the following location:-

WinSCP to server
Copy install zips to spare storage (I created a new drive, used Vmware/fdisk/mkfs/fstab).

PUTTY to your server with X11 turned on (check option forward X11 in connetion profile), also make sure you are running XWING.
Some files may need to be changed from root to oracle user.
chmod 755 FILENAME
chown oracle FILENAME
chgrp dba FILENAME

Stop all services

Install WLS (5min)
*I had to move the temp directory to the new big drive as well because root ran short, wls installer needed more than 900mb to run.
as oracle
sudo mv /tmp /u04/tmp  (where u04 was my new mountain storage)
sudo ln -s /u04/tmp /tmp (created a symbolic link back to the original locations, same as a windows shortcut).
*I used this practice a lot on folders with increasing file size, like the db/ucm/log locations. Ensure drives mount on every boot or install will not work.

*if you have a jar, it's the wrong file, the file should be .bin
sudo unzip FILENAME
to run just chmod +x  wls1035_upgrade_linux32.bin

Install UCM (10min)
./RunInstaller as oracle
*reported missing recommended os package (control-center-2.8.0-12)
Specify JRE, I used the one installed with WLS:
Leave other values as default since it's using your existing Oracle home it knows where stuff is.

Install WC (6min)
./RunInstaller as oracle
*reported missing recommended os package (control-center-2.8.0-12)

Set all service to start automatically if you want.
chkconfig service oralce,apache,ucm,webcenter,utils on
Reboot sudo shutdown -r 0 now
Otherwise start all services manually as usual.

Upgrade Jdev on desktop.
Load projects and convert to

Post Install Observations

Some UI skin/page template customization were affected by the patch. Specifically page background, and some UCM image linking capabilities.