Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [salesforce-id]

A Salesforce ID is the primary key field for any object. It is a primitive type in Salesforce. Salesforce Ids come in 15-character and 18-character "case safe" varieties, which are treated as equivalent by all APIs.

-4
votes
0answers
25 views

how to update knowledge articles (update all types of articles) in a bulk using Batch concept? [closed]

how to update knowledge articles (update all types of articles) in a bulk using Batch concept.
0
votes
0answers
20 views

Accessing salesforce data using JAVA program - facing an issue

This is my JAVA code: package SFtest; import java.io.IOException; import java.net.*; import org.apache.http.client.methods.HttpPost; import org.apache.http.client....
0
votes
0answers
13 views

Heroku And Salesforce Connectivity

I have created Connectivity with Salesforce using "Heroku Connect". While i create record in salesforce it is creating record in heroku postgres database but while i inserted record in to heroku ...
0
votes
1answer
18 views

Getting the Salesforce ID in BigInt format

I'm storing the ID of the Salesforce records we have synced with our website. I am currently using an existing table to store the ID mappings for the records. The problem is that the existing field is ...
2
votes
1answer
39 views

No such column 'CaseNumber' on entity 'Name' on SocialPost Object

I believe this ParentId is a lookup only to Case Object (Not polymorphic) I even check it using /services/data/v32.0/sobjects/SocialPost/describe
1
vote
1answer
26 views

Marketing cloud - SSJS - Truncate Sendable DE

I have a sendable DE which i am trying to truncate . however its erroring out. The code for ssjs is <script runat="server"> Platform.Load("core", "1.1.1"); var rows = Platform....
1
vote
1answer
31 views

Pass mulitple parameters in REST API

I am fairly new to Rest API concept and learning from forums. I have connected my two dev-orgs using Rest. So, when i create an Account record in source org, it gets created in destination org too. ...
0
votes
1answer
33 views

Salesforce send Email by Apex

I'm making by a requirement a code able to send an E-mail to an specific list of E-mails, due the fact that I must to include the attachments of the record I decided to use an apex class instead an e-...
0
votes
1answer
51 views

How to update the only modified records in aura:iteration using index

Is there any way to update only modified records in the list that is iterated through aura:iteration. I am trying to get index at row level using event.currentTarget. But event.currentTarget is ...
0
votes
1answer
28 views

User without licence to access community website?

My org is planning for a low budget app. So can we have only one salesforce user and setup a rest api. Then all the user we need to access is added to contacts. Then can we use those users to login ...
0
votes
2answers
45 views

What is the difference between ContactID and PersonAccountID

We have person Account enabled in our org and we would like to have Salesforce as the customer master DB. We thought of using one identifier across all the systems in our organisation. The previous ...
0
votes
1answer
25 views

Deselect Select All checkbox after DML from apex class

I have below code snippet where I have perfectly working select all checkbox. My requirement is to deselect the checkbox after I have successfully updated relevant records in apex class. Page <...
0
votes
1answer
19 views

Bulk export opportunities related to multiple contacts

I have a list of ~200 different contacts (and their SF IDs) and I'd like to get a CSV of all their associated opportunities from SF. The only way I know how to do so is to create an Opportunities ...
0
votes
1answer
16 views

In Email Message record, why IsBounced not visible in salesforce?

I have a requirement where I want to show IsBounced field on Email message layout which display target email id is valid or not. FLS is visible to all profiles but field is not visible to anyone. ...
3
votes
0answers
83 views

Salesforce Bulk API v2.0 INVALID_SESSION_ID

Following the Salesforce Bulk API v2.0 documentation at: https://developer.salesforce.com/docs/atlas.en-us.api_bulk_v2.meta/api_bulk_v2/walkthrough_upload_data.htm https://developer.salesforce.com/...
0
votes
3answers
24 views

How to get personal account Id in SOQL or rest request?

I need to load account ID of my current user. I try: SOQL SELECT Name, ID FROM Account where Name = 'myMailUsedForLogin'; and result is: Sorry, no records returned. I think I should load current ...
0
votes
1answer
24 views

I can not link Note to a contact

