...
We’ll use SB-Forms to create quality-check form.
The config will be stored in the category definition . and rest data is hardcoded in the popup
If quality check form exist in category definition then we’ll open the pop-up
The value of quality-check form will be stored in question object.
...
Category Definition:
We’ll add new form following keys in category definition named reviewerQualityCheck.:
isReviewerQualityCheckEnabled: based on the value we’ll enable quality check form
Possible Values: true/falsereviewerQualityCheck: This key will store SB-form config
Code Block | ||
---|---|---|
| ||
{
"objectCategoryDefinition": {
...
"objectMetadata": {
...
"config": {
...
"isReviewerQualityCheckEnabled": true,
}
},
"forms": {
"create": {},
"delete": {},
"publish": {},
"review": {},
"search": {},
"reviewerQualityCheck": {
"templateName": "",
"required": [],
"properties": [
...
]
}
}
}
} |
...