This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 5, 2012, 10:03 PM
4 Posts

Using multiple data sources in a calendar

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: calendar,REST
  • Replies: 3
I'm fairly new to xpages, have some familiarity with java, and for now am just looking to find out if there's a feasible approach to a users request.

I support two simple notes client applications that each have a calendar view containing similar data (start date, end date, and description).  For compliance reasons, the data needs to reside in separate applications.  Only a few managers are allowed to read documents in both applications.  Currently, the managers access each application separately within the notes client but would prefer to read all documents from a single calendar.  My question is can this be done with xpages?

I see there is a calendar control in the extension library that can accept a REST service for a single view and based on the documentation a custom database servlet could be created but I'm not sure it can be coded for this purpose (IE, I'm not sure I know enough about java to do this).  The calendar would be read only and does not need to provide a link to display the underlying documents.
 
Any comments on how to approach this would be appreciated.
Apr 7, 2012, 2:18 PM
17 Posts
Re: Using multiple data sources in a calendar
Hi Brian,
yes, there should be no issues implementing this functionality.
You can merge document collections from both calendars - either directly using NotesDocumentCollection, or like this, for example (depends on your needs).
I wouldn't probably bother with a REST service.
No hardcore Java should be required for this task - if you can write LotusScript to read data from these databases, you are halfway there.
 
Apr 8, 2012, 12:13 AM
4 Posts
Re: Using multiple data sources in a calendar
Hi Rick, 
 
Thanks for responding.  That sounds great, but I didn't see a way to pass data using anything except a REST service for the extension library calendar control.  Do you know of any examples where the control is used with a data source other than a REST service?  I think I know how to merge the data using SSJS I'm just not sure how to pass it into the control.
Apr 8, 2012, 2:33 PM
17 Posts
Re: Using multiple data sources in a calendar
Hi Brian,
I will have a look at the extension library control as time allows  - I was talking about merging data from several sources in general.
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal