How to Update Icon for Office 365 Mail Add-in - add-in

I'm developing an Office 365 Mail Add-in in Napa and want to set the app icon. There is a manifest XML file that can include an IconUrl element, but the Napa platform doesn't provide an avenue for uploading my manifest.
Is there a way to set the icon using Napa? If not, what can I use to deploy a version of my add-in to my test account with the updated manifest?

I would highly recommend that if you are ready to custom your manifest, you should consider using Visual Studio 2015 Community with Office Developer Tools. Napa is a lightweight playground for exploring and trying out the Office Add-ins quickly and I think you'll find that you have a lot more power in VS.
If you are using a mac, download your project from Napa and you can use any preferred development environment (instructions on how to debug with a text editor).
Thanks for asking and please feel free to reach out again if you have any more questions!
Nicole, Program Manager for Microsoft Office Development Tools

Generally you would reference the icon image in the manifest just as you would reference image files in .html pages in your solution. For example, store the icon in the Contents or Images folder and reference it using virtual paths. It has to be stored on the web server whether your .html, .js and .css files are located.
Note that the only place you really upload your manifest is within the Addin management pages within your Mailbox or via the Exchange Admin Center pages.

Related

How to add a print functionality to Office Add-in?

I am building an Excel Add-in with the Office JS API. Is there a way to handle printing with the Add-in or open a printing window?
I have been going through the documentation but can't find any methods for this. Am I missing something?
Edit: To be more specific, I want to open the Excel print dialog with the Add-in.
There is no API in Office.js to invoke the Excel print dialog. If you know that all the users of your add-in will be working on Windows machines, using desktop Excel, you might look into whether a VSTO/VBA add-in has this feature. But if some users will be using Excel on the web or Excel on Mac, you'll have to stick to an Office.js add-in. In the later case, the best you can do is have your add-in prompt and/or instruct users to print from the Excel UI. You can have some control over the layout of the worksheet when it prints. See Work with worksheets - Page layout and print settings for more information.
You can suggest that Office add-ins be given access to the print UI at Microsoft 365 Developer Platform Ideas, but I suspect that security concerns would make it unlikely that Office.js-based add-ins, which are web applications, would be given that feature. The JavaScript/HTML that is hosted by a web application can be changed by its creator after the add-in has been installed by a user and/or approved by an administrator. This makes it possible for a rogue add-in creator to change the behavior of the add-in post-installation.

Convert .doc/.docx file to .htm in server, but no Microsoft Office Installed in server

Need to convert .doc/.docx file to .htm file to display on webpage in my MVC web application. This is working in my local system. There is no Microsoft Office Installed in the server and its restricted to install this in the server.
Is there a round-about solution for this? Can I convert .doc file to .htm file without having MS Office installed.
Any suggestions.. Really stuck with this for the past 4 days.. Cant find any solutions.
Thanks
Yes, you can. Take a look at the third-party components (for example, Aspose).
Also you may consider using the Open XML SDK. See Welcome to the Open XML SDK 2.5 for Office for more information. But it doesn't support binary files such doc etc.
Be aware, Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
You can read more about this in the Considerations for server-side Automation of Office article.

Deploying SharePoint files (css, javascript) onto different platforms without SharePoint Designer

I need to deploy to "_catalogs/masterpage/" and "Style Library/" multiple jpg, css, javascript files
These files originate from a developer platform and are to be deployed to multiple platforms without using SharePoint Designer.
Apart from manually uploading multiple files in the /Forms/AllItems.aspx pages, is there another way to do this ?
I'm using SharePoint 2007
This is the exact purpose for solution packages:
The Windows SharePoint Services solution framework provides a way to bundle all the components for extending Windows SharePoint Services in a new file that is called a solution file. A solution file has a .CAB-based format but a .WSP extension. A solution is a deployable, reusable package that can contain a set of Features, site definitions, and assemblies that apply to sites, and that you can enable or disable individually. You can use the solution file to deploy the contents of a Web Part package, including assemblies, class resources, .dwp files, and other package components.
The two recommended tools for creating solution packages for SharePoint 2007 are WSPBuilder and STSDEV.

Deploy solution through sharepoint designer - 2007

i have created an asp.net page for our client. He is asking me to deploy this page through sharepoint designer to view from his own SharePoint server.
Is is possible to deploy a solution through designer software.
This is the requirement for the project
Create a registration page and save data in sharepoint list
It will have some jquery files and images
We are using sharepoint server 2007 version. Is it possible to push these files and .dll into GAC everything through SharepointDesigner2007.
Please suggest some answers.
You cannot deploy DLLs using SharePint designer and you have to use WSP. Checkout SharePoint Solution Installer which can help you make the insallation smoother.

Guide me regarding WSP language

How can I make language(Danish 1030) specific wsp files.
I created 4 sites manually on my system. Now my client want solution in WSP files. Thus I choose SharePoint Solution Generator to generate wsp files.
Now I am using Visual studio to deploy solution to get wsp file. Is there any setting regarding language in this step.
Ultimately I want wsp files to give to my client deployable in Danish (1030).
I am not using WSPBuilder because I need the whole site, which I did n't built programmatically. If you know anyway that we can build wsp with the help of WSPBuilder by using site (which is created manually) please let me know.
I have Language pack of Danish installed and it is running properly
So to create a WSP package I have always used the WSPBuilder but to my knowledge the only thing that you need to do to create a specific language edition is to put your language specific files in the 12/Template/Layouts/1030 folder.

Resources