Skip to main content
Únase a nosotros en TDX, en San Francisco, o en Salesforce+ los días 5 y 6 de marzo en la conferencia para desarrolladores sobre la era de agentes de IA. Registrarse ahora.

Estimación de tiempo

Temas

Preguntar a la comunidad

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.

Verificar paso

+100 puntos

Completará esta/este proyecto en su propia organización de prácticas. Haga clic en Iniciar para empezar a trabajar o haga clic en el nombre de su organización para seleccionar otro diferente.

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