Hi everyone,
I'm trying to create a "standard" Dictionary containing a number of states for the specific content type. Example of such dictionary:
states_dict = {
'StateOne':False,
'StateTwo':False,
'StateThree':False
}
This data is in turn used to change the "state" of the content, depending on a few different external entities (result of api request-responses for example). And after the content has passed the conditions required for a state, StateOne
for instance, is set to True
on this content object.
Furthermore I am looking to try and make this states_dict
editable, to allow for additional external operations to be adopted in the future.
Is there a way to create a userexpandable default-Dictionary for a content type? Perhaps something related to how vocabularies are used/explained in the mastering plone training?
Any pointers in the right direction, documentation or suggestions is grealty appreciated!
Kind regards, Tony