I was able to download the document.json file, however I think my question goes the other way.
Before, I would run this query on the document.json file, using Node.js and obtain a list with all the enabling conditions of the questionnaire:
const fs = require(āfsā);
let document = fs.readFileSync(ādocument.jsonā);
let jsondocument = JSON.parse(document);
var jp = require(ājsonpathā);
jp.query(jsondocument, ā$ā¦Children[?(@.ConditionExpression)]ā);
Apparently due to a change in the structure of the document.json file, I run this query and canāt get the enabling conditions anymore. I donāt know if document.json still contains this information or if it is now stored outside of it? I would like to know where I can get it again?
I am working on a server with version 20.08.1 (build 29049). I have searched document.json and have not found the attribute āConditionExpressionā at all. Instead of this I have found the attributes āEnablementTableNameā and āDoesSupportEnablementTable: trueā at the end of each section and some lists, which I highlight in the following image:
Prior version 20.09 conditions were not fully available in JSON file exported from the system.
If you want to have access to all conditions from questionnaire you should update you version to the latest one 20.10.1 and import questionnaire from Designer. All questionnaire structure including conditions will be exported in JSON file.