INSTANCE TABLES

ruthrav
Mega Guru

Hi,

I have created a custom widget which is basically a box with a text which is used to redirect to another page. I have added this widget to a page also. But i am not able to edit the widget instance from the Page Editor upon clicking on the 'edit widget instance' option.

But i am able to edit the instances of OOB widgets which i have added to the page.

Any idea why am i not able to edit instance of a custom widget? Does it have anything to do with other instance tables?

Many Thanks,

Ruthra

3 REPLIES 3

parvinder2
Tera Expert

Hi Ruthra,



I also created few custom widget but was able to update Instance from Page editor.



find_real_file.png



Kindly share your steps.



PS: Hit like, Helpful or Correct depending on the impact of the response




Regards,


Parvinder


ruthrav
Mega Guru

Hello Parvinder Pasrija,


                  I found out the solution for it. You can see a field called option schema in the widget. Please add the necessary fields which you want to get while clicking the edit instance option in the format ---->


[{"name":"show_panel","label":"Show Panel","type":"boolean"}]




This is used for showing a field called 'Show Panel' and is of type boolean.



Hope you find it Helpful.


Thanks   and Regards,


Ruthra.V