How To Pass Data From Widget Template To Element Template

(Doc ID 2273224.1)

Last updated on JUNE 27, 2017

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.


I'm trying to figure out if it's possible to pass parameters to element templates from the widget template.

My main reasons is i want to to populate a generic element markup with text passed from the widget template but I don't know if this is possible.

something like this in the display.template:

<div data-bind="element: 'button'" parameters="{text: 'Hello'}"></div>



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms