I have created a bunch of dataminers which generic scripts to import data from our CMDB. The scripts will for instance read an excel spreadsheet for a particular set of elements, check in a package to see if the elements already exist (if not create a new element), if it exists it will update any changed tags and remove any elements which don't exist in the import file.
This requires the excel to have the element name, description and columns containing the tags together with a worksheet which contains the mapping of column number to tag name. This is all good and works.
I would like to be able to access attributes of the DMScripts class to for instance hold the GUID of the package folder to load to, the names of the DMSets for the mapping dataset & the data dataset.
I have tried using this.attribute but get an error, I wondered whether anyone has found whether this is possible?