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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Add code to run after every procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Add code to run after every procedure
 Login/Join
 
Member
posted
Hi Focal Point,

I'm looking for a profile that runs AFTER every fex runs. This would effectively be the same as a universal profile (which runs before your fex runs) but I'd like ti at the end.

The use case would be to add a global catch to say things like IF &LINES EQ 0 then give a friendly message or that sort of thing.

Appreciate any help on this!

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


Dan B.
WebFocus 8205M
 
Posts: 25 | Registered: May 18, 2017Report This Post
Expert
posted Hide Post
Nice idea, I wonder if you can do it in the site profile ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
I don't use a 'profile'. What I do, as do many others, is to add a line after appropriate TABLE FILE requests which does a GOTO IF &RECORDS EQ 0 in which there's a -INCLUDE of an HTMLFORM to display the 'Friendly No Data' message.

Albeit, a 'site profile' would be better, as Waz pointed out...
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
I appreciate the idea of a GOTO but this works only when you have access to the code of a report. If something's written in InfoAssist+ then adding that sort of logic is risky if you want to open it in the editor again.

Thanks for the thoughts. Any others before writing up a new feature request?


Dan B.
WebFocus 8205M
 
Posts: 25 | Registered: May 18, 2017Report This Post
Expert
posted Hide Post
Do the users have free-range in IA? or, are they using ROs?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
In version 8201m change the contents of WebFOCUS82\client\wfc\etc\prod\error_42.xml and adjust to what you want.

You have to restart the client (tomcat).


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Member
posted Hide Post
Doug, we don't use reporting objects at this point. Their post-processing option is exactly what I'm looking for except on a global scale (with ROs, if you ever want to change the post-processing logic you'd need to change every RO individually).

Dhagen, very interesting! I'll look into that!


Dan B.
WebFocus 8205M
 
Posts: 25 | Registered: May 18, 2017Report This Post
Virtuoso
posted Hide Post
Interesting dhagen... Thanks for that insight.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report 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] Add code to run after every procedure

Copyright © 1996-2020 Information Builders