MS-Office add-in SSO - use WebApplicationInfo manifest for Outlook - outlook

I have followed this guide for having SSO in a PowerPoint add-in:
https://dev.office.com/docs/add-ins/develop/sso-in-office-add-ins
Everything works fine. Now I want to do the excact same with an Outlook add-in. According to the above article it should be possible. Only the Outlook add-in requires the WebApplicationInfo element in VersionOverridesV1_1 section.
I have tried multiple different manifest configurations, but simply cannot get Outlook (desktop version 1708) to accept a manifest with the WebApplicationInfo element.
Any idea what I am doing wrong? - or is this not supported in Outlook yet (despite the comment in the article above).
Best regards,
Thomas

follow up this answer..
https://stackoverflow.com/a/50729561/4431245
<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">
...
<WebApplicationInfo>
...
</WebApplicationInfo>
</VersionOverrides>
</VersionOverrides>
as so..
worked for me

Related

Latest Outlook "Edit Recurrence" control-id

Within an Outlook Addin I am currently capturing when a user clicks the Recurrence Button for Series using this XML:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<commands>
<command idMso="Recurrence" onAction="RecurrenceButtonClick"/>
<command idMso="RecurrenceExplorer" onAction="RecurrenceButtonClick"/>
</commands>
</customUI>
Now there is this new Button in the latest Outlook Versions that I cannot capture:
I have not found the control-id in the Excels provided by Microsoft:
https://github.com/OfficeDev/office-fluent-ui-command-identifiers
Thanks in advance.

Android deep link Firefox like Chrome

I have an unclaimed bounty for this question. If someone is able to provide a working answer that meets my criteria, I will reward them with the bounty. It’s not visible because the bounty expired, but I can reward it after the fact to an acceptable answer.
My app has intent filters set up that work as desired when I use Chrome. Unfortunately, Firefox does not implement deep links the same way. When I tap a link in Firefox, it shows a little Android icon at the end of the address bar. If I tap that, it will open my app in Firefox and I don't like this behavior. With Chrome, it simply opens the app (after prompting you to choose the app the first time)
UPDATE: singletask does not work and it has the heinous side effect of the resuming activity not being able to get the extras from the intent that launched it.
This is not a duplicate of other deep link Firefox questions (this, this, this, this, this, this, and this) because those questions are about how to get deep links to work at all whereas I understand how deep links work in Firefox and they already work for me, but I want to change the behavior...
I'm asking: How, if possible, can I open the existing instance of my app via deep link from Firefox and have it behave the same way that it does with Chrome? I don't want use an iframe.
I have implemented http and https intent filters, like so:
<!-- https -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="myappurl"
android:pathPrefix="/myprefix"
android:scheme="https" />
</intent-filter>
<!-- http -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="myappurl"
android:pathPrefix="/myprefix"
android:scheme="http" />
</intent-filter>
If you're going to provide a solution, please provide a clear example that includes context as to where the code should go in the manifest (if at all), and what the side effects are (see my link above- singletask does not work for this)
You have to put android:launchMode="singleTask" under your activity tag.
This prevents opening multiple instances. If your app is already open it will launch it, else it will create a new instance.

Redirect to my own website when press "Update" button in Visual Studio - Tools - Extensions and Updates

colleagues.
I created simple VS2015 Extension: myExtension.vsix
Then I created .msi installer (used WIX and this article)
It's OK! I installed my Extension and it works.
I created local private MyLocalGallery.xml and registered myExtension.vsix in it
As a result I see installed myExtension in Tools - Extensions and Updates - Online - MyLocalGallery
I increase version for myExtension in MyLocalGallery.xml => I saw my update and the button UPDATE here: Tools - Extensions and Updates - Updates
QUESTION:
I press update, VS takes
<content type="application/octet-stream" src="Extensions\myExtension.vsix" />
from MyLocalGallery.xml and makes update. But... I want VS to make redirect to my own website where users can download .msi (not .vsix)
How can I ask Visual Studio to go to my URL???
If I remove this element
<content type="application/octet-stream" src="Extensions\myExtension.vsix" />
button UPDATE is present, I click it but nothing happens.
If I set .msi file, I get error ("The file is not a valid VSIX package")
<content type="application/octet-stream" src="Extensions\myExtension.msi" />
May be it's very trivial issue, but I spent a lot of time trying to do it.
I can't find answer and hope you help me. Thank you
I found the answer accidentally!
This question helps me
So we should add element to our entry in MyLocalGallery.xml:
<entry>
...
<title type="text">my extension</title>
...
<link rel="update" type="text" href="http://example.com/install.msi"/>
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010">
...
</Vsix>
And when we click Download or Update then VS redirect us to http://example.com/install.msi
Also we should remove this element from the feed xml (because it has higher priority)
<content type="application/octet-stream" src="Extensions\myExtension.msi" />

what does status=2147746065 mean? firefox error

I am trying to pull a font file using #font-face but firefox does not pick up the font and it gives this error status=2147746065. it doesn't really tell me what is wrong. Does anyone know what this means?
I'm fairly certain it just means that the font could not be obtained.
I recently fixed this issue by ensuring the font was on the server (Visual studio had an incorrect build type on the font; it should have been 'Content'.
I also needed to set up a mime type in IIS as
application/x-font-woff .woff
or put it in your web.config as
<system.webServer>
<staticContent>
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
</staticContent>
</system.webServer>
Also note that this mimeType is not recognised as a standard at present.
I had the same problem. Try disabling the extension (for example WIFI finder or another), then restart. The problem with error 2147746065 disappears.

How do I create a custom dialog in WiX for user input?

I'm using WiX to create an installer for a windows service. It's desirable that the name of service that gets installed and displayed in Services is configurable at install time.
For example, this is what I'm thinking (wix xml snip):
<ServiceInstall
Id="MyServiceInstaller"
Name="NAME_PASSED_FROM_DIALOG"
Type="ownProcess"
Start="auto"
ErrorControl="normal"
Description="My Service"
Account="localsystem"/>
<ServiceControl
Id="StartMyServiceInstaller"
Name="NAME_PASSED_FROM_DIALOG"
Start="install"
Wait="no" />
<ServiceControl
Id="StopMyServiceInstaller"
Name="NAME_PASSED_FROM_DIALOG"
Remove="uninstall"
Stop="both"
Wait="yes" />
NAME_PASSED_FROM_DIALOG is something I would like to hook up to a custom dialog that gets created and gets displayed to the person installing the service so they can set/modify the service name. I think this is very similar to the WIXUI_INSTALLDIR property that gets set and passed to the WixUI_InstallDir Dialog Set.
My question is:
How do I create a custom UI dialog that can accept user input which gets passed into runtime of the installer?
Have fun with UI!
Edit: The original link to answer doesn't exist anymore. FireGiant (the maintainers of Wix) some examples for part of this process, but it's doesn't completely answer this question. There is one further tutorial (UPDATE Aug.2018: Link resurrected from Wayback Machine) that does go most of the way to answer this question.
A high level overview of what will be happening is:
Create a property
Have the UI control set this property
The name attribute on the service will reference the property, ie [ServiceNameProperty].
However this is complex, and the way that is suggested to create a new UI dialog, is to take an existing dialog, make a clone of it, and then edit with new text, controls and use it to populate the property.
Try to use
WixEdit
that is nice tool for creating UI

Resources