• TEJESWARI TEJU
  • NEWBIE
  • 5 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 3
    Questions
  • 6
    Replies
/**
 * @description       :
 * @author            : ChangeMeIn@UserSettingsUnder.SFDoc
 * @group             :
 * @last modified on  : 04-05-2023
 * @last modified by  : ChangeMeIn@UserSettingsUnder.SFDoc
**/
public  class AccountController {
    @AuraEnabled
    public static list<Account> getAccounts(){
        //declaring list of accounts
        list<Account> lstAcc = new list<Account>();
        try {
           lstAcc = [SELECT Id, Name, Phone,Rating,Type  FROM Account];
        } catch (Exception e) {
            throw new AuraHandledException(e.getMessage());
        }
        return lstAcc;
        }
    }
/**
 * @description       :
 * @author            : ChangeMeIn@UserSettingsUnder.SFDoc
 * @group             :
 * @last modified on  : 04-05-2023
 * @last modified by  : ChangeMeIn@UserSettingsUnder.SFDoc
**/
public  class AccountController {
    @AuraEnabled
    public static list<Account> getAccounts(){
        //declaring list of accounts
        list<Account> lstAcc = new list<Account>();
        try {
           lstAcc = [SELECT Id, Name, Phone,Rating,Type  FROM Account];
        } catch (Exception e) {
            throw new AuraHandledException(e.getMessage());
        }
        return lstAcc;
        }
    }
Hi All, 
I am trying to capture the vf page input field values to one custom field inside the object. 

I have a  field called "CustomerInformation__c". I want to populate the below input fields fullName, Email, and Company values from the vf page to the salesforce record page.  

Any reference kindly suggests.

add the vf page field values to Customer InformationVF page
I would like to add a custmized action in the page layout of the order summary, this action has to trigger a specific flow that I'm trying to building.
User-added image
The creation of the action was simple enougth to be done also for me!
The problem is related with the flow, specifically I need to use the get records element to get the order Number (or the order ID ) of the current order summary.
How can I access data of the current object that I've selected this from flow?

Can Body help me What are the static variables in salesforce..? give me some examples..

I want to improve my Apex coding skills, other than Trail Head can anyone reccomend some good courses?

Thanks,

Robert

 

 

Can Body help me What are the static variables in salesforce..? give me some examples..