Yes, the DX CLI can run on Heroku.
Wade Wegner contributed this buildpack here:
EDITED: added some extra details on how to install it since the readme is minimalist and outdated:
1) create the Heroku app
2) Set the buildpack
heroku buildpacks:set https://github.com/heroku/salesforce-cli-...
Are you trying to install the graphicsmagick library? If so, you might want to check out this buildpack: https://elements.heroku.com/buildpacks/xerpa/heroku-buildpack-graphicsmagick
Also, if you need a particular linux library, you can install with the apt-get buildpack
The way you can get userId, is via IdentityURL coming in the Oauth access/refresh token response.
Here is the sample JSON response:
Definitely a common use case that Salesforce is aware of and working on solving. See this pilot: https://developer.salesforce.com/releases/release/Summer15/big+objects
If you aren't under a deadline, Waiting might be the best answer.
#safeharbor as always.
At the moment only Napili template can be used to build community using Community Builder(Koa & Kokua do not support Lightning & have tons of limitations). Napili template itself has limitations. It doesn't work in Salesforce1 and doesn't support all of the objects(Opportunity flow, Orders)
force.com sites (Visualforce + customizations) has no ...
Salesforce Connected Apps
I would recommend you consider whats known as a Connected App in Salesforce. This uses the oAuth authentication system on Force.com, which follows a UI flow (provided by Salesforce) to allow the Heroku app to obtain whats known as a "oAuth token" which it can store. Using this approach none of the user/password credentials are ...
Salesforce are developing a service that will allow you to easily synchronise data in your Saleforce Org and apps running on Heroku (regardless of language).
The synchronisation is done via an Heroku Postgress database and will help manage data transfer at a sustainable rate.
This service will be generally available in 2014 and you can sign up your ...
I have tried installing Jenkins and mostly because of free account restrictions I was not getting enough RAM to install jenkins on Heroku.
Free account can give only 512MB ram which is not sufficient for jenkins.
Here is my thought: Don't use heroku for jenkins.
Why : Because file system of heroku is ephemeral that means that there is no guarantee that ...
A quick glance at the nforce source makes it appear to not have support for fetching custom labels.
I can't see a way to fetch custom labels via the REST API either, nor can I find any references to custom labels in the SOAP API. Based on that I don't believe labels are readily useable off-platform without something like a custom apex REST/SOAP service (...
PDF is a binary format and Apex (presumably by design) is missing the language capabilities to manipulate bits and bytes. So it is not possible to edit the internals of a PDF file in Apex.
The purpose of the renderAs="PDF" is to run code that generates a PDF file from the HTML tags and CSS in a Visualforce page. It has nothing to do with rendering a pre-...
Heroku automatically provides a SSL certificate for standard subdomains. As long as you are using HTTPS, your app's communications are already encrypted with no extra effort. In other words, as long as your code calls an endpoint that starts with https://, you're good to go.
we had to make the same decision regarding using customer communities vs heroku.
Salesforce gave us unlimited customer community license when we bought service cloud license for our internal users.
If you have a java application thats already running you can with bit of customization move it to heroku as it can host java applications. in Heroku you will ...
The problem is caused because you are behind a proxy. Try to execute the same command with a direct connection (for example phone tethering).
You can try to use a proxy
but for me, only works direct connection (I think is an issue)
My application instantly writes to the HC PostgreSQL database, which instantly writes up to Salesforce.
This is a common misconception. Heroku Connect is not a real time sync service, but rather an eventually consistent service. The behavior you're describing is what we expect from Connect.
You'll need to wait for the sfid to be synced down. While you wait,...
This is too broad to answer.
But here's my take for your question if it's SaaS or PaaS. Salesforce is actually even more than that, I would say. While as an offering for the Salesforce as a product, you only get SaaS, PaaS (and DaaS) capabilities, but Salesforce actually follows the principles of all as mentioned below:
IaaS (considering that ...
Can you capture the request XML that's generated? looking at the code i'd guess that the sessionHeader is not being created in the correct xml namespace which should be urn:partner.soap.sforce.com. What are the params to addSoapHeader? you should be able to set the namespace on that call.
I posted a support request on this problem and it is now fixed inside 24 hours. So Attachment is supported.
I asked for an explanation of the problem and this is it:
In order to present the list of fields for you to configure your
mapping, Connect asks your Salesforce organization for schema
information. To reduce the number of API calls it caches ...
Security of such a transfer is primarily determined by key management and session management, not transport layer concerns.
Are you storing the keys in Heroku Properties as per their best practice, and not in your repository? Are they hard coded in the source?
If this is a client callout are you validating certificates?
If you are calling out from ...
All of the API mechanisms use transport layer security (TLS). This means that your connection is encrypted end to end at the socket level. Neither side specifically has to deal with encryption or decryption at the level in which you normally program at. It's all handled for you at the lower levels transparently. This includes Heroku and any other commonly ...
I can't believe they still haven't added this to the rest API. You can now access classes and tons of other meta-data but still no custom labels.
I've written a custom REST resource to allow this (as sfdcfox suggested). It uses the VF page getContent() hack which can be explained in more detail here.
Sure. Here's a Java framework on GitHub that should provide an example for you https://github.com/forcedotcom/SalesforceCanvasFrameworkSDK it even has in the readme how to build it locally before deploying it to "heroku or any other server"
Although you are required to use a static callback URL Salesforce respects an optional state parameter when making the initial OAuth request, which you could use to store the dynamic review app URL.
Your static callback URL could lead to a Heroku app (or publicly accessible Force.com site) that accepts the authorization code and state parameters from ...
I would create a trigger on creation of the person account. This trigger would make a webservice callout (using the @future notation on the method because triggers cannot directly make callouts).
You would receive this callout with a custom endpoint in PHP that receives the POST data from the Salesforce web callout and inserts it into the MySQL database.
Managed package components have their IP protected and hence you cannot peak into the code ,so the CLI cannot scan those files .If a managed package component is not locker complaint you can see that once you activate locker for an org ,it will stop working .You will have to reach to vendor in that case to have it fixed .
There is a heroku buildpack to support the integration and run DX with Heroku Pipelines .The buildpack can be deployed to Heroku instance .
The git repo has more details
You probably don't want to run your production web process from Maven. Instead, you'll need to choose between these two options:
Configure Tomcat Webapp-Runner in your pom.xml
Deploy a WAR file to Heroku and let it provide Tomcat
Software as a service (or SaaS; pronounced /sæs/)
is a way of delivering centrally hosted applications over the Internet—as a service. SaaS applications are sometimes called web-based software, on-demand software, or hosted software. Whatever the name, SaaS applications run on a SaaS provider’s servers.
Instead of installing and maintaining ...
Heroku connect does not have this kind of configuration anywhere in the dashboard. The reason for that probably is because the number of records to be synced should be driven by the user with whom the Heroku authentication is done.
If you want a specific condition to be fulfilled, I suggest you create an API user which has access to only the records you ...
I think this sounds perfectly possible, you can have Salesforce make the requests to Heroku passing along the ID of the user performing the operation. You can use Heroku's scheduler to look for completed jobs on the Heroku side and have it send the data back to Salesforce. For that you'd want to use an integration user with a single set of credentials, ...