Setting custom configuration properties for the Script Application | HCL Digital Experience

When the Script Application imports or exports an application, it uses specific properties as the parameters for the import or export. You can override these properties. For example, you can change the file types and sizes that can be uploaded and the number of files that a compressed file for upload can contain.

About this task

By default, you can upload only specific types of files by using the Script Application. The Script Application import feature does not scan uploaded files, therefore use caution before you include other file types as part of an import. If you want to add extra file types, or change any of the other properties, use the procedure given later.

These properties are specific to individual portals. Each virtual portal has its own settings. Therefore, you must override each virtual portal separately.

If you edit the Script Application Configuration Properties component directly in the Script Application Library web content library, your changes are overwritten when a new version of the library is installed, for example when you upgrade your portal installation. To avoid this issue, use the following measure, depending on the type of your HCL Portal installation:
  • If your portal version includes a Web Content Manager license and the Web Content Authoring option for creating extra components, create a new text component for overriding properties. To do so, use the full procedure given later.
  • If you use a base portal installation without a HCL Web Content Manager license and with limited Web Content Manager support, you cannot create new components in the Web Content Authoring user interface. In this case, you can edit the default Script Application Configuration Properties component directly, and then update it again after upgrade as mentioned in step 4 of the procedure given later.


  1. Add a text component that is called Script Portlet Override Properties in the Web Content Manager library Script Application Library.
    In this component, you can override any of the properties in the Script Application Configuration Properties component.
  2. Copy the properties that you want to override from the Configuration Properties component to the Script Portlet Override Properties component.
  3. Edit the properties that you want to change and save the file.
  4. Optional: If you upgrade your portal to another version or with a Combined Cumulative Fix, check to see whether any items you overrode were changed by default. Change the text component and save the component.