Coder Social home page Coder Social logo

Comments (7)

ajays-msft avatar ajays-msft commented on August 10, 2024

@GrupoOsk - I had to use translator to understand the text above. It is translated as:

A default icon is displayed. In the tests that were sent to us, and we have been able to test, in the mobile version, the buttons of the extension appear in the inbox, but not the button in compose, and not in all mobile versions (as we indicated in the previous point), but in the web and desktop, the icon of the buttons is displayed correctly, Why isn't it displayed on mobile? The same icon is indicated in the manifest.xml, and defined for the mobile version as indicated

Can you please explain more what you are looking for? And please include the following along with your reply.

  1. Sample manifest
  2. Sample code you used
  3. Recording of the repro

from office-js.

GrupoOsk avatar GrupoOsk commented on August 10, 2024

We are making an extension for Outlook, in the web version (Outlook.live.com) and in the desktop application the icon is displayed perfectly in the buttons that we show, in the Outlook version of the app, the icon that is shown is an icon by default, instead of showing our icon. The xml is as follows:

`

        <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
            <Group id="mobileMsgRead">
              <Label resid="GroupLabel"/>
              <Control xsi:type="MobileButton" id="msgReadOpenPaneButton">
                <Label resid="TaskpaneButton.Label"/>
                  <Icon xsi:type="bt:MobileIconList">
                    <bt:Image size="25" scale="1" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="2" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="3" resid="Icon.16x16"/>
                    <bt:Image size="32" scale="1" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="2" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="3" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="1" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="2" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="3" resid="Icon.32x32"/>
                  </Icon>
                <Action xsi:type="ShowTaskpane">
                  <SourceLocation resid="Taskpane.Url"/>
                </Action>
              </Control>
              <Control xsi:type="MobileButton" id="ActionButton">
                <Label resid="ActionButton.Label"/>
                  <Icon xsi:type="bt:MobileIconList">
                    <bt:Image size="25" scale="1" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="2" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="3" resid="Icon.16x16"/>
                    <bt:Image size="32" scale="1" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="2" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="3" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="1" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="2" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="3" resid="Icon.32x32"/>
                  </Icon>
                <Action xsi:type="ExecuteFunction">
                  <FunctionName>validaremail</FunctionName>
                </Action>
              </Control>
            </Group>
        </ExtensionPoint>

        <ExtensionPoint xsi:type="MobileMessageComposeCommandSurface">
            <Group id="msgComposeGroup">
              <Label resid="EOPegarSello.Label" />
              <Control xsi:type="MobileButton" id="EOPegarSello">
                <Label resid="EOPegarSello.Label" />
                <Icon xsi:type="bt:MobileIconList">
                    <bt:Image size="25" scale="1" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="2" resid="Icon.16x16"/>
                    <bt:Image size="25" scale="3" resid="Icon.16x16"/>
                    <bt:Image size="32" scale="1" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="2" resid="Icon.32x32"/>
                    <bt:Image size="32" scale="3" resid="Icon.32x32"/>
                    <bt:Image size="48" scale="1" resid="Icon.80x80"/>
                    <bt:Image size="48" scale="2" resid="Icon.80x80"/>
                    <bt:Image size="48" scale="3" resid="Icon.80x80"/>
                </Icon>
                <Action xsi:type="ExecuteFunction">
                  <FunctionName>prependHeaderOnSend</FunctionName>
                </Action>
              </Control>
            </Group>
        </ExtensionPoint>


      </MobileFormFactor>`

The resids are correct, as they load correctly in the web version

from office-js.

rkpathak avatar rkpathak commented on August 10, 2024

I understand that the icons are shown properly in OWA and Desktop outlook. What do you mean by "Outlook version of the app" ?
Can you share a basic version of addin code where it can be reproduced. You can host it in a github repo and share. This will help us repro the problem on our end.

from office-js.

GrupoOsk avatar GrupoOsk commented on August 10, 2024

We have published an outline of the code, but removing all reference to the final code, we would be interested in knowing why the compose area button is not shown on Android or IOS. In addition to why the option button icons displayed in the mail area are not displayed correctly, showing a default icon. On the Web (outlook.onlive.com) they are displayed correctly.

https://github.com/GrupoOsk/https---www.Midominio.com-extension_esquema

from office-js.

ajays-msft avatar ajays-msft commented on August 10, 2024

@GrupoOsk - I am wondering if the problem is in Android/iOS or Outlook.com or Desktop Outlook. Can you please share a video recording of the repro?

from office-js.

GrupoOsk avatar GrupoOsk commented on August 10, 2024

The problem is on Android, the button is not shown in the Android compose, and the ones that are shown on the screen of reading a received email, the icons ini the buttons are a default icon. On IOS the same

from office-js.

ajays-msft avatar ajays-msft commented on August 10, 2024

@GrupoOsk - ExtensionPoint xsi:type="MobileMessageComposeCommandSurface">
is not a supported extension point on Mobile. Only "LaunchEvent" extension point is supported on compose surface. Same issue will occur on iOS as well

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.