The billing preview lightning component can only be deployed within a lightning app page and/or lightning record pages for accounts and matters.
Deployment Options
The billing preview component supports dynamic interactions of lightning components. This means, as a developer you may develop a custom lightning component that can listen for interactions that happen within our billing preview window. AdvoLogix supports two interactions:
- Retrieve List of Billing Record IDs - This interaction provides all billing record IDs within the billing preview window based on the filters applied.
- Retrieve List of Selected Billing Record IDs - This interaction provides selected billing record IDs within the billing preview window.
How do I set up an interaction for the billing preview?
AdvoLogix utilizes dynamic interactions that are issued from the custom actions that your administrator may add to your billing preview window. For more details, follow this link.
To add an interaction, select the Billing Preview component instance on your lightning page.
- Switch to the Interactions tab in the right-sidebar.
- Click the Add Interaction action button.
- Select any custom lightning component on the same page with the ability to accept the data provided by the interaction.
- You will now be presented with a list of properties from the chosen component. It is recommended to enter the expression
{!Event.billingIdList}
in the applicable input parameter, where you are expecting the result of the billing preview interaction to be.
Save the app builder page.