Table Group Start Format

Created by Docs Made Easy, Modified on Wed, 16 Jul at 9:08 AM by Docs Made Easy

Available In: Docs Made Easy Basic and Pro



Parameter Value : 

{{TABLEGROUPSTART:RelationshipName:GroupByField}} and {{TABLEGROUPEND:RelationshipName:GroupByField}} 


Parameter Requirements : Child relationship Object


Parameter Description : The TableGroupStart Format parameter in Docs Made Easy is designed to group related records in a table based on a shared field value. It functions similarly to TableStart, but adds the ability to display grouped headers (e.g., by product, status, region, etc.) while still iterating through related records.


Example - 


{{TABLEGROUPSTART:Opportunity.r.OpportunityLineItems:Product2.Family}}
{{Product2.Family}}
{{TABLEGROUPEND:Opportunity.r.OpportunityLineItems:Product2.Family}}
Product NameQuantity Price
{{TableStart:Opportunity.r.OpportunityLineItems}}
{{Name}}
{{Quantity}}

{{TotalPrice}}
{{TableEnd:Opportunity.r.OpportunityLineItems}}


After merging, appears as:



Note:

The TableGroupStart format can also be used in conjunction with custom SOQL queries. In such cases, instead of using the standard Object.r.RelationshipName notation, you must use the alias defined in the query.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article