Remove Letting Agent

Remove Letting Agent user flow testing

Remove Letting Agent

  1. Ensure that the letting agent account has been registered in storage.

To view the storage of a registered letting account, follow the steps below:

  • Go to the Developer tab in menu bar.

  • Select Chain State from Developer menu list.

  • Select a propertyManagement from the dropdown menu.

  • Select the lettingInfo function using the dropdown input field.

  • Choose Dave admin account.

  • click the ⊕ plus button on the right side.

  • You will see lettingInfo, which means agent added in storage.

  1. Open the Developer tab, then click Extrinsics.

  1. Select the propertyManagement pallet from the dropdown input field.

  1. Select the 'remove letting agent' extrinsic function.

  1. Input location id as 1

  1. Click Submit Transaction.

  1. On success, it emits the LettingAgentRemoved event.

  1. To view the storage changes of a letting agent removed, follow the steps below.

  • Go to the Developer tab in menu bar.

  • Select Chain State from Developer menu list.

  • Select a propertyManagement from the dropdown menu.

  • Select the lettingInfo function using the dropdown input field.

  • Choose Dave admin account.

  • click the ⊕ plus button on the right side.

  • You will see lettingInfo, where locations data has been removed, which means agent removed successfully

Last updated