JavaScript Extensions – Code Generator New Version

We are happy to announce that the newest version of the Code Generator for JavaScript Extensions is now available. It allows you to generate example code that you can then work on or just use as scaffolding for your own JavaScript Extensions.

This is an Intelligent Advisor project that asks a few questions and then generates the code. Here is an example :

1. What kind of extension do you want?

JavaScript Extensions - List of extensions

2. Some supplementary questions might be necessary to help the code generator build the content, or it might ask you some general questions:

3. Then you pretty much just sit back and get the code. In the zoomed out example below, you can see the “Copy to Clipboard” button and the CSS code that is supplied in this case.

JavaScript Extensions - Output

The Code Generator can generate the following extensions for you:

  • Custom Label
  • Custom Input
  • Custom Full Input
  • Custom Search
  • Custom Entity Container
  • Custom Options
  • Custom Image
  • Custom Container
  • Custom Footer
  • Custom Header
  • Custom Navigation Bar
  • Custom Next Button
  • Custom Back Button
  • Custom Exit Button
  • Custom Restart Button
  • Custom Entity Remove Button
  • Custom Entity Add Button
  • Custom Upload Add Button
  • Custom Question Text

In addition you can download from the same project a PDF file of useful information about Extensions and a copy of the code you generated:

JavaScript Extensions - Guide

As such the PDF is a good starting point for knowing what the extension does, what example code was added to get you started, and how to go about making changes to it. The 15 page guide is also a quick reference guide for all the different extensions and the components that you will come across in JavaScript extensions made by other people. It is a good companion to the JavaScript Extensions for Oracle Policy Modelling book from P8Tech.

The Code Generator was built on Intelligent Advisor 20C2 and will be updated at each new versions / when there are new Extension types brought into the product. You can find the Code Generator in the OPA Hub Shop.

Richard Napier

Author: Richard Napier

Richard Napier joined Siebel Systems in 1999 and took up the role of managing the nascent Siebel University in Southern Europe. He subsequently was Director of Business Development and Education for InFact Group (now part of Business & Decisions) for 8 years. He now runs his Consulting and mentoring company, On Demand Consulting & Education Ltd and has run ODCE since 2010. Owner of, he also is Co-Founder of the Siebel Hub.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Logo by Southpaw Projects LLC