how to grab information from current record in dialog

This question is not answered

so...it's like this. I have a client that has a number of dialogs off the account entity. When a salesperson is on the account form, they will invoke one of these dialogs from a button on the ribbon. The dialog should be smart enough to understand what record it's being called from so that when someone hits the lookup to grab/associate a contact, the results will only show those records that are associated with the account. 

 

I'm not sure how to go about doing this. Anyone have any insight?

 

~Brian

All Replies