how to call a custom method of controller

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abanoub
    Junior Member
    • Sep 2016
    • 23

    how to call a custom method of controller

    if I have a function actionTest().. how do I reques/submit to it ? from the view?
  • yuri
    Member
    • Mar 2014
    • 8485

    #2
    PHP Code:
    public function postActionTest($params, $data, $request) 
    
    PHP Code:
    this.ajaxPostRequest('EntityType/action/test', {
      key1: 'Value1'
    }).then(function () {
    
    }.bind(this)); 
    
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...