Close popover

Table of Contents

Overriding the default load activity for a data page rule

Version:

The standard data page rule Declare_CachedDataSystemSettings creates a Node-scope declare page containing your system settings that is refreshed every 10 minutes. Because no database accesses are required, fetching a value from this in-memory page by referencing a property is faster than using PublicAPI functions.

However, if your application includes dynamic system settings that are frequently accessed, you can override the default load activity LoadDataSystemSettings for this data page rule to include them on the data page rule. In your activity, use the function rule @getDataSystemSetting() to look up the value.

Suggest Edit

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.