on 11-15-2010 2:16 PM
Hi all,
I'm on NW CE 7.11, integrating WDJ with SIFbA.
I would really appreciate some help on the following problem:
in my application we have 2 views, accessed in sequence by users.
View 1 displays ("usepdf" mode) a PDF retrieved from db.
View 2 allows users to perform search on backend and so on.
The problem is that at each server roundtrip the binary is sent to the server, even when View 1 is no longer visible.
As a consequence, when in view 2 a very simple interaction has to take place, the whole binary from view 1 is sent to the server as well.
This is a major performance issue with large binaries (~1mb).
I would like to tell the framework to send the PDF to server only when really necessary
How can this be done?
Thanks regards
Vincenzo
You might try this setting in the window (or view) containing the pdf:
set lifecycle to "when visible" rather than "framework controlled"
Thanks, regards
Vincenzo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vincenzo,
If you haven't tried it already you can use the setting "Allow Form Rendering to be Cached on Server". This is found on the form properties on the Performance tab. This will improve performance as the form does not need to be rendered for each round trip, however I don't believe that it prevent the round trip altogether. You may want to post this on the WDJ forum as well.
Let us know how you go.
Regards,
Ben.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.