I am writing a very simple plugin which creates Contact and associate a note to it. I noticed that to add a note to a contact, I should first create the contact after that add the note here is my ...
0
votes
1answer
72 views

Does Userinfo.getUserId ALWAYS return 18 digit ID?

I cannot seem to find the documentation anywhere about this doubt. Whenever and wherever I call "Userinfo.getUserId()" method in the transaction, will it always return 18 digit user ID to me? or it ...
-1
votes
1answer
77 views

How to deal with caseTeamMember Trigger

I have a requirement to add user to case team and need to validate that user should be skilled resource and should have specific skills otherwise do not allow to add that user to case team. I was ...
0
votes
1answer
168 views

Showing Infinite scrolling in DataTable

I want to show the lightning datatable in modal and when user will scroll it will show more records after the spinner. I don't want to call server side controller every time so i tried to implement ...
0
votes
1answer
18 views

Render Managed Package Object Records in lightning component

I have a requirement to display all the child records of Account. Child is Managed Package Object, Named as "PCQQ__Quote__c". So I am getting the records from server but when I am doing component.set('...
0
votes
0answers
33 views

Event Attendee field adding in report

we have enable salesforce outlook sync in our salesforce instance and while creating event we were able to select the Attendees field. But when i am trying to add the same field in report it's showing ...
-1
votes
1answer
45 views

Dataloader relationship issues

How can data will be inserted if the records have master or look up relationship? Also how external id is useful in dataloader
0
votes
1answer
49 views

Exception during handling of messages Unrecognized advice action handshake

I am getting following error message while using cometd library "Exception during handling of messages Unrecognized advice action handshake". The thing which I want to achieve is listening of platform ...
0
votes
3answers
155 views

Lightning how to pass attribute value from one component to other when a link is clicked from the table row of records

please help me in resolving the issue. I'm not able to get the attribute value when a record link is clicked from the table row. I have two components the first one holds the list of records where the ...
3
votes
1answer
85 views

Salesforce Lightning error handling

Im not getting error written on trigger.adderror in files related list in lightning. Trigger.adderror is not working in lightning file related list.
1
vote
1answer
34 views

Why would the 18 digit ID of an object change query?

I have set up a customer community for a customer of ours that stores an Account ID on the User to determine what account the User views the community for. This account ID field has to be a text field ...
0
votes
0answers
20 views

Outlook exchange server distribution list sync with salesforce

is this possible to sync distribution list emails in outlook exchange server with salesforce, as of now we can sync outlook contacts with salesforce. Is this possible to sync distribution list? if yes ...
1
vote
2answers
583 views

Malformed JSON: Expected '[' at the beginning of List/Set

Getting Malformed JSON: Expected '[' at the beginning of List/Set while displaying External Data in Salesforce. My Apex class - Calloutcontroller1.apxc public class Calloutcontroller1 { public List&...
0
votes
1answer
19 views

Select multible records from custom relation list and send ID's to URL [closed]

I've created my own custom object for attachment to case. The object name is Case_Attachment__c. I can upload files to this list. The next step I want to do is to be able to have a button on my ...
0
votes
1answer
71 views

File Transfer One Org to another Org using Dataloader.io

I have tried to Import File/Attachment one sandbox to another sandbox using Dataloader.io. and we have follow this https://dataloader.io/dealing-attachments steps. but I can't and got the "The ...
0
votes
2answers
152 views

Id value is not valid for the Knowledge__kav standard controller

I've created a simple Visualfore page and a Apex class to process particular record of Knowledge__kav standard object. Visualforce Page: <apex:page standardController="Knowledge__kav" extensions=...
2
votes
1answer
704 views

Salesforce Lightning: How can i get session Id of current user in Salesforce lightning component?

I have a requirement to call REST API from Salesforce lightning component, for that i need to have session id of that user while requesting a REST service. But, in current version (Summer 18) of ...
0
votes
1answer
98 views

Finding Duplicates using Salesforce API from external tool

Could any one guide us the best approach to find the duplicates using with own filters not salesforce Duplicate Rules. We have pushing leads to Salesforce from external tool.We want restrict the ...
0
votes
0answers
19 views

Unable to pass SOQL response as a param to another same class method in APEX lightning

List<Liabilities__c> al=new List<Liabilities__c>(); al=[Select Liability_Balance__c,Liability_Months_Left__c from Liabilities__c Where Applicant__c=:borrower]; for(Liabilities__c ...
3
votes
1answer
103 views

Trigger on User when ContactID changes then update Contact.User__c

Want to write before an update Trigger, when User.ContactID changes from Null to not null or not null to another null then update the contact.User__C to user.id. I am not understanding how can I ...
0
votes
3answers
220 views

No such column 'ActivitySubtype' on sobject of type Task

I am new to salesforce development, I am trying to get the user information on entering the phone number from my contacts which is successfully done. I want to create a call log on getting the user ...
2
votes
1answer
147 views

Why am I not able to update account record using Name field?

As I have research we can update the record based on either External Id or Indexed field. Account object has Name field with an Indexed attribute. Id accountId = 'XXXXXXXXXXXXXXX'; // 15 Char ...
0
votes
0answers
66 views

Undelete a process builder

This is a generic question. `Is there any way to undelete a process builder. I have currently deleted all the versions. If it is not possible is there any salesforce document which states what ...
0
votes
0answers
31 views

Queue Members are not receiving Email Notifications

All of the leads from the website go into the Lead Queue which has the Send Email to Members checkbox marked as True, no emails are being sent to the recipients. I have recently added my email address ...
0
votes
1answer
51 views

How sales force developer console can consume API REQUEST?

I wonder how sales force developer console can consume API request. Let me explain in detail. There are no schedule classes in my org,nothing is scheduled. I checked System overview the API REQUESTS, ...
7
votes
3answers
314 views

Distance between Salesforce ID indicates activity of other tenants

Question Does the distance between two Salesforce IDs indicate how many records have been created by other orgs? Approach Assuming I create a scheduled job that creates an Account periodically. The ...
1
vote
0answers
73 views

How to create, package, and install Canvas application in Salesforce Lightning org?

I am creating a canvas application in Salesforce Lightning, in which I am using just a link of my website to show that website in canvas to have my website looks like working in Salesforce Lightning. ...
3
votes
4answers
601 views

Shared API User

We have a need to have external systems integrate into our SalesCloud. For that we will need to create a User for them that would be able to connect through API to insert, update, delete data. We do ...
0
votes
1answer
246 views

Delete last 10 days data Through batch class

How to delete last 10 days data using batch class I am Trying to using below code but data not deleted please check and give me suggestion to acheive this requirement. global class ExampleBatchClass ...
0
votes
1answer
18 views

Salesforce Formula field Syntax Error

Throws Error "Syntax Error." Object :- Opportunity Line Item Field1 :- UnitPrice Currency(16, 2) Field2 :- Cost_Price__c Currency(16, 2) Field3 :- Discount Percent(3, 2) Field4 :- Gross_Profit__c ...
-3
votes
1answer
51 views

i am getting Attempt to de-reference a null object in batch class but unable to trace where the error causing [closed]

i am getting Attempt to de-reference a null object in batch class but unable to trace where the error causing due to CUMULATIVE_LIMIT_USAGE_END in debug logs, Here i am getting all the logs, so i ...
0
votes
0answers
26 views

Changing Name field to something else on browser bar

I am working on an enhancement where the users want to see the name in a specific format. Since the standard name field in Salesforce support only Text and AutoNumber, I have created a custom formula ...
0
votes
1answer
100 views

Providing alias names to “related” table fields in Standard API using SOQL

When the below query is executed: {{SWM4_Profile}}/services/data/v41.0/query/?q=SELECT+id+,+SWM_Role__c+,+SWM_Contact__r.Name+,+SWM_Contact__r.Email+FROM+SWM_Contact_Role__c+where+SWM_Role__c=+'...
1
vote
1answer
57 views

Are salesforce record ids generated lexicographically ? [duplicate]

I am planning to store the records in a particular object in an HBase table. I want to know if a new record Id is created lexicographically.