-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Problem Definition
The customer is aiming to get the layout of the Forms with the data connection options.
as for now, the only way to get the layout of the form is from the database, from which not even there the JSON shows the options of the data connections.
The actual REST API is only exporting data, and the need to get the details of the form has been requested for documentation.
Actual Result:
"design": { "conditions": { "113": { "t": "sh", "i": { "co": { "cIds": { "109": ["3", "342102"] } } }, "o": { "sIds": ["7"] } } }, "questions": { "109": { "type": "cd", "label": "System eller applikasjon", "description": "", "validation": { "rq": true }, "dcId": "299c357b-f5f8-471b-86d1-700f4ba78a3a", "questionKey": "customfield_22860" } } }
Suggested Solution:
Provide the info of the form with:
"design": { "conditions": { "113": { "t": "sh", "i": { "co": { "cIds": { "109": ["3", "342102"] } } }, "o": { "sIds": ["7"] } } }, "questions": { "109": { "type": "cd", "label": "System eller applikasjon", "description": "", "validation": { "rq": true }, "choices": [ { "id": "183375", "label": "A-krim" }, { "id": "183627", "label": "A-ordningen" }, { "id": "184201", "label": "Administrasjonsløsning for analyserom" }, { "id": "183373", "label": "Adobe Acrobat Pro" }, { "id": "342102", "label": "Adobe Creative Cloud" } ], "dcId": "299c357b-f5f8-471b-86d1-700f4ba78a3a", "questionKey": "customfield_22860" } }
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- relates to
-
FORMDC-767 Ability to view form summary information ( forms per project, total number of forms, etc ) via the API
- Gathering Interest