đź’ˇ Feedback
Open
Property Linking/Variables
I am wanting to have a variable (built in property would work as well) set on a page that I am able to reference on the page. This would be similar to block-based linking but not accessible outside of the page.
My use case would be something like the following:
- I am using Capacities more as a documentation platform.
- I have a object called "Snippets" which contain code snippets that I use across multiple projects/pages. One such snippet is creating databases. The snippet looks like the following:
CREATE DATABASE [program];
GRANT ALL PRIVILEGES ON DATABASE [program] TO [program]databaseuser;
GRANT ALL ON SCHEMA public TO [program]databaseuser;
ALTER DATABASE [program] OWNER TO [program]databaseuser;
- I have a property called "Program Name" (might want to slug it to program-name)
It would be cool to put something like "%program-same%" to automatically fill in the program name so that I could just copy and paste the commands in.
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts!
