[rt-users] RTAT Import?

Matthew Keller kellermg at potsdam.edu
Tue Apr 29 16:32:43 EDT 2008


Ah yes... The way I usually do things like that is by grabbing the asset
CF info, ala: 

my $AssCFs=$AssObj->CustomFields();

and then setting the appropriate values ala:

while(my $AssCF = $AssCFs->Next()) {
	$AssCF->Value = whatever
}

The above is pseudocode from memory, but is +/- 96% correct. :)

On Tue, 2008-04-29 at 20:18 +0000, Jean-Sebastien Morisset wrote:
> On Tue, Apr 29, 2008 at 04:15:03PM -0400, Matthew Keller wrote:
> > 
> > The '$at->_Set' calls you're making scare me. Is there a reason you're
> > setting them iteratively instead of within the Create call?
> 
> I run a Load, if the Load doesn't work, then do a Create (with just the
> basics), after that update all the CFs. This way I can maintain just the
> @fn array, and update and/or create the assets as need be from the CSV.
> 
> js.




More information about the rt-users mailing list