locked
OCS Tab in R2 RRS feed

  • Question

  • Hi,

    we are working on several custom Tabs for OCS, and everything worked fine with OCS2007.
    I Installed the R2 today, and realized that it does not load the tabs where the  <contactid>true</contactid> field is set to TRUE.
    If I change it to FALSE it works fine, but we need the information on the selected contacts of course...

    I did also try to set up the Tab example of MS, but it is the same...

    Does anyone knows if it is a bug, or there are extended parameter for OCS2007 R2, that also has to set for getting it work?

    Thanks,

    Robert


    So if I set this simple code to the XML it does load:

     

    <tabdata>

      <tab>

        <image>the doc says it is not a required parameter, but if I remove this line the tab does not load...</image>

        <name>Test</name>

        <contenturl>http://www.microsoft.com</contenturl>

        <contactid>false</contactid>

      </tab>

    </tabdata>

     

    But if I change the <contactid> parameter to “true” then the page doesn’t load at all

    <tabdata>

      <tab>

        <image>the doc says it is not a required parameter, but if I remove this line the tab does not load...</image>

        <name>Test</name>

        <contenturl>http://www.microsoft.com</contenturl>

        <contactid>true</contactid>

      </tab>

    </tabdata>

    Saturday, January 17, 2009 5:07 PM

All replies

  • I noticed this today too. They appear to have ruined it, I'm afraid. 

    Now <contactid>true</contactid> means that it's not a tab at all, and is instead a custom link on the "Contact Card" (right click contact > View Contact Card, which nobody uses). You click the link and it takes you to your URL appended with "contactid=sip:user@example.com" that launches in your default browser.

    If you set <contactid>false</contactid> to get it to really appear as a tab at the bottom of the contacts window, OnSelectionChange function doesn't get called anymore.

    Our tab was our own version of a Contact Card with info grabbed from the intranet. It no longer works as expected (i.e. select user in list, instantly see pertinent information about them) and is just not useful impemented as a hyperlink as it is now in Communicator R2.

    I'm hoping there's some other undocumented TabXML setting that will get it to work as before. If not - we're not moving to R2.
    Thursday, February 12, 2009 2:18 PM
  • Hi,
    I have the identical poblem, if someone find a solution  will be very helpfull.

    Elia.
    • Proposed as answer by VoIPen Tuesday, April 21, 2009 4:04 PM
    Friday, April 10, 2009 2:51 PM
  • I opened a ticket w/ Microsoft and hereis the answer  I received in bold. Basically The RTC Team reassigned the purpose of ContactID and removed the OnSelectionChange Function. So there are no more dymanic tabs only static web pages in which you can send the contact SIP URI to a webpage and update your tab. Also the OCS R2 documentation is incorrect in that it states OnSelectionChange is still avaiable but it is not. Also RTc went back to using GET and POST statements on the Contact Cards which open up a web browser.

    Microsofts Replies

    The Communicator R2 client tab functionality has changed from what it was in Communicator 2007. In OC 2007 you could pass the contactID parameter to tabs that were listed at the bottom of the Communicator contacts display. Microsoft has changed the use of tabs in OC 2007 R2 such that you can only display static tabs at the bottom of the Communicator contacts display area. The previous functionality has been moved to the tabs at the bottom of the contact card for each user. So if you wanted to access contact sensitive data you need right-click on the user and choose "View Contact card".

     See Configuring Custom Tabs in Communicator 2007 R2 <http://technet.microsoft.com/en-us/library/dd425110(office.13).aspx>

    ELEMENT contactid (“true” | “false”)

    Determines whether the tab appears in the contact card. Tabs defined without contactid or with contactid=false will appear only in the Communicator window. Tabs defined with contactid=true will appear in the contact card, and Communicator will pass the selected contact to the defined page. The default value is “false.”

    If you have set

    <contactid>true</contactid> => the tabs that would normally be present at the bottom of the OC 2007 display area is now moved to the contactcards, and then the contact sip URI will be passed to the tabs that now appear in the contact card.

    Here is a statement from RTC Core:

    In R2 the extensibility of Communicator enforces a more strictly defined user experience. In our product roadmap going forward, the Contact Card will gain prominence, and in order to prepare for those upcoming changes, we slightly modified the API behavior of the Custom tabs to display tabs using the ContactId=true to appear in the Contact Card and to be contact specific.


    VoIPen
    Tuesday, April 21, 2009 4:11 PM
  • Thanks for taking the trouble @VoIPen. Interesting definition they have of "slightly modified the API behavior"! Hopefully the next version will have something more useful. But as it is, 2007 R2 is a non-starter for us now.
    Tuesday, April 21, 2009 5:17 PM
  • I let Microsoft know my feelings about this change... ...I realize it will be ignored.

    Basically Microsoft is still a Top Down company that can't explain the change and is not open to suggestions. Please contact you Microsoft salesperson and let them know you frustration.

     

     


    VoIPen
    Tuesday, April 21, 2009 9:55 PM