After installation, all Resource Hero features and functionality are preconfigured on the Opportunity and the RH Project objects. The following steps show you how to set up Resource Hero on additional standard or custom objects. This can include Accounts, Leads, or custom objects unique to your Salesforce org.
Create a new lookup field to your object
- Go to Setup → Object Manager.
- In Quick Find, enter
Resource Assignment, then click Resource Assignment. - In the left sidebar, click Fields & Relationships, then click New.
- Select Lookup Relationship as your field type, then click Next.
- Select your object from the Related To dropdown, then click Next.
- Enter your desired Field Label and Field Name. Write down the field name, as you will need it later. Ensure that What to do if the lookup record is deleted? is set to Don’t allow deletion of the lookup record that’s part of a lookup relationship. Click Next.
- Review Field Level Security settings, then click Next.
- Review Page Layout settings, then click Next.
- Review the Related List settings, then click Save.
Add custom setting entry
This step will allow Resource Hero to know how to find your custom object.
- From Setup, enter
Custom Settingsin Quick Find, then select Custom Settings. - In the list of custom settings, click Manage next to RHA Object Translation.
- Click New.
- Enter information about your custom object. Review details about the RHA Object Translation custom setting for details about each field and valid values for each.
- Click Save.
Add the RH Matrix onto your object’s Lightning Page
While viewing a record from your object, click the gear icon in the top-right corner, then click Edit Page. Once the Lightning App Builder opens:
- From the Components panel, search for RH Matrix and drag it onto the desired section of the page.
- Use the settings panel on the right side to adjust the available options. (See the table below for a list of available settings.)
- Save your changes and activate the page if needed.
Learn more about the RH Matrix on the Matrix Lightning Web Component support post.
Create Resource Hero Rollup Fields
Resource Hero has a built-in mechanism that automatically rolls up aggregates from related assignments to your standard or custom object:
Details about out of the box rollups can be found here: Resource Hero Rollup Fields
Details about creating your own custom rollups can be found here: Customized Rollups