Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Functionality in application lost when running AJAX

Hi,

I've created a qvw and then generated webpages directly from the developer thru the "pagegenerator".
Put everything up on the server and added the htm-pages on the AJAX folder.

When viewing the app with /AJAX/..../defalut.htm I get differences in functionality. I have a textobject with a trigger giving it a command to go to another page in the app.... nothing happens. If I have triggers on a Botton istead it works. I don't want to use the button because I only want it to look like a normal weblink.

Any idea on why this happens?

I'm running QV9 (9.0.7320.7).

1 Solution

Accepted Solutions
vgutkovsky
Honored Contributor II

SV:Re: Functionality in application lost when running AJAX

Martin,

There is a list of AJAX limitations on page 299 of the QVS Reference Manual. From that page: "There is no direct connection available to the sheets in the QVW document, but it is very easy to create the same functionality using HTML frames and tabs." It's a little unclear what this means, but it might be referring to your problem. On the other hand, the next page states that "Actions can be executed via buttons and objects" in AJAX. So I would try reducing security, or adding the server into your list of Trusted Sites, or trying the action with a different browser. Also, AJAX is JavaScript obviously, so when it fails, what is the error message?

Regards,

3 Replies
vgutkovsky
Honored Contributor II

Functionality in application lost when running AJAX

Martin,

Can I first ask you why you are manually generating AJAX pages with QV9? Are you not using QlikView Server (which would autogenerate the pages)? To answer your question: macros have serious restrictions in AJAX, and there are usually some problems. There is not too much that can be done about this other than changing clients (something that is only possible in QVS).

Regards,

Not applicable

SV:Re: Functionality in application lost when running AJAX

Hi Vlad,

I need to pregenerate the pages due to the web security for the website where the app will be published.
Do you know if there is a document with info on the restrictions of actions/triggers in AJAX. I'm only using the predefined actions available on the objects. I haven't created any macros on my own.

vgutkovsky
Honored Contributor II

SV:Re: Functionality in application lost when running AJAX

Martin,

There is a list of AJAX limitations on page 299 of the QVS Reference Manual. From that page: "There is no direct connection available to the sheets in the QVW document, but it is very easy to create the same functionality using HTML frames and tabs." It's a little unclear what this means, but it might be referring to your problem. On the other hand, the next page states that "Actions can be executed via buttons and objects" in AJAX. So I would try reducing security, or adding the server into your list of Trusted Sites, or trying the action with a different browser. Also, AJAX is JavaScript obviously, so when it fails, what is the error message?

Regards,

Community Browser