Xperience by Kentico Siteimprove integration allows users to check pages for issues directly from Xperience by Kentico.
- Xperience by Kentico >= 26.0.0
- Add project reference
By following the steps below, the integration setups automatically on the first startup.
-
In
Program.cs
, register services and map routes by addingWebApplicationBuilder builder = WebApplication.CreateBuilder(args); ... builder.Services.AddKentico(); builder.Services.AddSiteimprove(builder.Configuration); ... WebApplication app = builder.Build(); ... app.UseKentico(); app.UseSiteimprove();
-
In
Views/_ViewImports.cshtml
, add Tag Helper@using Kentico.Xperience.Siteimprove @addTagHelper *, Kentico.Xperience.Siteimprove
-
In
Views/Shared/_Layout.cshtml
, place the Tag Helper to a suitable location<page-builder-scripts /> <siteimprove-plugin />
-
In your
appsettings.json
, add section"xperience.siteimprove": { "APIUser": "<Siteimprove API user>", "APIKey": "<Siteimprove API key>", "EnableContentCheck" : "<true/false>" // set this to true if you are subscribed to Prepublish feature }
-
In
Program.cs
, register services by addingWebApplicationBuilder builder = WebApplication.CreateBuilder(args); ... builder.Services.AddKentico(); builder.Services.AddSiteimprove(builder.Configuration);
-
In
Views/_ViewImports.cshtml
, add Tag Helper@using Kentico.Xperience.Siteimprove @addTagHelper *, Kentico.Xperience.Siteimprove
-
In
Views/Shared/_Layout.cshtml
, place the Tag Helper inside the head tag<page-builder-styles /> <siteimprove-deeplink />
The plugin is accessible only from Preview mode in the Pages application.
Pages are automatically rechecked when republished to ensure the plugin displays up-to-date information.
Meta tag is added to the head of each page to allow for easier setup of CMS Deeplink on Siteimprove's side. The meta tag follows pattern recommended by Siteimprove:
<meta name="pageID" content="<pageID>" />
For Contributing please see CONTRIBUTING.md
for more information and follow the CODE_OF_CONDUCT
Distributed under the MIT License. See LICENSE.md
for more information.
This contribution has Kentico Labs limited support.
See SUPPORT.md
for more information.
For any security issues see SECURITY.md
.