Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WEBVIEWTARG not working in version 8207.18 

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] WEBVIEWTARG not working in version 8207.18 
 Login/Join
 
Gold member
posted
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,
Prajakta

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus 8.1.0.5
Windows, all output
 
Posts: 56 | Registered: February 16, 2011Report This Post
Virtuoso
posted Hide Post
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 OFF

This 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
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Gold member
posted Hide Post
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
 
Posts: 56 | Registered: February 16, 2011Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
Gold member
posted Hide Post
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
 
Posts: 56 | Registered: February 16, 2011Report This Post
Virtuoso
posted Hide Post
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
 
Posts: 2128 | Location: Customer Support | Registered: April 12, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] WEBVIEWTARG not working in version 8207.18 

Copyright © 1996-2020 Information Builders