Launch external app from Lync: Problem with 'Actions' option & contactsId...

Unanswered Launch external app from Lync: Problem with 'Actions' option & contactsId...

  • Friday, September 23, 2011 12:29 PM
     
     
    Hi,

    I am using Lync 2010 SDK to launch a custom application from Lync client.

    To call my application from 'Actions' & from 'contact right-click', my registry key is like that:

    ------------------------------------------------------
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Communicator\SessionManager\Apps\{8885370D-B33E-44B7-875D-28E403CF9270}]
    "ApplicationInstallPath"="C:\\App4Lync.exe"
    "Name"="App4Lync"
    "ApplicationType"=dword:00000000
    "SessionType"=dword:00000000
    "Path"="C:\\App4Lync.exe /userId=%user-id% /contactId=%contact-id%"
    "ExtensibleMenu"="MainWindowActions;MainWindowRightClick"
    ------------------------------------------------------

    With that, 'Actions' option dows NOT works, and with'contact right-click' I receive these arguments:
        /userId=sip:user1@server.com
        /contactId=Contacts=<sip:user2@server.com>
    if only one user selected, or with 2 users selected:
        /userId=sip:user1@server.com
        /contactId=Contacts=<sip:user2@server.com>,<sip:user3@server.com>

    If I delete "contact" from registry:
      "Path"="C:\\App4Lync.exe /userId=%user-id%
    then both options works, and I receive:
        /userId=sip:user1@server.com

    Why 'Action' option does not work when adding "contacts" argument to registry key??

    Thanks in advance,

    Diego

    • Edited by ddonate Friday, September 23, 2011 12:30 PM
    •  

All Replies

  • Thursday, October 06, 2011 7:45 AM
     
     
    Hi,

    I have been trying differents combinations with registry, but my external application is NOT called from Lync using both 'Tools' menu options (MainWindowActions and ConversationWindowActions). From all other possibilities, my application is called, and I receive local user and contacts.

    It seems NOT to be a problem of receiving several contacts in "/contactId=%contact-id%, since using "MainWindowRightClick" I receive in my external application local user and selected contacts...

    Could it be a Lync problem? I supposed it is NOT...

    Any help would be really appreciated.

    Thanks a lot in advance,

    Diego
    • Edited by ddonate Thursday, October 06, 2011 7:53 AM
    •