Skip to main content

Running an Oracle Stored Procedure from a Webapp Button

Answered

Comments

2 comments

  • Best answer
    Ben Bauer

    Hi Mick,

     

    When calling a Public WebApp Event, it is necessary to specify at least the "Key" parameters that are registered to the event.

     

    But even that Online Help article fails to mention the *Evt view that must first be registered as the [Parameter View] of the Business Rule.  This is the old column description (which is accurate):

    "Parameter View

    The View that will provide the Parameter values for the WebApp Event to be called by this Business Rule when it executes. When constrained by the primary keys of the record for which this Business Rule is running, the Event Parameter View must return exactly one record."

    This is where you find the column:

     

    After the [Parameter View] is set, then the instructions in the Online Help are accurate.  You click into 'Parameters' and map the columns from your *Evt view.  By the way, *Evt means the view needs to be named like webPageTableEvt.  However, as the old column description notes, it is very important that the *Evt view contain the same records as the *Hor view.  I often just copy the *Hor view and then save it as *Evt.

     

    For additional assistance, I recommend we move this to a Support ticket.  Just let me know and I can make that happen.

     

    Thanks,

    Ben

    1
  • Michael Foxall

    Hi Ben.

    Thanks for this,

    I haven't yet managed to achieve this, however a DSP contractor (Karl Boseley) is very kindly helping me with this following your advise, although as i am juggling several projects I've not yet been able to dedicate enough time to get this completed.. 

    I will let you know if i require assistance in moving this to a support ticket. I just felt you deserved a response.

     

    Thank you.

     

    Mick Foxall

    1

Please sign in to leave a comment.