+ Start a Discussion
Matheus GoncalvesMatheus Goncalves 

Message Panel to Users - What's the best object to use?

Hello there. First off, thanks for taking some time to give me a help. 

My question is: I have to create a panel to show messages to the users in an Apex Page. Creating the panel itself is quite easy. I know I need a Custom Field to store the messages (and the respective tranlations). However I wonder what's the best object to use in order to store this kind of information?

Or maybe the best thing to do is to create a new Custom Object instead. 

Any help is much appreciated. Thanks in advance.
Mack Meas 8Mack Meas 8
The message itself could be a custom setting, but creating a seperate object and referencing the data in the object is also viable, if you want end users (like an Operations team) to be able to modify this using the standard salesforce UI and not have to go into the backend.

Here's some custom settings limits and considerations.

Hi Matheous,

It totally depends on your requirement ,like
1. How many messages you would like to dispaly for each user.
2. Are these message remains same throughout  or changes frequently.

If it is minimal then go for custom field on User object itself, otherwise you can use custom setting as well(If it Number of messages are not increasing) . If its too heavy then go for custom object.

Please let me know if you have any concerns.