My Oracle Support Banner

How To Pass Data From Widget Template To Element Template (Doc ID 2273224.1)

Last updated on FEBRUARY 09, 2021

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>



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.