我的解決方案包括幾個步驟,大多數不支持 - 但它的工作。
克隆現有的C:\ Program Files文件\ Microsoft動態CRM \ CRMWeb \ CRMReports \瀏覽器\ viewer.aspx到\ viewerNoToolbar.aspx
更新在viewerNoToolbar.aspx下面的代碼刪除工具欄從SSRS: -
function reportLoaded()
{
if (oFrame.readyState === "complete")
{
addToRecent();
}
到
function reportLoaded()
{
if (oFrame.readyState === "complete")
{
addToRecent();
var frameDoc = oFrame.contentDocument || oFrame.contentWindow.document;
var reportViewerToolbar = frameDoc.getElementById("reportViewer_Toolbar");
reportViewerToolbar.style.display = "none";
}
插入一個DIV隱藏現有的CRM工具欄和移動現有resultFrame的IFrame了DIV的
</div>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
到
</div>
<div style="display: none">
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
也由
</table>
</body>
改變之下將其關閉關閉(並刪除與resultFrame相關的現有td塊)
</table>
</div>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr style="height: 100%;">
<td colspan="2" style="padding-top: 5px; padding-bottom: 10px; border-width: 2px;
border-color: #000000">
<div id="divResultFrame">
<iframe name="resultFrame" id="resultFrame" src="/_static/blank.htm" style="border: 0px;
margin: 0px; padding: 0px; width: 100%; height: 100%;"></iframe>
</div>
</td>
</tr>
</table>
</body>
更改您的查詢
http://xxx3:5555/CCPFINCRM/crmreports/viewer/viewerNoToolBar.aspx?
,不要擔心RC:工具欄
好運 格倫
什麼是CRM的錯誤信息? – BenPatterson1 2012-03-07 15:59:38
我已更新我的問題。 – Venkatesh 2012-03-08 04:44:55
您的跟蹤日誌中會出現更詳細的錯誤消息(請參閱此處瞭解如何設置跟蹤:http://support.microsoft.com/kb/907490),可以發佈該消息嗎? – BenPatterson1 2012-03-08 14:05:27