To display interface error on UI

Certified Associate Developer

If there is any expression evaluation error on interface, how can we display that error on UI if want to show to user. Reason for error need to display on UI.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    The user will see the pink UI errors as is. Are you looking to customize those? what's the exact use case?

  • 0
    Certified Associate Developer
    in reply to Abhay Dalsaniya

    We are currently saving in a local variable "an error occurred while exporting the data " on the "onError" parameter. But we want to show the actual error, that appian is generating. In the user interface rule,for example, if we try to query a table with more than 50 columns, it says "numbe rof columns exceeded 50" something like that. But how do we display the same in the run time in sites?. The issue is that in higher environments, we are getting "an error occurred while exporting the data " even though the same code works fine lower environments. We want to know what is breaking the exportdatastoreentitytoexcel function. The documentation says it can export more than 100k records. I was able to export 300k records in lower environments. Not sure whether it is breaking due to view complexoty or something else in higher environments

  • 0
    Appian Employee
    in reply to ruchiy9131

    This doesn't sound like an issue with the UI, it just sounds like you want to know what the error is, right? In this case I'd suggest looking at the tomcat-stdout.log and you should be able to find errors that occurred when exporting.

Reply Children