2 Replies Latest reply on Jan 5, 2018 10:54 AM by Laurent Matheo

    How to pass parameter from Birt to ARS using Active Link

    David Narwa
      Share This:

      Hello,

      We are in ARS 9.1.04 and facing the following issue:

      We need to use a specific report on the Work Order form.

      First we have created the birt report including a report parameter (Work Order ID named ;" Param_N°WO") which is using into sub report.

      We have created an active Link on WOI:WOrk Order Form with Open Windows Action that launch the report

      it works fine but we have the prompt windows to submit the parameter value.

      How can we bypass this action, how can we pass the Work Order ID value from the actual ticket to the birt parameter for a better user experience

      Is it in the open windows AL qualification : 'Work Order ID' = $Work Order ID$ (not working so far)

      i feel like we should use the parameter name (Param_N°WO) into this qualification, but how?

       

      Any help will be great !!

        • 1. Re: How to pass parameter from Birt to ARS using Active Link
          Laurent Matheo

          Hi David

           

          Happy New Year ^_^

           

          I don't think it is possible to create a parameter in birt and assign a value using the activelink action for it. You can look in the existing activelinks that run reports on Incident, WorkOrder and Change how they do but I suspect they do something like described on this thread:

          Active Link to call web report for specific ticket

           

          Meaning that in the Birt report you "only" focus on displaying the fields you are interested with, and for the record selection / the qualification you are interested with is actually in the qualification in the open Report Window activelink action itself.

           

          At some point for example in incident some activelinks were chained to open the report. The first active links were setting z1D fields with the correct report name and form to report on, another one set the qualification and the last one was actually opening the report window and I guess using all the z1D information... Maybe you see what it uses, sadly I don't have the complete log for this one anymore (HPD:INC:Print-TicketPrinting_110) but I guess in the 9.1 the idea is still the same and active links are still the same:

          ActiveLink Start:- HPD:INC:Print_105_SetReportInformation | HPD:Help Desk/Best Practice View - Fri Apr 10 2015 15:58:29 ms 295

          True actions:

          action 0

              SetFields:

                    z1D Report Name(1000003607) = Help Desk (English)

                    z1D Report Form Name(1000003611) = HPD:HelpDeskPeopleReportJoin

          action 1

              SetFields:

                   z1D Report Qualification(1000003613) = 'Incident Number' = $Incident Number$

          ActiveLink Start:- HPD:INC:Print-WEBPrint_080 | HPD:Help Desk/Best Practice View - Fri Apr 10 2015 15:58:29 ms 688

          True actions:

          action 0

              SetFields:

                    z1D Report Target(1000003606) = Web

          ActiveLink Start:- HPD:INC:Print-TicketPrinting_110 | HPD:Help Desk/Best Practice View - Fri Apr 10 2015 15:58:29 ms 690

          True actions:

          action 0

          Run Process: PERFORM-ACTION-SET-PREFERENCE 23235 1

          action 1

          Open Report Window

          Server: $-6$

          Schema: $1000003611$

          View:

          (...)

           

           

          Note:

          I think I did a webcast for BMC Communities talking about Birt a while ago (I don't remember if we have a thread about that, Matt Laurenceau did we store / published the "Bird Of a Feather" casts?) that shows how to create parameters and cheat using Javascript, I attach the doc.

          1 of 1 people found this helpful
          • 2. Re: How to pass parameter from Birt to ARS using Active Link
            Laurent Matheo

            I also know that Julien Boisserie played a lot with Birt, maybe he has an idea as well