Connect Sitefinity
The Silktide plugin for Sitefinity lets you open any page in Sitefinity from Silktide, and tells Silktide to retest a page when you publish it. See CMS connections for what a connection does.
You need administrator access to Sitefinity and to the project's files.
1. Get your key
- In Silktide, open Settings, then Integrations, and choose CMS.
- Choose Sitefinity, pick what the connection applies to, and choose Connect.
- Copy the key.
2. Install the plugin
Download the plugin files, then:
- Move
SilktidePlugin.dllto your project'sbinfolder. - Move
Global.asaxto your project's root folder. - Move the
SilktideFilesfolder to your project's root folder.
If your Sitefinity back office uses a different address scheme from the default, edit backofficeurl in SilktideFiles/JSON/silktideConfig.json to match. Keep [pageRelativePath] in it: the plugin replaces it with each page's address. Most sites do not need to change this.
3. Add the configuration page
- In Sitefinity, create a new page, name it, and choose Create and go to add content.
- Drag the SilktideAPI widget onto the page.
- Publish the page.
If the SilktideAPI widget is missing or does not work, add a reference to SilktidePlugin.dll in your main project, then rebuild and run the solution.
4. Add the key
- In the Sitefinity back office, choose Silktide.
- Paste the key and choose click here for verification.
- When it is verified, choose Save.
5. Add the meta tag
In your .cshtml page template, ideally the master template other pages inherit, add this line inside <head>:
<meta name="silktide-cms" content="@SilktidePlugin.Services.SilktideBackofficeUrl.GetEncUrl()" />
Every page that should open in Sitefinity from Silktide needs it.
6. Retest and check
Retest the website in Silktide. When the test finishes, open a page in the Inspector and choose Open in CMS. The page opens in Sitefinity.
To check publishing, update a page in Sitefinity and publish it. Silktide starts testing that page within a few minutes.