Thursday, August 21, 2014

Oracle Webcenter Content: Using page debugger to customize the ucm instance

As you know that Oracle Webcenter Content formerly known as Oracle UCM is content management system which provides many out of box functionality to manage the content of an organization. But some times it happens that you required some features or functionality which is not provided by the product and you need to customize it. Like you need to alter the layout or look and feel, or need to change the functionality of the existing feature however in every case you need to change the source code of the applications or product.
Here in this blog post I am not going to tell you how to customize or add new features or functionality, but I will tell you about debugger that webcenter content provides which may help you in customizing you content server instance.
Well to customize the page it is very important to locate the source code of that feature or component.
For example: let say we need to add a column at folder level (refer my post add column at folder level in ucm)
Here are the steps:

  1. First we need to identify the page to modify the source code.
  2. Now for this you can use the page debugger in ucm to identify the page. Although it is time consuming activity but you have to deal with that (there may be other possibilities but I did like this). To use the debugger you need to append the &IsPageDebug=1 to the url of the page.
  3. In the example I have shown the tender folder page, so right click and copy the link address of this folder and append &IsPageDebug=1 i.e. http://x.x.x.x:16200/cs/idcplg?IdcService=COLLECTION_DISPLAY&hasCollectionID=true&dCollectionID=875446151231000004&&IsPageDebug=1
  4. You will see the page debugger tab at the right-bottom of the page.
  5. On the Debug tab click on "idocscript trace", and then try to look for the page you need to modify. Well I have search for body in that page to locate the page to be modified because generally the content is placed in the body element of a html page and there I got the folders_list_resource.htm page.
  6. Rest you can read it in the blog post (add column at folder level in ucm).

Other Debugging Options

In ucm there are other debugging options like

  • IsJava: Display the local data of a content server page
  • IsSoap: Display the local SOAP data of a content server page
  • For more debugging option go to http://docs.oracle.com/cd/E17904_01/doc.1111/e10726/c07_config_u_and_t.htm#BHAIFFGA

No comments:

Post a Comment