Page 1 of 1

Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 3:05 am
by lynnsong986
Hello,

I have a TI process that creates a project dimension with more than 15 attributes. I need to update this dimension frequently and I saved the csv file on the server. It happened a lot that the TI process failed to recognize changes in the data, I tried to go to different data sources to force it to "wake up" but even that failed sometimes and I had to recreate the TI process. Can someone please help me resolve this?

thanks so much in advance.

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 10:55 am
by gtonkin
Please can you give some more context and information
- are you deleting elements or unwinding hierarchies?
- are you using the Direct commands in data or standard commands in Meta Data
- can you share code that shows us what you are doing?

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 3:10 pm
by lotsaram
What you’re saying really doesn’t make sense. Any piece of code will do exactly what it has been programmed to do. So either there’s a mistake in your code, or the file isn’t being updated when you think it is or like you think it should have been, or the process isn’t running when you think it is.

Either way, unless you share the code no one can help you.

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 3:50 pm
by Wim Gielis
Without seeing the code, it's impossible to solve the issue (if there is any issue).

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 4:47 pm
by lynnsong986
I’m new to TM1, so I just manually setting up the dimension using TI, I can’t write codes directly. The problem occurs When I add a new attribute column to my CSV file, then go to data source, click on preview, the new attribute column doesn’t show up in the preview window, so it doesn’t translate into a variable on the variable tab.

The structure of the CSV is like this:

Project code Name address. Number of units. Type of service etc etc

I’ll post the codes when I get back to the office tomorrow, but looks to me that the TI process somehow didn’t recognize there is a new column in the CSV file.

Thanks so much for your reply!

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 5:06 pm
by Wim Gielis
You need to alter the data source name (adding and removing a space is fine) such that the preview is recreated but more importantly, the Variables tab is updated. Like that your process and the wizard can be updated.

Re: Using TI to recreate a dimension changes not being picked up

Posted: Sun Oct 06, 2019 5:29 pm
by lynnsong986
Thank you so much for your help! This forum is amazing!