Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create own Datasources [closed]

Tags:

xpages

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.

like image 269
jjtbsomhorst Avatar asked Oct 02 '12 10:10

jjtbsomhorst


2 Answers

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.

like image 138
stwissel Avatar answered Sep 26 '22 08:09

stwissel


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.

like image 27
Sven Hasselbach Avatar answered Sep 25 '22 08:09

Sven Hasselbach