Error in opening thick client when setting user's default queries via eScript
Hi,
We have a requirement to automatically create the user's default queries with in User Preferences so all the users in organization have similar set of default queries executed when ever they navigate to Case and Task view and also because the default queries overrides any user created PDQs even if the user PDQ alphabetical order is lesser than default queries. So For eg:
Default Query name: All Activities
User PDQ name: AAA
Even if the user PDQ AAA comes before All Activities, whenever navigates to Task view 'All Activities' should take precedence and should executed by default
The solution we have implemented for this requirement is based on a eScript which gets triggered on Application Start. We have created a LOV Type where we store the the default queries name along with the View and screen name. In our eScript we pick the default query name from LOV and stamp it against user's default queries in User Preferences. The script works perfectly fine when we login to the thin client and correctly sets the default queries for the user. However when we login to the dedicated client we see our view access has been restricted. I have