Oracle Siebel Open UI Developer's Handbook

Oracle Siebel Open UI CRM – Example Code Files

Taken from Appendix B of The Oracle Siebel Open UI Developer’s Handbook [2016 Edition]

Working with Example Code Files

The book contains case study examples that are complemented by code archives. In this appendix, we will briefly review the techniques for importing code files into your self-study environment. The following will be covered:

  • Copy example JavaScript files
  • Copy example style sheets
  • Copy example image files
  • Copy example web templates
  • Import Siebel Tools archive files

Copying Example JavaScript Files

Most of the code archives contain example JavaScript files that implement custom presentation models or custom physical renderers. To implement the case study, extract the code archive for the chapter and copy the JavaScript files mentioned in the case study to the following folder in your Siebel Developer Web Client installation.

For IP 2015 or earlier, follow this path:

<Client Installation Folder>\PUBLIC\<Language>\<Build>\SCRIPTS\siebel\custom

 

Depending on your installation, the Build version, and language pack(s), the path on your machine might be different.

For IP 2016 or higher, use this path:

<Client Installation Folder>\PUBLIC\SCRIPTS\siebel\custom

 

After copying the files to the correct location, follow the instructions in the case study to complete the example scenario.

Copying Example Style Sheets

The following is an example of the correct location of example style sheets for IP 2015 or earlier:

D:\Siebel\Client\PUBLIC\enu\FILES\custom

 

For IP 2016 or higher, use:

D:\Siebel\Client\PUBLIC\FILES\custom

 

Custom style sheets must always be located in the custom sub-folder of the FILES directory. If the code archive contains .css files, copy them to the folder location indicated in the example above. If the custom folder is not present, create it.

After copying the example style sheet files, follow the instructions in the case study scenarios to complete the implementation.

Copying Example Image Files

When the code archive contains image files, copy them to the following folder location if you use IP 2015 or earlier:

D:\Siebel\Client\PUBLIC\enu\IMAGES\custom

 

For IP 2016 or higher, use:

D:\Siebel\Client\PUBLIC\IMAGES\custom

 

The example folder path refers to the custom sub-folder of the IMAGES directory. If the custom folder does not exist, create it before you copy example image files.

Copying Example Web Templates

Siebel Web Template (SWT) files delivered with a chapter’s code archive must be placed in the following folder location for IP 2015 or earlier:

D:\Siebel\Client\WEBTEMPL\OUIWEBTEMPL\CUSTOM

 

For IP 2016 or higher, use:

D:\Siebel\Client\WEBTEMPL\CUSTOM

 

The example folder path denotes the CUSTOM folder within a Siebel client’s Web Template storage for Siebel Open UI.

Importing Siebel Tools Archive Files

For case studies that use repository object definitions delivered as .sif files, the following procedure describes how to import a Siebel Tools archive file:

  1. Log in to Siebel Tools.
  2. In the Tools menu, select Import from Archive…
  3. In the Select Archive to Import dialog, browse to the .sif file you want to import.
  4. Click the Open
  5. Click Next.
  6. Click Next.
  7. Click Yes to confirm the summary message.
  8. Wait for the import process to finish.
  9. In the Summary page, click Finish to close the Import Wizard.
  10. Compile all imported object definitions.

 

After importing and compiling the example repository object definitions, follow the instructions in the case study scenario to complete the implementation.

 

Leave a Reply