RawCMS is the headless CMS written in asp.net core build for developers that embraces API first technology. Please give us a feedback!
GNU General Public License v3.0
173
stars
72
forks
source link
Manage multiple events on save pipeline (PART I) #165
Closed
zeppaman closed 4 years ago
Now we have a "PreSave" script that alter data before it is written on database. The evolution of this is managing all possible events.
Event list
In the future, we may have more events, for now just start with that.
On UI
the vertical tab list will contain one script for each event. This list can be fixe for now.
Data model
Now we have a field for the only event. Keeping all in this way may be confusional for lot of events. So we nedd to add some inner object like:
Basically an entry in form: javascript code insite an "Event" subsection