Hi,
While developing a SSRS report, initially we set the Action property of the text box with the following value that will open the CRM’s Account record
=Parameters!CRM_URL.Value & “?ID={“&Fields!accountid.Value.ToString()&”}&OTC=1″
It was working fine however when we were using the same report inside the Dashboard, the report was not showing up properly as it was inside the IFrame.
So we had to use window.open for the Action’s Expression to open the report properly in a new window from inside Dashboard’s iframe.
=“javascript:void(window.open(‘”+ Parameters!CRM_URL.Value + “?ID={“ + Fields!accountid.Value.ToString() +“}&OTC=1′ ,’_blank’))”
Hope it helps.
HI Nishant
I am having major problems with my Go To Action URL. I am trying to open up a dynamically built url to a page outisde of CRM. MY code is below:-
=”javascript:void(window.open(CreateVDIURI(window.location.host,window.location.hostname,” + CStr(Fields!CIDHigh.Value) + CStr(Fields!CIDLow.Value) + “)))”
SO whenever i click the link it opens up a window with the url:-
javascript:void(window.location.href=(CreateVDIURI(window.location.host,window.location.hostname,1377608149268435593)))
However this link does when i run the report from SSRS.
ANy help please.
REgards
Lee
LikeLike