Configuring a File Extension for CSV Report
Sigma enables you to configure a report with a specific file extension of your choice for the CSV format. You can even select a specific delimiter for the CSV format. Delimiters like comma and semicolon pave the way for the listed characters in the data sets to be distinctively separated in a proper manner. For the CSV format, the delimiters like comma and semicolon logically separate the different characters present in the data sets and the logical sequence of data will be displayed in an acute manner in accordance with the adept usage of delimiters. In Sigma Studio, you can assign delimiters and choose a specific file extension for the CSV format with simple and effective configuration steps.
To disable the headers and footers of a CSV report, specify the print options as N for the CSV report header and footer in the Sigmaexportconfig.properties file (e.g. D:\Canvas\apache-tomcat-8.5.9\webapps\sigma\WEB-INF\lib), present in the Sigma Application WAR folder. A sample entry is provided in the following code snippet:
# Indicator to decide to print CSV header in CSV report output. PRINT_CSV_HEADER = N # Indicator to decide to print CSV footer in CSV report output. PRINT_CSV_FOOTER = N
For detailed information on the Sigmaexportconfig.properties file, refer /wiki/spaces/sigma2021/pages/2577957158.
To configure a report in the CSV format with a particular delimiter and a specific file extension, perform the following steps in Sigma Studio:
- On the home page of Sigma Studio, click Manage > Report.
The Information Report screen appears. - Enter a unique ID in the Report Id field, e.g. ACCOUNT_MASTER.
- Enter a unique name in the Report Name field, e.g. ACCOUNT MASTER.
Provide the other necessary details for the report, as shown in the following screen shot.
For detailed information on creating reports, refer Configuring Reports.
- In the Select Allowed Format field, click the CSV format.
The Configure delimiter for CSV pop-up appears. Click the Delimiter drop-down list and select the delimiter of your choice, e.g. Comma.
The available delimiters are: Comma, Pipe, SemiColon, Space and Tab.
Click the Text Qualifier drop-down list and select a text qualifier of your choice, e.g. Double Quotes.
Text Qualifiers are used within the delimiters to indicate the beginning and the end of the contents for a particular delimited text value. If the delimited text values are indicated in double-quotes, then the text values placed within the double quotes will not get separated by the delimiter, thereby ensuring that the specified text values placed within the double quotes are considered as a single value.
Click the Select File Extension drop-down list and select a file extension of your choice, e.g. csv.
The available file extensions for the CSV format are: csv, tsv and txt.
- On the Information Report screen, click the Report Parameters tab.
If the report column headers need to be hidden when the report is generated, click the Remove Column Header in drop-down list and select the report formats which when generated must not have the report column headers.
In the Sigma Application, report consumers will get the option to either turn on or turn off the report column headers only for the report formats selected from the Remove Column Header in drop-down list. By default, the report column headers are turned off in Sigma Application for the format that is configured in the Remove Column Header in drop-down list.
- Click Save to save the report.
A confirmation message, indicating a successful save of the report, appears. - Click Ok.
For detailed information on generating a CSV report with a specific file extension in Sigma Application, refer Generating a CSV report with a specific file extension.
Copyright © Intellect Design Arena Limited.
All rights reserved. These materials are confidential and proprietary to Intellect Design Arena Limited and no part of these materials should be reproduced, published in any form by any means, electronic or mechanical including photocopy or any information storage or retrieval system nor should the materials be disclosed to third parties without the express written authorization of Intellect Design Arena Limited.