Posts

Bind Variables in a SOQL Query - getContactIDWithBinds

  public class QueryContact {     public static Id getContactID(String lastName, String title) {         try {             Contact myContact = [SELECT Id FROM Contact WHERE LastName = :lastName AND Title = :title LIMIT 1];             return myContact.Id;         } catch (Exception ex) {             return null;         }     }     public static Id getContactIDWithBinds(Map<String, Object> bindVars) {         // do not modify any code above this line         // implement the logic that will use bindVars to retrieve the contact's ID         String queryString = 'SELECT Id FROM Contact WHERE LastName = :lastName AND Title = :title LIMIT 1';         try {             // Ensure that the bind var...

Admin 201

Image
CERTIFICATION Salesforce Certification Salesforce Certified Administrator Certified Administrators are Salesforce pros who are always looking for ways to help their companies get even more out of the Salesforce Platform through additional features and capabilities. Topic Weighting Topic Weighting Organization setup 2% User setup 7% Security and access 14% Standard and custom objects 15% Sales and marketing applications 15% Service and support applications 12% Activity management and collaboration 3% Data management 8% Analytics 10% Workflow/process automation 12% Desktop and mobile administration 1% AppExchange 1%

Superbadges Doubts

Image
Comments an questions on below Superbadges: Superbadge Service Cloud Specialist Superbadge Data Integration Specialist Superbadge Apex Specialist Superbadge Lightning Experience Rollout Specialist Superbadge Selling with Sales Cloud Specialist Superbadge Lightning Experience Specialist Superbadge App Customization Specialist Superbadge Process Automation Specialist Superbadge Lightning Experience Reports & Dashboards Specialist Superbadge Business Administration Specialist Superbadge Security Specialist

pd1 salesforce

Create a Student Registration form using VisualForce, Apex part 1

Image
Here I have created a Visual force page for student registration and added some images, buttons, and a registration form. And creating validations on controller in next post... <apex:page> <center>   <apex:image url="https://c.na172.visual.force.com/resource/1587619471000/Background?" height="400px" width="1200px" styleClass="imageStyle"/>       <div>          <!- - Begin Default Content REMOVE THIS -->   <h1>Congratulations</h1>      </div>    <div>     <body style=" background-image:url('{!$Resource.BackgroundHome}');" background-repeat="no-repeat" background-attachment="fixed" background-position="center"></body>     <h> This is your new Page</h>                     </div>   <!-- End Default Content REMOVE...