Monday, December 20, 2010

Collections in UCM 11g

I have noticed that Collections/Folders in UCM 11g release had some changes. One of them is using randomly auto-generated IDs for folders, even for Contribution Folders. I know some guys did integrations using collections database table, which will cause some issues for them. For example if they are depending on using IDs on your development environment then you moved to production, for sure IDs will be totally different.

So how to retrieve Folders under Contribution Folders, without depending on IDs, the answer is using COLLECTION_DISPLAY service with the following parameters:

<$dCollectionPath="/Contribution Folders/"$>

Notice hasCollectionPath took value equal 1 which means true in IdocScript.

Adding profiles to COLLECTION_DISPLAY template

I have a requirement to allow users to check-in files inside folders according to a chosen profile, this will not be done from WebDAV it will be from the UCM Web Interface.

So in this case we need to customize with COLLECTION_DISPLAY template or resources used inside it.

After investigations I found that I need to customize the two resources collection_explore_menus, and new_content_form

For example I created a new profile called Processes, and I want to add it as a link under New Content link. In the first resource collection_explore_menus we will add the following at the end of the resource

FOLDER_EXPL_NEW_CONTENT_Processes,  FOLDER_EXPL_NEW_ITEM,     70,        wwArchiveProcesses,    javascript:document.newcontentformProcesses.submit(),


id            = FOLDER_EXPL_NEW_CONTENT_Processes
labelKey = wwArchiveProcesses
href        = javascript:document.newcontentformProcesses.submit()

Then as you noticed we are firing Submit action for a HTML form called newcontentformProcesses which has to be created by us and here comes the role of the next resource new_content_form, so will add the following to the resource and after the first HRML form there

<form action="<$HttpCgiPath$>" method="GET" name="newcontentformProcesses">

<input name="IdcService" type="hidden" value="CHECKIN_NEW_FORM" />
<input name="<$collectionIDMeta$>" type="hidden" value="<$dCollectionID$>" />
<input name="xIdcProfile" type="hidden" value="wwArchiveProcesses" />


Notice the hidden field xIdcProfile which is the profile trigger metadata field.

I hope this post will be helpful

Wednesday, December 15, 2010

Top 50 Media Gawker passwords

While I was reading articles in ShalshDot website, I read one taking about the top 50 passwords

For me the top passwords I am always facing are
  • welcome1
  • oracle
  • oracle123
  • Oracle10g
  • Oracle11g
  • companyname@password
  • companyname@password123
  • passw)rd
  • admin
  • admin123
  • weblogic1
  • weblogic123
  • weblogic123$
  • password2$
  • companyname123$
Unfortunately, I found those easy passwords in big organizations (some of them multinational ones) in Middle East. I think the best approach to create passwords it to use random password generator. However sometimes I am using one of those passwords for the sake of facilitating implementation and deployment, but system supposed to change them however he isn't doing that. May be in the future I will avoid that.

Sunday, December 12, 2010

Guys did hear about "ECM Maturity Model"

As the post title asks "Did you hear about ECM Maturity Model?"

If you are not, go and visit it, and download this document. It is great job, but what I liked is page number 12 and the matrix there. I didn't use it in a project but I imagine it will be helpful for me as a consultant working in a project where using it I can assess how much maturity we reached in that project.

However, the website and the document lacks a lot of information, may misguide some people. Also I saw the same things discussed there before, like for example in Bex's last book "", but really I like their remarkable maturity matrix.

Anyway it's nice work and I advice by taking a look on it.

Chrome OS

I have downloaded Chrome OS, and I tried it. I think it is good OS, light, and suitable for Notebook users. The OS is Linux based on SUSE Linux (as I think), also uses OpenOffice but SUSE release (not Oracle). It is mainly focusing on using Online services offered by Google like google docs, so the main interface used is Chrome browser, not Explorer.exe in Windows.

Really I like the idea, but still for windows users it's hard to make them change, where most windows users are using local storage and services, and they didn't have the Cloud concept. However Google is the only one who has the power to convince users to change.

For me as Fedora user, I think there is no big difference but services and features offered by fedora for me as developer are higher.

Let us see how Google community will improve Chrome OS.

Tuesday, December 7, 2010

Oracle BPM Suite 11g: New Book

Packt has asked me to review this book, I have just downloaded it and I will start reading it tomorrow. However one of friends told me that the book is good and it covers SOA too.

It worth to mention that BPM is an important part of Middleware which facilitates building of business processes by business users, and those processes are SOA based. I didn't use it yet, after reviewing the book I will come with an example of how to use BPM and UCM together.

I wish Packt will change their books' titles to "Hands On" :D which became very helpful to start with Oracle Middleware solutions in short time.