Page 1 of 1

Row Custom Action event

Posted: Wed Sep 04, 2013 6:29 pm
by digitalphotoworld

I just used the new Row Custom Action event first time and I am very excited about it.

Now I have two questions about:

1) After finishing the event, a success message is created. This contains a phrase in singlequotes. It seems the phrase is the name of the action. How can I change the name for the success message?

2) When the table contains no records, the button/link for the Custom Action displayed, but this makes no sense. How could I avoid this behavior?


Re: Row Custom Action event

Posted: Thu Sep 05, 2013 11:17 am
by Webmaster
  1. To set your own success message, add the following codes in "Row_CustomAction" server event:
    $this->setSuccessMessage("<YourMessage>");

  2. Use the "Page_Render" server event to check and unset the custom action button if necessary.