1
Add global or local scoped variables
Source: outline/outline#8865 · opened by @Lorenzgrauf
Currently when creating a template there are only 4 variables available. But it would be great if admins could create global variables which can be inserted in any document and/or template. So for example: If the company name "My Company GmbH" changes to "Big Corporation" not all documents are now invalid but instead they get updated. It could be as simple as a "table" in the admin are where I can define them:
| Variable Name | Value |
| ----------- | ----------- |
| company_name | My Company GmbH |
| CEO | Max Mastermind |
Referencing those variables should then be able with "Working at {{company_name}} is great!" -> "Working at My Company GmbH is great!".
To think this even further variables for all scopes would be even greater. Variables for a single document, variables available for the whole directory and so on.
| Variable Name | Value |
| ----------- | ----------- |
| company_name | My Company GmbH |
| CEO | Max Mastermind |
Referencing those variables should then be able with "Working at {{company_name}} is great!" -> "Working at My Company GmbH is great!".
To think this even further variables for all scopes would be even greater. Variables for a single document, variables available for the whole directory and so on.
No pledges yet. Be the first to back this.
No comments yet.