You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am sorry if this sounds utterly absurd but is there a way to create a new field in a form programmatically?
I wanted a web-shop product add-on for our Plone instance but I couldn't find one that is neither recent nor fully functional which means I am relying on Plomino to help me semi-automate the construction of one.
Thanks
The text was updated successfully, but these errors were encountered:
Fields are just dexterity types (in plomino 2). Forms are also a dexterity type with a layout field which you can edit to insert the right markup for the field to show up. So you can just use normal dexterity apis. You can do it from JS via plone.restapi.
@AshRaghav plone.rest won't work. The python apis for plomino 1 are similar to what I describe above but the objects are Archetype objects, so just look at that api.
Hi @ebrehault,
I am sorry if this sounds utterly absurd but is there a way to create a new field in a form programmatically?
I wanted a web-shop product add-on for our Plone instance but I couldn't find one that is neither recent nor fully functional which means I am relying on Plomino to help me semi-automate the construction of one.
Thanks
The text was updated successfully, but these errors were encountered: