The Composer File (pcxml)is a file type that contains a proprietary language used by Alteryx for reporting purposes. What this means for use in the Gallery is that an end user will have the ability to choose among XLSX, PDF, DOCX, ZIP and HTMLfile types for output.
The AlteryxServerUsageReport.zip available on the Downloads Portal is for versions 2019.3 and below. In versions 2020.1+, Tableau output fails with error “Error: Alteryx Server Usage Report (8): RunBatch (695): Tool #1: The external program ".\CollectionCheck.bat" returned an error code: 1”.
The Alteryx Gallery can support custom reports in .rptx format. If a workflow or app is uploaded to the gallery without taking the following steps, there will be an error stating that it can not find the .rptx file. The key is to make sure to save a copy of the .rptx file in the same location as the App so that the allocate report configuration is not lost. Then make sure to add the RPTX file as an asset attached to the Allocate Report tool before publishing to the gallery. To do this, first make sure that the Display Asset Management in Properties Window option is checked in Designer User Settings:
Now click on the Assets icon on the left side of the Allocate Report configuration window, and add RPTX file:
It is important to know that Custom VVFs are not supported in the Gallery. If there is a custom variable that you would like to include, it must be calculated inside the .RPTX file itself. Calculating a Variable inside an RPTX: Opening an RPTX in the Composer will display the code that drives the custom report by adding code similar to the following, a new variable can be calculated within the RPTX itself. <td align="Left" width="17%">My Variable </td> <td align="Right" width="8%"> <all:app class="__format2" formula="(XCYFEM + XCYMALE)" /> </td>