I want to open outlook and attach one file with this mail using silverlight.
My silverlight application is not running in OOB(Out of Browser) mode.
How can i open outlook with attachment using silverlight and without OOB mode?
Thanks,
You shouldn't do that. Remember that Silverlight is a plugin that runs on client machines, so you have limited access to the local machine (client).
In the other hand, you can run executables (outlook.exe) if the user have the software (MS Outlook) if you full trust your app and modify some registry values in client machine.
Hope it helps.
Related
I have an Add-in I have written for Microsoft Outlook. The Add-in runs in a task pane. I have a button on the html in the page that opens a new window using Office.context.ui.displayDialogAsync. This button works fine in the web client, but when clicked in the full Outlook client, a window appears and disappears in a split second. This Add-in was developed outside VS so not sure how I can debug apart from in web client, which not does have the issue.
The domain is the same, and the domain is in the appDomain of the XML manifest. The URL is also https.
Does anyone have any ideas, have I missed something that says this isn't available in full client and only available in web client?
About Outlook version:
Version 2102 (Build 13801.21004 Click-to-Run)
Microsoft Office for Outlook 365 MSO (16.0.13801.21002) 64-bit
If I clock Office Updates, it tells me Office is up to date.
Update
I have another machine with Outlook installed, and I have discovered the dialog opens fine on the full outlook client. Looking at the version for that version of outlook (logged in to the same Office 365 account), the version shows as:
Version 2110 (Build 14527.20226 Click-to Run)
Microsoft Office for Outlook 365 MSO (Version 2110 Build 16.0.14527.20168) 64-bit
So it looks like maybe the earlier build had an issue in Outlook?
Would you like to share a screen recording in the machine where the API is not working?
Besides, you could also try a test add-in with this: Manifest.
It's an app command so you can click "Show Taskpane" first, and then click "launchDialogSameOrigin" button in the taskpane. You can observe whether the dialog is working correctly in this add-in.
Thanks.
I am having a horrible time getting started at creating an add-in for Outlook. I want to use the new html/javascript/manifest approach. I have been able to create a manifest and application which works great with outlook.live.com. Where I am completely getting stuck is with desktop Outlook. How do I install/debug my add-in with desktop Outlook?
I cannot find anything in the UI which will let me add this style of add-in. Additionally the Microsoft documentation did not make things any clearer. Their docs seem to hint using this type of add-in is only possible if you are connecting to an Exchange server.
Any help would be greatly appreciated.
Yes the add-in will load on Outlook desktop only if your mailbox is Exchange. I am not sure the add-ins work with a personal Microsoft account (e.g hotmail.com, outlook.com) and Office desktop. Keep in mind that the support of mail add-ins for personal account is relatively new (officially announced in march 2016).
To develop your add-in I suggest you to use a organizational account (i.e. Office365 account). Support for organizational account has been released in 2013 and is a much more mature solution for you to get started. You can have a free dev account at dev.office.com.
Edit: October 2016 personal account are supported now by "Personal mailbox accounts" aka outlook.com accounts
Let us keep in mind that a mail add-in is not installed on a mail client (desktop, OWA) but on the mail account. When you "install" an add-in you only set a xml file on your mailbox that basically says "there is a web add-in out there called X and that is served at this url...". Then, if you install add-in X on your mailbox smaclell#mytestcompany.onmicrosoft.com, this add-in will load the add-in web iframes whether you are consulting your mailbox with Outlook Web Access (OWA) or Outlook Desktop.
To install the add-in for one user mailaccount, you have to use the Outlook Web Access. See this blog post. Note also that you can install the add-in for the whole organisation (Admin > Exchange Admin > Add-ins). Finally, Visual Studio is also able to push the manifest to your office 365 mailbox. To have this you need Office Development Tools.
For debugging in Outlook Desktop, I know two approaches.
Use the Office Developement Tools with visual studio
and select your sample add-in project as 'Starting project' and in properties select 'Office Desktop'.
Plain web development.
Personally, I do not use really much the Office Development Tools. I install manually my add-in with "https://localhost:XXXX" for url and I start the web project on IIS express to do the debugging. For stepping into the source code, I use the debugger of my browser (Chrome, Edge, IE etc.) when browsing in OWA. When I need to step into source code specifically on Desktop (For windows or for Mac) I use Vorlon.js see also this blog post.
My advice is also to test/debug frequently with IE 11 (still available in Win10!) and OWA. Indeed, the browser used internally by Office Desktop for the add-ins is IE.
Our IT-department wants a script for everything that should be installed on any of our servers. They don't want to use installation wizards and click next-next-next (don't ask me why)
We need to install Office Web Apps Server to be used with our SharePoint 2013 solution.
Is it possible to install this without having to use the wizard? (with a script)
in Office Web Apps server folders, there is a folder called Files\setupsilent\ where you will find config.xml. this file contain information about silent installation of Office Web Apps Server.
call the installer like this (if your Office Web Apps server installer is extracted in c:\OWA)
setup.exe /config files\setupsilent\config.xml
this will be complete silent setup. You will not see any screens. If you like to see wizard and progress bar proceeding automatically (passive), you can change the
"Display Level="none" in this config.xml
to
Display Level="basic"
hope it helps.
I am trying to create a silverloght application to open visual studio and deploy it as a webpart in sharepoint site. I am using following code:
dynamic cmd = AutomationFactory.CreateObject("WScript.Shell");
cmd.Run("devenv.exe", 1, true);
this is working fine in standalone silverlight application, however, when I added this as a webpart in sharepoint site. It gives an error that "This operation is not supported in the current context".
Based on my search, the reason for this may be is that AutomationFactory is not available for this application as it requires elevated permission.
Do I have to provide elevated Permission to sharepoint site, if yes, then how to do it?
You need perform some configuration to allow use AutomationFactory:
Use silverlight 5 (version 4 is not allow it)
Set registyry key to allow in-browser elevated mode
Sign Xap with certificate, that installed in user's certificate store in "trusted root"
Install silverlight application on client machine
You can find right a way by googling, it described in many blogs
When using a legacy VB6 application and opening some specific forms inside that application, the Windows Installer belonging to Microsoft Navision (which is installed on the same machine) pops-up like in the attached image.
It happens every time, but on this machine only.
The VB6 application has absolutely no relation with Navision!
What can be done to avoid this anomalous interaction between the two applications?
This is down to a corrupt windows installer database and your app is using some component that Microsoft Dynamics tried to install.
Your best bet is to remove and reinstall Microsoft Dynamics NAV, or use MSICUU to remove the "broken" package.
Update: MSICUU was retired in preference to the Program Install and Uninstall troubleshooter but I've not used this new utility.