1. Scripting SDK

Importing packages

Users can import internal packages (Stylelabs.M.SDK) or external packages (System) inside scripts. All scripts in Sitecore Content Hub are restricted.

Important

You can import only permitted packages to restricted scripts.

SDK packages

Import SDK packages as follows:

using {package_name};
  • Example:

using Stylelabs.M.Sdk.Clients.IEntitiesClient;

System packages

Import system packages as follows:

using {package_name};
  • Example:

using System.Math;
If you have suggestions for improving this article, let us know!