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

SetSignature gets styles overwritten when a normalemail.dotm file is present in Outlook Desktop (classic) #4929

Open
bogdanst24 opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
Area: Outlook Issue related to Outlook add-ins

Comments

@bogdanst24
Copy link

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: PC Desktop
  • Host [Excel, Word, PowerPoint, etc.]: Outlook (classic/legacy)
  • Office version number: Any
  • Operating System: Windows

Expected behavior

The result is consistent regardless of the Platform when using the setSignature API with any HTML.

Current behavior

When having a template set for new documents (emails) in Outlook in the form of a custom normalemail.dotm file, then the signature inserted will inherit the document's styles. It is not the same when:

  • using Web Add-ins in Outlook Online, even though a custom style is set for any new emails
  • using Outlook's native signatures when having a custom template for new emails

As this makes web add-ins inconsistent across different platforms and does not provide the expected results in the classic Outlook for Windows, this should be fixed. This is preventing customers from migrating from VSTO-based add-ins to Web add-ins.

Steps to reproduce

  1. Set up a custom template applied to new documents (update normalemail.dotm file). Can be easily tested with line spacing set to e.g. 40pt.
  2. Use Script Lab for Outlook
  3. Insert a signature using the "Work with client signatures (compose)" sample. The signature will inherit the styles. If custom styles are provided using HTML, then those will be overwritten when inserted.
@exextoc exextoc added Needs: attention 👋 Waiting on Microsoft to provide feedback Area: Outlook Issue related to Outlook add-ins labels Sep 26, 2024
@exextoc exextoc self-assigned this Sep 26, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Sep 26, 2024
@pinverso pinverso removed Needs: attention 👋 Waiting on Microsoft to provide feedback Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Sep 30, 2024
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
Projects
None yet
Development

No branches or pull requests

3 participants