Comments (7)
Thx for reporting, I'll investigate.
from sense-export.
Hi, any fix for this yet?
having same problem using the extension, it redirect without include the Virtual proxy. and the content is not found, after add /virtualproxyname/ to the url, it's work.
from sense-export.
Hi has anyone found an fix or workaround to include the virtual proxy?
from sense-export.
Not yet it seems :)
from sense-export.
After spending some time trying to understand why this was going on i gave up and did a little modification on the swr-sense-export.js.
`$scope.export = function() {
var exportOpts = {
format: $scope.layout.props.exportFormat,
state: $scope.layout.props.exportState,
filename: $scope.layout.props.exportFileName,
download: false
};
if ( qlik.table ) {
var qTable = qlik.table( this );
qTable.exportData( exportOpts, function( result ) {
console.log( result );
window.open(result.substring(3));
} ); //Todo: this will open the link using window.open, so popup-blockers might catch that
} else {
//console.log('this', this.$parent.$parent.$parent.model);
//this.$parent.$parent.$parent.model.session("ExportData",null, exportOpts.format, null, exportOpts.fileName, exportOpts.state);
}
}`
what you do is set the download to false and after the callback function you remove the "../" from the result url. Then your download will get the correct path if you are using a virtual proxy. Its not a solution but a little trick if you guys need to get this going asap just like me.
Regards.
from sense-export.
I have fixed this in the recent release v1.2.2, please give it a try.
Closing this issue, pls feel to re-open if this doesn't work for you.
from sense-export.
Hi Stefan
Thank you for very good extensions and contributions.
I just installed latest version (1.3.5) of the Sense-Export and the virtual proxy problem is still there. The download link is always in the format "https://servername/tempcontent/.....xlsx" even if the user is using the app via QS virtual proxy.
Just to elaborate our environment/use case:
The end user uses published apps via single sign-on and QS virtual proxy. The app URL is like this:
"https://servername/**proxyname**/single/?appid=xxxxxx&sheet=xxxxyyy".
When the user clicks the "Export"-button in the app, the browser will redirect to
"https://servername/tempcontent/xxxxxxxxxx/somefilename.xlsx?serverNodeId=xxxxxx" and that will result to an error saying "The requested resource cannot be found."
If I manually put the proxy name to the URL, the exported file is downloaded fine:
"https://servername/**proxyname**/tempcontent/xxxxxxxxxx/somefilename.xlsx?serverNodeId=xxxxxx".
If there is no general solution easily available, is it possible to hard code the proxy name somewhere in the code? In our use that would be enough to solve all problems.
Thank you and best regards
from sense-export.
Related Issues (20)
- Action required: Greenkeeper could not be activated 🚨
- please re-open issue #3 "Virtual Proxy Without Windows Authentication"
- Unable to export more than 20 columns in 'Comma Seperated CSV - Client Side' HOT 6
- Can drag and drop but Sense reports "not found on server" HOT 3
- Build fails for the 'release' task but works for 'build'
- Export selections
- SSL: User Authentication Required
- IE11 alignment option doesn't work
- prefix not identified properly due to qlik sense upgrade HOT 1
- Hello Folks, HOT 1
- User authentication required with alternate virtual proxy
- Invalid Vizualization
- File Name (Optional) is not working HOT 3
- There is a bug in client side CSV export, function $scope.getAllData() HOT 3
- Icon Not Showing
- CSV_CLIENTSIDE misses 1 entry every 500 entries HOT 1
- Export Button: The requested resource cannot be found
- Export button does not Render if the Dashboard is embedded in webpage and have multiple dimension with measures
- Stefan, I need some help
- Question: Exporting a chart HOT 1
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 sense-export.