You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to update Account.Attributes StaffAssignmentDisabled/ViewReportsDisabled?

Accepted answer
28
Views
2
Comments
edited Jun 8, 2022 12:01PM in General Technical Discussions 2 comments

Content

I am able to update AccountLocked but StaffAssignmentDisabled and ViewReportsDisabled won't update.  Is there a special way you have to update these fields?

Code Snippet

             //works
ao.AccountLocked = true;
ao.AccountLockedSpecified = true;

//doesn't work
ao.StaffAssignmentDisabledSpecified = true;
ao.ViewsReportsDisabledSpecified = true;

ao.StaffAssignmentDisabled = false;
ao.ViewsReportsDisabled = false; 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!