balexbyrd / sense-Tabs

Qlik Sense bootstrap tabs with font awesome icons. Up to 5 objects in a single space!
2 stars 2 forks source link

Export Feature - Confirmed wont work as well #3

Closed edettrey closed 8 years ago

edettrey commented 8 years ago

Simply redirects me to a new tab and says "Not Found"

I have cut/paste the object ID exactly.

balexbyrd commented 8 years ago

What version of Qlik Sense are you using? Qlik Sense Desktop or Server? What type of visualization (pie, bar etc.) are you trying to export? The object Id doesn't have to be cut/paste anywhere. The visualizations are selected from the Master Library and that object id is used to export to excel.

edettrey commented 8 years ago

Opps, I misspoke on the Object ID part (another extension I was trial-ing)Didn't expect an answer so quickly!

I have placed the item in the master library, I have brought in your extension. Video link (13 seconds) :  https://drive.google.com/file/d/0B3nyiKXzY0hsY1hUR3VFRlVBUjA/view?usp=sharing Attached:  The App I took the liberty of using a very simple data set as I was just doing proof of concept. Visualization type:  Straight Table  Qliksense Server 2.2 Thank  you so much in advance! Erin DettreyModMedProfessional email cc'ed

  From: Alex Byrd <notifications@github.com>

To: balexbyrd/sense-Tabs sense-Tabs@noreply.github.com Cc: edettrey erdettrey@yahoo.com; Author author@noreply.github.com Sent: Tuesday, July 19, 2016 5:59 PM Subject: Re: [balexbyrd/sense-Tabs] Export Feature - Confirmed wont work as well (#3)

What version of Qlik Sense are you using? Qlik Sense Desktop or Server? What type of visualization (pie, bar etc.) are you trying to export? The object Id doesn't have to be cut/paste anywhere. The visualizations are selected from the Master Library and that object id is used to export to excel.— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

balexbyrd commented 8 years ago

Thanks for the video that helps a lot!

Looks like the engine can't find the object ID. Some things to try:

  1. Clear your cache & cookies or start with a fresh browser.
  2. Restart the Qlik Sense services
  3. in senseTabs.js file - can you put console.log(object, tab_id, eval("layout.props.obj" + tab_id)); on line 68 and show me what it says in the chrome developer console.
edettrey commented 8 years ago

Here is me loggin in via incognito mode of Chrome, It will pop open the new window but drops me into the Qlik Log on....(Sorry for the first 30 seconds...just start at 0:30)  I swear something in our environment is preventing this..  Are there any overt security settings that may come to mind? 

Its almost like when a new tab is spawned, it is not briging with it the security.  I have replicated it in Firefox, same exact, brings me back to log on. I dont even get any action in Safari (but we dont really support that, so less worried) Export Try 2.mov

Export Try 2.mov | |

|

I will have to wait until morning for steps 2 and 3 as I am the BA side and not the dev side.  CC'ing Steve Ams, our Qlik Consultant Re-attached:  The app (for Steve) Erin

 

  From: Alex Byrd <notifications@github.com>

To: balexbyrd/sense-Tabs sense-Tabs@noreply.github.com Cc: edettrey erdettrey@yahoo.com; Author author@noreply.github.com Sent: Tuesday, July 19, 2016 6:32 PM Subject: Re: [balexbyrd/sense-Tabs] Export Feature - Confirmed wont work as well (#3)

Thanks for the video that helps a lot!Looks like the engine can't find the object ID. Some things to try:

balexbyrd commented 8 years ago

I think I may know what the issue is but I need to confirm it. The video you attached didn't make it. Can you upload/attach like the first one?

Yea the generally accepted browser is Chrome and then IE (oddly enough)

edettrey commented 8 years ago

Link below; https://drive.google.com/file/d/0B3nyiKXzY0hsb1BMNU1UOFN2OTA/view?usp=sharing  Erin

  From: Alex Byrd <notifications@github.com>

To: balexbyrd/sense-Tabs sense-Tabs@noreply.github.com Cc: edettrey erdettrey@yahoo.com; Author author@noreply.github.com Sent: Tuesday, July 19, 2016 7:10 PM Subject: Re: [balexbyrd/sense-Tabs] Export Feature - Confirmed wont work as well (#3)

I think I may know what the issue is but I need to confirm it. The video you attached didn't make it. Can you upload/attach like the first one?Yea the generally accepted browser is Chrome and then IE (oddly enough)— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

balexbyrd commented 8 years ago

Ok, in your server - make sure modmed.com is added in the websocket origin white list.

QMC > virtual proxies > select the node (Central if on single server) > Select 'Advanced' in the properties > add the above host, all server ip addresses, and DNS names.

That should take care of it. If it doesn't, it might have something to do with the SAML authentication.

Have you tried the extension in QS Desktop?

edettrey commented 8 years ago

Confirmed these settings, this comes down to the saml side...

I am confirming if it is also for my embedding side... (A session/cookie solution)

This all stems from not being able to export from a web-embedded page using anything except an API integration....something if we knew would have pushed us along this path initially ...a huge problem...that we are desperate for a work around...

Thank you.

Erin

Sent from my iPhone

On Jul 20, 2016, at 1:07 AM, Alex Byrd notifications@github.com wrote:

Ok, in your server - make sure modmed.com is added in the websocket origin white list.

QMC > virtual proxies > select the node (Central if on single server) > Select 'Advanced' in the properties > add the above host, all server ip addresses, and DNS names.

That should take care of it. If it doesn't, it might have something to do with you SAML authentication.

Have you tried the extension in QS Desktop?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

balexbyrd commented 8 years ago

Erin, given that it's an authentication issue and nothing specific with the extension, I'm going to close this out.

A potential solution which requires a lot more dev. work would be to build a mashup. This option would at least give you a little more flexibility in how you go about exporting.

edettrey commented 8 years ago

Thank you! I appreciate your assistance.

Erin

Sent from my iPhone

On Jul 20, 2016, at 7:57 PM, Alex Byrd notifications@github.com wrote:

Erin, given that it's an authentication issue and nothing specific with the extension, I'm going to close this out.

A potential solution which requires a lot more dev. work would be to build a mashup. This option would at least give you a little more flexibility in how you go about exporting.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

balexbyrd commented 8 years ago

Erin,

Just ran into a similar issue. The problem you're having is due to the different URL from the virtual proxy required for the authentication. In your case it looks to be 'okta'. The exportData function doesn't factor that in. I don't have issues on my end because we're using windows authentication which doesn't need the virtual proxy. Seems like this is a bug on Qlik's side.

Good news is.... you have company! :)

edettrey commented 8 years ago

Good to know we aren't going crazy!

The extension titled "sense-export" by Stefan Walther in branch is having the identical problem.

Erin

Sent from my iPhone

On Jul 26, 2016, at 10:33 PM, Alex Byrd notifications@github.com wrote:

Erin,

Just ran into a similar issue. The problem you're having is due to the different URL from the virtual proxy required for the authentication. In your case it looks to be 'okta'. The exportData function doesn't factor that in. I don't have issues on my end because we're using windows authentication which doesn't need the virtual proxy. Seems like this is a bug on Qlik's side.

Good news is.... you have company! :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.