A widget requires two template files, one for displaying the widget and one for editing the widget. (The edit template is required but is not used in this release of Oracle Commerce Cloud Service.)

You can locate the files which serve as the templates at:

<WIDGET NAME> : the root folder of your widget
     templates/
         display.template
         preview.template

Templates are rendered within the context of the widget and should be written as straight HTML with no surrounding script tag. All knockout bindings and behavior is available in the template code.


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices