[CLOSED] WEBVIEWTARG not working in version 8207.18
Hello All,
Has anyone faced issues with WEBVIEWTARG in version 8207.18. I see that the both the below commands do not work at all in this version:
SET WEBVIEWTARG = _self
ON TABLE SET WEBVIEWTARG OFF
Handling this in Javascript is one option but please let me know if anyone has a workaround. Please note I need to open this in the same frame. You can take below code as example:
TABLE FILE CAR HEADING CENTER "Sample Drilldown Report" "for Car" PRINT COUNTRY CAR MODEL ON TABLE SET WEBVIEWER ON ON TABLE SET WEBVIEWTARG OFF ON TABLE PCHOLD FORMAT HTML END -RUN -EXIT
Thank you, PrajaktaThis message has been edited. Last edited by: FP Mod Chuck,
Webfocus 8.1.0.5 Windows, all output
November 04, 2020, 01:45 PM
FP Mod Chuck
When you say don't work what do you mean? Do you get an error or is the report not displayed. Is this deployed in a portal?
I tried your code with 8.2.07-14 and I see the webviewer no matter what. Is that the issue? If so just change your code to ON TABLE SET WEBVIEWER OFFThis message has been edited. Last edited by: FP Mod Chuck,
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 04, 2020, 03:13 PM
Prajakta
Hello Chuck,
Thank you for the response! The WEBVIEWTARG command opens a new frame and does not open it in the same window. This was working fine previously. But does not work in this version now. No doubt the code works but it opens a new window and not in the same window. It would be really great if you could help me in this topic.
Thank you, Prajakta
Webfocus 8.1.0.5 Windows, all output
November 04, 2020, 04:33 PM
FP Mod Chuck
Prajakta
Is this a drill down report that you want to see in the same window where the link is clicked? I'm not clear on it not opening in the same window. What is in the window before this report is run?
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 09, 2020, 03:26 PM
Prajakta
Hello Chuck,
It is not a drilldown report. With drilldown it is easy to control I guess with target=blank in styling. However, if I run this code it opens the result in the new window and not in the same.
Please let me know if you have any further questions .
Thank you, Prajakta
Webfocus 8.1.0.5 Windows, all output
November 10, 2020, 10:01 AM
FP Mod Chuck
I guess I'm still not getting this. Where is the fex initiated from where it opens in a new window. Anytime I run a fex for the first time from the web inteface or app studio the output does display in a new window
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats