FPF stands for filter parent field. FPV stands for filter parent value. These parameters dynamically filter an embedded grid to only show data related to the record it's embedded onto. For example, if you embedded an Opportunity grid onto the Account record detail page, you could use FPF/FPV to filter the Opty grid to only show opportunity records related to each specific account.
The syntax varies depending on the parent object of the grid, and the object you're embedding the grid onto, but in general, this is the structure to follow:
- FPF tells the grid to look for a certain field on the grid
- FPV tells the grid that once it finds the FPF field, to filter it by the page it's embedded onto.
- On an Account record, if I’ve embedded a Contact grid, my FPF/FPV might be: fpf=AccountId&fpv={recordId}
- Note: The "GridBuddy Grid" Lightning Component only supports an fpv of {recordId}. If you want to use something other than recordId in the FPV, use the "GridBuddy Tabbed Page" Lightning component instead.
- The grid looks for the AccountId field and filters it by recordId of the page it's embedded onto
The syntax varies depending on the parent object of the grid, and the object you're embedding the grid onto, but in general, this is the structure to follow:
- Standard objects look like this:...&fpf=AccountId&fpv={!Account.Id}
- Custom objects look like this:...&fpf=Account__c&fpv={!Account.Id}