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.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to