Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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