Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.
Estimación de tiempo

Verify the Updated Accounts

Check the Updated Field

Now let’s make sure that the code you executed made the changes you want. Find an older account, and check the description field to see if it was updated.

  1. In your Trailhead Playground, click the App Launcher App Launcher icon. and select Sales under All Apps.
  2. Click the Accounts tab.
  3. Click Recently Viewed to show the list of views, and then select All Accounts The Accounts tab is in the Sales app. It includes a number of list views including the All Accounts list view.
  4. Click the gear icon List Settings icon and select Select Fields to Display. Move Last Modified Date to the Visible Fields column, and then click Save.
  5. Click one of the five most recently modified account records (use the Last Modified Date to find these accounts).
  6. Click Details.
  7. Look for the Description field. The value should be: Heritage Account

Summary

Congratulations! You've created your first Apex class that has code to retrieve Account records and logic to iterate over a list of Account records and update the Description field. As you can see, it's easy to manipulate records and data using Apex. To learn more, check out the Trailhead module on Apex Basics & Database.

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios