You need to sign in to do that
Don't have an account?

Conditionally hide button/quick action in Lightning experience
Hello,
I'm new to developing for Lightning and wanted to find out if it's possible to hide a button/quick action in Lightning based on the profile of the user?
I've seen examples of how to do this using VF but can't find anything about this using Lightning.
Thanks,
Mike
I'm new to developing for Lightning and wanted to find out if it's possible to hide a button/quick action in Lightning based on the profile of the user?
I've seen examples of how to do this using VF but can't find anything about this using Lightning.
Thanks,
Mike
First step, create ui:button Next step, add to controller And you can add new class in STYLE Related Salesforce Documentation: Adding and Removing Styles (during runtime)-https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/intro_framework.htm
Regards,
Nagendra.