GithubHelp home page GithubHelp logo

codesee / office-add-in-fabric-ui-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from officedev/office-add-in-fabric-ui-sample

0.0 2.0 0.0 91 KB

License: Other

HTML 36.35% CSS 45.06% JavaScript 18.60%

office-add-in-fabric-ui-sample's Introduction

Office Add-in Fabric UI Sample

This is a Word task pane add-in sample that uses Office UI Fabric. It inserts citations into the body of the document using the Office.js APIs.

For general information about using Fabric, see Using Office UI Fabric in Office Add-Ins.

Screenshot of running sample

Try it out

Get web application running

  1. Open command prompt and navigate to project directory
  2. Run 'npm install' in root directory
  3. Run 'gulp serve-static' to run the node web server

Deploy add-in manifest

The simplest way to deploy and test your add-in is to copy the files to a network share.

  1. Create a folder on a network share (for example, \\MyShare\addins) and copy all the files in the Code Editor folder.

  2. Edit the element of the manifest file so that it points to the share location from step 1.

  3. Copy the manifest (manifest.xml) to a network share (for example, \\MyShare\addins).

  4. Add the share location that contains the manifest as a trusted app catalog in Excel.

    a. Launch Excel and open a blank spreadsheet.

    b. Choose the File tab, and then choose Options.

    c. Choose Trust Center, and then choose the Trust Center Settings button.

    d. Choose Trusted Add-in Catalogs.

    e. In the Catalog Url box, enter the path to the network share you created in step 3, and then choose Add Catalog.

f. Select the Show in Menu check box, and then choose OK. A message appears to inform you that your settings will be applied the next time you start Office.

Test add-in in Word

a.  In the **Insert tab** in Excel 2016, choose **My Add-ins**. 

b.  In the **Office Add-ins** dialog box, choose **Shared Folder**.

c.  Choose **Citations Sample**>**Insert**. The add-in opens in a task pane and shows the add-in. 

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

office-add-in-fabric-ui-sample's People

Contributors

lauragra avatar lezamax avatar jthake avatar davidchesnut avatar mimisasouvanh avatar o365devx avatar

Watchers

James Cloos avatar Zhiyong Peng avatar

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.