Hey!
I have tried everything for the last 24 hours and going crazy!
I can’t seem to update a linked column with moncli api.
column_value = row.column_values['title of column']
column_value.text='some value'
column_value = row.column_values['Operator- old']
row.change_column_value(column_value)
Here is the log of the script:
‘id’: ‘connect_boards5’, ‘title’: ‘Operator- old’, ‘value’: }
Traceback (most recent call last):
File “Populate_Operators.py”, line 72, in
row.change_column_value(column_value)
File “/home/nestlogic/.local/lib/python3.7/site-packages/moncli/entities/item.py”, line 909, in change_column_value
column_value = self.column_values[id]
File “/home/nestlogic/.local/lib/python3.7/site-packages/moncli/entities/base.py”, line 17, in getitem
return self._values[self._key(index)]
File “/home/nestlogic/.local/lib/python3.7/site-packages/moncli/entities/column.py”, line 94, in get_index
raise TypeError(‘Expected index type of int or str, got “{}” instead.’.format(index.class.name))
TypeError: Expected index type of int or str, got “ItemLinkValue” instead.
Please help!
Thanks!
KEREN