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     [SOLVED] Including a text file as footer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Including a text file as footer
 Login/Join
 
Platinum Member
posted
I have a confidentiality statement in a text file I'd like to be able to include as a footer on a group of reports that are running in a compound report. What's the easiest or most efficient way to do this? (realizing that may be two different things!)
Thanks!

This message has been edited. Last edited by: DWaybright,


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report This Post
Virtuoso
posted Hide Post
My assumption is that is a slightly short sentence and that your text file exist on the server with its metadata defined.

Read you sentence file and hold it. Then read (READFILE) the hold file to have the sentence in a variable to finally include that variable in your footer.

Something such as
TABLE FILE sentenceFile
BY confSentence
ON TABLE HOLD AS MYTEXT
END
-RUN
-READFILE MYTEXT
-RUN
-TYPE myConfidentialSentence : &confSentence

TABLE FILE abc
PRINT ...
BY ...
FOOTING
"&confSentence.EVAL"
END

This is one option


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Gold member
posted Hide Post
Just in case you're after a longer footing note, and you don't expect it to change much, let me ask if this is kind of what you've got in your text file (this one is for email but you get the idea -lawyer-speak):

CONFIDENTIALITY NOTICE:
The contents of this email message and any attachments are intended solely for the addressee(s)
and may contain confidential and/or privileged information and may be legally protected from
disclosure. If you are not the intended recipient of this message or their agent, or if this message
has been addressed to you in error, please immediately alert the sender by reply email and then
delete this message and any attachments.

And what you'd like to get is those lines put in as FOOTING (or ON TABLE SUBFOOT or whatever)?

Just wrap that guy in double quotes and put it in a focexec named something like confidentialfoot.fex.

Like so:
"CONFIDENTIALITY NOTICE: "
"The contents of this email message and any attachments are intended solely for the addressee(s) "
"and may contain confidential and/or privileged information and may be legally protected from "
"disclosure. If you are not the intended recipient of this message or their agent, or if this message "
"has been addressed to you in error, please immediately alert the sender by reply email and then "
"delete this message and any attachments. "

Save that in an easily accessible folder where all your users can see it... call it confidentialfoot.fex.

Now you use it by just doing a -INCLUDE rather than typing all that text:

TABLE FILE CAR
PRINT COUNTRY
FOOTING
"Today is &DATE"
-INCLUDE confidentialfoot.fex
"and anything else you want to put in your footing just for this report"
END

Hope that helps.

Toby
 
Posts: 62 | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Toby - That's what I was looking for. It is a long notice, which is why I wanted to have it in a file for reuse.

Thanks!


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 183 | Location: Indiana | Registered: December 05, 2017Report 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     [SOLVED] Including a text file as footer

Copyright © 1996-2020 Information Builders