We have a dropdown (sourced from a data page) on user portal homepage (in class Data-Portal). We have a requirement that when a user selects a value in the dropdown, this value has to be retained even when that user logs off and logs in back to the portal, or if he uses some other functionality in the application and comes back to this dropdown.
We can achieve this by saving this value in some database table on change of this dropdown. But is there a better way to achieve this?
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.
Posted: 4 years ago
Posted: 10 Jul 2017 10:32 EDT
Rett Hean (Rett_Hean_GCS)
Principal Software Solutions Engineer
If you treat this like any other property you want to save and persist, you should map it to a property, and then make sure you explicitly save the WO before logging off or changing screens. Often the dirty warning/prompt will help customers remember to save their work in these cases.