Organization Object data is undefined when non-SYS Admin users access skuid page

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi,

When trying to validate the current organization is Sandbox or Production using "Organization" standard object created a model in skuid page.

var isSandbox = orgnModel.getFieldValue(orgnRow,'IsSandbox');


When a non-sys admin user executes the page, always, isSandbox  is "undefined" .

and this user has no "View All" or "View Setup and Configuration", as per their role we shouldn't provide those permissions.

Hence , any thoughts on how to get this done ?

 
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,220 Points 5k badge 2x thumb
KVin~

The organization object is one that Salesforce keeps locked down. Skuid is able to access it on the back end but we are not able to modify which profiles are able to view it. Skuid respects all of Salesforce's security settings so if Salesforce has restricted it to only Syst Admins, anyone who needs access to it will need to be a Syst Admin.

Sorry can't help you!
Karen