[英]Page navigation not happening in Power bi embedded report
兩天的后頁導航工作正常,但是嵌入式報表中突然沒有頁面導航。
當我將“數據包摘要”導航到“訂閱詳細信息”頁面時,未加載,但是“訂閱詳細信息”按鈕(或鏈接)被高度標記,如下圖所示。
並在IE瀏覽器的“網絡”標簽中檢查了以下錯誤。.狀態代碼:401 /未經授權
錯誤是:-
Request URL: https://df-msit-scus.analysis.windows.net/explore/explorations/1528262/cache
Request Method: POST
Status Code: 401 / Unauthorized
Request Headers
Accept: application/json, text/plain, /
Accept-Encoding: gzip, deflate
Accept-Language: en-US, en; q=0.5
ActivityId: 0e8c0b1d-92e9-4ceb-b7e4-9f58b1b99350
Authorization: Bearer eyJ0eXAiOiJKV..........................
Connection: Keep-Alive
Content-Length: 28330
Content-Type: application/json; charset=utf-8
Host: df-msit-scus.analysis.windows.net
Origin: https://msit.powerbi.com
Referer: https://msit.powerbi.com/reportEmbed?reportId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RequestId: d8021d51-7e12-4823-117c-f69004614707
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Response Headers
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: https://msit.powerbi.com
Cache-Control: no-store, must-revalidate, no-cache
Content-Type: application/octet-stream
Date: Wed, 03 May 2017 11:24:40 GMT
RequestId: d8021d51-7e12-4823-117c-f69004614707
Server: Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0
Strict-Transport-Security: max-age=31536000; includeSubDomains
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: deny
請幫助,如果您有任何想法。
我使用時問題已解決
來源: https : //app.powerbi.com
的
來源: https : //msit.powerbi.com
需要編碼如下
var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=" + reportObj.ReportID
var config = {
type: 'report',
accessToken: accessToken,
embedUrl: embedUrl,
id: reportObj.ReportID,
settings: {
filterPaneEnabled: false,
navContentPaneEnabled: true
}
};
===============================
輸出是:
Request URL: https://df-msit-scus-redirect.analysis.windows.net/explore/reports/xxxxxx-xxxxxx-xxxxx-xxxxxxx-xxxxx...
Request Method: OPTIONS
Status Code: 200 / OK
- Request Headers
Accept: */*
Accept-Encoding: gzip, deflate
Access-Control-Request-Headers: activityid, requestid, authorization, accept
Access-Control-Request-Method: GET
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 0
Host: df-msit-scus-redirect.analysis.windows.net
Origin: https://app.powerbi.com
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
- Response Headers
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: activityid,requestid,authorization
Access-Control-Allow-Origin: https://app.powerbi.com
Access-Control-Max-Age: 300
Content-Length: 0
Date: Mon, 08 May 2017 10:06:37 GMT
Server: Microsoft-HTTPAPI/2.0
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.