Monday, November 3, 2014

Siebel Open UI Code Template Generator

Sometimes I am overwhelmed by feeling totally privileged of working with so many brilliant people. Last week, fellow book author and Oraclean Duncan Ford published the Siebel Open UI Code Template Generator.


I am sure the Siebel Open UI community will be more than grateful for this JSFiddle project as it allows you to quickly pull a template for any type of Presentation Model or Physical Renderer. This way you can get started quickly and without the hassle of keeping static files.

The generator is easy to use, let's have a quick walk-through.

  • First, you select the type of template (PM or PR) and the type of object (for example for a desktop form applet).
  • Next, enter a name for your new class and decide whether you want comments and/or basic logging.
  • Now simply copy the code and paste it into a new file in an editor of your choice.
  • Save the file, using the same name as of the class (suffixed with 'PM' or 'PR'), to the siebel/custom folder in your developer web client.
You might already know where we go from here: Register the file in the Manifest Files view:


For demo purposes, we choose a UI object, let's say the Service Request Detail Applet. So for this demo, we have to register the new file as a physical renderer for this applet in the Manifest Administration view.


After logging off and on again, we can navigate to a view that contains the test applet and verify that the JavaScript console displays the log messages.


Voil?, a fully functional custom physical renderer in a few minutes. Now you can start implementing your custom code, which will probably take a bit longer ;-)

Thanks again to Duncan for this great contribution to the Siebel Open UI community.

Here is the link again: Siebel Open UI Code Template Generator

have a nice day

@lex

No comments:

Post a Comment