Hi community,

I'm trying to read the value of a custom system setting in creatio from the client-side, but I noticed that even if my setting has the flag "Cached" it results undefined when I try to get the value using this code:

var test = Terrasoft.SysSettings.cachedSettings.UsrSysSettingTest;





while...MoreLess

Like 0

Like

5 comments
Best reply

Hi everyone,

I discovered that the problem with the cached setting was the type of it. To fix the issue I simply had to change the type fro...MoreLess

Show all comments (4)

Hi



We have a need to cache some data at the user session level on the server and have identified iCacheStore as the repository choice for this. The following link (https://academy.creatio.com/documents/technic-sdk/7-15/repositories) only gives examples to store strings as values inside the cache object dictionary. 



Could we get a code snippet for how to store C# objects as values inside the cache object dictionary? Thanks in Advance!!

Like 0

Like

1 comments

Dear Shrikanth,

In order to store an object in Application cache you should serialize the object to string and save the string. Please fin...MoreLess

Show all comments

Hi,

I have a requirement to fetch data from an external API. The call is pretty costly in terms of performance and the data size is pretty huge. The good thing is the data is relatively static and doesn't change too often. Also, the data is transient in nature. It needs to be used for some intermediate...MoreLess

Like 0

Like

4 comments

Dear Amanthena,

There is no possibility to write directly to the Redis cache from the configuration. However, you can write to the Application...MoreLess

Show all comments (3)