You need to sign in to do that
Don't have an account?
Filikin
How to mass turn off Salesforce1 user checkbox
Hi,
I need to turn off the "Salesforce1 User" checkbox on all my portal user records (because it causes problems with iPads).
I tried both building a user report and examining the user record schema, but I cannot find the name of this field.
Has anyone any idea how I can turn off this flag for 700 users without going into each one individual?
thanks.
I need to turn off the "Salesforce1 User" checkbox on all my portal user records (because it causes problems with iPads).
I tried both building a user report and examining the user record schema, but I cannot find the name of this field.
Has anyone any idea how I can turn off this flag for 700 users without going into each one individual?
thanks.
Just perform update from dataloader for the portal users by setting UserPreferencesHideS1BrowserUI field value to true or you can also do this from developer console as well.
All Answers
Just perform update from dataloader for the portal users by setting UserPreferencesHideS1BrowserUI field value to true or you can also do this from developer console as well.
list <user> us = [select ID, UserPreferencesHideS1BrowserUI from User where profile.name='Towards Healing Website' and UserPreferencesHideS1BrowserUI=false];
for (user usr : us)
{
usr.UserPreferencesHideS1BrowserUI = true;
}
update us;
so inverting the value for UserPreferencesHideS1BrowserUI in the query and the loop should do the trick