Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9278771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T17:27:37+00:00 2026-06-18T17:27:37+00:00

I am fairly new to integration, but I have decent development experience in salesforce.

  • 0

I am fairly new to integration, but I have decent development experience in salesforce. I have a requirement to generate power point presentation in salesforce, but currently there seems to be no way of doing that directly in salesforce. So I googled around and found a few java classes which generates ppt’s. So now I am able to run those java in my local machine in eclipse and generate the ppt.

Need help to understand on where should I have my java classes? Heroku?? Not sure how to do that as well. Can my salesforce Apex code communicate with the java classes uploaded on Heroku, if yes then how?

Any help on this really appriciated.

Regards
Sam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T17:27:38+00:00Added an answer on June 18, 2026 at 5:27 pm

    Yes, this is definitely possible. There is no special communication between Salesforce and Heroku, but the two can talk to each other with regular HTTP APIs. To do this, you would need to:

    1. Expose your PPT generator in a web service running on Heroku. First, take a look at the Getting Started with Java on Heroku article or Getting Started with Play! on Heroku article to get a basic HTTP app up and running on Heroku. Then, drop your PPT generator classes in the app and create an endpoint to access them. For example, you might create an endpoint at /ppt so that if you go to https://example.herokuapp.com/ppt a PPT would be generated and returned in the HTTP response. Of course, you could make the service serve up dynamic PPTs, but keeping it simple for this example.

    2. Call out to your Heroku app from Apex. To do this, take a look at the HTTP RESTful Services Classes in the Apex documentation. For example, you could do something like this in Apex:

      Http h = new Http();
      
      HttpRequest req = new HttpRequest();
      req.setEndpoint('https://example.herokuapp.com/ppt');
      req.setMethod('GET');
      
      HttpResponse res = h.send(req);
      res.getBody();
      

    If these PPTs are confidential, you’ll probably also want to have some kind of authentication scheme between the two system; otherwise, anyone who hits your endpoint could get the PPT. I would at least use Basic Authentication with a shared secret to secure your service, but something fancier could also be used if you wish.

    What I’ve explained above is all through backend APIs, but if you’d like to create a UI for your service in Heroku as well and expose it to Salesforce users, you might want to take a look at the new Force.com Canvas Framework.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm fairly new to facebook development, but have experience with PHP and JavaScript. I've
I am fairly new to php and mysql but I have created a small
Fairly new to Jquery here.... but one thing I have been told and being
I am fairly new to Spring integration, but learning so far. I am getting
I am new to fairly new to AS3 and I have found myself needing
I'm fairly new to C++ standard library and have been using standard library lists
I'm fairly new to iOS development, and I'm starting work on an App that
I'm fairly new to Cocoa and Objective-C. Currently I'm developing a fairly basic application
I have a fairly normal Scala project currently being built using Maven. I would
Trying to merge 8 pre-sorted arrays. I'm fairly new to C, but this is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.