Page debugging got easier in UCM 11g

UCM is famous for it's extra parameters you can add to the URL to do different things. You can add &IsJava=1 to get all of the local data and result set information that comes back from the idc_service. You can add &IsSoap=1 and get back a SOAP message with that information. Or &IsJson=1 will send it in JSON format. There are ones that change the display like &coreContentOnly=1 which will hide the footer and navigation on the page.

In 10g, you could add &ScriptDebugTrace=1 and it would display the list of resources that were called through includes or eval functions at the bottom of the page. And it would list them in nested order so you could see the order in which they were called and which components overrode each other.

But in 11g, that parameter flag no longer works. Instead, you get a much more powerful one called &IsPageDebug=1. When you add that to a page, you get a small gray tab at the bottom right-hand part of the browser window. When you click it, it will expand and let you choose several pieces of information to display. You can select 'idocscript trace' and display the nested includes you used to get with ScriptDebugTrace.

ipd_idocscript_trace.png

You can select 'initial binder' and see the local data and result sets coming back from the service, just as you would with IsJava. But in this display, it formats the results in easy to read tables (instead of raw HDA format).

ipd_initial_binder.png

Then you can get the final binder which would contain all of the local data and result sets after executing all of the includes for the display of the page (and not just from the Service call). And then a 'javascript log' for reporting on the javascript functions and times being executed on the page.

ipd_javascript_log.png

Together, these new data displays make page debugging much easier in 11g.

*Note: This post also applies to Universal Records Management (URM).

Comments:

Excellet. I was searching for this last few days, even 11g Developer's Guide says - IsDebugTrace=1. Thanks a bunch

Posted by Murty on January 07, 2011 at 08:08 AM CST #

Is there a way to set ActAsAnonymous for a Service call with checkSecurity. Trying to use GET_FILE service URL to get native file with the dOriginalName but want to disable ForceLogin

Posted by SY on January 12, 2011 at 04:37 AM CST #

On a system-wide scale, you can go to the Admin Server -> Content Security and turn on 'Allow get copy for user with read privilege'. With that enabled, content that is in a Security Group that the 'guest' role can read, like Public, will not force a challenge when using GET_FILE. If you want to do this on a more selective type basis, look at the HowTo Component on the samples page. You can use the SecurityFilter component to temporarily boost security rights for content for specified services. That might be a good starting point if you need that type of control. Thanks, -Kyle

Posted by kyle.hatlestad on January 12, 2011 at 08:02 AM CST #

This is awesome. Takes UCM customization to a whole new level. Debugging tools like this are a must - and it's good to see it coming together in a 'dashboard' like this. Always fun to see the YUI logging console in action too. Thanks for the post!!!

Posted by Aaron Romine on January 27, 2011 at 05:48 AM CST #

Hi Kyle,

Is there a way to debug in webdav in the similar manner.
Like when I click Actions -> Check In Mail Item in LN and the Assign Doc Info Page opens, how do I get a similar idocscript trace because there is no browser url bar there.

Please help.

Thanks,
Selvam S

Posted by guest on September 23, 2011 at 05:59 AM CDT #

Hey Selvam,

It sounds like you are talking about Desktop Integration Suite (DIS) as opposed to WebDAV. If this is on a test/dev system, you can add 'IsPageDebug=1' to your server configuration and restart. When you do that, every page you visit will have the page debug information available and won't require it to be on the URL. Even in the pop-ups from Outlook and Windows Explorer.

Thanks,
-Kyle

Posted by Kyle Hatlestad on September 23, 2011 at 06:38 AM CDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Kyle Hatlestad is a Solution Architect in the WebCenter Architecture group (A-Team) who works with WebCenter Content and other products in the WebCenter & Fusion Middleware portfolios. The WebCenter A-Team blog can be found at: https://blogs.oracle.com/ ateam_webcenter/

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today