- All scripts in Sitecore Content Hub™ are restricted, with permitted libraries and blocked libraries.
- If you have legacy unrestricted scripts that are published, and you upgrade to a later version than 3.2.2, your scripts will still work. However, you will not be able to create or publish new unrestricted scripts.
- If you have legacy unrestricted scripts, we recommend to convert them to restricted scripts.
The ScriptConfiguration setting is system-owned; superusers cannot edit it.
You can use the following libraries in a script:
- One wildcard (
*) means you can use only the classes and objects of that namespace. You cannot use the classes and objects of the embedded namespaces. For example,
System.*allows you to use
System.ArgumentException, but not
System.Web.Services.WebService(the first is directly within the
Systemnamespace, unlike the second).
- Two wildcards (``)** mean you can use any classes and objects of that namespace or any embedded namespaces.
You cannot use the following libraries:
You cannot use the following attributes:
Can we improve this article ? Provide feedback