Is there a way to clear roaming settings of a mailbox from Outlook UI? - outlook-web-addins

We are building an Outlook addin in which we save some user states into the RoamingSettings.
We understand that calling RoamingSettings.remove() can delete certain settings from the addin code. But we are looking for a way to clear these settings from the Outlook UI so that our QA are able to reset the state easily.

Related

Office.Settings not retrievable in Excel Online when created and set in Excel Desktop

According to the API docs, the Office.Settings objects are saved per add-in and per document. That is, they are available only to the add-in that created them, and only from the document in which they are saved.
I'm a bit confused regarding the Office.Settings interface. I've created a gist in the ScriptLab Add-in where I set 2 setting objects (queries and queryIDs) and then retrieve them (log them to console).
Gist: https://gist.github.com/VivianVenter/e5489628384f96f2d3bf9a50aace8728
If I run this gist on Excel Desktop, then I can create the settings and retrieve them successfully. If I save this workbook and open it in Excel Online and run the gist again then I cannot retrieve the settings, it returns null for both settings object.
According to my knowledge the ScriptLab Add-in is the same for the Desktop and Online version, am I missing something, or is it the intention of OfficeJS to not make the settings available/visible in the Online version if it was created and set in the Desktop version?
Settings desktop found:
The settings objects was found in Excel Desktop
Settings online null:
The settings objects was NOT found in Excel Online
Office add-in's setting is stored based on the add-in's id.
And once it is installed by side-loading, a new id is allocated to the add-in every time.
This means you can't sync settings on multiple platforms while developing.
Once you submitted the add-in to the AppSource, a static id from AppSource is allocated to the add-in and it is used while installing the add-in from AppSource.
So, you should submit the add-in to AppSource to test/implement this feature.
The issue was caused by a bug in office-js which has now been fixed upstream.

Edit and Send Outlook Form Template From Excel VBA

Currently, I have the Excel VBA code that will construct and send an Outlook email from Excel. However, I need to be able to use this VBA to open an Outlook form template that contains a command button and update the body of the message. I have been searching non-stop and cant find any good resources for accomplishing this, any good pointers, links, or supporting code would be greatly appreciated. Thanks.
You can save the form as a Microsoft Outlook template file (.oft), and then e-mail that file to users. If the form contains code or custom fields, the recipient will not be able to simply open the .oft file and publish it. The recipient will need to save the .oft file to the local drive, run it with the Tools | Forms | Choose Form command, and then publish the form to the Personal Forms Library.
Alternatively, you can use an .fdm file to install a form manually, see OL2000: How to Move a Custom Form to Another Computer.
Read more about Outlook forms in the To distribute Microsoft Outlook forms to other users article.
As a workaround you may consider creating a COM add-in with rich UI options which can be installed on the recipient's side and do whatever you need for users. See Walkthrough: Create your first VSTO Add-in for Outlook for more information.

Possibilities of MS Outlook Web Add-ins on the header/Ribbon in web apps and Independent

I am working with outlook Web-Addins. Addin type is "ItemRead". Now I want some thing unrelated to mails as in i want to have button on header as i see the skype button on the top.
Also we can create Addin on mail compose. I am not sure if this is possible to have separate buttons on header separate from mail section
example in the image of skype button.
I have also tried with Outlook Add-in ModuleExtension but cannot seems to be work as expected in outlook web app.
The command controls for invoking add-on are described in manifest part of the add-in. Those controls will be displayed in predefined place of the UI depend on particular client design (Outlook online, Outlook desktop, etc.). As the developer you are able to set control's setting, such as title, icon and so on, but not the place where control will be displayed. This would be up to Microsoft dev/design team.
Bottom line: You are not able to place your control in the specific place of the client interface.
Module extension add-in currently available for Outlook 2016 desktop. There is request to make it available for Outlook online which you can upvote if you like.
Additional Questions:
So is it is not possible right right now?
Module extension add-in for Outlook online is not currently available. To place your control into the place you want is not available, either and never will be. This is because of obvious reasons ... can you imagine what's happen with user interface if every extension will be able to modify the UI as it needs? Total disaster.
Or can you help me with other option ?
Outlook add-in works with single item, as of the controls will appear when item (e-mail, appointment, etc.) selected or compose window invoked, there is nothing you can do.
Also one more thing that is it possible to store a custom global setting value for the outlook organization using addin or any other way?
To store the settings for particular mailbox, user inside organization, there is Office.context.roamingSettings object. If you need some global settings for your app for entire organization, you would set them inside JS part for this particular organization and make the deployment just withing this organization. In case you want to distribute the app via Office store and customize it per organization you may want to write some service which delivers custom settings for add-on on start-up. For example you have rest service which returns custom configuration depend on domain; in this case when add-on invoked you may request custom configuration by sending rest call with user domain and after cache it in mailbox.

MS Word not trusted by Outlook?

a Delphi app automating Word mail merge and emailing via Outlook (Office 2007).
Windows XP2
Anti Virus Software Status -Valid
Trust Center Programmatic Access NEVER WARN ME.
(A different app not using Word but using Outlook emails without warning).
Yet Outlook Security Guard Warning Messages appear.
2 alerts per email x 700 email addresses = One angry customer.
Why? Without using a 3rd parry add-in, is there a way round this?
Is there a way to merge one record and the run some delphi code then another record merge? I can then bypass Outlook altogether
Outlook has no idea where the call comes from. Outlook VBA and COM add-in are explicilty trusted, any external code is not.
You will not see the prompt if you have up-to-date antivirus software.
Otherwise your option are listed at http://www.outlookcode.com/article.aspx?id=52
In your case (Mail Merge), try to do the mail merge to a file, then mail the files in your code using the workarounds listed at the URL above.

Can you store emails in Sharepoint Workspace 2010?

I am using SHarepoint Workspace 2010. I was wondering if there was any way to somehow make the workspace (or even the site) work with Outlook and save emails in the document repository?
If you want to drag and drop email into any SharePoint 2010 library, SharePoint 2010 allows this out-of-the-box by selecting "Open with Explorer" from the "Connect & Export" section in the Library Tools ribbon in the applicable library. This will open a browser window, into which you may either drag/drop or copy/paste from your outlook window.
This method is exceptionally helpful when you DON'T want to set up the library to receive email.
For this, you have to integrate your outlook with sharepoint.You need to create a list, which will be seen at your outlook as well. Now when you want to send emails you have to save them in the list as well. So your emails will be saved in the sharepoint list.
There is no way of doing it. If you want to share your e-mail with broader audience you can move it to the Outlook public folder.
You could create a list which accepts emails like a discussion and setup an email address for the list in the settings. Then you can go to your Outlook and set up rules to forward emails to the list which fit a certain criteria.
Also, when viewing a list, you should be able to sync with Outlook (Connect to Outlook button) which would allow you to view it in Outlook.
Try Colligo Contributor Pro. It's an alternative for the old fashioned Sharepoint Workspace. You can do everything you want:
add all kind of files to Sharepoint
sync when you want
add emails to your Sharepoint and open them later with your mail program
add Sharepoint libs to your Outlook and sync them
For drag and drop of emails from Outlook to SharePoint we are using SharePoint Outlook Integration tool. PageLight also offers Save Outlook emails to SharePoint functionality

Resources