7 Replies Latest reply: Sep 24, 2006 9:13 PM by 463833 RSS

    Calendar SDK confusion

    107478
      Dear Support,
      we are planning integration between our ERP System and OCS Calendar. In this case, I have test a lot of days, your SDK and I'm a little bit confused.

      First Step
      - try the SOAP Interface (test tool), functioned!
      - create a plsql wrapper for SOAP, functioned!
      - query events, todo's and notes, functioned!
      and then
      - none additional attendees?
      - no way to create todo's`?
      - none hint to query Calendar users?

      I stop test with SOAP and read the doc for C# SDK.
      Second Step
      - after a little modification, the c# test tool functioned.
      - create wrapper class for tapi.dll and start tests
      - event query works, event creation with optional attendees, functioned
      - query todo's works (only with mime?), functioned
      and then
      - no way to query notes ?
      - none hint to query calendar users?
      - How can I add an attendee to an event, when I cannot query possible attendees?
      - what is with query of address book’s
      and so on.

      I stop all tests and hope, that someone has a very good idea, how I can get an answer for this question. I think, a SDK is a good idea, but the current skd? An little bit SOAP and an bit of C# function mixed in one wrapper class, so that I can use all function from ORACLE Calendar, is not a good idea!

      The current questions are
      - how can I get / search Calendar users and / or groups like contacts with Calendar SDK , so that I can add them to an event?
      - Can I search contacts in the global address book or other public address books?
      - How can I Fetch Daly Note and Day Events?
      It is all the same to me, which interface, soap or c#, but only one of them, with all functions! Is that possible?

      Regards,
      Henrik Mueller

      null
        • 1. Re: Calendar SDK confusion
          414326
          Here are answers to your sdk questions.
          The current questions are
          - how can I get / search Calendar users and / or
          r groups like contacts with Calendar SDK , so that I
          can add them to an event?
          It is currently not possible using the calendar sdk to search for calendar users. Although you can get a handle on calendar users with different attributes like: getHandle(email_address), getHandle(uid), getHandle(guid), getHandle(surname/givenname) ....
          - Can I search contacts in the global address book
          k or other public address books?
          With the calendar sdk you can view contacts in the calendar sdk session's effective user's address book.
          - How can I Fetch Daly Note and Day Events?
          Same as for normal events.
          fetchEventsByUid if you know the uid or
          fetchEventsByRange with date range: 20051201 <--> 20051202 for a Daily Note/Day Event occuring tomorrow.

          Regards,
          Jean-Philippe Guguy
          • 2. Re: Calendar SDK confusion
            107478
            Hi Jean-Philippe,
            special thanks for the answer. I test the solutions. But it is another problem. When I tried to move an event, I get a wrong result.
            I tried with the flag "CSDK_FLAG_STORE_MODIFY" and the result is a repeatedly event with new date and time. When I use the "CSDK_FLAG_STORE_REPLACE" flag, I get none errors, but the event was not modified. Any idea?
            Regards
            Henrik
            • 3. Re: Calendar SDK confusion
              414326
              Hi Henrik,

              Both operations you mentioned should work normally.

              I need more information to answer your question.

              1. what is the version of the sdk you are using?
              2. iCal representation of the events before and after the store/replace operation.

              Note:
              With the CSDK_FLAG_STORE_MODIFY flag, you need to give at least these properties in the iCal string RECURRENCE-ID of the instance, UID of the event and the new DTSTART. Failing to give the RECURRENCE-ID will add an instance.

              With the CSDK_FLAG_STORE_REPLACE flag, the event will be replaced by the new iCal event you passed in given that the iCal contained the good UID property.

              Cheers,
              Jean-Philippe
              • 4. Re: Calendar SDK confusion
                107478
                Hi Jean-Philippe,

                when I work WITH "RECURRENCE-ID" (org. start date and time) and the "CSDK_FLAG_STORE_REPLACE" flag, the event was moved. When I use the "CSDK_FLAG_STORE_MODIFY" flag, the event get a new repeated entry at the new date and time. I forgotten the "RECURRENCE-ID"! SORRY!

                The current capi version is "9.0.4.2595".
                The iCal representation is very simple, only one event before and one event with one repeated entry after store / replace.

                Regards,
                Henrik
                • 5. Re: Calendar SDK confusion
                  463833
                  I stop test with SOAP and read the doc for C# SDK.
                  Second Step
                  I stop all tests and hope, that someone has a very
                  good idea, how I can get an answer for this question.
                  >
                  Regards,
                  Henrik Mueller

                  null
                  I also have thrown away hopes today as same as anyone like system4, it is to get the group info. - memers which is owner's private. I've expected them to be stored in rdbms of the o?c?s. This was a goodwill guess. but it seemed mistakes.

                  Actually they are being stored in db-system, some db-system but no ORACLE's great rdbms. At last I who was bad of thing understanding understood it.
                  The entity's name on the file system is "groupnames.key" ? Is this a hierarchical database?
                  Is this a hierarchical database?

                  Arriving here, I thought once that I want to be known from anything its real DB-Api simply, not a thing to relay data. But I already don't expect such a information to tell truth.

                  The only and reliable and DISGUSTING way with anyone supposed, and Of-course ADHOC way, is meaning that I might produce out a monster of REG-expression.
                  This is conclusion I've reached now imaging.
                  The victim for it is, your HTML page's source data which will be provided when the Users's query to get the private group is occurred.

                  Don't you sense silly!?


                  Humm... Something what I've wanted to would be supported as new SDK? CSDK?, (CWSTK)WebService?

                  You are seeing CURRENT-YEAR is 2006?



                  It takes it till when?
                  (O)You.






                  K.Tomono

                  Message was edited by:
                  user460830

                  Message was edited by:
                  user460830

                  Message was edited by:
                  user460830

                  Message was edited by:
                  user460830
                  • 6. Re: Calendar SDK confusion
                    463833
                    "groupnames.key" ? Is this a hierarchical database?
                    Is this a hierarchical database?
                    typo - "groupname.key"

                    Is this the "relational and network model DBMS"?

                    What is db_VISTA? Raima?
                    • 7. Re: Calendar SDK confusion
                      463833
                      I've misread MAN-text of the command `unigroup`.

                      % man -M $ORACLE_HOME/ocal/man/ unigroup
                      Reformatting unigroup(8), please wait...

                      UNIGROUP(8) UNIGROUP(8)



                      NAME
                      unigroup - Manage public and administrative groups.



                      SYNTAX
                      unigroup -info [-host hostname:port] [-n node-ID] [-uid uid] | [-krb]]

                      unigroup -ls [group] [-members] [-host hostname:port] [-n node-ID]
                      [-uid uid] | [-krb]]

                      unigroup -add group [-host hostname:port] [-n nodeid]
                      [[-uid uid] | [-krb]]

                      unigroup -del group [-y] [-host hostname:port] [-n nodeid]
                      [[-uid uid] | [-krb]]

                      unigroup -mod group -m modifier [-host hostname:port] [-n nodeid]
                      [[-uid uid] | [-krb]]

                      unigroup -attach group -u user [-host hostname:port] [-n nodeid]
                      [[-uid uid] | [-krb]]

                      unigroup -detach group -u user [-host hostname:port] [-n nodeid]
                      [[-uid uid] | [-krb]]

                      unigroup -v
                      unigroup -h


                      DESCRIPTION
                      Unigroup lets you manage public and administrative groups. You can create, modify and delete groups. You can list existing
                      groups and their members.

                      ...

                      This command can retrieve the PRIVATE "administrative" data too.

                      % unigroup -host ocal.localhost.com -n 1 -uid XXXXX -ls "NAME=prvG" -members
                      Enter a password:
                      NAME=prvG/ID=9999/NODE-ID=1/TYPE=Private
                      Total calendar members: 2
                      User: S=Oracle/G=Taro/UID=oc_user1/ID=001/NODE-ID=1
                      User: S=Oracle/G=Jiro/UID=oc_user2/ID=002/NODE-ID=1

                      The issue might have become how I pass each user independent password to web-app.
                      These password can not be retrieve from OID in web api normailly (for me).
                      And I want the key values of private group as a list in real.

                      .. I don't want to take a such method above in truth, I want to create a pure java-web-application, not a CGI script.

                      But I hope this info. will help to someone like me.


                      ----
                      K.Tomono