This is a canvas app embedded in a model driven app by way of control. I followed the MS documentation. I've attached the image. The image shows the app after load. The highlighted area is the result of this formula.
ModelDrivenFormIntegration.Item.Name & " "
& Char(13) & CountA(galProducts.AllItems.Product.Product) & " galProducts"
& Char(13) & CountA(listedProd.Product.Product) & " ListedProd"
& Char(13) & CountA(ListProd.Product.Product) & " ListProd"
& Char(13) & CountA(Productlist1.Product.Product) & " ProductList1"
The quote name populates but the collections do not.
Here are the formulas to build the collections located in the on visible of the form.:
Set(inItem,ModelDrivenFormIntegration);
Set(inQuote,ModelDrivenFormIntegration.Item);
Set(inQuoted,inQuote.'Price List');
UpdateContext({openTimer:true});
/* Get price list items from quote price list */
ClearCollect(Productlist1,
//Filter (
Filter('Price List Items', 'Price List Items (Views)'.'PriceList Products'
,'Price List'.'Price List' = inQuote.'Price List')
);
ClearCollect(listedProd,
Filter(Productlist1,'Price List'.'Price List' = inQuote.'Price List') );
/* Add product name for search function */
ClearCollect(ListProd,
AddColumns(listedProd,"pName",Product.Name,"pUnits",Unit.Name,"pLevel",'Price List'.Name)
);