Importing packages

Current version: 3.3

Users can import internal packages (Stylelabs.M.SDK) or external packages (System)) inside scripts.

Important
  • All scripts in Sitecore Content HubTM are restricted. Unrestricted scripts are obsolete.
  • 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;
Note

For more information about SDK packages, please refer to the API reference notes.

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,