Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
dpurdy66
Contributor III
Contributor III

Automating project documentation generation.

Is there a way to generate project documentation other than via the project menu?  We would like to automatically generate new documentation when we deploy to production maybe using a rest call or via the composecli.

Labels (3)
1 Solution

Accepted Solutions
Nanda_Ravindra
Support
Support

@dpurdy66  You can use the composcli to generate the project document. 

composecli Generate_project --project YOUR_PROJECT_NAME

For other available commands for generate_project you can run the below command:

composecli Generate_project --help

Thanks,

Nanda

View solution in original post

2 Replies
Nanda_Ravindra
Support
Support

@dpurdy66  You can use the composcli to generate the project document. 

composecli Generate_project --project YOUR_PROJECT_NAME

For other available commands for generate_project you can run the below command:

composecli Generate_project --help

Thanks,

Nanda

dpurdy66
Contributor III
Contributor III
Author

The product help does not mention generating the project documentation.  Also, I only want to generate the project documentation HTML file - not do all the stuff mentioned below.

ComposeCli.exe generate_project --project MyProject --stopIfDatamartsNeedRecreation

When the command is run, Compose will:

  • Validate the model.
  • Create any data warehouse tables that do not exist.
  • Validate the data warehouse.
  • Adjust the data warehouse if needed.

    If an Adjust script is needed and --database_already_adjusted is included in the command, the script (DDL) will not be run as it is assumed that the user ran it manually.

  • Generate all data warehouse tasks.

    If Compose encounters an error while generating a data warehouse task, it will skip the problematic task and continue with the remaining tasks.

  • Create, adjust and generate all data marts.

    If the "Adjust" cannot be performed automatically and --stopIfDatamartsNeedRecreation is included in the command, the process will stop.