Skip to Content
avatar image
-1
Former Member

How can I set the array object to Json model

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 19, 2016 at 06:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded