choudharymanish8585 / RentACarMetadata-SFDX

RentACar metadata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RentACar SFDX Metadata

This is sample respository of my udemy course. The repo contains the metadata of RentACar Application. Please follow the instruction in the course to install this schema.

Classes you can use to create the data

CreateData.apxc: This file has the code to create the data to be used in your RentACar Application

DeleteData.apxc: This file has the code to delete the data created by CreatedData.apxc file

CreateDataTest.apxc: TestClass for CreateData class

DeleteDataTest.apxc: TestClass for DeleteData class

How to Call CreateData class

Once you have created your "CreateData" class, follow below steps to call the class method to generate data
  • Open your developer console
  • Click on 'Debug' menu item
  • Select 'Open Execute Anonymous Window'
  • Type CreateData.createPackageData();

How to Call DeleteData class

Once you have created your "DeleteData" class, follow below steps to call the class method to delete data
  • Open your developer console
  • Click on 'Debug' menu item
  • Select 'Open Execute Anonymous Window'
  • Type DeleteData.deleteData();

  • Also download this static resource file and upload in your org. This static resource contains images of the cars.

    About

    RentACar metadata


    Languages

    Language:Apex 100.0%