You need to sign in to do that
Don't have an account?
jgrenfell
S-Control and Permission to run a SoQL Query
I have an S-control that just takes the id that's
passed to it (it's the Id of a new record just saved), performs a SoQL
query and then redirects the user to a related record. It works
perfectly for system admins, but not for one of the users- it
just sits there blank without redirecting. I logged on as that user and was able to recreate the issue, which indicates this is
something to do with permissioning.
With some alert calls in the s-control, I was able to pinpoint that the javascript just stops when it tries to perform the SoQL query. The user profile for this user has rights to the object being queried, has the API enabled and I tried adding a couple rights to the profile- View All Data and View Configuration, but to no end. Is there a setting, in the profile or elsewhere, that would prevent a user from being able to run a SoQL query in an S-Control?
I have similar s-controls in different salesforce instances and have never hit this before, very frustrating!
With some alert calls in the s-control, I was able to pinpoint that the javascript just stops when it tries to perform the SoQL query. The user profile for this user has rights to the object being queried, has the API enabled and I tried adding a couple rights to the profile- View All Data and View Configuration, but to no end. Is there a setting, in the profile or elsewhere, that would prevent a user from being able to run a SoQL query in an S-Control?
I have similar s-controls in different salesforce instances and have never hit this before, very frustrating!
I was trying to avoid the Firebug route just because the new version of Firefox doesn't support Firebug (I discovered after letting it upgrade) so it would have required downgrading Firefox first.
Emily