After following the “Order Capture” sample, I am attempting to create an (add to cart sort of) action from a Product record. When triggered, the action pulls up a new Order form with a pre-populated list of the OrderLineItems containing the Product which i triggered the action with. However, I could only get the new Order form to come up with an empty OrderLineItems list. Could it be some error I am committing in the LINKTOFORM expression or perhaps there is something else? Any suggestions?
This is what I’ve tried so far.
LINKTOFORM(“Order_FORM”, “Related_OrderLineItems”, ProductId)
LINKTOFORM(“Order_FORM”, “Related_OrderLineItems”, LIST(ProductId))
Appreciate your time.