checking a portal value
How can i add a scipt on leaving a layout/actioning a button that can check if a portal has a linked record created?
For example, i have a customer layout. On the layout is a portal to show linked orders. If there are no orders in the portal for that customer, I want a custom dialogue to appear when I print the customer layout, or leave the layout...