cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set the array object to Json model

Former Member
0 Kudos

Hi all,

In SplitApp , I am trying to pass the data from master page to detail page.

MastePageController.js

In oList having the "products array", instead of setting single property to model, directly I need to set the oList array object to model. Please help me on this.

Regards

Sai Sravya

kammaje_cis
Active Contributor
0 Kudos

Hi Sai, I think information you provided is too less. May be screenshots and what have you tried already may help the community to answer.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Krishna Kishor,

In the below masterPage controller. I wrote the logic to pass the data from master page - detail page its working fine, But I need to try with another approach.

var oList = consisting the array object Products[].

Below reference code I getting the individual property using getProperty() and set to model as well, instead of that I need to set the "oList" directly to the model. Can you please help me on this.

Regards

Sai Sravya