Working with controllers | HCL Digital Experience
When you modify a portal resource with the Controller SPI, you go through a set of steps.
About this task
For example, these steps can be as follows:
Procedure
- Obtain the appropriate controller.
- Obtain a modifiable instance of the resource that you want to modify from the controller.
- Apply your modifications as required to the modifiable instance Commit the controller to persist the modifications.
- Optionally repeat steps 2 and 3 as required.
- Commit the controller to persist the modifications.
This step saves and applies the modifications to your portal.
What to do next
Note: You can modify multiple resources with one controller
before you commit the modifications.
For more detailed information about each of these steps refer to the following topics.