3 Replies Latest reply on May 31, 2017 8:34 AM by rflanagan RSS
    rflanagan Newbie

    Error Reading Json Element in Array with Dash "-" in Name

    I'm trying to create an infotable from a JSON array that is in a logged property.  The problem is that one of the elements in the array has a dash in the name ("arc-time").  I cannot change the element but can't get it to come through.  The following code gives me an error: "missing name after .operator".  Any ideas?


    var obj= me.ErrorHistory;

    var params = {
        infoTableName: "InfoTable",
        dataShapeName : "ErrorHistory_Shape"

    var infotabletest = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);


    for(var i=0; i<obj.array.length; i++)





    var result= infotabletest;