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.

Steps
Go to IBR
http://myserver:16250/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:
#{uib_o_w_s_r_DefaultGroupSpaceCatalog[
replaced with
#{uib_o_w_s_r_DefaultGroupSpaceCatalog['

then to adjust for those entries which already had the quote, another replace all:
#{uib_o_w_s_r_DefaultGroupSpaceCatalog[''
replaced with
#{uib_o_w_s_r_DefaultGroupSpaceCatalog['

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 (11.1.1.4.0) to PS4 (11.1.1.5.0) 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:-
http://download.oracle.com/docs/cd/E23104_01/download_readme_ps4/download_readme_ps4.htm#BABEABCF
Download link of Middleware patchset: You can download the patches of Fusion Middleware (JDEV, WC, SOA, UCM etc) from the following location:-
http://download.oracle.com/docs/cd/E23104_01/download_readme_ps4/download_readme_ps4.htm#BABFICJA

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 10.3.5.0 (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 11.1.1.5.0 (10min)
./RunInstaller as oracle
*reported missing recommended os package (control-center-2.8.0-12)
Specify JRE, I used the one installed with WLS:
/u01/app/oracle/product/middleware/jrockit_160_24_D1.1.2-4/
Leave other values as default since it's using your existing Oracle home it knows where stuff is.

Install WC 11.1.1.5.0 (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 11.1.1.4.0 projects and convert to 11.1.1.5.0

Post Install Observations

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