cancel
Showing results for 
Search instead for 
Did you mean: 

Save data of Embedded Component in another CustomBO

sinaei
Contributor
0 Kudos

Dear Expert,

I have created an embedded component in my Account_QC view, but the fields can not be saved to the Account_TI

I want to know, is there any way that I can save the fields of my embedded component to another custom BO, and use it?

Since I can only bind the Embedded Componnet to one BusinessObject, I want to save them temporary in another Custom BO.

Does anyone know if it is possible and how?

Regards

Sin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Sin,

You can create an EC binded to a custom BO and add it to AccountTI.

Your custom BO must have the accountID or UUID. In AccountTI, you pass the accountID/UUID from some outport to the EC inport and then, you create your object or retrieve it if already exists. If you create one instance, it will be persisted only when you save the screen. Be carefull to not duplicate lines.

Another way could be creating this new object in customer beforesave script.

Best regards,

Alexandre.

sinaei
Contributor
0 Kudos

Hi Alexandre,

Actually the problem is that, since I want to add my embedded component to QC view, I can not use outport inport...
I have followed this documentation, 

So I can not use outport and inport...
the problem is that I can not read the value of embedded component, and I can just bind my EC to one BusinessObject.

Do you have any idea?

Regards

Sin