Configuring a rails template
In a shared system deployment, the primary tenant can configure a different rails template for each sub-tenant.
This determines how content is presented in the ION application.
For generic instructions for configuring a rails template, see Creating, editing, and deleting templates in the Rails Builder documentation.
In addition, if the template is for a specific sub-tenant, you must also add a key/value pair to the template, as follows:
- Create a new template and fill in the fields as explained here.
- Under Additional Properties (near the bottom of the page), click ADD PROPERTY.
- In Key, type tenantid.
- In Value, type the ID of the sub-tenant.
- Click CREATE TEMPLATE to save the template.
Once a rails template has been set up like this, when ION makes a request for content and layout, the response will be filtered to use just this template.