Helpful Hint: Changing the app formula will blank out the form/view name

I was just cleaning up some of my custom controls and casually modified the application database formula for my document data source. Unfortunately, saving a new formula for the data source WILL BLANK OUT THE FORM NAME. Not knowing this, I went on my merry way, when all of a sudden, my form no longer worked. I received a notesexception error for trying to use setValue with DominoDocument, notesitem not found. I wasn’t even using that command anywhere!

So, after 3 hours of scratching my head and finally removing everything from my custom control, I discovered that my form name was missing for the document data source. What a royal pain!!!

So, just be aware that if you change your application formula for your data source on a custom control (or database formula for a view, as well), saving the control will automatically blank out the form name (or view name) that you had before.

fyi

Subject: this has already been fixed in 8.5.2

so this will improve with the upcoming MR.