Salesforce APEX Introduction Developer Console - Custom Objects, Apps, and Fields with Triggers

Опубликовано: 26 Июнь 2026
на канале: VBA Tutorial
337
3

In this video, I introduce you to the Salesforce APEX coding language.

1. I show you how to sign up for a free Developer Edition of Salesforce trial at the following link: https://developer.salesforce.com/signup
2. I quickly review User Licenses and data storage limit capacity on the Company Information section found in Setup in Quick find. (You can watch my Salesforce Users video for more information on Users, Profiles, and Licenses.
3. I review how custom objects and custom fields have two underscores followed by c. For example, Invoice__c represents the custom Invoice object that I show you have to create in this video. Amount__c represents the custom field object that you create on the custom Invoice object.
4. I show you how to create a custom object called Invoice from the Setup menu by selecting Create at the top right.
5. I show you how to create two custom fields for this custom object by navigating to Setup - Object Manager - Invoice - Fields and Relationships - New.
6. I show you how to create a Tab in Setup - Tab for your custom Invoice object and assign it a logo icon for reference later while creating your custom app.
7. I show you how to create a Custom App -- select App Manager - New Lightning App - and add two Navigation Items called Opportunities and Invoices (with the logo icon from Tab before). You can click Apps at the top left to reach your Custom App after creating it. Your custom app will have the two object tabs Opportunities and Invoices at the top.
8. I show you a basic before insert APEX Trigger in the Developer Console which inserts a default given Date value into a column in the Contact tab whenever a new Contact is created.
9. I show you how to require that, out of two fields, at least one field is not null. I also show you how to set one field equal to another field's value if it is null and the other field has a value with an else if APEX statement.
10. Lastly, I show you how to create three Invoices based on a single Opportunity reaching the Closed Won Stage Name value. These three generated invoices have the custom Amount field and the custom Opportunity field that you created initially. The values in these two fields in the Invoice object records are based the original Opportunity record.