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:

RequestResponse
using {package_name};
  • Example:

RequestResponse
using Stylelabs.M.Sdk.Clients.IEntitiesClient;

System packages

Import system packages as follows:

RequestResponse
using {package_name};
  • Example:

RequestResponse
using System.Math;

Do you have some feedback for us?

If you have suggestions for improving this article,