Skip to Content
-1

How can I set the array object to Json model

Dec 19, 2016 at 03:23 AM

64

avatar image

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

10 |10000 characters needed characters left characters exceeded

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.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sai Sravya Dec 19, 2016 at 06:05 AM
0

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


capture.png (31.4 kB)
Share
10 |10000 characters needed characters left characters exceeded