Introduction
You can use deployment rules to customize application deployment. Deployment rules are written in SQL or XMLA and are commonly used to update or clean up data. Be aware that they run every time you deploy an application. Application modelers can view and manage deployment rules on the Deployment Rules node.
This article covers:
- Navigating to the Deployment Rules node.
- View deployment rules.
- Manage deployment rules.
- Resources for further learning.
Tip: Explore the basics of building applications in the Modeler here.
Navigation
Follow the instructions below to go to the Deployment Rule node.
1. Go to Modeler and select an application.
2. Go to Deployment > Deployment Rules.
You will land on this page:
View deployment rules
Upon reaching the node, you will see a list of all the application's deployment scripts. The column values provide key information about each app instance.
Column | Description |
---|---|
Deployment Rule | The name of the deployment rule. |
Folder | The folder the rule is a part of. |
Type | Whether the rule is SQL or XMLA. |
Active | Whether the rule is enabled to run on deployment. |
Description | The description of the rule. |
Modified By | The latest user to modify the rule. |
Modified Date | The date and time of the latest modification. |
Manage deployment rules
You can manage your deployment rules with the following actions:
Add
Add a deployment rule. Learn more.
Note: The Process OLAP deployment rule is created by default. It generates and processes the application during deployment.
Remove
Removes the selected deployment rule(s).
Move Up/Down
Moves the selected deployment rule(s) up or down the list.
Note: The deployment rule order determines the sequence of execution. Ensure you adjust your list of deployment rules accordingly, with the Process OLAP deployment rule always as the last item.
Change rule name, folder, or description
1. Under the appropriate column, hover over the rule and select the Edit icon ().
2. Enter the new name.
Folders appear in the left navigation to organize your deployment rules.