• iNotes Calendar filter

    By Fa Sc 1 decade ago

    I have set up a REST Service using "calendarJsonLegacyService" towards a notes view. I have also created a iNotes Calendar and connected this to the service.

    And the calendar entries are displayed

    But how do I manipulate this entry in the iNotes calendar for display only a part of documents ?

    Is there a way to filter the documents to display on notesCalendar ?

    I need to filter the view by the user that is log in, in way to display only your data .

    Please, Could you help me ? Thanks in advance.

    • I second that

      By Thomas Adrian 1 decade ago

      What a coinsidence

      just posted a discussion about this at SO

      http://stackoverflow.com/questions/9656653/filtering-the-inotes-calendar-in-extlib

    • Custom service for xe:restService control?

      By René Bosle 1 decade ago

      Hey,

      currently im working on the same issue.

      The iNotes calendar requires a a rest service, located within the same XPage.
      Probably the whole issue would be easy to solve if there would be any chance to let the calendar use a remote URL which provides the same JSON structure as the calendarJsonLegacyService service.
      The project "JSON and REST Samples"
      shows a good example how to provide such a Remote Rest Service.

      Sadly, as far as I know, its not possible to link the calendar to a remote data store.
      Somebody please correct me if I am wrong.

      In my opinion the only chance is to either provide a custom service for xe:restService control (similar to calendarJsonLegacyService but with own filter) or to hook into this existing service somehow to provide your own and filtered document collection.

      This probably sounds good in theory, sadly if no idea how to do this in practice.
      I already asked google whithout success.

      I dont want to hijack this thread, but since a custom service is required to solve this imo, maybe anybody can give a hint how to start resp. where to start reading :)?

      Regards, René