Skip to Content
0
Former Member
Jul 16, 2015 at 07:51 PM

Embedded Component - Add Custom BOs

25 Views

Hello all,

We need to link multiple custom BO (MyEvent) to a standard BO (Lead) using an embedded component.

One Lead can have multiple MyEvent.

businessobject MyEvent {
        [AlternativeKey]  [Label ("Event ID")] element EventID: ID;
  [Label ("Event Description")]element EventDescription: LANGUAGEINDEPENDENT_EXTENDED_Text;
}

businessobject MyLeadEvent {
           [AlternativeKey] [Label ("Lead ID")]element LeadID : ID ;
          node eventssegment[0,n] {
                 [Label ("Event ID")]element EventID : ID;
                 association ToMyEvents [0,1] to MyEvent;
         }
}

In the embedded component, the user will add the MyEvent BO to the list.

I have created the Embedded Component for MyLeadEvent, I have added the Add Row button with the List AddRow Operation.

However the Add button is disabled.

Anything else that I might be missing in the embedded component UI?