Friday, 18 July 2014

Open UI Customization - Where all your customizations should go?

I had it embedded in my earlier blog and thought of having it on a separate post so that one can refer to as and when needed.
custom swt files: (web template files)
  • All your custom swt files should go under:
    • for server - \siebsrvr\WEBTEMPL\OUIWEBTEMPL\custom
    • for client – \<Client Install Dir>\WEBTEMPL\OUIWEBTEMPL\custom
  • It is not advisable to modify vanilla swt files. But, If you need to modify the vanilla swt files, you need to copy them from \siebsrvr\WEBTEMPL\OUIWEBTEMPL to\siebsrvr\WEBTEMPL\OUIWEBTEMPL\custom and modify there. In such cases, don’t remove the vanilla swt from it’s original place. This is especially helpful when you patch/upgrade, Siebel installation will take care of upgrading your vanilla swt. If you want to revert to original then, simply delete/rename your /CUSTOM swt file. Or you can take a ne copy into /CUSTOM and add your changes.
  • When your applet/view refers to this web template, Open UI will look,
    • first under \siebsrvr\WEBTEMPL\OUIWEBTEMPL\CUSTOM.
    • If not found then, it looks under \siebsrvr\WEBTEMPL\OUIWEBTEMPL
    • If not found then, it looks under \siebsrvr\WEBTEMPL\CUSTOM
    • If not found then, it looks under \siebsrvr\WEBTEMPL\


image
custom .js files:
  • All your custom js files should go on web server or on your client: \PUBLIC\enu\FILES\<Siebel_Build>\SCRIPTS\siebel\CUSTOM
  • If you need to modify the vanilla js files, you need to copy them from \siebel\ to \siebel\custom\ and modify there. You also need to update your manifest files and administration when you do so.
custom .css files:
  • All your custom css files should go on web server or on your client:\PUBLIC\enu\FILES\custom\
  • If you need to modify the vanilla css files, you need to copy them from \FILES\ to \FILES\custom\ and modify there. You also need to update your theme.js file when you do so.
custom image files:
  • All your custom image files should go on web server or on your client:\PUBLIC\enu\IMAGES\custom\
  • Make sure that you custom .css or .js files refer to above location for images.
image

Hope this is useful. Let me know if any questions.
Shiv

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thanks, Useful !!
    Small correction, the custom .js files should go into \PUBLIC\enu\\SCRIPTS\siebel\CUSTOM

    I guess, you have accidentally specified \PUBLIC\enu\FILES\\SCRIPTS\siebel\CUSTOM

    Regards,
    Harish

    ReplyDelete