Questions tagged [salesforce]

0

votes
0

answer
3

Views

Salesforce - Adding E-sign to the Document Package using Nintex

I am new to Salesforce and the Drawloop(Nintex for Salesforce). We currently have a workflow where the Quotes are auto generated and converted in to a PDF using the Drawloop Package and Sent as an email attachment to the recipient. We need to now include the Esignature functionality so that the rece...
trx
1

votes
1

answer
3.1k

Views

Error - BoatSearchResults component is missing the correct layout attributes to create multiple rows

I am getting an error while completing 'Lightning Component Framework Specialist' superbadge. Can anyone please help me out to resolve this error? Challenge Not yet complete... here's what's wrong: The BoatSearchResults component is missing the correct layout components with the appropriate attrib...
swapnil barad
1

votes
0

answer
56

Views

How to get the JSON Body for CreateAsync Force.com Toolkit for .NET

Hi I am trying to create an Orderitem for an Order just created but I am getting this following error JSON Deserialization failed on token 'null' and has left off in the middle of parsing a row. Will go to end of row to begin parsing the next row How do I get the JSON RAW Body that is being posted s...
CidaoPapito
1

votes
2

answer
1.1k

Views

How to show only one record that contains the same field values in an APEX SOQL Query

Not sure the best way to ask this. But essentially I have a survey for instructors that a student submits during the mid-term. Each survey submission is of course a different record but the instructor and class would be the same. When querying results I only want to show one record for that teacher...
Kenneth Kimbrell
1

votes
0

answer
39

Views

ZKSForce Update sales force object

