Creation of new attribute from script

Cantor, Scott cantor.2 at
Thu Jan 5 22:05:17 GMT 2012

On 1/5/12 4:15 PM, "Brent Putman" <putmanb at> wrote:
>What he needs to do is conditional logic based on whether uid or
>unbCaAlumniUid exists or not, as a script variable. I suppose that's
>script language-dependent (i.e. testing for whether a variable is
>"defined").  I assume he's using ECMAScript.  If testing it for null
>doesn't work, I'm personally not sure what the proper way is.  Not that
>familiar with the nuances of ECMAScript, but I bet someone else knows.

Ah. I believe it's:

if (typeof variable name != "undefined")

-- Scott

More information about the users mailing list