model.config is for settings which control the behaviour of a property editor for users when editing content. An example of this would be a text box with a character limit. The datatype might have a config value for maxChars which can only be set when creating a datatype in preparation for adding a property to a document type on the developers section. There is no work around for this.
How to change value in model.config and save them when I work with pages.
Hi everyone.
I've created a plugin which use my custom data type.
When I create/edit page where there is my data type I can get all data in angular controller through model.config.
But, how can I change data in model.config and save them?
How can I do that?
I can change data in model.config but the changes will not save.
Just I want to add functionality to change data when user work with page.
Because not all users has permission to the development section.
Thanks
model.config is for settings which control the behaviour of a property editor for users when editing content. An example of this would be a text box with a character limit. The datatype might have a config value for maxChars which can only be set when creating a datatype in preparation for adding a property to a document type on the developers section. There is no work around for this.
I knew it!
Thanks!
is working on a reply...