While working on Portal I am facing caching issue when the state of record is cached and does not reflect the changes done in CRM (but changes done on portal side are reflected fine).
Scenario:
* New record is submitted from Portal
* Entity List Displays the Record
* Open view record from entity list -> data is as expected.
* CRM User Logs in, few fields are edited and saved in CRM.
* Open Entity List , Displays old data
* Change entity list sorting , displays correct data
* Open Record from entity list -> Displays Old Data
I am sure there is some cache invalidation logic which is not triggering but I am not able to find any reference.
All reference available online seems to be recommending to restart the portal, or enable change tracking for entity which is already selected.
Any suggestion to resolve the issue ?