Add all src file data to Article Metadata page
Display the following data Production editor>PDF assets and CMS>Article template>Article metadata tab;
- Metadata (Submission form); update naming convention so the internal name in the submission matches the variable named in JSON output that is accessed by Flax e.g
submission.title
in Kotahi changes toarticle.parsedSubmission.title
in Flax - the variable should remain asubmission.title
. - Review (Review form data); include review data per submitted review unless the Review form field 'Include when sharing or publishing?' is set to 'Never' or 'Ad hoc (Editor decides at time of sharing/publishing)' is unselected at time of publishing. Reviews should also not be published when the Control panel>Reviews>Submittedd reviews or Control panel>Team>Reviwer Status>Review actions 'Hide review' or 'Hide reviewer name' are unselected.
- Decision (Decision form data); include decision data unless the Decision form field 'Include when sharing or publishing?' is set to 'Never' or 'Ad hoc (Editor decides at time of sharing/publishing)' is unselected at time of publishing.
- CMS Layout; display brand logo, colours and 'menu'.
- CMS Pages; should be displayed in the file tree.
- CMS Collection; should be displayed
- Publication metadata; should be displayed
Additional comments;
- We should document how a developer can access and use these variables in Flax (mapping rules).
- Sanitise data so the naming convention in forms remains the same in the JSON file accessed by Flax.
- When editing a template, surface all article template variables and use an autocomplete solution to input data without having to go back and forth between the Article template and the File browser pages.
Edited by Ryan Dix-Peek