Questions tagged [heroku]

The heroku tag in Salesforce Stack Exchange should be used for questions pertaining to the use and troubleshooting of the heroku service itself. Questions on heroku-supported languages should be directed to one of the heroku language tags on stackoverflow.com.

Filter by
Sorted by
Tagged with
13
votes
4answers
2k views

Archiving Data to Heroku

Ok after hours of searching I cannot believe that something that would seem like an every day need does not have any videos, tutorials, etc directly related to it. Heroku is tough for me as it seems ...
8
votes
2answers
2k views

Salesforce call Heroku Web Service

We have a salesforce application, and the application triggers a callout to a heroku service that gathers some data from a third party database. After gathering and processing the data from the third ...
6
votes
1answer
728 views

Is this possible to install SFDX CLI on Heroku instance?

I am trying to follow commands to install SFDX CLI on Heroku instance. When I execute commands >heroku run bash >wget https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar....
6
votes
2answers
5k views

Salesforce DX CLI - Connect TIMEDOUT

None command is possible to execute on DX CLI, from my company network. It returns: ERROR running force:org:open: connect ETIMEDOUT 13.108.249.193:443. I know that DX CLI is based on Heroku and ...
4
votes
3answers
433 views

Moving Salesforce data into Heroku Java app for LDV processing?

I have read a few blog posts about moving parts of an app into a Ruby Heroku app, but no example for moving data between a Salesforce org and a custom Java app on Heroku. Do you know of any in posts ...
4
votes
2answers
333 views

Is data transfer between Salesforce and Heroku secure?

I wanted to check how secure is data transfer between salesforce and heroku. Is there any encryption mechanism built in when we integrate salesforce and Heroku (when data transfer occurs). Update - ...
4
votes
3answers
1k views

Does Heroku Connect support Attachments?

Heroku Connect does bi-drectional replication between Salesforce and Heroku PostgreSQL. I have a free edition to do some testing and this has been working well so far with standard and custom objects. ...
4
votes
3answers
1k views

Canvas Signed Request not sending refresh_token

I have a canvas a app that I distribute via a managed package on the AppExchange. The canvas app is configured to post a signed request to my heroku app. I have selected all the oauth scope options: ...
4
votes
2answers
537 views

Heroku and Salesforce Integration workbook error

I am doing Integration between Salesforce and Heroku using the Integration Workbook and I came across this while doing the tutorial #3 step 2. When I refresh my app in the browser on the following ...
4
votes
1answer
247 views

Storing over 3 million records on Salesforce

I had a requirement to quote a Salesforce implementation for a client. It has a lot of data with low license count. Initially it was in the 200.000 records + Campaigns and Campaign Members, which the ...
4
votes
0answers
51 views

Force.com Site and custom user authorization - Is it allowed and when? [duplicate]

Assume I am going to build a customer facing website where users have some access to Salesforce Standard and custom objects. Because it's expensive I don't want to give them Salesforce licenses. I ...
3
votes
2answers
2k views

Customer Community vs Heroku

I am a new entrant to Salesforce (force.com) world coming from Java world. My team is migrating customer service functionality from Siebel to SFDC leveraging Service Cloud. We also have B2B commerce ...
3
votes
2answers
1k views

Get Custom Labels via API

What is the easiest way to get a custom label from outside the platform (eg: node js or other app)? I'm using nforce, but surprisingly don't see any api methods to get custom labels.
3
votes
1answer
144 views

Is it possible to use a third party as an external source for Journey Builder via API?

