Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When you create a message by profile card, cannot retrieve recipients' DisplayName. #2201

Closed
mayanagi opened this issue Sep 29, 2021 · 7 comments
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs

Comments

@mayanagi
Copy link

When you create a message by clicking an email address in the profile card like the picture below, add-ins cannot get recipient's DisplayName.

image

I assume that this behavior is by design.
That's because I understand add-in can get recipient's DisplayName from the name-resolved value in a message being composed. However, the recipient is NOT name-resolved when creating a message by clicking an email address in the profile card as below.

image

ASK: Could you please add the notice like "You cannot retrieve DisplayName when creating a message by clicking an email address in the profile card" if this behavior is by design.

You can reproduce this behavior by following steps.

  1. Create a sample add-in getting the recipient's DisplayName in a message being composed.
  2. Create a new message by clicking an email address in the profile card.
  3. DisplayName cannot be retrieved by the add-in.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@mayanagi mayanagi changed the title When you When you create a message by profile card, cannot retrieve recipients Sep 29, 2021
@mayanagi mayanagi changed the title When you create a message by profile card, cannot retrieve recipients When you create a message by profile card, cannot retrieve recipients' DisplayName. Sep 29, 2021
@AlexJerabek
Copy link
Collaborator

Hi @mayanagi,

Thank you for pointing out this behavior discrepancy. @ElizabethSamuel-MSFT, could you please investigate?

@nancy-wang
Copy link

@ElizabethSamuel-MSFT - following up on this to see if we've addressed the discrepancy outlined above. thank you!

@ElizabethSamuel-MSFT
Copy link
Contributor

@exextoc Can you advise if this behavior is by design? Thx.

@exextoc
Copy link
Collaborator

exextoc commented Oct 11, 2021

@ElizabethSamuel-MSFT This is not by design. This seems to be a problem with Outlook Web behavior.

@mayanagi Thanks for reporting this issue regarding get recipients. It has been put on our backlog. We unfortunately have no timelines to share at this point

@ElizabethSamuel-MSFT
Copy link
Contributor

@exextoc Thanks for that update. After we've updated the documentation, I'll move this item to the office-js repo.

@mayanagi We're working on noting this in the documentation so look out for PRs soon.

Thanks.

@ElizabethSamuel-MSFT
Copy link
Contributor

ElizabethSamuel-MSFT commented Oct 21, 2021

The docs have been updated with this info (see PR OfficeDev/office-js-docs-pr#2998). Transferring to the product repo to track the fix.

@ElizabethSamuel-MSFT ElizabethSamuel-MSFT transferred this issue from OfficeDev/office-js-docs-pr Oct 21, 2021
@ghost ghost added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Oct 21, 2021
@ElizabethSamuel-MSFT ElizabethSamuel-MSFT added Area: Outlook Issue related to Outlook add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Oct 21, 2021
@ElizabethSamuel-MSFT ElizabethSamuel-MSFT removed their assignment Oct 22, 2021
@exextoc
Copy link
Collaborator

exextoc commented Nov 11, 2021

Thanks for your patience. We have updated the document. Kindly reopen the bug if you have any other queries.

@exextoc exextoc closed this as completed Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins Status: in backlog Issue is being tracked in the backlog but timeline for resolution is unknown Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs
Projects
None yet
Development

No branches or pull requests

5 participants