![]() | Static File Tokens |
Due to the nature of plugins, some details of your plugin may only be known once its installed via the framework. For this reason, Alchemy4Tridion contains special tokens that you can put into your static files that will get parsed during plugin installation.
The url of your plugin in relation to the Alchemy4Tridion application. ie /Alchemy/YourPluginName/.
![]() |
---|
The Alchemy application url is usually only referenced in relation to Web Services (WebAPI Controllers). |
The url of your plugin's assets folder.
The url of your plugin's controls folder. This is the folder where all of your .ascx files go.
The url of your plugin's StyleSheet folder. This is the folder where all of your .css files go.
The url of your plugin in relation to the Alchemy4Tridion extension. ie /WebUI/Editors/Alchemy/YourPluginName/
![]() |
---|
The editor url is used in relation to Tridion GUI Extensions, and view pages that require Tridion dependencies should use this url rather than the Application Url. |
The url of your plugin's image folder. All images will end up in this folder.
The url of your plugin's JavaScript folder. All of your .js files will go to this folder.
The url of your plugin's libs folder. All of your JavaScript Library folders that are in the special "Libs" folder will be put at this location.
The namespace of your plugin. ie Alchemy.Plugins.YourPluginName
The name of your plugin.
The absolute physical path to the file location of your plugin. ie C:\Tridion\Alchemy\Plugins\YourPluginName\
The url of your plugin's assets folder. Alias for ${AssetsUrl}.
The url of your plugin's views folder. This is the folder where your .aspx and .html files will go.
![]() |
---|
Tokens are case insensitive. ${CssUrl} and ${cssurl} will parse to the same value. |
![]() |
---|
Tokens that parse to URL's will always end in a "/" so that its safe whether you concatenate with a leading slash or not. |
![]() |
---|
Tokens are parsed during plugin installation. This means that after a plugin is installed, the tokens will no longer exist in the static file. |