Tech Support > Microsoft Windows > Windows CRM > Jscript problem with CRM?
Jscript problem with CRM?
Posted by Eric at StrataCom on April 28th, 2004


While trying to open a custom crystal report from CRM:

This works:
window.open
('http://strongbad/reports/viewer/html/viewer.aspx?id=398')

This doesn't:
window.open
('http://strongbad/reports/viewer/html/viewer.aspx?
id=398&sf=({quote.quotenumber})=\'QUO-01002-9QRYHR\'')

However, it works when put into a regular web page. But
with CRM (out of the picklist event stuff) I just get an
error...CRM won't even draw the page.

I think the problem is the & symbol as this:
window.open
('http://strongbad/reports/viewer/html/viewer.aspx?
id=398&')

Doesn't work either (just added the & to what worked)
Anyone ever see this before or know how to fix it?

Thanks!
Eric

Posted by Gary on April 28th, 2004


At first glance I'd be willing to bet that the problem is with the
single/double quotes.......

jscript is very picky about these things

-Gary

"Eric at StrataCom" <anonymous@discussions.microsoft.com> wrote in message
news:59dd01c42d41$ba8c5660$a101280a@phx.gbl...


Posted by Eric at StrataCom on April 28th, 2004


But it works fine as regular jscript in a web page. It just doesn't work
with MSCRM in the jscript box for the onchange event for picklists.

Eric

"Gary" <gary.rey@virtium.NOSPAM.com> wrote in message
news:uYPf4sULEHA.3056@TK2MSFTNGP12.phx.gbl...



Similar Posts