October 31, 2008 at 6:01 am
I would like to log the names, values of user variables used in a package. This package can be any package with a number of variables with a number of values. I thought i could do this easily with the script task but that is not possible because the script task needs to know the names of the variables. I don't know the names.
I am busy with a solution to count the number of user variables and then make dummy variables of them. So if there are 10 variables in the package i make var1,var2...var10 and use them in the script. This is proberly not going to work the all way cause the original names of the variables will be destroyed.
Anyone a suggestion on how to handle this??
Regards,
Sjaak
:hehe:
November 5, 2008 at 12:46 am
Thanx everybody i made up the soluton myself. It's quite simple actually. The packages are in xml format. So i made a for ech nodelist enumarator and go trhru all the attributes of the packages. Every attribute beginning with user:: is a user defined variable.
The attributes are stored in a database. With a select statement i filter all the user variables per package.
Thanx
Don't be afraid to ask but keep on trying for yourself the solution will come anyway
:hehe:
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply