Watson Workspace will no longer be available after February 28, 2019. Learn more.

Developers

How do you I map identities ?

Comments

5 comments

  • Avatar
    David Brooks

    When your application posts, you should post a message using with a generic annotation.  You can include an actor as part of this annotation and we will render the user. 

    You can follow example code here:

    https://github.com/watsonwork/watsonwork-echo/blob/master/src/app.js#L52

     

  • Avatar
    Michel Jonker

    Thanks @David , I can see how this would work for an author, so I will try to apply this.

    But for the content of a message,  I was hoping that Watson would recognize workspace members ?

    I hope I don't have to do the work of recognizing mentions of people in the body text?

  • Avatar
    Michel Jonker (Edited )

    Ok I have the actors in there, which is nice, now I can see names of the authors of the yammer message

    Are they supposed to be clickable, because of the url/avatar urls ?

    And what about the mapping between workspace users and (in this case) yammer users ?

     

     

  • Avatar
    Joe Russo

    Hello Michel - we haven't added @Mention yet - we will and it will surface as a Message Annotation then you'll have the person info on that mention - and access to the user information (id, email, displayname, etc). Stay tuned for when we do add that...

     

  • Avatar
    Michel Jonker

    Thanks Joe,

    I trust the @Joseph Russo does not have to be in the text, just the Joseph Russo or Joe Russo ...

Please sign in to leave a comment.