I have a problem using ZKSForce SDK. I would like to update an object from sales force. I have found a the way to update a sales force object in objective-c. Example Online Here ZKSObject *sfobj = [[ZKSObject alloc] initWithType:@'Your_custom_object__c'] ; [sfobj setType:@'Your_custom_object__c'...
husharoonie
1

votes
0

answer
91

Views

Using OAuth connection type to Access Salesforce via Talend Data Integration

I am trying to access Salesforce data using Talend Data Integration Tool.I tried establishing connection using OAuth, However there is some issue with Callback Port. Is there anyone who also went through this kind of issue? If yes then what port number did you used.
Nikhil Yadav
1

votes
1

answer
344

Views

Named Credential

I want to access the URL of the named credential and want to dynamically add some query parameters to it. Is it possible? Like in case of custom settings I access the value by get values directly. Does the named credential global variable credential provides me any such opportunity?
user9207683
1

votes
0

answer
35

Views

Salesforce form showing errors even when filled out correctly

I am new to salesforce and don't have a lot of experience with javascript. The issue I am having is that as I am testing a form and filling out the inputs it is adding the the 'has-error' class to the parent div even when the input is filled out correctly. However, it will allow the form to be submi...
Chris Partridge
1

votes
1

answer
161

Views

Trying to upload a file to Google drive's specific folder. Its getting uploaded outside the folder though http request has correct folder ID

we are using apex to upload a file to google drive's folder and gave folder id and sending the request. after debugging the http request, we are able to see request is good and folder id taken is correct. but file is not uploaded inside the folder but outside the folder and inside the drive else whe...
vardhan
1

votes
0

answer
31

Views

Data Source Name overrides Data Source Definition

My Microsoft Office 365 ProPlus subscription updated over the weekend to Version 1708 (Build 8431.2153) and all of my MS Access external links to Salesforce data broke. I am using the Progress DataDirect 7.1 drivers and I had created a USER DSN named 'Salesforce'. It seems that the updated Microsof...
Tom Stluka
1

votes
1

answer
220

Views

SalesForce SOSL Search - How to query related Objects over REST (Objects: Case, Contact)

I'd like to query a list of case numbers and print the related contact information in one single SOSL search command. Is this doable by use of SOSL over REST API to use ID fields as pointer? Sample Search 'find {XY00001234*} IN ALL FIELDS RETURNING Case(ContactEmail,OwnerId WHERE ContactEmail LIKE...
Claude Falbriard
1

votes
1

answer
43

Views

DocuSign custom button issue with Account name having apostrophe and/or Ampersand character

I have a button that I created for DocuSign within Salesforce but I'm having issues with it when the Account Name has the & symbol and/or it has an apostrophe in it. After researching this site, we found using the code below would get it to 'almost' work. The subject showed up completely but it add...
Cheri P
1

votes
1

answer
71

Views

CEM not Formatting with \\n or _Comma_

I have a Custom JavaScript button in SalesForce,the Line breaks inside the custom Email Message or CEM rather are not working are not working -- tried everything \n \n, \r, \r, etc.. also neither is comma. I was wondering if there is a new process or how can I use line breaks?
Ebi
1

votes
0

answer
30

Views

Is there a way to calculate a P-Value for a T-Statistic in Salesforce?

I realized that this is outside of the Salesforce wheelhouse, but can anyone help? I have a custom class that determines the t-static from a series of pairwise tests. I have a requirement to calculate the p-value for the particular t-statistic and degrees of freedom. I am looking for a function sim...
Rob Davis
1

votes
1

answer
198

Views

Which token can be used by other systems

When I authenticate my single page app to my SFDC org using user-agent flow I am getting an access token and an openID token. I need to use one of them (not sure which) to authenticate and get access to another system (Again, via API). My understanding that I need to use the OpenID token in this cas...
Tea Bee
1

votes
0

answer
51

Views

Service Cloud Snap-ins SDK for Mobile Apps for Xamarin

Salesforce provides Service Cloud Snap-Ins SDK for IOS and Android. One can use these SDKs to add Salesforce Knowledge, Case Management, Live Agent Chat, SOS and ServiceCore. My mobile app is developed with Xamarin.iOS and Xamarin.Android. Is it possible to use these SDKs with Xamarin.iOS and Xamar...
Monir Kohi
1

votes
1

answer
801

Views

merging two pdfs in to single and attaching in the email in apex

I have a requirement where I want to merge two pdfs in to a single pdf and attach in the attachements to the custom object in salesforce then this merged pdf is sent via email. Here is my code snippet. Where contentPdf is one pdf and b is another pdf content which needs to be merged. PageReference...
Veerpal
1

votes
0

answer
58

Views

Unable to load data from jitterbit to salesforce

We are trying to load data from mysql database to salesforce through Jitterbit(v: 8.16.13.1) on windows 2012 R2 machine. We have created mysql view using Jitterbit cloud data loader to load the view data to salesforce objects. We have UTf8 special characters for eg: .Ã,®,Ø,ÿ in the database fie...
Prajay Verenkar
1

votes
0

answer
229

Views

Get data from Salesforce using webAPI

I am trying to create a middleware between SAP and Salesforce. It is a .NET RESTful service. If SAP desires any data, it will pass parameters to my .NET API which in turn will query Salesforce for the same. It should fetch the data and return as XML to SAP. My first step is to build a webAPI and fe...
RKh
1

votes
0

answer
155

Views

SalesForce - AWS SNS integration reference

Is there a rereference example for salesforce and Amazon SNS Integration ?
Raghu
1

votes
1

answer
65

Views

check if two object list have the same property

I have two objects lists which they have different fields in them.I want to check if two fields dont have same value in them in javascript. my example is list one 0:Client_Issue_Reference__c:null End__c:'2018-03-06T23:00:00.000Z' Id:'a0Q2F000000oRyBUAU' Resource_Full_Name__c:'test user' Start__c:'2...
AB74574
1

votes
0

answer
250

Views

Salesforce Marketing Cloud (Exact Target), Server side Java script

it is possible to change a subscriber status in the all subscriber list using Server side Javascript? According the documenttation, the following things should work Opt-in Platform.Load('core', '1'); var myList = List.Init(''); var emailAddress = ''; var subscriberKey = ''; var subscriber = { 'Em...
D. Schoenberger
1

votes
2

answer
53

Views

using reduce function on list of objects javascript

I have number of objects im receiving weekly, each one on these object has date, hours, and other fields. I wanna sort these object array total hours of each day. example of the objects var anArray = [{ 'End':'22:00', 'Id':'Q45575', 'Name':'W-299849', 'Start':'20:00', 'date':'2018-02-04', 'hours':2...
AB74574
1

votes
1

answer
123

Views

Integration of Node.js with Salesforce via corporate proxy address and perform bulk insert operation from a CSV file

Here i am connecting to my salesforce org vis Node.js and successfully retrieving some profile specific details and then performing bulk insert operation from a CSV file. Please see the answer which i have posted below... The credential are dummy in code. var tunnel = require('tunnel'); var tunneli...
Sanuj Satapathy
1

votes
0

answer
245

Views

How to set up webhook in Pardot?

I want to send POST request from Pardot to our website when a Prospect is opt out from a list. We had our application integrated with mailchimp before and in mailchimp it is easy to set up webhook on certain activity like subscribe, unsubscribe etc.. Now we moved to Pardot and I am trying to achieve...
Mitsu Chatrola
1

votes
1

answer
437

Views

“error”:“invalid_grant”,“error_description”:“invalid authorization code” in salesforce

I have setup my 'Salesfore' connected App for 'OAuth' using which I am able to authenticate user. For subsequent request I am trying to get access token hence posting values to Salesforce as below. $.post('https://login.salesforce.com/services/oauth2/token', { 'grant_type': 'authorization_code', 'co...
Imad
1

votes
1

answer
429

Views

java.lang.NoClassDefFoundError in Maven shaded jar for salesforce API jars

I have an Apache Maven Java project that imports the class: com.sforce.soap.enterprise.EnterpriseConnection When running the project from IntelliJ, I have no problems executing the code. However, I want to be able to run the project from the command line as a shaded jar. I have been shading the jar...
rbuzby
1

votes
1

answer
286

Views

Do I add salesforce SPF record to my domain itself?

I am having some issues with emails that are being sent from SF. Therefore, I am wanting to add SF's SPF record. Do I add this to my domain itself? For example, my domain is hosted from networksolutions. I go there and add the SF spf record, correct? If so, I am having a little bit of trouble figuri...
Paul
1

votes
0

answer
63

Views

How can I assert a jsForce connection in Node?

I've got a node app running and almost all routes require access to a live Salesforce connection. I have exports which login and connect to salesforce like this. # ./modules/sfTools.js exports.conn = (req, res, next) => { conn = new jsforce.Connection({ loginUrl: process.env.SF_LOGINURL }) next() }...
McB
1

votes
2

answer
1.3k

Views

How to get query covered in apex test class for salesforce

I'm having a tough time trying to get all code covered in my test class for an apex class. Apex class: public with sharing class myclass { **public List listvar {get;set;}** public myclass(ApexPages.StandardController sc){ CustomObject2 var = [SELECT Id, Field1__c FROM CustomObject2 WHERE Id = :Apex...
Erik
1

votes
1

answer
515

Views

APEX- Unable to call REST API from the salesforce lightning component

I am calling sample google book URL from the lightning component, For that i have written APEX controller to make http request . But it is throwing 404 error for the Google Book API. Here is my APEX controller please check , public class WebservicesController { public static String responseFormat='...
Sravani
1

votes
0

answer
25

Views

For long-lived connections, how do you test a Salesforce object to make sure the session is still valid, since there is no disconnect?

I'm using simple_salesforce with Python to connect to a Salesforce database (as you do). I have written a routine to handle the resetting of a Salesforce connection if the session is found to be invalid. def connect(reset=False): ''' Tiny helper function to connect to Salesforce using env vars ''' g...
Nicholas Tulach
1

votes
0

answer
71

Views

Node.js nforce connection error with Slack client Id

I am in the process of creating a Slack-Salesforce chat bot, and I am currently using node.js and nforce to achieve this. I have the following code snippet for connecting to Salesforce: let org = nforce.createConnection ({ clientId: SLACK_CLIENT_ID, clientSecret: SLACK_CLIENT_SECRET, redirectUri:...
Wilson Kwok
1

votes
1

answer
59

Views

set log level log4j externally

I have made a goof up. I set log level for log4j in its property file to test it in my local machine but we give log level from outside in shell script or property file when we deploy it on server and we bundle log4j.property file in jar itself(I know it's kind of weird practice but I cant do anythi...
Ankit Chowhan
1

votes
0

answer
765

Views

Data binding of lightning:input and aura:attribute with type sObject(field) is not working

There is a weird scenario I'm facing while I try to bind the markup UI tags with lighting aura:attribute as type sObject (fields). I'm trying to bind data to sobject's fields for different lightning:input tags, For one sObject attribute the binding works perfect, but in the same way for another sObj...
Himanshu
1

votes
0

answer
19

Views

How to upload documents in IBM Watson from salesforce Apex

I have incorporated IBM Watson APIs in my Salesforce org. I am able to see AddDocumentOptionsBuilder apex class but was looking for an example which leverages it. My intent is to add an apex trigger which will fire whenever a file is uploaded in Salesforce, and uploads the same in IBM watson collect...
Nabs
1

votes
0

answer
93

Views

piping to createWriteStream to browser

I am using a library that pipes a blob to file. Though I tried many ways, I am unable to use this functionality on browser, the code for node is: var fout = fs.createWriteStream('./path/to/document'); // output stream to file conn.sobject('Document').record(documentId).blob('Body').pipe(fout) I want...
Varun Garg
1

votes
0

answer
261

Views

Invalid Session ID found in SessionHeader - Salesforce

I am using OAuth2 for connecting my app with user's salesforce account. I am making authorization request with success and getting following things in response access_token instance_url id issued_at signature scope token_type: Bearer When I am trying to fetch salesforce data with following code Dim...
Imad
1

votes
1

answer
39

Views

How to analyse multiple texts in a single request using CommunitySentiment Model of Salesforce Einstein?

I was working on text analysis and wanted to classify text as 'Positive', 'Negative' or 'Neutral'. Salesforce Einstein's Community Model has been succesfull in acheiving the task. However the main problem I am facing is : Currently to analyse each text, I need to make a separate request. However si...
Sarthak Garg
1

votes
1

answer
91

Views

Salesforce FuelSDK

I am trying to set up Salesforce FuelSDK so i cann add subscribers to a list. I am stuck at this part right now , where i cant seem to make the baseUrl work. These are my php configs return array( 'appsignature' => 'none', 'clientid' => 'test', 'clientsecret' => 'test', 'defaultwsdl' => 'https://...
Itz Escalitur

View additional questions