FeedBack message is not autoclosing in web Application. 

I have used the javascript after the feedback message. But, it is displaying the error message

" exception occurred in the client script. Error: Cannot read property 'hide' of undefined".

How can I auto close the feedback message? 

Hi Ellakkiya,

There are a component feedback_message ++ in forge can you please try that component

Regards

-SK-

Hi Ellakkiya,


This is indeed a topic raised multiple times.

You can create a ShowFeedbackMessage client action which invokes JavaScript API to do this (more detail here).


Let me know how it goes.


Cheers

João Marques wrote:

Hi Ellakkiya,


This is indeed a topic raised multiple times.

You can create a ShowFeedbackMessage client action which invokes JavaScript API to do this (more detail here).


Let me know how it goes.


Cheers

Thankyou for your reply.,

Documentation is for mobile.. How it can be achieved for web application.


Hi Ellakkya,


The same principle applies, in Web you can use the RunJavaScript action of HTTPRequestHandler.



Cheers

João Marques wrote:

Hi Ellakkya,


The same principle applies, in Web you can use the RunJavaScript action of HTTPRequestHandler.



Cheers

Thankyou for reply.,

SyntaxEditor Code Snippet

"setInterval(function(){
$public.FeedbackMessage.closeFeedbackMessage();
 }, 5000);"

I have used this script in runjavascript server action after the feedback message.But it is not working.

Hi Ellakkya,


Your JavaScript should be like the example of the JavaScript API documentation.