VBA to insert dimension attributes
Posted: Fri Aug 07, 2009 1:19 pm
Has anyone managed to manipulate dimension attributes via the API?
I've managed to create a dimension and add elements to the dimension using the example provided, but am having trouble with adding attributes to dimension (aliases) and then updating these attributes at the child node level.
I am guessing I need to use the TM1ObjectAttributeInsert() function to insert the attribute, and then use the TM1ObjectAttributeValueSet() function to give the attribute a value, but can't seem to find an example on the net.
I'm using tm1 v 9.4 and VBA with Excel 2003.
Any help would be much appreciated.
Dan
I've managed to create a dimension and add elements to the dimension using the example provided, but am having trouble with adding attributes to dimension (aliases) and then updating these attributes at the child node level.
I am guessing I need to use the TM1ObjectAttributeInsert() function to insert the attribute, and then use the TM1ObjectAttributeValueSet() function to give the attribute a value, but can't seem to find an example on the net.
I'm using tm1 v 9.4 and VBA with Excel 2003.
Any help would be much appreciated.
Dan