Hi all, ExternalLink el Object o = current print create(o, "Description", "Name", outward, openAsURL, "www.ibm.com", el) "\n" follow(el)
ManuelFelger - Thu Apr 29 10:13:35 EDT 2010 |
Re: Create External Link "no access to source object" is obviously from your print statement. If the create failed, then the returned ExternalLink variable 'el' will not be assigned, triggering the DXL error. This is cleaner: ExternalLink el = null Object o = current string ErrMess = create(o, "Description", "Name", outward, openAsURL, "www.ibm.com", el) if (null el or !null ErrMess) print "Error creating ExternalLink: [" ErrMes "]\n" else follow(el)
|
Re: Create External Link llandale - Thu Apr 29 12:06:13 EDT 2010 "no access to source object" is obviously from your print statement. If the create failed, then the returned ExternalLink variable 'el' will not be assigned, triggering the DXL error. This is cleaner: ExternalLink el = null Object o = current string ErrMess = create(o, "Description", "Name", outward, openAsURL, "www.ibm.com", el) if (null el or !null ErrMess) print "Error creating ExternalLink: [" ErrMes "]\n" else follow(el)
Thank you Louie |