I understand that you can fire an event using API to start an interaction in Journey Builder. But is it possible, via API, to start a journey and inject records from a third party source (e.g. ...
3
votes
1answer
864 views

Searching Salesforce Knowledge via API

I want to present a bunch of Salesforce Knowledge articles to the anonymous public via our own interface, but from what I can see there is no standalone knowledge interface that I can use (it needs to ...
3
votes
0answers
738 views

Heroku ps:exec cannot connect or ssh into dyno

heroku ps:exec -a homehost-demo Establishing credentials... error ▸ Could not connect to dyno! ▸ Check if the dyno is running with `heroku ps' running ps returns Free dyno hours quota ...
3
votes
0answers
774 views

Canvas App Previewer gives “Cannot POST /” error for Node app

I'm running a node app on heroku that that I am trying to pull into a Canvas App, The Canvas App Preview error simply says "Cannot POST/". When I look at my node server debugger for local host it says ...
3
votes
2answers
676 views

“App must be invoked via a signed request” shows in Canvas Previewer

I have connected App and added external link of Heroku to show as Canvas App. I have set the location Chatter Tab. In the developer account, my external application is accessible. It has set "Admin ...
3
votes
0answers
230 views

Salesforce: Angularjs and Heroku

I am folloiwng the tutorial mentioned in the below URL. https://developer.salesforce.com/mobile/getting-started/html5/#angularjs-heroku I followed exactly as mentioned, I am able to OAuth ...
2
votes
1answer
254 views

How can I install GMagick on Heroku? [closed]

I get this error when trying to run my application: Heroku PHP Fatal error: Uncaught Error: Class 'Gmagick' not found in /app/lib.php How can I resolve this?
2
votes
2answers
6k views

Salesforce is a SaaS or is a PaaS?

I woke up this morning with this question in my mind. I read somewhere that Salesforce is a SaaS because the end users can use the application built with Salesforce and due to the fact that Salesforce ...
2
votes
2answers
2k views

Get Current User when using forcetk.js / JqueryMobile pack

Im currently having a play with the Salesforce JqueryMobile pack and have got stuck trying to get hold of the current user Id. (Pack: http://www2.developerforce.com/mobile/getting-started/html5/#...
2
votes
1answer
3k views

Installing Jenkins on Heroku [closed]

Currently I have Jenkins installed in my laptop and works fine. I am to move this setup to cloud. My client has bought Heroku license and was considering using Heroku space n license to install ...
2
votes
2answers
3k views

PDF editing within Apex/Visualforce

I want to edit a PDF file in the Salesforce Document folder to add some text or background image to it, and then save the changes in a new PDF document. I tried to include the PDF in a Visualforce ...
2
votes
1answer
283 views

Minimise delay between Streaming API and Heroku Connect

I currently have an app (node.js) running in Heroku, using Heroku Connect to connect to Salesforce to read/write data. Heroku Connect essentially has a copy of selected data from Salesforce, which is ...
2
votes
1answer
53 views

Linting Managed Lightning Components - is this even possible?

It's possible to scan lightning components for LockerService errors using Heroku and Salesforce-Lightning-CLI plugin. Am I correct in assuming that there is no way to scan managed components for ...
2
votes
1answer
795 views

“No such app” for my application when using custom domain. Works with Heroku's given URL

My app: dukagjin.herokuapp.com works just fine when using the Heroku given URL to access it. However, the custom domain that I've attached to this app does not work: http://www.dukagj.in The domain ...
2
votes
1answer
571 views

Salesforce callback url for Heroku review apps

We have a application that uses Salesforce OAuth for user login. Our application is hosted on Heroku and we are using Heroku pipelines to deploy review apps. For every review app in Heroku a new ...
2
votes
2answers
2k views

Are there any 'default' Heroku environment variables

So I know how to use Heroku config variables to store environment-specific values, such as database URLs and the like, but are there any generic default config variables? Specifically I'm wondering ...
2
votes
1answer
153 views

Heroku Postgres, Redis, Kafka - is one better for storing key/value string pairs?

I'm going to make sure this stays specific and not flagged as too broad. I'm putting together an approach to store data in Heroku. This data is relatively simple in nature - it's key/value pairs, ...
2
votes
1answer
105 views

Map SFDC object to existing Table in Heroku

We have a Customer table that already exists in Heroku and we want to map that table to a custom object in Salesforce. When the Postgres table is updated, we want the corresponding custom object ...
2
votes
1answer
758 views

Salesforce as Identity Provider throwing Insufficient Privileges error

We are implementing a SSO integration, where Salesforce act as the Identity Provider and a NodeJs application in Heroku act as the Service Provider. We are following this Github project to build the ...
2
votes
1answer
280 views

Canvas Developer Guide / Deploy the Web App to Heroku

I try to run canvas app in Salesforce after deploy the Web App to Heroku. But in salesforce get "This App must be invoked via a signed request" instead the message Hello User.FullName. Following all ...
2
votes
1answer
613 views

How to enabled DB as an external object in Heroku

I'm new to Heroku and I'm trying to wrap my head around with it and I have seen that in demo here talks about the exposing the services in Heroku and expose your services like this: http://orderdb....
2
votes
2answers
1k views

Class not found with Php app hosted on Heroku

I developp a PHP application hosted on Heroku and which use the PHP Toolkit to interact with Force.com. When I run the app on my computer, it works, data from Salesforce.com are loaded but when I ...
2
votes
1answer
329 views

Example of Mean.io Salesforce Implementation

I'm currently building a Heroku app and would like to use mean to build it. I've searched around but could not find any examples whatsoever. I'll be thankful if anyone can point me to a Salesforce web/...
2
votes
1answer
685 views

Upload zip file in static resources

I am making one project in which I send a file on Heroku via HttpRequest (including file in attachment) and I got response zip file now I want to store this zip file in static resources. So how we ...
2
votes
1answer
782 views

How to handle session invalidation for username / password OAuth flow?

Question What's the proper way to monitor for session timeout and automatically get a new session using node-salesforce? Background Building a basic node.js app on heroku. Using the OAuth2 ...
2
votes
1answer
1k views

How to deploy existing java apps into Salesforce using Heroku

I have some existing apps which are developed in Java, now I am planning to move the existing apps into Salesforce through Heroku. Is it possible to connect deployed java app on Heroku to Salesforce. ...
2
votes
0answers
175 views

Creating a nodjs client for salesforce streaming api

I am trying to build a NodeJS app hosted on Heroku to subscribe to Salesforce Platform events. Now the problem is this app will not have any Webpage, just an app which should receive the events from ...
2
votes
0answers
65 views

Heroku - disable SSL termination

I would like to renew, serve and negotiate SSL connections myself, within my application. Is this possible? Currently it seems SSL connections are terminated on heroku's LB, and obviously I would ...
2
votes
0answers
328 views

How to resolve Heroku build error specific to Python 3.8.0

I'm deploying a Python (flask) app to Heroku via the commandline, and after specifying Python 3.8.0 in the runtime I got an error relating to '_ast27' extension I'm not sure what to do with. If I ...
2
votes
0answers
165 views

Heroku installs wrong JDK version

I added system.properties file with the content java.runtime.version=11 to my application like described here, committed the changes and pushed afterwards with git push heroku master unfortunately, ...
2
votes
0answers
114 views

How to host Adonis js app in Heroku hosting [Adonis js ] [closed]

I tried to host my web-app but it shows an an error.I followed all this steps Download and install the Heroku CLI. If you haven't already, log in to your Heroku account and follow the prompts to ...
2
votes
1answer
420 views

Setting a cookie in a canvas app?

I have a Java application that sets a cookie: Cookie keks = new Cookie("Demo","WeLoveCookies"); keks.setHttpOnly(true); keks.setSecure(true); keks.setPath("/"); response.addCookie(...
2
votes
0answers
250 views

How to migrate large data volume from On-premise to Heroku Postgres [closed]

We are planning to migrate large volume of data from on-premise Oracle DB to Heroku Postgres in Private Space. We are using Heroku to build our API Services for various channels e.g. portal / mobile ...
2
votes
0answers
79 views

How to synchronize contentReferences from Salesforce to Heroku using Heroku connect

I am trying to synchronize the data from our SalesForce org to Heroku platform using Heroku Connect. I have few custom objects with Rich Text area field, within which there are contentReferences (eg: ...
2
votes
0answers
75 views

Any clue as to why I am not able to use heroku environment variables in my jsforce auth function?

So I'm part of a team working on developing an a web app for our client, who uses salesforce as their database. We are using node.js on heroku to act for the server side code. The front end is angular,...
2
votes
0answers
154 views

heroku integration workbook issue

i was doing the integration workboook, but on Tutorial #3: Update the Heroku App Step #2: Update your Application with a New Branch item #5: i am getting an error. In a browser tab or window, ...
1
vote
3answers
2k views

Invalid session Id while using node.js and Soap api with heroku

i write a small node.js script for using soap api var soap = require('soap'); var url = './partner.wsdl'; soap.createClient(url, function(err, client) { console.log('Client created'); client....