Display Error message from apex class to skuid ui

edited November 2018 in Questions
I have created one apex class.I am validating some data there.After that I need to display some message to skuid ui page based on the code done in apex class.
Is there any way with the hep of which I can display message from apex class to skuid UI.

Comments

  • Rob HatchRob Hatch 🛠️ 
    edited September 2016
    Rohit.  I think you will find your answer in this thread:  https://community.skuidify.com/skuid/topics/calling_apex_function


  • Zach McElrathZach McElrath Principal Software Engineer Chattanooga, TN 💎💎💎
    edited March 2017
    Rohit, if you are performing the validation in Apex Triggers, then if you use the SObject addError() method, you can add errors that will show up in Skuid pages.

    If you have a need to initiate this validation via a button click in the Skuid UI, then you should take a look at this post: Adding errors with JS
  • edited November 2018
    Hi all, I have a problem with skuid error mesages, I am adding errors with addError method from my trigger validation, but I do not see my error message as expected in the skuid UI
       
     ff.addError('Practice has no licensee');

    My skuid version is 6.8.20

    Thanks




  • edited July 2015
    I noticed that this doesn't work for the fields which are available on tabs and I use a custom button to save.
  • Rob HatchRob Hatch 🛠️ 
    edited September 2016
    I'm not sure what you mean by fields available on tabs...  Can you provide a little more insight?  We'd like to help you get this taken care of... 
Sign In or Register to comment.