Updates / Documentation
Installing JLSM on Sitecore XM and XP
- Sitecore XM
Everything to have ready before you download the JSON-LD Schema Manager package for Sitecore Experience Platform (XP) or Sitecore Experience Manager (XM) on-premises: what your servers need, what our systems must reach, and the values you will be asked for, each with an example.
Work through this list before you download the package. It applies to Sitecore XP and Sitecore XM, version 10.3 or later. Most of it is finding values and checking that servers can be reached, and some of it may need whoever runs your firewall. Nothing here changes your servers.
On SitecoreAI (formerly XM Cloud)? Find out what you need here.
The examples are in this type. They are examples: use your own values.
JSON-LD Schema Manager is hosted by us. Your Sitecore does not call it; it calls your Sitecore, from our servers, as the person who is signed in. So your Content Management server and your Identity Server must both be reachable from our systems, not only from your people's browsers.
JSON-LD Schema Manager works on Sitecore XP and XM hosted on Azure PaaS or Sitecore Managed Cloud. The set-up needs a little more work from your team than an on-premises install. Contact us before you download the package, and we will set up a trial and a proof of concept with you.
1. Your Sitecore
- Sitecore Experience Platform (XP) or Sitecore Experience Manager (XM), version 10.3 or later.
- The Authoring and Management GraphQL API is switched on on the Content Management server: GraphQL.Enabled is true in Sitecore.GraphQL.config.
- SXA with a headless site. JSON-LD Schema Manager reads the site's Page Designs and writes Partial Designs.
- Sitecore Preview Layout Service on the Content Management server, for page previews.
- Sitecore Identity Server: the one your Content Management server already signs people in through.
2. What our systems must reach
Both servers must answer our systems over https on port 443, each on a host name with a certificate issued by a public authority. A private or internal-only address cannot be used, and neither can another port.
| Server | Sample address | What we call |
|---|---|---|
| Content Management | https://cm.example.com |
/sitecore/api/authoring/graphql/v1 and /sitecore/api/graph/edge |
| Identity Server | https://identity.example.com |
/.well-known/openid-configuration, its signing keys and its token endpoint |
- The Content Management server is reachable from outside your network at the address your people use to open the Sitecore Launchpad. The two must be the same address.
- The Identity Server is reachable from outside your network at the address it calls itself by: the address your browser goes to when you log in to Sitecore.
- Both have a publicly trusted certificate. A self-signed or internal certificate is refused.
- If a firewall stands in front of either, our outbound addresses, listed below, are let through.
| Our outbound address | Where |
|---|---|
135.171.88.40/32 |
Microsoft Azure, Singapore |
More may be added. The set-up screen shows the current list when you connect.
A sign-in from an Identity Server is good on every Content Management server behind it. Do not connect a test server that shares an Identity Server with production.
3. How your people will sign in
Choose one before you start. You are asked on the first screen, and the choice is made once.
- Through Microsoft Entra, if that is how your people sign in to Sitecore today. JSON-LD Schema Manager uses the sign-in you already have; section 4 lists the details of it we need.
- With Sitecore accounts. People sign in at your Identity Server's own login page with the user name and password they use for Sitecore. Nothing is needed outside Sitecore, and you can skip section 4.
4. For Microsoft Entra only: the details we need
This section is for a Sitecore that already signs people in through Microsoft Entra. Nothing is set up or changed in Entra: you give us the details of the sign-in you have. None is secret, and we do not keep them: they go only into a file you download.
| Detail | Where to find it | Sample entry |
|---|---|---|
| Directory (tenant) ID | TenantId in your Identity Server's Entra settings, usually Sitecore.Plugin.IdentityProvider.AzureAd.xml, or the app registration's Overview page in Entra |
11111111-2222-3333-4444-555555555555 |
| Application (client) ID | ClientId in the same settings, or the same Overview page |
aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee |
| Administrators group Object ID | The group whose members are Sitecore administrators: the group your Entra settings map to the administrator claim, or the group's own page in Entra | 99999999-8888-7777-6666-555555555555 |
| Other group Object ID | Optional, up to eight. Only for a group that is to get a Sitecore role it does not get today | 12345678-90ab-cdef-1234-567890abcdef |
| Sitecore role for that group | Role Manager in Sitecore, with its domain | sitecore\JLSM Authors |
- The tenant and application ids are those of the registration Sitecore signs in through today. Different ones would take its place for everyone who signs in to Sitecore.
- You know which group's members are Sitecore administrators.
- You know which groups, if any, are to edit schema without being administrators.
The group mappings you already have stay as they are. To let a group edit schema without being
administrators, give it the role sitecore\JLSM Authors, which the package adds.
5. Settings on your Content Management server
Most installations set neither of these. Set one only where the server would otherwise give us the wrong
address, in a patch file of your own such as App_Config/Include/zzzz/Jlsm.Local.config.
| Setting | Set it when | Sample entry |
|---|---|---|
JLSM.CmUrl |
The server sees a different address from the one in the browser, for example behind a proxy that ends https | https://cm.example.com |
JLSM.IdentityServerUrl |
Sitecore's own Identity Server setting is not an https address, or is not the one reached from outside | https://identity.example.com |
- You know whether you need either setting. Each is https and a host name, with no port and no path.
You will also create one item after installing, so it helps to decide its values now:
| Item | Where | Sample entry |
|---|---|---|
| API key, for page previews | /sitecore/system/Settings/Services/API Keys, from the API Key template |
Name JLSM; the key is the item's id, such as {0A1B2C3D-4E5F-4A6B-8C7D-9E0F1A2B3C4D} |
6. What you will be asked when you first open it
Have these to hand for the first page after you sign in.
| Asked for | What it is | Sample entry |
|---|---|---|
| Company name | The company this Sitecore belongs to. It names your account with us and appears on invoices | Example Pty Ltd |
| Site path | The site JSON-LD Schema Manager works in, as its path in the content tree | /sitecore/content/Example/website |
| Site languages | The language codes the site serves, separated by commas | en, fr-CA |
| Default language | Optional. Left empty, the first language is the default | en |
| API key | Optional. The id of the API key item from section 5, with its braces | {0A1B2C3D-4E5F-4A6B-8C7D-9E0F1A2B3C4D} |
- You know which site JSON-LD Schema Manager will work in, and its languages.
- You know who will accept the terms and where receipts go: a name and an email address.
- You have a way to pay: a card for a monthly or annual licence, or an invoice for an annual one. If we have arranged your licence in advance, you will be sent a second, small package that carries it, and you are not asked to pay.
7. The people you need on the day
- A Sitecore administrator who can install a package on the Content Management server.
- Someone with access to the Identity Server's folder who may place a file in its Config folder and recycle its application pool. On a farm, on every instance.
- For Microsoft Entra: someone who can read your Identity Server's Entra settings, or the app registration and groups in Entra.
- Whoever runs your firewall, if section 2 needs an address let through.
When every box is ticked, download the package and follow Installing JSON-LD Schema Manager. The install itself is short: one package on the Content Management server, one or two files on the Identity Server, and a sign-in.