I have a UI-only field that is a reference field. The lookup works fine. When I save the record and refresh the page the information in the UI-only field is no longer there. What am I missing to ensure the data saves properly?
I believe UI only fields can be used in model conditions. perhaps you might want a user to select a contact and then activate a model condition that uses the contact Id to pull up all tasks related to that contact in repeating field editors instead of a table???? I'm sure someone will think of some reason to need it! UI also allows you to perform actions and calculate formulas in real time without needing to save to the database. You could theoretically create a proposal that uses formulas on your data in real time and then decide if you want to commit it to the database. Perhaps you are negotiating in the phone and you are not sure if the customer wants to buy or what the exact terms would be or which service he will choose from the related look up field so you don't want to commit to the database just to update the total price times a 15% discount broken into monthly payments. I believe you could accomplish this all with UI fields and then commit to the database using actions of the customer decides to move forward. Last thing I can think of is that perhaps you have a third party rest service that stores raw data that you then want to do math on and commit the result to the Salesforce database as opposed to storing all the raw data In Salesforce and doing the math in Salesforce. You might need to reference related records in the third party and/or salesforce database to do your math. I haven't used them much so exercise caution in taking my word for it!