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

Webaddin - Outlook - Compose window > All button/menu is not displaying #5354

Open
aberamdatazoic opened this issue Feb 4, 2025 · 0 comments
Labels
Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback

Comments

@aberamdatazoic
Copy link

Issue Description:
I have added three buttons/menus in compose window header but I am only able to see 2 buttons/menus. Can you please let me know if we have any alternate for this or if anything needs to be changed to display all three in the compose window header.

Screenshot:

Image

Below are our codes which can reproduce this issue. Menu 2 is not displaying in UI

Manifest File:

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" 
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" 
           xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides" 
           xsi:type="MailApp">

  <Id>d9d81f5a-e002-4475-88bc-cc51e3c97816</Id>
  <Version>1.0.0</Version>
  <ProviderName>DZ</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="DZ" />
  <Description DefaultValue="DZ"/>
  <IconUrl DefaultValue="https://emt.datazoic.com/prismimg/Icon96.png"/>
  <HighResolutionIconUrl DefaultValue="https://emt.datazoic.com/prismimg/Icon96.png" />
 
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.3" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
		  <SourceLocation DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.html" />
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read"/>
  </Rule>
  <DisableEntityHighlighting>true</DisableEntityHighlighting>
	
 <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.12">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <Runtime resid="functionFile" >
               <Override type="javascript" resid="JSRuntime.Url"/>
            </Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <FunctionFile resid="functionFile" />
            <ExtensionPoint xsi:type="LaunchEvent">
				<LaunchEvents>
					<LaunchEvent Type="OnMessageSend" FunctionName="onSendBtnClick" SendMode="PromptUser" />
				</LaunchEvents>
				<SourceLocation resid="functionFile"/>
			</ExtensionPoint>
			
			<ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="translateGroup">
                <Label resid="groupLabel" />
                
                <Control xsi:type="Button" id="msgSS">
                  <Label resid="paneSSButtonLabel" />
                  
                  <Supertip>
                    <Title resid="paneSSSuperTipTitle" />
                    <Description resid="paneSSSuperTipDescription" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="ss96" />
                    <bt:Image size="32" resid="ss96" />
                    <bt:Image size="80" resid="ss96" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageReadTaskPaneSSUrl" />
                    <SupportsPinning>true</SupportsPinning>
                  </Action>
                </Control>
			  </Group>
            </OfficeTab>
			<OfficeTab id="TabDefaultBM">
              <Group id="translateGroupBM">
                <Label resid="groupLabel" />
                
                <Control xsi:type="Button" id="msgBM">
                  <Label resid="paneBMButtonLabel" />
                  
                  <Supertip>
                    <Title resid="paneBMSuperTipTitle" />
                    <Description resid="paneBMSuperTipDescription" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="ss96" />
                    <bt:Image size="32" resid="ss96" />
                    <bt:Image size="80" resid="ss96" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageReadTaskPaneBMUrl" />
                    <SupportsPinning>true</SupportsPinning>
                  </Action>
                </Control>
			  </Group>
            </OfficeTab>
			<OfficeTab id="TabDefaultTmpl">
              <Group id="translateGroupTmpl">
                <Label resid="groupLabel" />
                
                <Control xsi:type="Button" id="msgTmpl">
                  <Label resid="paneTmplButtonLabel" />
                  
                  <Supertip>
                    <Title resid="paneTmplSuperTipTitle" />
                    <Description resid="paneTmplSuperTipDescription" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="ss96" />
                    <bt:Image size="32" resid="ss96" />
                    <bt:Image size="80" resid="ss96" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="messageReadTaskPaneTmplUrl" />
                    <SupportsPinning>true</SupportsPinning>
                  </Action>
                </Control>
			  </Group>
            </OfficeTab>
          </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
		  <bt:Images>
			<bt:Image id="ss96" DefaultValue="https://emt.datazoic.com/prismimg/smartsent96.png"/>
		  </bt:Images>
          <bt:Urls>
           <bt:Url id="functionFile" DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.html" />
           <bt:Url id="JSRuntime.Url" DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.js" />
		   <bt:Url id="messageReadTaskPaneSSUrl" DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.html"/>
		   <bt:Url id="messageReadTaskPaneBMUrl" DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.html"/>
		   <bt:Url id="messageReadTaskPaneTmplUrl" DefaultValue="https://prismdev.datazoic.com/prismST/webaddin/launchEvnt.html"/>
          </bt:Urls>
		  <bt:ShortStrings>
			<bt:String id="groupLabel" DefaultValue="DZ"/>
			<bt:String id="customTabLabel"  DefaultValue="DZ Tab"/>
			<bt:String id="paneSSButtonLabel" DefaultValue="Menu1"/>
			<bt:String id="paneSSSuperTipTitle" DefaultValue="Menu1"/>
			<bt:String id="paneBMButtonLabel" DefaultValue="Menu2"/>
			<bt:String id="paneBMSuperTipTitle" DefaultValue="Menu2"/>
			<bt:String id="paneTmplButtonLabel" DefaultValue="Menu3"/>
			<bt:String id="paneTmplSuperTipTitle" DefaultValue="Menu3"/>
		  </bt:ShortStrings>
		  <bt:LongStrings>
			<bt:String id="paneSSSuperTipDescription" DefaultValue="Menu1 Desc."/>
			<bt:String id="paneBMSuperTipDescription" DefaultValue="Menu2 Desc."/>
			<bt:String id="paneTmplSuperTipDescription" DefaultValue="Menu3 Desc."/>
		  </bt:LongStrings>
      </Resources>
    </VersionOverrides>  
  </VersionOverrides>
</OfficeApp>

Launch Event HTML Code:

<!DOCTYPE html>
<html class="newhtml">
	<head>
		<title>DZ</title>
		<meta name="robots" content="noindex">
		<meta charset="utf-8"/>
		<meta http-equiv='X-UA-Compatible' content="IE=edge" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="cache-control" content="max-age=0" />
		<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="Pragma" content="no-cache" />
		<meta http-equiv="Expires" content="-1" />
	</head>
	
	<body class="" data-scroll-top="false">
		<div>DZ Panel</div>
		<script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js" type="text/javascript"></script> 
		<script type="text/javascript" src="launchEvnt.js"></script>
	</body>
</html>

Launch Event JS Code:

Office.initialize = function(reason){
	Office.onReady(function(info){
		console.log('Office is ready to use');
	});
}

try{
	//
}catch(e){
	console.log(e);
}

Environment:
Platform: Classic Outlook
Office version number: Microsoft® Outlook® for Microsoft 365 MSO (Version 2411 Build 16.0.18227.20082) 64-bit
Operating System: Windows 10 Pro

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Feb 4, 2025
@exextoc exextoc added Area: Outlook Issue related to Outlook add-ins Needs: attention 👋 Waiting on Microsoft to provide feedback and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Feb 4, 2025
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 Needs: attention 👋 Waiting on Microsoft to provide feedback
Projects
None yet
Development

No branches or pull requests

2 participants