You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Array data is not visible on screen

edited Jul 4, 2018 11:32AM in Visual Builder 1 comment

Summary

How to populate array of elements on the screen

Content

Hi All

I have the below JSON payload

"billUnit": {
        "id": "0.0.0.1+-billinfo+2185945",
        "name": "Bill Unit(1)",
        "accountRef": {
            "id": "0.0.0.1+-account+2184409"
        },
        "accountingCycleDom": "1",
        "accountingType": "2",
        "balanceGroups": {
            "id": "0.0.0.1+-balance_group+2185689",
            "balances": [
                {
                    "currentBalance": "18969HUF",
                    "creditThresholds": "0",
                    "creditThresholdsFixed": ""
                },
                {
                    "currentBalance": "-8601.6NoC",
                    "creditThresholds": "0",
                    "creditThresholdsFixed": ""
                }
            ]
        }

From above I need to show currentBalance on the screen.

When I click the button then the above values from JSON payload needs to be shown in "Input Text" component placed on the screen for each value.

I am able to see the data after button click except the values under "balances" which is array of elements.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!