Adding in a list of elements into a dimension via active form

Wim Gielis
MVP
Posts: 3234
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Adding in a list of elements into a dimension via active form

Post by Wim Gielis »

qml wrote:
lotsaram wrote:Then the TI code would need to do a DimensionElementInsert as well as DimensionElementComponentAdd.
Strictly speaking, DimensionElementComponentAdd is enough as it will add the child element if it doesn't exist.
Unless you want to choose the InsertionPoint in the dimension, which is typically ''.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
nxw
Posts: 14
Joined: Wed Feb 24, 2016 3:23 am
OLAP Product: TM1 10.4
Version: TM1 10.4
Excel Version: Microsoft Excel 2013

Re: Adding in a list of elements into a dimension via active form

Post by nxw »

Hi All,

Not to worry about users adding it in- this form is only intended to a set number of users within the data team.

It would be a set data source - as in a list from a vendor pricelist.
lotsaram
MVP
Posts: 3703
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Adding in a list of elements into a dimension via active form

Post by lotsaram »

nxw wrote:Hi All,

Not to worry about users adding it in- this form is only intended to a set number of users within the data team.

It would be a set data source - as in a list from a vendor pricelist.
You are going about this completely the wrong way. If there is a set datasource, like "the vendor pricelist" for example and you know the format then just use that as a datasource for a TI and have the TI insert the elements into the dimension. Why would you take this list and then copy/paste (or retype) into another interface? Its just an opportunity for a typo or other human error.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Post Reply