3 years ago
Orientation Property Added to Custom Report Flow Documents
Overview
In order to support setting the page orientation of Custom Reports Flow documents, we have added a new property to the CustomReportDocumentDefinitionFlowWebModel
called orientation
. The property has also been added to endpoints which create or edit the Flow documents definition.
Who will this affect?
This change affects users who are creating and editing custom report flow documents through the API.
Details
Responses that use the CustomReportDocumentDefinitionFlowWebModel
will now need to include a definition for orientation
.
Requests to the following endpoints will now require a value for orientation:
POST api/custom-report/{customReportCode}/document-definition PUT api/custom-report/{customReportCode}/document-definition/{id}
The orientation
property can be one of two options:
Portrait
Landscape
For example, creating a Flow document via POST /api/custom-report/{customReportCode}/document-definition
{ "name": "ExampleDocument", "documentDefinitionInfo": { "discriminator": "CustomReportDocumentDefinitionFlowWebModel", "orientation": "Portrait", "controls": [...], "visualizations": [...] } "signature": "..." }
Expected Release Date
9th December 2021