Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Report and iFrame method problem
-
- Posts: 6
- Joined: Fri Jul 24, 2020 5:28 pm
Report and iFrame method problem
I have generated a simple Report and I use a "Run" object to display it.
Now ... IF I set "Method: Button" the output (new window ) is perfect including labels and fields derived from Sql, BUT if I set "Method: iFrame" the output report shows ONLY labels and NOT field values: how is it possible ?
Many thanks in advance for your support.
Now ... IF I set "Method: Button" the output (new window ) is perfect including labels and fields derived from Sql, BUT if I set "Method: iFrame" the output report shows ONLY labels and NOT field values: how is it possible ?
Many thanks in advance for your support.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report and iFrame method problem
Hi,
I can't replicate this issue on my end using "Method: iFrame". All values are displayed.
I really have no idea what's going wrong. Maybe someone else?
I can't replicate this issue on my end using "Method: iFrame". All values are displayed.
I really have no idea what's going wrong. Maybe someone else?
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Fri Jul 24, 2020 5:28 pm
Re: Report and iFrame method problem
Dear Kev1n,
thanks for your replay.
I understand that this issue is a little bit strange.
The only different between the two outputs is the setting of the method.
In order to provide more input details to the community ... attached the Query SQL and screenshots of the the setting.
Grazie.
thanks for your replay.
I understand that this issue is a little bit strange.
The only different between the two outputs is the setting of the method.
In order to provide more input details to the community ... attached the Query SQL and screenshots of the the setting.
Grazie.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Fri Jul 24, 2020 5:28 pm
Re: Report and iFrame method problem
kev1n wrote:Hi,
I can't replicate this issue on my end using "Method: iFrame". All values are displayed.
I really have no idea what's going wrong. Maybe someone else?
Kev1n,
in order to replicate this issue from your side, I would just suggest to include in your SQL query a simple clause " .... WHERE myTable.myField = '#abcdef#' ".
Of course, you should have somewhere the Field #abcdef# (Input Text object) in your Form.
I am asking to do this test because from my side I tried to modify my SQL query with (for example) " .... WHERE myTable.myField = 12345 " and it worked perfectly. Apparently the only Method:iFrame does not pick up Field values from Form.
Many thanks in advance for your support.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report and iFrame method problem
Okay, I understand the issue. Maybe Steven (the developer) can look into it?
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 6
- Joined: Fri Jul 24, 2020 5:28 pm
Re: Report and iFrame method problem
Ciao Kev1n ... unfortunately still I did not find a solution.kev1n wrote:Ciao, have you found a solution yet?
I hope strongly Steven may have a look into this issue and give us some indication.
To me this is an important point because I am re-writing in "Nubuilder Forte v4" a previous huge "Nubuilder v3" application (written in 2016) because, starting from middle June 2019, when Chrome, Firefox, Opera made an update of the browser ... ALL Reports of my application stopped to work correctly (see below a screenshot). Safari browser, instead apparently still has no problem with Nubuilder v3.
I am crossing the fingers.
You do not have the required permissions to view the files attached to this post.
Re: Report and iFrame method problem
mariorog,
Upload a copy of your database and we'll take a look.
Steven
Upload a copy of your database and we'll take a look.
Steven
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Report and iFrame method problem
Hi Steven,
I've attached a sample that illustrates the issue.
If the report is run in a new tab (Run object, Method Button), all values are shown. If the report is run within an iFrame (Run object, Method iFrame), no values are shown (root cause: hash cookie field00 is not replaced) In the SQL, the field00 Hash Cookie is referenced. Its value is set to "calc" in the form.
I've attached a sample that illustrates the issue.
If the report is run in a new tab (Run object, Method Button), all values are shown. If the report is run within an iFrame (Run object, Method iFrame), no values are shown (root cause: hash cookie field00 is not replaced) In the SQL, the field00 Hash Cookie is referenced. Its value is set to "calc" in the form.
Code: Select all
SELECT
zzzzsys_object.*
FROM
zzzzsys_object where sob_all_type = '#field00#'
You do not have the required permissions to view the files attached to this post.
-
- Posts: 6
- Joined: Fri Jul 24, 2020 5:28 pm
Re: Report and iFrame method problem
kev1n wrote:Hi Steven,
I've attached a sample that illustrates the issue.
If the report is run in a new tab (Run object, Method Button), all values are shown. If the report is run within an iFrame (Run object, Method iFrame), no values are shown (root cause: hash cookie field00 is not replaced) In the SQL, the field00 Hash Cookie is referenced. Its value is set to "calc" in the form.
Code: Select all
SELECT zzzzsys_object.* FROM zzzzsys_object where sob_all_type = '#field00#'
Dear Kev1n,
EXACTLY !!! Your example has perfectly replicated my issue.
@Steven: unfortunately I cannot send to you a copy of the database because it includes "sensitive" data (name, surname, addressess, ... ). But Kev1n has well identified the problem. In anycase I will provide again a donation in order to support this forum & Nubuilder sw.
Have a nice day.