Debugging your code efficiently on SAP BusinessObjects Design Studio
Learning to debug efficiently is as important as learning to code efficiently to become a coding master. If you are looking to become a coding master for SAP BusinessObjects Design Studio applications, you must know about the hidden gems in SAP BusinessObjects Design Studio. And what’s more interesting, these gems are getting upgraded too!
Let’s take a look at these hidden gems:
In the example below, have played around with one of our Visual BI Extensions for SAP BusinessObjects Design Studio to get the “text” value from the Scripting tab.
In the below screenshot, it showcases how the variable of the component is accessed by calling “this.aDebugJsonLogger.component.content.control.content.component”
Iterating the component structure enables us to debug all component properties (both main properties and additional properties)
This is an interesting addition to the SAP BusinessObjects Design Studio 1.5.
As an extension developer the issue we often face is some specific issues related only to the Design mode of DesignStudio, if you’re encountering a similar problem add the below parameters as part of your url.
Example: If your URL is something like, http://localhost:52821/aad/zen?APPLICATION=LOC&designersessionid=78
Just add the parameters as below:
Now by running the same in IE, it should be recreating the same Design Mode scenario.
This last gem is a popular demand from all SDK extension developers. Need for debugging the additional properties’ JS code!
The best part of this feature is that you can modify the additional property code and test the console by pressing Ctrl+’F5′ without restarting the SAP BusinessObjects Design Studio application.
This feature solves most of the issues faced by Extension developers for debugging the Additional property code.
Hope these gems come handy while you are in dire need to debug your code efficiently, share your feedback and other gems which can help the SDK extension developer community.