Invoke report from url and have it sent as email attachment

 2 Replies
 1 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
TRK
Basic Member
Posts: 9
Basic Member
    Hi

    Another challenge. I've been trying to find the information in the documentation, but my skills are not high enough to get anything useful out of the, should I say, limited documentation available.

    Background
    From time to time I receive a file, which is then imported into a SQL DB via a Powershell script. The data imported should then be sent to the user in a nice looking report, which is attached as PDF in an e-mail. The report is created and takes 3 parameters: sender, messageID and date - Only sender and messageid is used from the powershell script.

    Challenge
    How do I invoke the report from the Powershell script, so that the report is
    - Updated with the parameters from the powershell script
    - Sent to selected users in an e-mail as a PDF attachment

    Ideas
    My hope so far is that I can utilize an URL or two to invoke the report and somehow send it. I've managed to do this with infosets, but can't find the key when it comes to reports.
    Perhaps somehow creating a new schedule frhttps://www.lawsonguru.com/DesktopModules/ActiveForums/themes/lg2010/save32.pngom an URL or something. I'm open to all suggestions :)
    Matthew Nye
    Veteran Member
    Posts: 514
    Veteran Member
      you can kick off a schedule with a URL. I cant find an example right now but i know there are several posts somewhere on this board with examples.
      If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
      TRK
      Basic Member
      Posts: 9
      Basic Member
        I've been looking and looking without finding an example I could understand. The URLs I found usually triggers an instance, not a schedule. If you or anyone could point me in the right direction it would be a tremendous help.