Posts

Showing posts from December 24, 2018

Can OWD be imported/exported as metadata?

Image
6 I'm currently trying to create a scratch org which reflects our ludicrously complicated production org which contains hundreds of Roles. Upon deploying most of these, I get errors like: Error src/roles/WhateverUser.role WMSportCustomerUser field integrity exception: unknown (Opportunity access level below organization default) I guess this means I need to correctly configure the OWD before these roles can be deployed. Is there any way to do this using metadata (preferably "mdapi" since we aren't ready to move to "source" yet)? metadata-api metadata roles owd mdapi share | improve this question ...

How to disable a of select element when using AngularJS ng-options?

Image
6 Is there a way to disable an option in a select element when we populate options with ng-options in AngularJS? Like this: http://www.w3schools.com/tags/att_option_disabled.asp You can do it by adding ng-disabled to each <option> tag, but is there a way to do it if we are using the ng-options directive in the select tag? angularjs angularjs-directive ng-options share | improve this question edited Jun 19 '16 at 8:01 Asim K T 6,204 2 45 64 asked Jan 8 '14 at 17:35 ...