What is the difference between Data Table and Options schema for a widget?

hamzaathar
Tera Expert

Hi,

 

hamzaathar_0-1740559573303.png

 

 

When a widget is added from the page editor. There is pencil icon, which opens a modal allowing you to set various options for a widget. Do those options come from the options schema or data table?

 

Please clarify what is the use of data table and options schema.

 

Thank you,
Hamza

 

 

6 REPLIES 6

Kieran Anson
Kilo Patron

The modal that opens in page designer points to the options schema, specifically the widget instance's schema. Option schema allows a widget creator to define configurational behaviour that can be altered on a per-instance basis. 

 

For data table, could you share further on where you're seeing this? There's a few overlapping uses of the term 'data table'

hamzaathar_1-1740559530515.png

Here is the Data Table field.

Juhi Poddar
Kilo Patron

Hello @hamzaathar 

  • The options you see are Instance Options specific to that particular widget instance.
  • Each widget can have multiple instances, and these instance records are stored in the sp_instance table.
  • These options are different from the Option Schema.

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

 

 

 

Hello @hamzaathar 

  • I believe you are referring to the pencil icon for widget in page designer as pointed in my screenshot.

JuhiPoddar_1-1740561183318.png

  • The form appears are the instance of a widget.

JuhiPoddar_2-1740561228722.png

  • You can find all the instance in related list of that particular widget.

JuhiPoddar_4-1740561622223.png

  • You can also open the instance options from portal to get access of the Instance form.

JuhiPoddar_0-1740561057323.png

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar