Hot answers tagged

8

Yes, the DX CLI can run on Heroku. Wade Wegner contributed this buildpack here: https://github.com/heroku/salesforce-cli-buildpack EDITED: added some extra details on how to install it since the readme is minimalist and outdated: 1) create the Heroku app heroku create 2) Set the buildpack heroku buildpacks:set https://github.com/heroku/salesforce-cli-...


8

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


7

The way you can get userId, is via IdentityURL coming in the Oauth access/refresh token response. Here is the sample JSON response: {"id":"https://login.salesforce.com/id/00Dx0000000BV7z/005x00000012Q9P", "issued_at":"1278448101416","refresh_token":"5Aep8614iLM.Dq661ePDmPEgaAW9 Oh_L3JKkDpB4xReb54_pZebnUG0h6Sb4KUVDpNtWEofWM39yg==","instance_url": "https://...


6

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.


6

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 ...


5

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 ...


5

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 ...


5

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 ...


4

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-...


4

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 (...


4

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.


4

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 ...


4

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,...


3

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.


3

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 ...


3

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 ...


3

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 ...


3

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"


3

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. ...


3

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 .


3

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 https://github.com/heroku/salesforce-buildpack


3

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


3

Its both. 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 ...


3

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: SaaS Paas IaaS (considering that ...


2

This webinar might be pertinent: http://wiki.developerforce.com/page/Webinar:_Extreme_Salesforce_Data_Volumes_(2013-Feb)


2

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, ...


2

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. VisualForce Page: <apex:page controller="...


2

To be clear, the docs you are referring to are the Summer '14 Docs. Summer '14 is not yet released. The current Spring '14 docs are at - http://www.salesforce.com/us/developer/docs/platform_connect/canvas_framework.pdf In the summer release, you will see the refresh token if that scope has been requested, and you can also use refreshSignedRequest (which ...


2

As @greenstork suggested, your best bet is to have the client have a discussion with their Salesforce AE. Salesforce will negotiate this type of thing down, especially for large volume like this. The cost most likely isn't as bad as you may think. With that said and depending on your use case, you may want to consider something as well like Lightning ...


2

Doug B's answer helped me. But few things i had to figure out. So for the sake of completeness adding one more answer here: So, Basically there is issue with media. Here are steps to solve this problem: 1) Edit file named spring-mvc-fulfillment-base\src\main\resources\applicationContext.xml 2) Find line http://media.developerforce.com/schema/force-...


Only top voted, non community-wiki answers of a minimum length are eligible