Page 1 of 1

Basic question on meta data and data

Posted: Mon Mar 30, 2020 2:27 pm
by manu0521
I have a pax excel which has some fields for entry by user and there is an action button which calls a TI ,

In the TI I recive the paramaters with data source as none and then do some validations , now if the validartions are successful I need to add the parameter value to a dimension ,

Since my meta data and data is disabled as my source is empty , how would i enable them here , all i am doing is sending data from my pax sheet via action button .

Re: Basic question on meta data and data

Posted: Mon Mar 30, 2020 2:35 pm
by ascheevel
Just do you DimensionElementInsert in the PROLOG or EPILOG tabs after your validation.

Re: Basic question on meta data and data

Posted: Tue Mar 31, 2020 7:16 am
by Wim Gielis
ascheevel wrote: Mon Mar 30, 2020 2:35 pm Just do you DimensionElementInsert in the PROLOG or EPILOG tabs after your validation.
Not in Epilog tab, use the Prolog tab.

Re: Basic question on meta data and data

Posted: Tue Mar 31, 2020 1:14 pm
by ascheevel
Thanks for setting me straight Wim!

Yep, use DimensionElementInsertDirect if trying to add the element in the EPILOG tab.