Scheduled email attached Report Name needs to be changed.

In Crystal Reports Server 2008, I have a scheduled a Publication report using dynamic parameters. The report is exported to a PDF. The PDF is emailed as an attachment.  I would like to create the name of the attachment from a field inside the report. I will assume that I could use the .NET SKD and create a Publication Extension? If anybody has run accoss this need and has a better work around please let me know.
Thanks in advance for any advice.

you can create a ublication extension to rename the pdf file before delivery ( PostProcessing) but I don't think .NET SDK can be used for it, the APIs are available only in Java SDK.

Similar Messages

  • Details of Reports scheduled on SSRS (Report name, userdetails, frequency, etc)

    Hi all,
    Is there a way to find all SSRS scheduled reports details such as (Report Name, schedule time, mail IDs configured, etc.)?
    Please help as we have many SCCM reports on SRS, and manual work will take very long time..
    scorpITs | http://scorpITs.blogspot.com

    Hey ucrajee,
    Here is simple SQL query which will give you details on report subscription along with Subscription type, render format, next run date, time, email ID configured with subscription etc. 
    You need to run this SQL Query on your report server database.
    SELECT
    c.Name AS ReportName,
    'Next Run Date' = CASE next_run_date
    WHEN 0 THEN null
    ELSE
    substring(convert(varchar(15),next_run_date),1,4) + '/' +
    substring(convert(varchar(15),next_run_date),5,2) + '/' +
    substring(convert(varchar(15),next_run_date),7,2)
    END,
    'Next Run Time' = isnull(CASE len(next_run_time)
    WHEN 3 THEN cast('00:0'
    + Left(right(next_run_time,3),1)
    +':' + right(next_run_time,2) as char (8))
    WHEN 4 THEN cast('00:'
    + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    WHEN 5 THEN cast('0' + Left(right(next_run_time,5),1)
    +':' + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    WHEN 6 THEN cast(Left(right(next_run_time,6),2)
    +':' + Left(right(next_run_time,4),2)
    +':' + right(next_run_time,2) as char (8))
    END,'NA'),
    Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="TO"])[1]','nvarchar(50)') as [To]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="CC"])[1]','nvarchar(50)') as [CC]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="RenderFormat"])[1]','nvarchar(50)') as [Render Format]
    ,Convert(XML,[ExtensionSettings]).value('(//ParameterValue/Value[../Name="Subject"])[1]','nvarchar(50)') as [Subject]
    ---Example report parameters: StartDateMacro, EndDateMacro & Currency.
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="StartDateMacro"])[1]','nvarchar(50)') as [Start Date]
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="EndDateMacro"])[1]','nvarchar(50)') as [End Date]
    ,Convert(XML,[Parameters]).value('(//ParameterValue/Value[../Name="Currency"])[1]','nvarchar(50)') as [Currency]
    ,[LastStatus]
    ,[EventType]
    ,[LastRunTime]
    ,[DeliveryExtension]
    ,[Version]
    FROM
    dbo.[Catalog] c
    INNER JOIN dbo.[Subscriptions] S ON c.ItemID = S.Report_OID
    INNER JOIN dbo.ReportSchedule R ON S.SubscriptionID = R.SubscriptionID
    INNER JOIN msdb.dbo.sysjobs J ON Convert(nvarchar(128),R.ScheduleID) = J.name
    INNER JOIN msdb.dbo.sysjobschedules JS ON J.job_id = JS.job_id
    Let me know if you have any queries.
    Thanks,
    Sandip Shinde(Blog:bi-bigdata.com|Twitter:@CloudBI_Sandip)

  • How to get email attachment file name?

    Hi,
    I have a macro that executes when the user sends an email. In this macro, I want to get the subject of the email itself and the titles of all of its attachments (be they documents or other attached emails).
    To get the email subject, I use Groupwise.ComposingItem.subject
    To get the attachment filename, I use Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)
    However, this call only seems to work for document attachments. For other emails attached to the current email, this call returns "Mail Attachment" instead of the name of the attached email. How can I get the name (i.e. subject) of the attached email?
    Thank you,
    Monika

    Hi Experts,
    i try useing the DMS_KPRO_READ prog as you said above.
    The problem is that i need to retrieve list  (range) of documents and than save them.
    as it written now , i can do it just about one file.
    if u have any helpfull advice it will be real kindly.
    Thanks alot.
    Yuval.
    Edited by: student student on Nov 16, 2009 10:20 AM

  • Email attachment Dynamic Name:

    Hi
    I have to send the Email with the content and the attachments, here the email content and attachemts contains different set of data , attachment needs to be an .HTML file which has to be generated during the mapping & its content is the part of the email body content...and the attachment name is dynamic...like PO Number or customer name
    i am going through the Stefan's blog: /people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping
    i am not getting the email content and the payload, in this blog dosn't  mentioned about any module to be put in the email receiver...kindly let me know i am missing something from this blog?
    i am getting the payload as mentioned in the blog but at the receiver side i am not getting email content & body...am receiving mail with only subject...
    regadrs
    Nisar
    The receiver paylod is genereated as follows:
    "----AaZz Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline This is a sample file -AaZz Content-Type: application/xml; name=file.xml Content-Disposition: attachment; filename=file.xml <?xml version="1.0" encoding="UTF-8" ?><ORDERS05><IDOC BEGIN="1"><EDI_DC40 SEGMENT="1"><TABNAM>EDI_DC40</TABNAM><MANDT>021</MANDT><DOCNUM>0000000045565114</DOCNUM><DOCREL>620</DOCREL><STATUS>30</STATUS><DIRECT>1</DIRECT><OUTMOD>2</OUTMOD><IDOCTYP>ORDERS05</IDOCTYP><MESTYP>ORDRSP</MESTYP><STDMES>ORDRSP</STDMES><SNDPOR>SAPBC3</SNDPOR><SNDPRT>LS</SNDPRT><SNDPRN>BC3-021</SNDPRN><RCVPOR>XID100</RCVPOR><RCVPRT>LS</RCVPRT><RCVPRN>XID100</RCVPRN><CREDAT>20080527</CREDAT><CRETIM>112753</CRETIM></EDI_DC40><E1EDK01 SEGMENT="1"><ACTION>12</ACTION><ZTERM>12</ZTERM><NTGEW>21</NTGEW></E1EDK01><E1EDK14 SEGMENT="1"></E1EDK14><E1EDK03 SEGMENT="1"></E1EDK03><E1EDK04 SEGMENT="1"></E1EDK04><E1EDK05 SEGMENT="1"></E1EDK05><E1EDKA1 SEGMENT="1"><E1EDKA3 SEGMENT="1"></E1EDKA3></E1EDKA1><E1EDK02 SEGMENT="1"></E1EDK02><E1EDK17 SEGMENT="1"></E1EDK17><E1EDK18 SEGMENT="1"></E1EDK18><E1EDK35 SEGMENT="1"></E1EDK35><E1EDK36 SEGMENT="1"></E1EDK36><E1EDKT1 SEGMENT="1"><E1EDKT2 SEGMENT="1"></E1EDKT2></E1EDKT1><E1EDP01 SEGMENT="1"><E1EDP02 SEGMENT="1"></E1EDP02><E1CUREF SEGMENT="1"></E1CUREF><E1ADDI1 SEGMENT="1"></E1ADDI1><E1EDP03 SEGMENT="1"></E1EDP03><E1EDP04 SEGMENT="1"></E1EDP04><E1EDP05 SEGMENT="1"><E1EDPS5 SEGMENT="1"></E1EDPS5></E1EDP05><E1EDP20 SEGMENT="1"></E1EDP20><E1EDPA1 SEGMENT="1"><E1EDPA3 SEGMENT="1"></E1EDPA3></E1EDPA1><E1EDP19 SEGMENT="1"></E1EDP19><E1EDPAD SEGMENT="1"><E1TXTH1 SEGMENT="1"><E1TXTP1 SEGMENT="1"></E1TXTP1></E1TXTH1></E1EDPAD><E1EDP17 SEGMENT="1"></E1EDP17><E1EDP18 SEGMENT="1"></E1EDP18><E1EDP35 SEGMENT="1"></E1EDP35><E1EDPT1 SEGMENT="1"><E1EDPT2 SEGMENT="1"></E1EDPT2></E1EDPT1><E1EDC01 SEGMENT="1"><E1EDC02 SEGMENT="1"></E1EDC02><E1EDC03 SEGMENT="1"></E1EDC03><E1EDC04 SEGMENT="1"></E1EDC04><E1EDC05 SEGMENT="1"></E1EDC05><E1EDC06 SEGMENT="1"></E1EDC06><E1EDC07 SEGMENT="1"></E1EDC07><E1EDCA1 SEGMENT="1"></E1EDCA1><E1EDC19 SEGMENT="1"></E1EDC19><E1EDC17 SEGMENT="1"></E1EDC17><E1EDC18 SEGMENT="1"></E1EDC18><E1EDCT1 SEGMENT="1"><E1EDCT2 SEGMENT="1"></E1EDCT2></E1EDCT1></E1EDC01></E1EDP01><E1CUCFG SEGMENT="1"><E1CUINS SEGMENT="1"></E1CUINS><E1CUPRT SEGMENT="1"></E1CUPRT><E1CUVAL SEGMENT="1"></E1CUVAL><E1CUBLB SEGMENT="1"></E1CUBLB></E1CUCFG><E1EDL37 SEGMENT="1"><E1EDL39 SEGMENT="1"></E1EDL39><E1EDL38 SEGMENT="1"></E1EDL38><E1EDL44 SEGMENT="1"></E1EDL44></E1EDL37><E1EDS01 SEGMENT="1"></E1EDS01></IDOC></ORDERS05>"
    The Email Body content should be
    " This is a sample file"
    the attachment should be the IDOC strucutre which is getting stored as .HTML file....
    kindly let me know what are the things that i need to take care in the receiver mail adapter to separate these two....
    Edited by: Nisar Khan on May 27, 2008 8:59 PM

    Sorry made simple mistake in reciver mail adapter....works good now.....stefans blog is excellent.

  • Email attachment file name

    Hi,
    I have a macro that executes when the user sends an email. In this macro, I want to get the subject of the email itself and the titles of all of its attachments (be they documents or other embedded emails that were attached).
    To get the email subject, I use Groupwise.ComposingItem.subject
    To get the attachment filename, I use Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)
    However, this call only seems to work for document attachments. For other emails embedded in the current email as attachments, this call returns "Mail Attachment" instead of the name of the attached email. How can I get and modify the name (i.e. subject) of the attached email?
    Thank you,
    M

    Embedded emails do not have names.
    If you want a name for an embedded email, you will
    have to read the embedded email and get the subject.
    You can not modify embedded emails.
    Peston
    >>> On Tuesday, September 28, 2010 at 6:50 AM, MK<[email protected]> wrote:
    > Hi,
    >
    > I have a macro that executes when the user sends an email. In this macro,
    I
    > want to get the subject of the email itself and the titles of all of its
    > attachments (be they documents or other embedded emails that were
    attached).
    >
    > To get the email subject, I use Groupwise.ComposingItem.subject
    >
    > To get the attachment filename, I use
    > Groupwise.ItemAttachmentGetDisplayName("X00", <attachment_index>)
    >
    > However, this call only seems to work for document attachments. For other
    > emails embedded in the current email as attachments, this call returns
    "Mail
    > Attachment" instead of the name of the attached email. How can I get and
    > modify the name (i.e. subject) of the attached email?
    >
    > Thank you,
    > M

  • Email attachment file names

    I have a sender mail adapter that picks up emails with file attachments from a mail box using the IMAP transport protocol.
    The mail adapter passes processing onto the PayloadSwapBean and then onto a customised module that processes the file attachment (a CSV file).
    When I use the messaging system i.e. http://xiserver:port/MessagingSystem/monitor/monitor.jsp
    I can see that Content-Type includes the attachment's file name:-
    Content-Type: application/octet-stream;name="INV_5016888091848_20060912_00001.csv"
    Content-Disposition: attachment;filename="MailMessage.bin"
    Content-Description: MailMessage
    In my customised module I would like to pick up this file name so that it can be stored in a database table. I have attempted to pick up this file name from the payload using the "getContentType" method of the "XMLPayload" class but this only returns "application/octet-stream" and does not include the file name.
    Does anyone know how I can get hold of the above file name using the Adapter Framework API? Or, alternatively, by some other method/approach.
    Any help on this would be greatly appreciated.

    Hi,
    I never used this but an idea.Have a try ..
    Please chcek this link -
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/a9d240a0a98431e10000000a1550b0/frameset.htm
    Please check for Adapter -Specific Message Attributes
    ->To store adapter attributes in the message header of the XI message, set the Use Adapter-Specific Message Attributes indicator.
    The following attributes are added to the XI message header if the sender makes them available, and if you choose Variable Transport Binding.
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    You can set the details in header with the file names you required  like this Variable Header-> XHeaderName1
    Nanda

  • Random new line issue in email attachment using utl_smtp need your help.

    Hi
    I am getting one problem unable to solve, need your help.
    I am creating one csv attachment in email using utl_smtp.
    but there are random newline in the attachment value so the csv getting corrupted.
    following is the attachment code
    FOR C2 IN CUR_VALIDATION_ERROR
                 LOOP
                   IF CUR_VALIDATION_ERROR%ROWCOUNT = 1 THEN
                     UTL_SMTP.write_data(l_mail_conn,'"LOG DATE","DATA ERROR IDENTIFIER","EMPLOYEE ID","SOURCE SYSTEM","SOURCE FILE ROW","ERROR LEVEL","ERROR MESSAGE"'||CHR(13));
                   END IF; 
                   UTL_SMTP.write_data(l_mail_conn,
                                                     chr(34)||C2.LOG_DT||chr(34)||chr(44)||
                                                     chr(34)||C2.DATA_ERR_ID||chr(34)||chr(44)||
                                                     chr(34)||C2.EMPE_ID||chr(34)||chr(44)||
                                                     chr(34)||C2.SOURCE||chr(34)||chr(44)||
                                                     chr(34)||C2.SOURCE_ROW||chr(34)||chr(44)||
                                                     chr(34)||C2.ERROR_LEVEL||chr(34)||chr(44)||
                                                     chr(34)||C2.ERR_MSG_DSCR||chr(34)||
                                                     CHR(13));
                 END LOOP;

    Thank you hm, but that is not the case, bcz I found newline character inside a sequence number. Its not possible to have newline character inside a sequence number
    "LOG DATE","DATA ERROR IDENTIFIER","EMPLOYEE ID","SOURCE SYSTEM","SOURCE FILE ROW","ERROR LEVEL","ERROR MESSAGE"
    "02-MAY-2012","7893660","123","XYZ","44952","WARNING","[02-MAY-12] - The value in field [PHONE]"
    "02-MAY-2012","7893663","12
    4","XYZ","52382","WARNING","[02-MAY-12] - The value in field [ADDRESS]"

  • Transaction or report name needed

    HI all,
    We have requirement to display Material classification with material number, In SAP transaction MM03 we see classification for any material.
    Is there any transaction code to see all material for particular classication type.
    Any suggestion helpful,
    Regards,

    Use the below code:
      MATERIAL = ITAB_MARC-MATNR.
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
          CLASSTYPE          = C_CLTYPE
          OBJECT             = MATERIAL
        TABLES
          T_CLASS            = IT_CLASS
          T_OBJECTDATA       = IT_OBJECTDATA
        EXCEPTIONS
          NO_CLASSIFICATION  = 1
          NO_CLASSTYPES      = 2
          INVALID_CLASS_TYPE = 3
          OTHERS             = 4.
    This will give all the details for a perticular Clkassification type for a perticular material.
    Material Number is Optional. If you dont enter, it will give details for all the materials in that classification type.
    Hope this helps.
    Please reward if useful.
    thanks

  • I cant change my icloud account password, email was hacked and need this all changed

    I cant seem to change my icloud account info, need to change the email and password. was able to change it on the computer once but cant change that in my phone or ipad. any ideas

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted (if running iOS 7), then sign back in with the ID you wish to use. 
    If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • Email sender's name incorrect - can I change it?

    Emails I receive from one person are labeled as coming from "Verizon" instead of the person's name. I have the person correctly entered into my Contacts Book and I think that messages I send from my email are correctly addressed.  Can I edit the name of this email sender and, if you, how?  Thanks.

    Found the answer.  The problem was not at my end but in my Verizon friend's email settings.

  • HT5616 my friend give me his apple id that i use to download apps and then i change the email add and name but i cant change the password. now i update my ios now its asking for the id and password for icloud... i cant open the yahoo id coz its deleted

    my friend give me his apple id that i use to download apps and then i change its email add name and address.. now i update my iphone ios then now its asking for i cloud id and password but when i open the email add for that account its been dissabled because its been long time not used... what can i do to activate my iphone???

    Please only post one time per issue. Answered in your other post.

  • How do I customize the Email Attachment name in Email Bursting?

    I had worked on BI Publisher extensively on 10g and 11g. I have a client requirement with BIP email bursting to deliver the reports as email attachments. I'm able to do it, and also customize mail body etc. However the email attachment file name is randomly generated with some numbers. I read through the docs, and couldn't find any parameter mapping to the attachment/file name (like we do it with File bursting). How do I specify the mail attachment file names in my Busrting properties?
    Thanks,
    Padma

    Please go through the following link:
    http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
    I think after the 'Output' we can specify the filename

  • Drill Through does not work if clicked from email attachment

    Hello,
    Drill through when clicked from the report attached in the email, takes me to the home folder in the Report Server. That's the <URL Root> setup in the Reporting Services. I checked the solutions, but those don't work for me. One of them said to use
    'Go To URL' in the 'Action' property of the text box, but JavaScript is not recognized when I tried to enter '="javascript:void(window.open('http://.........."  Please help.
    Thanks,
    jkrish

    Hi jkrish,
    Based on your description, are experiencing the issue when you  click in the report which will  link you to the home folder of the Report Server and the report was attached to an email, You adding the URL like this: ="javascript:void(window.open('http://..........”)" 
    which doesn’t work in the email’s report, right?
    I have tested on my local environment and can reproduce your problem in the email’s report, but it is fine in the report server ,the problem due to the JavaScript protocol can work only with an exact page. So, when you try to open an blank page to enter
    the URL it will not work.
    You can find more details steps to check the issue:
    Open a blank Internet Explorer, type the following URL in the address box:
    javascript:void(window.open('http://www.microsoft.com', '_blank'))
    The URL can’t work fine.
    Open a page such as :www.microsoft.com, and then replace the URL with the following URL:
    javascript:void(window.open('http://www.microsoft.com', '_blank')
    At this time, the Internet Explorer will open the home page of Microsoft.com in a new window. It means we can use the URL in Reporting Service well but can’t work in the email attached report.
    If your SQL Server version is 2008 R2 or Higher you can Using this expressions in the “GO To URL”:
    Expression: =IIF(Globals!RenderFormat.IsInteractive = true, "javascript:void(window.open('http://www.microsoft.com', '_blank'))", "http://www.microsoft.com")
    This mean if you run the report in Report Server and click the link, you will open the URL using : "javascript:void(window.open('http://www.microsoft.com', '_blank'))",otherwise it will using this URL: "http://www.microsoft.com")
    If the version is lower than 2008 R2 and will not support the “RenderFormat.IsInteractive = ”, you can add directly the URL (Example:=”Http://<ServerName>/ReportServer” ) in the “Go To URL” to make it work fine in the email attached report.
    Similar thread for your reference:
    SSRS 2005 Jump to URL javascript:void window.open fails in
    Excel 2003
    If you still have any question, please feel free to ask.
    Regards
    Vicky Liu

  • Scheduling a Report to Deliver As an Email Attachment

    Hi,
    I want to schedule a Report to Deliver As an Email Attachment. But I am getting the below error.
    oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: Exception reading response;
    nested exception is:
         java.net.SocketException: Connection reset
         at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:235)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1215)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:493)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    In the below link its given to setup the email server (ArGoSoft Mail Server Freeware)
    http://www.oracle.com/technology/obe/obe_bi/bipub/advance/advance.htm
    But I did not do the steps mentioned in the above link. Since I have email server configured on my system.
    I am using the proper Host name and Port. Can you please suggest why I am getting this error.
    Thanks,
    Shiva

    Not really the best way to go.  You'll waste a lot of time and it may not work for your receiver.  Most email hosts have file size limits that make emailing video files a problem.  Better choice is upload you video to YouTube or some other file sharing site then email a link.

  • Send ALV report as email attachment but in background scheduling mode

    Hi All,
           I have ALV report which runs fine in  the foreground.
    But i need to display it in the spool that is by scheduling in the background.
    can i send an excel attachement as e-mail in the background scheduling?  my report contains
    10 columns and i need them in proper format on excel sheet attachment? plz help me out?if possible
    give me abap code..

    HI,
    Use the below link
    Sending Mail to the schedular of Background Job
    Thanks

Maybe you are looking for

  • A/C Determination

    Hi all Scenario: when i make a sales order of a particular item, and PGi it, it should hit a particular G/L account and when i take the same material in return, it should hit the other G/L account. i know it has to be configured in VKOA but i need a

  • Can't change title text

    I have searched the board for this issue and have not found anything directly on point. I am also so frustrated because it seems like this should be quite simple. I started putting together a movie several months ago. I got into it again today, and I

  • Determination and agreements

    Hello, I need some help to understand the determinations and agreements. If I work with BPM I have to create different flows (flow = wizard walkthrough). For example I created a web service that starts a S/A-Bridge in a BPM. Next step is a sync call

  • C++ Runtime Error when opening iTunes

    When I try to open iTunes, the iTunes window pops up and I get a runtime error with the Microsoft Visual C++ Runtime Library. Specifically, it says - Runtime Error! Program: C:\Program Files\iTunes\iTunes.exe R6025 - pure virtual function call Anyone

  • I pod nano does not play songs

    my ipod will not allow me to play any of my songs and it just keeps going through all of the songs one by one i can pause the song but when i push play again the song does not play and that is when it switches to all of the other songs on my ipod. al