Copy link to clipboard
Copied
Please, how do i pull the identity organization unit from the preference window?
i changed my identity.name line to identity.unit from the below lines of code but it returns with undefined
if((event.source.forReal)&&(event.source.stampName == ""))
{
this.getField("Approved").value = identity.name;
this.getField("Date").value = util.printd("m/d/yyyy h:mm tt", new Date());
}
Kindly show me how to fix it
Thanks.
Copy link to clipboard
Copied
identity.corporation
Copy link to clipboard
Copied
it worked. thank you.
Copy link to clipboard
Copied
sorry I didn't look at it closely. it pulled out the organization name instead of the organization unit.
thanks
Copy link to clipboard
Copied
That can't be accessed with a script, I'm afraid.
Copy link to clipboard
Copied
okay. thanks for your time.