You need to sign in to do that
Don't have an account?
Unable to add "Email Opt Out" to page layout in sandbox, so can't access via Partner WSDL
Hello,
I am unable to add the field "Email Opt Out" (API name "HasOptedOutOfEmail") to our Lead page layout in our Sandbox environment. The strange thing is, when i click "Edit Layout" and attempt to add "Email Opt Out" to the layout, it appears in the layout editing view as it should along with the rest of the fields, but when I save it, it does not show up in the actual layout.
This is causing problems during development because my orginization is using the Partner WSDL, and as such we can only access object fields that are in the page layout for that object. So "Email Opt Out" does not exist as a valid field in the WSDL, and when I try to create or update a Lead with a value in the "HasOptedOutOfEmail" API field, I get a INVALID_FIELD_FOR_INSERT_UPDATE exception.
Any ideas, or anyone run into this before? I would appreciate any help, except for just saying "well then just use the Enterprise client!" -- this is not feasible in our organization right now because our entire Salesforce library was written to use the Partner API.
Thank you!
SB
All Answers
Any ideas out there?
Thanks!