I am struggling to understand how to use group select. I am building a template that will be run from a "parent opportunity" it should be looking at children opportunities and opportunity line items on those children. I want to group by Child Opportunities Account Name. and put the opportunity products within the table.
I am getting errors like the following. Any suggestions, I feel like i have tried everything
TemplateErrorExists:Group and matching EndGroup tags must be in the same paragraph as
grouped content OR in their own paragraphs above and below grouped
content.TemplateErrorExists:Schema Validation Error: The required attribute 'By' is missing.
Dealership Name:
TemplateErrorExists:XPathException: XPath expression (./Account.Name)returned no resultsDealership Location: TemplateErrorExists:XPathException: XPath expression
(./Account.ShippingAddress) returned no results
Product Description Term List Price Discount Total Price
Recurring Price: TemplateErrorExists:XPathException: XPath expression
(./MRR_Amount__c) returned no results
Config & Staging: TemplateErrorExists:XPathException: XPath expression
(./One_Time_Services_Total__c) returned no results
TemplateErrorExists:Error: EndGroup without matching Group
Sounds like two things are happening — your `<Group By="...">` tag isn’t set up correctly, and some of your merge fields aren’t matching the data context you’re in. Make sure the Group and EndGroup are on their own lines or in the same paragraph, and that the `By` attribute matches an actual field in the child opportunity scope (e.g. `By="Account.Name"` only works if Account is being queried in that repeat block).