Is there any information on how to create your own datasources for xpages? I'm busy developing a java API for a system of ours and I would like to be able to use the data as a datasource within xpages.
There was a Lotusphere 2011 session SHOW107 that walked you through the steps. Read about it on Jim's blog, the BleedYellow community, an excellent slideck from Paul (and related) as well as SHOW107 itself.
One caveat: The data sources don't show their fields in the Domino Designer. If you want that functionality then, instead of looking at com.ibm.xsp.extlib.model.ObjectDataSource you would subclass the DominoDocument and more or less overwrite all functions.
You could look in the source code of the extension library. There you will find the class com.ibm.xsp.extlib.model.ObjectDataSource as an easy example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With