IC2 Not recognizing all Opportunity fields
Currently we have an Opportunity object with 250+ fields and it currently is only recognizing some of them and the OST is not importing them for some reason even though I’ve regenerated the OST a number of times and the Opportunity object in the OST doesn’t actually have the fields. I event deleted the OST directory on the project, reloaded and regenerated.
File saves fine.
Any ideas?
Comments (4)
-
repo owner -
reporter Scott thanks - That’s fixed it! Been soo long since I had an issue like this and haven’t used that feature before. Always good to learn new things!
-
reporter - changed status to resolved
-
repo owner Glad that did it! Yeah, the authorization around these SObject fields is just weird. I've talked to Salesforce about it as it doesn't seem like you should have to have read access on each and every field just to enumerate their metadata (especially when you're a sys admin!), but unfortunately that's how these APIs work. Sigh...
- Log in to comment
Justin, the only reason that would happen is if your connection's user doesn't have visibility for some of those fields. The whole field authorization thing is strange when it comes to the metadata API used to enumerate SObject field details. Take a look at the Ensure field read access connection setting described here:
https://bitbucket.org/RoseSilverSoftware/illuminatedcloud/wiki/User_Guide/Configuring_Connections
and if your connection is not currently so enabled, check that and regenerate your OST. If you're not comfortable doing that, you'll need to update your connection user's profile (or add a permission set) to provide read access to all of the fields.