CREATING DYNAMIC SUBJECT LINE FR E-MAIL DISTRIBUTION
Hi, can someone give me an example of how to create a subject line dynamically.i want to display the parameters that i pass to the report in my subject line. Thanks
November 20, 2006, 11:53 AM
BlueZone
Good Morning Chelsea : Are you talking about email distribution via Report Caster ?
Please also update your signature to show your platform / WF release etc. It always helps when people try to answer your Q.
Thanks, Sandeep M.
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
November 20, 2006, 12:11 PM
BlueZone
Chelsea, Please also look at this previous forum entry on the same topic -
------------------------------------------------------------------------------------------------- Blue Cross & Blue Shield of MS WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL MRE, BID, Dev. Studio, Self-Service apps & a dash of fun !!
November 20, 2006, 02:44 PM
chelsea
Hi BlueZone, i tried the example that is there in the report-caster help and it worked when i assigned the parameter and the value in the advanced tab of the task option of the schedule and usedit in the subject line .what i want to see is if there is a way that we specify the parameter in the subject line and it takes the value of the parameter from the report rather then specifying the valued in the advanced option of reportcaster. Thanks
December 05, 2006, 11:50 AM
chelsea
HI, any ideas on how this can be done thanks kumar
December 05, 2006, 12:14 PM
<RickW>
You may be able to do something with the RC API - maybe setMailSubject(String)function but that's probably not what your looking for since it's a bit complex.
December 05, 2006, 01:56 PM
Prarie
Sounds like a new feature request.
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
December 12, 2007, 10:29 AM
ira
I am trying to do have a subject line say: REPORT XX (followed by the current date). I tried REPORT XX '&DATE' in the subject line but did not see the date appear in the actual subject line. Instead, I saw 'REPORT XX' and in the log i saw it say unknown parameter DATE. Must I specify elsewhere this parm? How/where?
Someone may have already requested and NFR (New Feature Request) but it doesn't hurt to give IBI more ammunition. So I would suggest that you open a case.
GinnyJakes - Thanks, I had opened up a case. I was wondering what do you think of this as a workaround (dare I say that?)
table &DATE to save file - read it back in to an &&variable. include that condition in a where clause somehow. Would subject line then recognize that &&? Not totally thought out yet as you can see - just a thought...
Ira AIX 533 wf 5.3.6 (dev) 5.3.3 (prod) 7.6.1 (test)
I don't think that will work. Please see a very similar thread and Gerry's comments about what is allowed and not allowed. According to Gerry, the variable has to be in Report Caster, i.e. specified in the Advanced tab of the task.
This message has been edited. Last edited by: dhagen,
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
December 14, 2007, 02:28 PM
FrankDutch
Hi Dhagen, This is nice, the first time I see an example of this functionality. This can be a good start to do something like this where we need a looping for a rather complex report where burst does not work.
Frank
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7
December 14, 2007, 02:44 PM
ira
Dhagen, I gotta check it out. This is good! Thanks. GinnyJakes and all other helpful ones - thank you. IBI has an NFR put in place. In the interim their official line is HTTP://TECHSUPPORT.INFORMATIONBUILDERS.COM/SPS/93411036.HTML (see the solution section)...