Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Configuration Block is ignored while executing the Export Reports to PDF task in Automation Services.
Solution:
While executing the Automation task 'Open Analysis from Library' with Configuration Block followed by the task 'Export Reports to PDF', the PDF is not exported with the filtered and marked data as directed in the Configuration block.
For example, if we pass the following configuration block, the PDF will be exported with complete and unmarked data.
SetFilter(tableName = "ListOfFiles", columnName = "TITLE", values = "root"); SetMarking(tableName = "ListOfFiles", whereClause = "TITLE ='root' ");Passing the configuration block does not overwrite the predefined or default settings of the prepared report. Configuration Block just filters the data in the opened analysis file. We explicitly need to define the settings in the prepared report to include the filtered and marked data.
Go to File >> Export >> To PDF.. >> Prepared report >> Edit the prepared report in use >> Check the 'Filtered values' and 'Marked values' checkboxes as shown in the screenshot below >> Click 'Save' to save the prepared report >> Close the Export to PDF box >> Save the analysis file.
Comments
0 comments
Article is closed for comments.