Unable to clear view cache

Hi All,

I am currently using query based view to show data on secondary list page. However it works fine for the first user but when I log in with the another user it displays data with of the previous session. I checked the output of the query, it is working fine but my view is not updating.

How do I clear/update my view for multiple users?

Thanks in advance…

Pranav Gupta

The view is shared by all users; it’s just a normal SQL view in database. It’s the same as with normal tables - the point is what data you have there and how you filter them.

If you want to use different data for different users, you should include some identifier (such as user ID) in your data and filter by it.

Hi Martin,

Thanks for the reply. I have already used the CurrentUserID in the range part of my View. But still i am not getting the desired output. What wrong i am doing.

Thanks & Regards

Pranav Gupta

I don’t know what you’re doing wrong because I don’t know what you’re doing at all. Please explain your implementation / show your code for filtering.

Hi Martin,

Sorry for late reply.

I have explained my requirements to the below link.

http://dynamicsuser.net/forums/t/72580.aspx

Please read it, and provide some solution.

Thanks & Regards

Pranav Gupta