This is a Visualforce component for in-line editing of an object’s child or related records. It will work for most Salesforce standard and custom objects. Pass in parameters to change what is displayed and if the user can add, edit, or delete records.
Required Parameters
- aParentRecId: Parent Record Id. This is used to select the related object’s records.
- aRelationField: Field that refers back to the parent. This field is used in the query where condition with the Parent Record Id.
- asObjectType: Type of child Object.
- aFieldList: List of fields to display in the pageBlockTable.
Optional Parameters
- aAllowAdd: Ability to add new records. The Add button will display.
- aAllowEdit: Ability to edit records. The Edit link will display.
- aAllowDelete: Ability to delete records. The Del link will display.
- aLabelOverrideFieldList: List of fields with overridden labels.
- aLabelOverrideTextList: List of text that overrides the field labels.
- aDefaultValueFieldList: List of fields used to set default values on added records.
- aDefaultValueTextList: List of text used to set default values on added records.
- aBlockTitle: Page block title text.

