You need to sign in to do that
Don't have an account?
Meena25
Updating opportunity field(lookup to user) to the username who clicks the button
I have a custom button in lightning and whenever user clicks that, whoever clicks should be assigned with his namee. what is the query that i should use in Apex controller
This should work for you. Thanks.