How to auto-close Feedback messages on mobile

Hi,

Follow these steps to successfully close feedback messages on Mobile application.

STEP 1

First enclose your feedbacks in an actions. This is very important so all feedbacks are covered.

STEP 2

Create a separate action that will contain the javascript to close the feedback message using  $public.FeedbackMessage.closeFeedbackMessage(); https://success.outsystems.com/Documentation/10/Reference/OutSystems_APIs/JavaScript_API/FeedbackMessage#closefeedbackmessage



STEP 3

Now, for the feedback inside the actions you created first, do a call to the previous close feedback action created asynchronously:



STEP 4

Finally, inside the CloseFeedback Action you will have a set time out of your choosing.


In summary:

- Create a feedback message actions with a javascript included that will call another action (the close feedback) asynchronously
- Create a close feedback action with a set timeout that will be executed to close a feedback after the settimeout

Thank you for sharing this information. (",)