You need to sign in to do that
Don't have an account?
ColoradoMike
Ideas about what would cause DescribeSObjects to fail?
Hello --
In one of my applications that uses the partner wsdl, the system calls DescribeGlobal as a given user. It's my understanding that DescribeGlobal will only return objects that the user has access to, right?
Anyway, I use the results of the DescribeGlobal (broken down into groups of not more than 100), in calling DescribeSObjects, but I'm getting a error for one user. I don't the particulars of the error yet, but from the cursory glance, it looks like the same error that results if the user calls DescribeSObjects on an object to which he does not have access.
Is anyone aware of any special security caveats that I should be aware of when calling DescribeSObjects?
In one of my applications that uses the partner wsdl, the system calls DescribeGlobal as a given user. It's my understanding that DescribeGlobal will only return objects that the user has access to, right?
Anyway, I use the results of the DescribeGlobal (broken down into groups of not more than 100), in calling DescribeSObjects, but I'm getting a error for one user. I don't the particulars of the error yet, but from the cursory glance, it looks like the same error that results if the user calls DescribeSObjects on an object to which he does not have access.
Is anyone aware of any special security caveats that I should be aware of when calling DescribeSObjects?
Message Edited by ColoradoMike on 05-15-2007 09:58 AM
INSUFFICIENT_ACCESS: insufficient access rights on cross-reference id
I'm guessing that perhaps there's some kind of field-level security somewhere. Any suggestion on how to handle this?
Apparently access to Opportunity, to FiscalYearSettings and also to Period, are linked together in some way.
Can anybody explain this further? Also, are there any other combinations of objects that are linked in this way?
Simon, I know this thread is from way back in 2007, but I'm having the same issue with a Group Edition user with the "Campaign" object.
I have a client ID, so I'm able to get into the org with the API (version 24).
The describeGlobal returns Campaign object (and other campaign-related objects). This is the describe info I get back for Campaigns:
[activateable] =>
[createable] =>
[custom] =>
[customSetting] =>
[deletable] =>
[deprecatedAndHidden] =>
[feedEnabled] =>
[keyPrefix] => 701
[label] => Campaign
[labelPlural] => Campaigns
[layoutable] => 1
[mergeable] =>
[name] => Campaign
[queryable] => 1
[replicateable] => 1
[retrieveable] => 1
[searchable] => 1
[triggerable] =>
[undeletable] =>
[updateable] =>
But similarly, I get the same error when I do a describeSObject on campaign:
INSUFFICIENT_ACCESS: insufficient access rights on cross-reference
any ideas?
Also, Campaign is also listed as a referenceable field on the Task object. When I create a new Task, "Campaign" is indeed listed in the "Related To" drop down. When I click the lookup icon (after selecting Campaign), I get an "Insufficient Priviledges" error):
http://www.screencast.com/t/GMDEJmufloO7