Giter Club home page Giter Club logo

salesforce-addin-workshop's Introduction

page_type products languages extensions description
sample
office-365
javascript
contentType createdDate
samples
8/19/2015 11:10:20 AM
In this workshop, you will build a basic Office add-in, modify it to interact with an Excel workbook, and connect it to the Salesforce.com APIs.

Building Office add-ins with HTML5, JavaScript, and Salesforce.com

In this workshop, you will build a basic Office add-in, modify it to interact with an Excel workbook, and connect it to the Salesforce.com APIs. Modern Office add-ins are built using web technologies such as HTML5, JavaScript, and CSS. The exercises in this workshop will use an in-browser web editor called Napa. All you will need to complete the workshop is a modern browser and a few accounts (see Prerequisites section).

Prerequisites

  1. You must have a Microsoft account (an email address and password that you use to sign in to all Microsoft sites and services, including Outlook.com, Xbox Live, OneDrive, and Office 365). If you don't have one, you can quickly create one at https://signup.live.com/signup
  2. You must have a Salesforce.com developer account to complete Exercise 3. If you don't have one, you can quickly create one at https://developer.salesforce.com/signup

Exercise 1: Create an Office Add-in using Napa

In Exercise 1 you will create your first Office Add-in using Napa. More specifically, you will create a task pane add-in for Microsoft Excel. In subsequent exercises you will add additional functionality to the add-in, including integration with Salesforce APIs. If you get lost or stuck in the exercise, you can find a completed solution of Exercise 1 at http://aka.ms/Qeqq0j and a full video walk-though at https://www.youtube.com/watch?v=skvou346HOo

Exercise 2: Interact with the document using Office.js

In Exercise 2, you will modify the Office add-in to inject a table of data into the Excel workbook. If you get lost or stuck in the exercise, you can find a completed solution of Exercise 2 at http://aka.ms/M1s0sh and a full video walk-though at https://www.youtube.com/watch?v=1vHNsCDy3wQ

Exercise 3: Connect to Salesforce.com APIs

In Exercise 3, you will modify the Office add-in to sign-in and query data from Salesforce.com. If you get lost or stuck in the exercise, you can find a completed solution of Exercise 3 at http://aka.ms/X80ts0 and a full video walk-though at https://www.youtube.com/watch?v=_lXp3ML0W3k

sign-in

Going Further (optional)

Want to take this further? Try modifying the add-in to highlight cells as they are updated. You can do this by adding table binding and then using an event handler for BindingDataChanged. The Excel API Tutorial shows how to accomplish both of these tasks. You can also reference the completed solution at http://aka.ms/Gs5kib and a full video walk-through at https://www.youtube.com/watch?v=H8r4PiO_V4I

Change formatting

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.

salesforce-addin-workshop's People

Contributors

davidchesnut avatar mimisasouvanh avatar o365devx avatar richdizz avatar supernova-eng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salesforce-addin-workshop's Issues

Error in add-in OAuth in Excel for iPad

Hi @richdizz

I came across this series while building a SF add-in for Excel (Nice video series btw, it was really helpful ๐Ÿ‘ ). One area I'm still struggling in is trying to get any sort of popup (oauth) window working in Excel for iPad. Have you any ideas on this? Add-ins are meant to be cross platform compatible but that's not the case from what Ive seen.

This is the expected behaviour (same as your app demo):
ionic_demo_online

And then on iPad you get (in the last screen I keep clicking login to no avail):
ionic_demo_ipad

(also the login form is just for show at the moment, as I add more providers basic auth will also be a feature)

I've sideloaded the salesforce app on too and it has the same issue. Any ideas/help youd have on this would be great ๐Ÿ˜ƒ ?

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.