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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] URL=Mailto
 Login/Join
 
Member
posted
Hi, I coded the following statement in my report.

URL=mailto:(Email ?Subject=Subject),TARGET=BLANK,$

where Email is the actual email address and Subject is the purchase order number i.e PO # 12345678.

But when I clicked on the column to send email, WF generated the '&' at the end of the email address i.e joedoe@dotcom.com&.

Is anyway the & remove from the email address?

Please help. Thanks.

This message has been edited. Last edited by: Kerry,
 
Posts: 2 | Registered: August 10, 2004Report This Post
Expert
posted Hide Post
I think you will have to do it with a JavaScript function. Take a look at this example:

SET BYDISPLAY = ON
-RUN

TABLE FILE CAR
PRINT
MODEL
BY COUNTRY
BY CAR
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $
TYPE=DATA, COLUMN=COUNTRY, JavaScript='fnMail(COUNTRY CAR)', $
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<SCRIPT LANGUAGE=JAVASCRIPT>
function fnMail(Email,Subject)
{
window.location = 'mailto:' + Email + '?Subject=' + Subject;
}
</SCRIPT>
!IBI.FIL.HOLD;
-HTMLFORM END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Francis, you totally rock, you know that!
thank you!




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
Susannah,

I never congratulated you on achieving Master status, so, congrats!


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
ROFL




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Expert
posted Hide Post
FYI,

The user managed to resolve the issue using the following:

DEFINE FILE VPAY
SUBJECT/A50 = 'PO # ' || po_nbr;
NEW_EMAIL/A200 = 
'<a href="mailto:' || Email || '?subject=' || SUBJECT || '">' || Entered_By || '</a>';
END
TABLE FILE VPAY
PRINT
NEW_EMAIL


Congradulations Big Grin and thanks for sharing.

Cheers,

Kerry

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


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Expert
posted Hide Post
Kerry,

Would you mind reposting your message with the option "Disable HTML" selected?

Thanks,

Francis.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
How do you add the BODY to he NEW_EMAIL field?
thanks


8.0.9, Windows
excel / pdf
 
Posts: 89 | Registered: October 21, 2010Report This Post
Master
posted Hide Post
quote:
Originally posted by MMcDonald:
How do you add the BODY to he NEW_EMAIL field?
thanks


Shooting from the hip, would it be:

DEFINE FILE VPAY
SUBJECT/A50 = 'PO # ' || po_nbr;
BODY/A100    = 'I have an amazing business proposition for you. The leader of my country is in exile and all I need is your bank account number to retrieve untold millions in wealth...';
NEW_EMAIL/A200 = 
'<a href="mailto:' || Email || '?subject=' || SUBJECT || '&|body=' || BODY ||'>' || Entered_By || '</a>';
END

TABLE FILE VPAY
PRINT
NEW_EMAIL


See: http://email.about.com/od/mail.../mailto_elements.htm

-ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
 
Posts: 561 | Registered: February 03, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders