Page 2 of 2

Re: getObj and Subfile Grid

Posted: Mon Mar 12, 2012 4:02 pm
by rmullis
I ran my program in Firefox and got this error:

Unable to execute "RUNDLL32 SHELL32.DLL,ShellExec_RunDLL \\POWER6\CRM\RMULLIS\avantext2.csv".

TypeError:

b.runCommand is not a function.


As far as I can tell, the format look correct. I tried both the format above and with escaped '\' and got the same error.

Re: getObj and Subfile Grid

Posted: Mon Mar 12, 2012 4:20 pm
by rmullis
Ok, I have narrowed down where this is happening.

I launched a session from the visual designer and this worked with no problems. When I try to run it through a Genie session, it will not work. So, it appears to be a problem when trying to run a PC command in Genie.

Re: getObj and Subfile Grid

Posted: Mon Mar 12, 2012 5:25 pm
by Brian
runCommand is a custome js function you wrote?

Re: getObj and Subfile Grid

Posted: Mon Mar 12, 2012 5:53 pm
by rmullis
No, I haven't written anything. I am using the runPCCommand.

It is funny, but it is now working in Genie too. I have struggled with this most of the day. I finally cleared the cache, history, etc. in my browser and restarted the browser. After I did that, it began working (in IE 9.0). I still get the error in Firefox though.

Re: getObj and Subfile Grid

Posted: Tue Mar 13, 2012 11:18 am
by Brian
Strange. Although browsers can cache things in unpredictable ways. Is it still working today?

Re: getObj and Subfile Grid

Posted: Tue Mar 13, 2012 12:39 pm
by rmullis
Yeah, it seems to still be working in IE9.