Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello, i'am trying to add the value of a property to the Value column of a infotable located in the same thing as the properties i want to use. I have the name of every property in string format and since there are around 200 of them i wanted to use this to add them. example:
myArr = [{Name: 'Tag1', Message: 'Hello', Type: 'BOOLEAN'},
{Name: 'Tag2', Message: 'Sweet', Type: 'BOOLEAN'}]
me.myInfo.AddRow(
{
Name: myArr[0].Name
Message: myArr[0].Message
Status: me.myArr[0].Name //This part dont work. I Have a property with that exact name and i want the status for that property
}
how can i reffrence the tag with the string i have? Or another smarter way to refrence it? In my program im planning to use a for loop to go over every tag one at the time.
Solved! Go to Solution.
Ended up finding this justt after i posted and it seems to work fine... Thanks anyhow
Ended up finding this justt after i posted and it seems to work fine... Thanks anyhow