Hi Guys...
I have a Dialog 2 component that I am trying to link to another Dialog 2 component in a One To Many Relationship.
Brokerage to Brokers
A Brokerage firm can have many brokers working for it.
When I try to set the binding to One to Many it complains that I need repeating sections. I don't want repeating sections. I want to open the other dialog component in a window with a list view on one side showing all of the brokers at that brokerage.
I'm using this linking as it allows me to pass the value using a button to the Broker dialog without using variables. Think targeting in a Grid Component to Grid Component button. I've done this in One to One instances and it works fine. Now I need One to Many. If I leave relationship set to One to One the button only pulls one linked record even though many exist. When I attempt to navigate it tells me I have not loaded the Primary Key. YET, I have a on DialogInitialize event that does load the Primary Key. If I Preview just the Broker Dialog I can navigate record by record so I know that the Keys are loading.
I've tried using the variable method but have been unsuccessful in my attempts. My latest attempt was to put an in-line javascript to get the Brokerage_Id to a variable.
brokerLink={dialog.Object}.getValue('BROKERAGE_ID');
Then on the Broker dialog Server side event I put an Action Javascript (Poplulate Dialog with Data from One or More Table(s)).
- ReadFromVariable
- Variable that contains the primary key is set to brokerLink
If anyone can shed some insight on what I may be doing wrong OR another way of going about this I would greatly appreciate it.
Thanks.
Joe
I have a Dialog 2 component that I am trying to link to another Dialog 2 component in a One To Many Relationship.
Brokerage to Brokers
A Brokerage firm can have many brokers working for it.
When I try to set the binding to One to Many it complains that I need repeating sections. I don't want repeating sections. I want to open the other dialog component in a window with a list view on one side showing all of the brokers at that brokerage.
I'm using this linking as it allows me to pass the value using a button to the Broker dialog without using variables. Think targeting in a Grid Component to Grid Component button. I've done this in One to One instances and it works fine. Now I need One to Many. If I leave relationship set to One to One the button only pulls one linked record even though many exist. When I attempt to navigate it tells me I have not loaded the Primary Key. YET, I have a on DialogInitialize event that does load the Primary Key. If I Preview just the Broker Dialog I can navigate record by record so I know that the Keys are loading.
I've tried using the variable method but have been unsuccessful in my attempts. My latest attempt was to put an in-line javascript to get the Brokerage_Id to a variable.
brokerLink={dialog.Object}.getValue('BROKERAGE_ID');
Then on the Broker dialog Server side event I put an Action Javascript (Poplulate Dialog with Data from One or More Table(s)).
- ReadFromVariable
- Variable that contains the primary key is set to brokerLink
If anyone can shed some insight on what I may be doing wrong OR another way of going about this I would greatly appreciate it.
Thanks.
Joe
Comment