You need to sign in to do that
Don't have an account?
ForceRookie
How to set the Name using Apex Aura Controller?
Help me on how to set the Name based on selected Object (from dropdown) on upsert.
I'm using Custom Settings.
@AuraEnabled public static void saveCustomSettings(MyCustomSettings__c cs){ MyCustomSettings__c cust = new MyCustomSettings__c(); cust = cs; upsert cust; }
No thanks, guys. I've already got the answer. I updated it to this:
All Answers
Greetings to you!
- I implemented in my Org. Please use the below code[Solved] : - I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha.
Try below code it may helpful for you
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
No thanks, guys. I've already got the answer. I updated it to this: