Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Editor:

  1. Update Object category definition through postman Add new field under the framework details include the new field called evaluable

Code Block
                        {
                        "code":"evaluable",
                        "name":"Evaluable",
                        "label":"Evaluable",
                        "description":"Is Question is Evaluable",
                        "default":false,
                        "dataType":"boolean",
                        "inputType":"select",
                        "editable":true,
                        "required":false,
                        "visible":false,
                        "renderingHints":{
                            "class":"sb-g-col-lg-1 required"
                        },
                        "range":[
                            true,
                            false
                        ]
                    }

2. Code changes

a. Add question type you want to set evaluable as true in the editor.config.json

"evaluableQuestionSet": "PIAA Question Set",

b. Depends on type of question set user select from the dropdown [“PIAA Question set“, “Practice Question set“ …] set evaluable flag to true/false.

c. If the selected question set matches to configured question set the evalauble will be set to true otherwise false in node update api.