Well I screwed up yesterday… spent WAY too long on something in XPages because I still suffer from “Classic Notes Muscle Memory”. So I just thought I’d mention this in case someone else ever does this maybe they’re catch it quicker.
In XPages you can separate your code application from your data storage databases very nicely. This is something you really can’t do in notes client development and I find myself seperating logic and date quite often. In this example I have a NSF file with code needed for an iPad Mobile web application. But all the data is in a different database. Separating your code from your data is really seamless and nice to work with. This isn’t a big deal at all, until you get so into the coding that you actually forget where your data is.
I spent way to long yesterday on a piece of code in
Anyway it turns out that it worked fine, but I was simply saving it to the CURRENT database rather then the data database that I needed to. OPPS!! I just completely forgot about the separation.
So the moral of the story is always know where you’re data is supposed to go. 🙂