When I run the code below in a separate .js file on Windows, I can set the field - Character Field2's value to 45. But when this code is on a view field in the form that contains the same field, I get an error stating - "Automation server can't create object". Any pointers anyone?
Thanks, AJ <script type="text/javascript"> function ld() { var obj = GetObject("","Remedy.User.1"); var frm = obj.GetActiveForm(); frm.GetField("Character Field2").Value="45"; } </script> </head> <body onload="ld()"> </body> </html> -- View this message in context: http://www.nabble.com/AR-System-Automation-question-tf4941000.html#a14144195 Sent from the ARS (Action Request System) mailing list archive at Nabble.com. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"