Questions tagged [node-salesforce]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 views

nforce org.getUrl(url,cb) - value of url

I have a Node app running on heroku where I am using the nforce lib. I received { Error: Could not find a match for URL error.} while using org.getUrl from nforce library. For the url string, I have ...
0
votes
0answers
69 views

Jsforce Upsert QuoteLine object

I try with a custom script to upsert a QuoteLineItem but I face a problem with the SBQQ__Quote__c field, which is a Master-Detail of the Quote object. This is my code : export function ...
0
votes
1answer
356 views

Lightning components not added as dependency in lightning out app are visible to external app

I'm working on lightning out app to authenticate and expose few lightning components for an external node app. OAuth Access Token is used to authenticate user. It seems to be working fine just that ...
0
votes
1answer
326 views

Calling Apex REST from node/express framework

I have to call an Apex REST API I created in salesforce from my node application. I have created the connected app in salesforce and required express and jsforce in my node application. But, I'm ...
3
votes
1answer
289 views

How should I import Design System React css?

I tried using Lightning Design System React doing what's under the Getting Started section. I've installed the npm modules as explained: npm install @salesforce-ux/design-system @salesforce/design-...
6
votes
0answers
122 views

Push topic message event type is always “updated” even when inserting object

I'm subscribed to two different push topics, and one of them doesn't register any event types as "Create" only as an "Update". My config for the working push topic is as follows: { "Name": "...
0
votes
2answers
29 views

Is there a way to still create a contact even if some custom fields fail?

I'm using the npm package node-salesforce@0.8.0 to write a custom integration with Salesforce. The package works fine most of the time, the problem arises when a user selects maps our contact data to ...
0
votes
2answers
473 views

Create Login for Heroku App

Currently my Heroku app is completely based on the static settings passed in app.json file. How to add login screen to the Heroku app? and, Can this information be stored, when next time user loads ...
1
vote
0answers
354 views

node.js - How do we send a “user-initiated” email?

I can create a Triggered email and send it to lists. In addition to sending a triggered email, I need to send "user-initiated" email, or an email to a list. Apparently sending a user-initiated email ...
4
votes
1answer
2k views

How to call Standard REST service in POST request using JSforce?

I am using JSforce, a module of Node.js for Salesforce. The login credentials are obviously not correct in this script but they are correct in original script and they are working fine. Here is app.js ...
0
votes
1answer
723 views

Streaming API not working with JSForce after token refresh

I'm currently trying to get my application running on Heroku to listen for events from the Streaming API, but have had no success. The application works fine when I'm testing it locally against my org ...
0
votes
1answer
91 views

Jsforce - jsforce = require('jsforce'); errors out

When i install jsforce on my node and add following code the page errors out "application error" what am i doing wrong? var jsforce = require('jsforce'); am new to node.js and express and jsforce so ...
0
votes
1answer
240 views

Difference between logging in into salesforce sandbox with and without consuming wsdl?

I am very new to Salesforce and it's API. I am having a sandbox org and with it I have url(dev sand box ), username, password, security token and last but not the least partner.wsdl My aim was to ...
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.
2
votes
1answer
751 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 ...