Hi, well the question in the title really but some background: Say I
wanted to add two number fields and store the result in a third (custom)
field? Is that possible, and how would I do it?
As a workaround I could operate on the automatic csv export in Excel and
then immediately reimport the entire tdl, but that is bit
sledgehammery... I was hoping a native method was available (ie field type 'calculated') - or UDT as a
middle option.
Aside - I also noticed that a UDT that I wrote a few weeks ago isn't
working now and wonder if something broke in relation to custom fields,
specifically copying a start date? I wrote the UDT : -copy sd $(seltcustom, cust_originaldate)
So I had set up the custom field "originaldate" as a date field bc the
support material had stated that only a 'like' field type would work
and i think that tested OK... But now nothing happens. I have other date related UDTS that work fine - for instance:
-xid $(todaysdate)
That actually does not require a date field type (since externalID is a 'general' field ie text) but in fact I love the fact it a. works and b. pastes in ISO format which was exactly what i needed.
In fact I'd like to copy the creation date but can't find a variable name for that in the literature?
Thanks!
Jon
PS I first wrote this over at codeproject but i guess that's no longer monitored now?