Error : Action "Iframe" not found in the module "API" - matomo

When exporting in an iframe a particular page using the Widgetize feature, when I try to export a report's data, and click on "Export this dataset in other formats" it opens a new window with the error : Error : Action "Iframe" not found in the module "API". The issue is coming up for the list tab in the iframe. It is working fine for the Charts tab.
What I do not understand is the same action iframe works for the module widgetize for the Charts tab and the same action iframe isnt found in the module widgetize for the List tab.
Can you please let us know how we can rectify this issue?

Related

Daynamic routing page in not coming, when use browser back button in next js

In a Next.js project, I am coming across a situation where I get a new URL path from an API. And I have to update that URL path in the browser without reloading that page.
I am doing that with the help of History.pushState()
window.history.pushState(nextState,nextTitle,nextURL);
window.history.replaceState(nextState,nextTitle,nextURL);
With help of History.pushState() I am able to update the URL in the browser without reloading that page. But If after I change that URL multiple times and change to some other page. Then if I start pressing the browser back button, I am not able to get that page with the last URL path showing in the browser.
Only that last URL path shows up in the browser URL input, but that page data is not reflected.
Attaching the sample code and reproducing steps video link below. Any help and suggestions are appreciated.
Source Code
Codesandbox
Reproducing Steps
I am also facing same problem, after using history.pushState() browser back button will not work in that page, because according to browser you never went to that page.
That location doesn't exists in JavaScript history object.

How to handle highcharts-custom-events in highcharts-ng?

I've installed highcharts-custom-events from the Highcharts plugins, https://www.highcharts.com/plugin-registry/single/15/Custom-Events
I wanted to make the labels in the Highcharts chart to be clickable and run a function when clicked but this returns this error
I do know that the click is being recognized but the isNumber function that is in customEvents.js is not existing. Does the highcharts-custom-events plugin have to be modified to get it to work with highcharts-ng? If so, how could I make this work?
Thanks.
In the high-charts plugin page [as accessed from the link above], click on the demo link.. you should be directed to a JS fiddle page.
Ensure that you have added the external resources mentioned in the Left hand side page of the JS fiddle page as accessed above.

angular app errors upon back button click from 3rd party website

when i click back button from any 3rd party web site to go back to my angular app, I see lots of console errors and my angular app fails to load.
Uncaught TypeError: no access
at :10:29
at :58:5
...
Uncaught ReferenceError: angular is not defined
I tried few apps showcased at https://www.madewithangular.com/ and I see the same problem with them.
Steps to reproduce the problem:
open an angular app in browser. keep the console open to see the errors.
now visit a 3rd party website like google.com in the same tab.
click back button to go back to the angular app.
Is it a known problem ? Any suggestions to fix this problem ?
Thanks.
Update:
go to http://embed.plnkr.co/d8Fb7o8OjUFdXOLKAaS7/
now visit google.com in the same tab.
click back button.
the app does not load. Please open chrome console to see the errors.
Thank you

Error trying to insert custom link in page layout in salesforce

I just created a custom link to a salesforce report
/xxxxxx/?pv0={!Account.Id}
But when i insert this custom link on the account page layout and click the link it shows error
URL No Longer Exists
I even tried to preview the custom link but it also shows the same error.
Can any one point out what may be wrong.
I think you don't need last "/" :)
Try with /xxxxxx?pv0={!Account.Id} ?

Why does extJS give me "Ext.Panel is not a constructor" error in Firebug?

I am working through this extJS tutorial where you type in code into Firebug, press CTRL-Enter and it renders it for you, it worked for the simple example but then I got this error:
Instructions:
What happens:
What else do I need to do to get this example to work as it states it will in the demo?
You need to have ext-all.js (and maybe ext-base.js?) loaded in the page you're testing for this to work. The example isn't working properly for you because the Panel file cannot be located. It doesn't exist because you haven't added it.
Test the Ext.Panel code in firebug at the API site: http://dev.sencha.com/deploy/dev/docs/
You'll see that the desired behavior occurs because the page has all of the proper JS files loaded. Any time you see the message "... is not a constructor" should be an indication that the JS file containing the object has not been loaded into the page.

Resources