[CMS] Send review and decision form data to Flax
Currently, only submission form data is sent to flax - as per the aperture
instance archetype (e.g. https://apertureneuropub.cloud68.co/articles/22/index.html). The purpose of this task is for data captured in the Review and Decisions form to also be sent to sent to Flax for the aperture
and colab
archetypes on the publish action.
Review data to be sent to Flax on publish action;
- Completed individual reviews, where the form field setting 'Include when sharing or publishing?'= 'Adhoc' (and selected) or 'Always'.
- Reviews where Control panel>Decision>'Hide review' is not selected.
- Reviewer user profile data if Control panel>Decsion>'Hide reviewer name' is not selected.
Decision data to be sent to Flax on publish action;
- Decision form field data where the form field setting 'Include when sharing or publishing?'= 'Adhoc' (and selected) or 'Always'.
- Editor user profile data (as per role assigned)
Form field types to be supported;
- TextField (publish submitted data only)
- AbstractEditor (publish submitted data only)
- Select (publish field title and submitted data)
- RadioGroup (publish field title and submitted data)
- CheckboxGroup (publish field title and submitted data)
- ThreadedDiscussion (publish submitted data only)
- LinksInput (publish submitted data only)
- AuthorsInput (publish submitted data only)
- *SupplementaryFiles
- *VisualAbstract
*currently not able to send files to Flax. Perhaps out of scope.