Feedback Message++

Feedback Message++

  

Hi All,

I am using the New FeedbackMessage++ widget, but i need to hold the Timeout value in the other module and consume it in the present module, so that if we required to change the timeout value at any point of time we can go head and change in the common module instead of changing in every feedback message++ Timeout value.


Regards,

Vinod


Solution

Hi Vinod,

To do so, you'd typically add a Site Property to some generic module you're using in all your apps (maybe a Theme module or the like) to hold the value. Secondly, I would create a new Feedback_Message without the Timeout parameter in there, that calls the FeedbackMessage++ and uses the Timeout from the Site Property.

The above ensures that all developers use the same timeout.

Solution