UpDate 14 February 2017(Spring '17 release): To remove the Import Button on Lightning for Accounts and Contacts Objects please DeSelect the "Import Personal Contacts / Import personal accounts and contacts." under "App Permissions" section on the Profile. To remove it from a Custom Object please DeSelect "Import Custom Objects / Allows non-admin users to import Custom Objects using Data Import Wizard" under the "System Permissions" on the Profile. If you have any issues finding the above please let me know. If you find this to accurately be the new Best Answer please update :)
My question is just the opposite. I would like Import button be available for few profiles, however if I check this box "Import Custom Objects", import button is now visible to all custom objects in my Org. Any advice?
I have deselected the "Import Personal Contacts / Import personal accounts and contacts" under "App Permissions" section on the custom Profile. But still list view shows "Import" button on contact.
Revoke all the Import permission from that profile.
Then it will work.
All Answers
I don't think that Import Button can be disabled from Lightning Page layout.
You can achieve this by revoking permission for particular user on concerned object.
Warm regards,
Sourav.
Thanks for your reply,
i tried all the stuff but i didn't see any thing to disable the button.
is there any way to disable
Revoke all the Import permission from that profile.
Then it will work.
To remove the Import Button on Lightning for Accounts and Contacts Objects please DeSelect the "Import Personal Contacts / Import personal accounts and contacts." under "App Permissions" section on the Profile.
To remove it from a Custom Object please DeSelect "Import Custom Objects / Allows non-admin users to import Custom Objects using Data Import Wizard" under the "System Permissions" on the Profile.
If you have any issues finding the above please let me know. If you find this to accurately be the new Best Answer please update :)
I have deselected the "Import Personal Contacts / Import personal accounts and contacts" under "App Permissions" section on the custom Profile. But still list view shows "Import" button on contact.