Add commnets...
//
// Updated to determine proper location to write ini file to even when
// module is located in the staging directory.
//
Add after "List key" variable declaration...
Assoc tmpVal
//
// Added to determine proper export locaiton for module ini file
// even when run while module is in staging. Replace $mymodule
// with the module containing the Utils.GetLocationOfThisOspace
// method
//
tmpVal = $mymodule.Utils.GetLocationOfThisOSpace(this)
if (!tmpVal.ok)
$DialogUtils.Error(tmpVal.ErrMsg)
else
outFileName = Str.Format("%1%2.ini", tmpVal.Path, .ModuleName())
$DialogUtils.Notify(Str.Format("Dumping module config to %1", outFileName))
end
Comments