4 Replies Latest reply: Feb 27, 2013 9:34 AM by Russ C RSS

    Button in report

    Vedant
      Hi,
      How i can add button to the report, as i have created link in reports.I want to run process when the button in report is pressed.





      Thanks & Regards
      Vedant
        • 1. Re: Button in report
          VC
          Vedant wrote:
          Hi,
          How i can add button to the report, as i have created link in reports.I want to run process when the button in report is pressed.

          Thanks & Regards
          Vedant
          Create a column link in your report and specify the Target as URL

          And enter this for URL field
          javascript:apex.submit('PROCESS_THIS_BUTTON');
          and make your page process conditional for this request by choosing Request=Expression 1 and put PROCESS_THIS_BUTTON in Expression 1
          • 2. Re: Button in report
            Vedant
            Hi,

            I have created a link in report. In url i have pass this

            javascript:apex.submit(CREATE);


            .

            I have created one process on same page. in conditon what i have to specify.
            • 3. Re: Button in report
              VC
              Vedant wrote:
              Hi,

              I have created a link in report. In url i have pass this

              javascript:apex.submit(CREATE);
              This should be
              javascript:apex.submit('CREATE');
              I have created one process on same page. in conditon what i have to specify.
              You would enter CREATE in expression 1 and the condition type will be Request=Expression 1 as I mentioned above
              • 4. Re: Button in report
                Russ C
                Forgive my lack of coding skills, but how can the "Process" know the Context/ID of the row that was clicked?