Comments (4)
@taarskog This is resolved! Steps I took to solve issue: created a new web resource the same as above and then added this to the conifg resource with the new URL and then to my dashboard. Not sure why this worked (maybe something with my machines cache?) but nonetheless it works as expected. This is a fantastic solution thank you @taarskog for your assistance
from crm-powerbi-viewer.
Can you share:
- The "Custom parameter (data)" from the dashboard web resource
- Your config-file
from crm-powerbi-viewer.
Sorry for the delayed response, I have tried a new script/method so that's why the method being called is different than what's provided above, but again still no luck. Debugger never reaches any breakpoint. I'm not sure what I'm missing because like I mentioned this has been a great resource and works awesome when adding reports to forms. Any insights to this is greatly appreciated. Thanks,
type=report&id=037b4bec-280e-4bd6-8c68-aa6d86403024&pageName=&showFilterPane=true&showNavPane=false&customFn=filterDashboard
-
`var customConfig = {
///////////////////////////////
// ITEMS THAT MUST BE CHANGED
///////////////////////////////// See documentation on how to register the application in Azure AD and get a client id (remember to enclose with quotes - see sample).
// Sample: auth_client_id: "12345678-1234-abcd-1234-11aabb22cc",
auth_client_id: "5f4e71ee-0e40-4c27-899f-b0ac05032759",///////////////////////////////////////////
// CAN USUALLY BE LEFT UNCHANGED
// (unless specified in the documentation)
///////////////////////////////////////////// How to perform authentication - valid values are "inline" or "popup". Default is "inline" (rember to enclose with quotes).
// You should typically use "inline" on Dynamics 365 Online with users located in your Azure AD and "popup" when on-premise (might also be required if you have invited external parties to your Azure AD).
auth_mode: null,// Auto-refresh access - may cause page reload if token cannot be updated silently [valid values are true or false]. Default is true.
auto_refresh_token: null,// Where to cache tokens. Valid values are 'sessionStorage' and 'localStorage'. Default is 'sessionStorage'.
auth_cache_location: null,// Logging of Adal authentication process [Valid values are 0-3] (0=ERROR, 1=WARNING, 2=INFO, 3=VERBOSE). Default is 0.
auth_log_level: null,// Log level for Power BI Viewer [Valid values are 0-3] (0=ERROR, 1=WARNING, 2=INFO, 3=DEBUG). Default is 0.
// (is not affected by and does not affect auth_log_level)
log_level: null,// Array of custom scripts to load. Functions in these scripts can be referenced for report filtering etc.
// Sample: custom_scripts: ["../../new_myfilter?ver=1", "../../demo_/powerbi/filters/account.js?ver=1"]
custom_scripts: ["https://im360poc.crm.dynamics.com//WebResources/im360_opportunity_pbiFilter.js?ver=1", "https://im360poc.crm.dynamics.com//WebResources/im360_im360poc_quoteSection.js?ver=1", "https://im360poc.crm.dynamics.com//WebResources/im360_im360poc_accountsection.js?ver=1", "https://im360poc.crm.dynamics.com//WebResources/im360_dashboardTreeMap.js?ver=2"],
};`
from crm-powerbi-viewer.
I've tested this now in my environment and it works with config as your screenshot and with treemap as visual. Can you also share your updated code so we can see the code corresponding to the config you posted above?
from crm-powerbi-viewer.
Related Issues (20)
- How to specify predefined credentials for Power BI sign in? HOT 1
- login.microsoftonline.com refused to connect. HOT 4
- Cant get filter to work on tile HOT 4
- 401 error when opening the powerbi report HOT 9
- Filter error HOT 2
- Printing HOT 4
- Is there an issue with multiple users as administrator? HOT 7
- How can I diagnose Power BI Viewer filter issues HOT 6
- Issue showing on configuration page HOT 3
- How to filter by dynamic table and column ? HOT 1
- Can't get Opportunity record filtering to work HOT 5
- Error Signing In on Power Bi Viewer Solution's Configuration Page HOT 1
- General Questions HOT 1
- General Questions
- Any support of the unified interface? HOT 2
- DOMException: Failed to execute 'postMessage' on 'Window' on report.applyTheme HOT 2
- Redirect URL HOT 4
- Integration Question - App URL Support HOT 2
- Getting in a frame because it set 'X-Frame-Options' to 'deny'. error since the beginning of the week HOT 1
- Export data from Power Bi Visual throws error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crm-powerbi-viewer.