Organization object page not editable

  • 1
  • Question
  • Updated 3 years ago
I'm trying to create a skuid page to replace the standard company information page (organization object) in settings. I'm able to display the information and edit it, but when I save, I get an error that I do not have permission to edit it. However I can edit it from the standard page just fine. When i look at the model information in the console it says updateable: false. Is there anyway to change this setting? I noticed readonly is set to false as well, so changing that wouldn't do anything.
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,776 Points 4k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
You have debugged this pretty far. There are objects that salesforce will not let Skuid interact with.  Generally these objects don't allow any queries,  but in this case it looks like they allow organization data to be read, but no updated. 

You could create that nice organization detail page in skuid that shows things elegantly,  but then put an edit button that goes to the standard Edit org page (/{{{Id}}}/e)

Sorry about this. 
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,776 Points 4k badge 2x thumb
Thanks for the info. That's a good semi-work around that I'll try.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
This is odd.  The Org data should be something the user can update. This article says that the object supports the update() call. 
https://www.salesforce.com/developer/docs/api/Content/sforce_api_objects_organization.htm

Are we missing something? Is there a list of objects that are not updateable?
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,776 Points 4k badge 2x thumb
Has anyone else been able to successfully update the organization object through Skuid? Would really like to allow customers to update their own address and info in our Skuid page rather than having to redirect out of our package.