The first time a user creates a new formula a list of all the published entities is retrieved & stored in the browsers internal cache. The operation to retrieve the list of entities is expensive in terms of time so by caching the list of entities we subsequently speed up all future page load times.
However this does mean that if you add a new entity it will not automatically appear in the Source Entity list. The following steps will help you to refresh this cache.
- Open any formula within Dynamics CRM
- Next click on the ribbon 'N52 Commands' button on the ribbon.
- Then click on the 'Refresh' menu option
- Close the formula
- Now when you open any formula you will see a refreshed cache list.
Note 1 :
As the caching is browser specific each user of the system needs to do this on their own machine to get the list of entities refreshed.
Did you know?
xCache helps you manage environment specific configuration
North52's Decision Suite component xCache allows you to set up environment specific data to allow you to use different values for different instances. Your advanced business rules logic could be the same, however you need to use specific reference values for a particular instance.
For example, credentials for a web service used in your Formula - you will likely use different keys/URLs for your Dev, Test and Production instances. Store these in xCache and let the North52 business rules engine apply the correct ones at runtime!