ABSYZ ABSYZ

  • Home

    Home

  • About us

    Who We Are

  • Our Expertise

    What we Do

  • Our Approach

    How We Do It

  • Products

    What We Made

  • Industries

    Who We Do It For

  • Clients

    Whom We Did It For.

  • Article & Blogs

    What Experts Think

  • Careers

    Join The Team

  • Get In Touch

    Let’s Get Started

ABSYZ

Connect Salesforce with Microsoft office

Home / Article & Blogs / Salesforce / Microsoft Office / Connect Salesforce with Microsoft office
By Team ABSYZ inMicrosoft Office, Salesforce

So, I was looking through the Microsoft store where i saw Salesforce App for Outlook, which got me curious about what else can be done through the office add ins.

So below is just a demo  app I developed for exporting opportunity records in Salesforce to Microsoft Excel.

Addin 1

Step 1:

Go to Napa cloud app (you can use Visual Studio too for this but Napa being an in browser IDE is easier to use) and login through your Microsoft email id (if you don’t have one create one) , and select Content Add-in for Office , give a meaningful name to your project and then click create

Step 2:

You will notice three files (home.js, home.html , home.css) already present in your project directory with some sample code written in it.

First we will add some styling to our page so go ahead and open home.css and paste the below code there

[sourcecode language=”css”]
/* Page-specific styling */
.option {
padding: 6px;
border-top: 1px dotted #CCC;
cursor: pointer;
}

.option:last-child {
border-bottom: 1px dotted #CCC;
}

.option:hover {
background-color: #DFEEF9;
}

.option.active {
background-color: #BFDDF2
}

[/sourcecode]

Step 3:

Now we will look into the layout of the page ,open home.html  and locate                                  <div class=”padding”> element in it , delete everything present in it and then paste the below code

[sourcecode language=”html”]
<p>Please select the opportunity stage(s) you want to export:</p>
<div>
<div class=”option”>Prospecting</div>
<div class=”option”>Qualification</div>
<div class=”option”>Needs Analysis</div>
<div class=”option”>Value Proposition</div>
<div class=”option”>Id. Decision Makers</div>
<div class=”option”>Perception Analysis</div>
<div class=”option”>Proposal/Price Quote</div>
<div class=”option”>Negotiation/Review</div>
<div class=”option”>Closed Won</div>
<div class=”option”>Closed Lost</div>
</div>
<br/>
<button id=”btnExport”>Export to Excel</button>
[/sourcecode]

And after doing that add a script reference just after office.js script reference

[sourcecode language=”javascript”]
<script src=”https://o365workshop.azurewebsites.net/scripts/sfproxy.js” type=”text/javascript”></script>
[/sourcecode]

Step 4:

Now open home.js in your project directory and then paste the script attached below in the document

home.js

Step 5:

Click on run project button on your left toolbar and then select some of the stage types and then click on export to excel button .

Congratulations, you are done with your first Salesforce addin for Microsoft excel

 

Data Export
92
Like this post
127 Posts
Team ABSYZ

Search Posts

Archives

Categories

Recent posts

Meet OmniStudio – Revolutionize Your Creative Work

Meet OmniStudio – Revolutionize Your Creative Work

BioAsia 2023 in Hyderabad: An Annual International Event

BioAsia 2023 in Hyderabad: An Annual International Event

The Role Of Marketing in Small & Medium Enterprises

The Role Of Marketing in Small & Medium Enterprises

Salesforce For Retail: How Salesforce CRM Can Help Retailers

Salesforce For Retail: How Salesforce CRM Can Help Retailers

What is ChatGPT & How Does It Work?

What is ChatGPT & How Does It Work?

  • Previous PostUsing Custom Metadata Type in Salesforce
  • Next PostRoll-up Summary without a Master Detail Relationship
    Using Custom Metadata Type in Salesforce

Related Posts

Meet OmniStudio – Revolutionize Your Creative Work
Salesforce

Meet OmniStudio – Revolutionize Your Creative Work

Salesforce For Retail: How Salesforce CRM Can Help Retailers
Salesforce

Salesforce For Retail: How Salesforce CRM Can Help Retailers

Introduction To Copado Devops Tool
Salesforce

Introduction To Copado Devops Tool

What is Salesforce Code Builder?
Salesforce

What is Salesforce Code Builder?

Leave a Reply (Cancel reply)

Your email address will not be published. Required fields are marked *

*
*

ABSYZ Logo

INDIA | USA | UAE

  • About us
  • Article & Blogs
  • Careers
  • Get In Touch
  • Our Expertise
  • Our Approach
  • Products
  • Industries
  • Clients
  • White Papers

Copyright ©2022 Absyz Inc. All Rights Reserved.

youngsoft
Copy
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “ACCEPT ALL”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent. Privacy Policy
Cookie SettingsREJECT ALLACCEPT ALL
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

SAVE & ACCEPT