Issue Binding Empty String to System Setting in Package

Hello Community,

I’m trying to bind a system setting to a package with its value set as an empty string.

I added the system setting with an empty Text value in the package, but during installation, I'm encountering a JavaScript error when attempting to read the value from the same system setting field.

Has anyone faced a similar issue, or is there a proper way to bind an empty string in system settings within a package?

Thanks in advance!

Like 1

Like

4 comments

Hello!

In Creatio, there are 2 tables for system settings: one for system setting itself and other for system setting value. If you don't have value for system setting, then you can bind only system setting itself to a package. I never faced error during installation of package with bind of system setting without system setting value.

In your case, did you bind empty system setting value to a package or only system setting?

Hello Khassan Khakak,

Thank you for your response.

In my case, I had bound both the system setting and the corresponding system setting value to the package, with the value set as an empty string (Text Value). After installing the package in a fresh org, The page that tries to read the system setting value using JavaScript in Freedom UI handlers throws an error.

As per your suggestion, I tried binding only the system setting without the SysSettingsValue entry, but it still resulted in the same error.

Appreciate your input!

Best regards,
Ajay

What is the error you get?

Ajay,

What is the error and what does the code look like that is reading it?

Show all comments