Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3303

Embedded Component - Add Custom BOs

$
0
0

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?


Viewing all articles
Browse latest Browse all 3303

Trending Articles