Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
1answer
16 views

Unable to update existing(Or) related leads while lead convertion

Currently, I'm working on the parent-child relationship on the lead object. So, we are restricting users to convert only master lead & then top 20 related leads will be converting as contacts to ...
0
votes
0answers
18 views

How to integrate Footable responsive table in salesforce?

I am a ux-ui designer I have table data with multiple columns. Now I have to give a responsive view of the same table. As I searched and referred some libraries in which I found footable plugin which ...
0
votes
1answer
27 views

Is there any performance benefit of using Id field in Map instead of String in Apex Code

In my apex code I need to change data type of one variable from Map<Id, List<CustomObject1>> to Map<String, List<CustomObject1>>. This change is required to full fill one ...
0
votes
1answer
27 views

Preventing Duplicate Records to save in apex

I have created a lightning component that accepts input from user and saves the data to the custom object. Now i want to check duplication of the record based on two fields. Let suppose Name and Date, ...
0
votes
0answers
12 views

How to fetch “bulk data loads” from salesforce using python and store it in postgres table?

How to fetch the number of record processed and number of record failed in salesforce using python. After a Bulk API upsert, how can i inspect the batch to find the count of record I am using the ...
0
votes
0answers
25 views

How to get all record Ids of the View that is currently opened by clicking a button

How to get all record Ids of the View that is currently opened by clicking a button. (I have used {!GETRECORDIDS($ObjectType.obj__c)} but for this we have to select the records, I want to get Ids ...
0
votes
0answers
16 views

URL for creating new listview of any object salesforce classic

URL to create new listview in Salesforce classic. https://naXX.salesforce.com/ui/list/FilterEditPage?ftype=c For contact ftype = "c", Account: ftype="a" and Case: ftype="t". How to get ftype value ...
2
votes
1answer
35 views

Invalid Message Id Reference - In-Reply-To Header is Not Valid

I am designing a custom mail application with Visualforce and Apex in salesforce and I'm running into some issues maintaining threads and setting reply to ids. To establish which emails are a ...
0
votes
0answers
4 views

Template for Bilingual File Import

I am tryng to translate the language of the org according to the orgs locale. I need the template of the stf bilingual file that i can refer to prepare the sheet to import to the translation workbench....
0
votes
1answer
20 views

Connect SFDC with Other App, and this App with SFDC

I need send information to other aplication, and this application will send me the result. In my case, we have a community with opportunitys. When the Opp is closed, user can click on a button that it ...
0
votes
1answer
34 views

How to check in a map if specific value exist under multiple keys in Apex Map?

I have a Map of Permission set and the business Unit like below, the map is being generated from a custom setting Map<string, Allow_disposition__c> adobj = new Map<string, ...
0
votes
1answer
16 views

Get container name from current running app page

I am beginner in salesforce integration. I want to know that how can i get the name of container in which my salesforce application is running? For example, If my page in injected in Opportunity then ...
0
votes
0answers
17 views

Product price book bulk activate

How to update new price to the price books.
0
votes
1answer
35 views

How do I reference a Contact's Salesforce ID using AMPscript in an SMS message?

We are running a series of SMS messages from a journey starting with an outbound message then a series of response messages using the next keyword. I have a Data Extension that triggers the journey ...
0
votes
4answers
34 views

Using an Id in an Apex SOQL query - need formatting/typing help

I'm not able to get past what looks like a simple query in Apex and SOQL. I'm trying to query on an Id and I've tried many things. The query is built up dynamically using strings and the final part in ...
0
votes
1answer
19 views

Setting Different Permission For Record Owners

I am bit confusing on security part of salesforce. I have a situation where certain fields of an object X has to be disabled for a profile P. But the users in the same profile P, if they are the ...
1
vote
0answers
27 views

what happens behind the scenes of salesforce Asynchronous Apex?

Asynchronous apex will follow some kind of threading mechanism in behind the scene like Java or exactly how it will work. Your explanation would be great help for me.
0
votes
1answer
39 views

Account Owner name and Email id not Fetching the value in SOQL Query

Here is my code: SELECT u.Contact.AccountId, u.Contact.Account.Owner.Name, u.Contact.Account.Owner.Email FROM User u WHERE u.id= :UserInfo.getUserId() LIMIT 1
0
votes
0answers
35 views

Getting case sensitive 15 char id from insensitive 18 char id [duplicate]

We have a system that automatically uppercase's all characters in the salesforce 18 character ID, so for example 0060H00000mbAZlQAM versus 0060H00000MBAZLQAM. Salesforce does not accept the latter as ...
0
votes
0answers
26 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
25 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
48 views

Is there a way to insert data with specific IDs?

I'm not sure if I'm explaining this correctly but I'll give it a shot. I'm trying to use Data Loader to insert CSVs of data into a Partial Pro sandbox, but I want these inserted records to use the ...
0
votes
2answers
63 views

Email Marketing: sending ID in email

This is a 'best practice' question: Should we be sending a Salesforce GUID in an email? We have a button in an email to ask them for consent (to a thing). That button links to a VF Page or a ...
0
votes
1answer
20 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 ...
1
vote
1answer
96 views

Upsert by External Id - Different recordTypes

I have an External Id on Account object. Is there a way to make an upsert when 2 records or more have the same external Id BUT they have different record type? When I make the upsert I get the ...
2
votes
1answer
79 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
549 views

document.getElementById(“myId”) vs component.find(“myId”).getElement();

What is better to use document.getElementById("myId") or component.find("myId").getElement(); in terms of performance? What will be faster?
1
vote
1answer
25 views

Retrieve Ids of different SObjects using SOSL

I have the following apex: Schema.SObjectField field = doesNotMatter(); String fieldName = field+''; //fieldName now holds "NameOfTheField" Schema.DescribeFieldResult fieldResult = field.getDescribe()...
1
vote
1answer
35 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
34 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
46 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
180 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
30 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
61 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
45 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
3answers
51 views

Retrieve object type via id using apex

I am new to Salesforce and trying to figure out the object type using the ID which I see in the URL on the Salesforce page. I found many places describing how to do this with the Apex language, such ...
0
votes
1answer
22 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 ...
1
vote
1answer
58 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. ...
1
vote
1answer
77 views

Find out org id

What are the ways to find out my org id? Here is a way I found. Log In to the Salesforce Help and Training Portal. Scroll to the Support & Services tile and view your Organization ID. ...
3
votes
0answers
120 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
1answer
1k views

how to get id from url in lightning component?

Hello! I just want to get an Id through a current page URL in lightning component... How to get this id from the component side? should this work on Aapexpages.currentPage().getParameters().get('Id')...
0
votes
3answers
25 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
27 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
145 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 ...
0
votes
2answers
213 views

How to convert a 15 char Id in Lightning ($SObjectType.CurrentUser.Id)

I'm using $SObjectType.CurrentUser.Id to find out if the current User is the owner of the current record. The issue here is that the method is providing a 15 char user Id. <aura:if isTrue="{!v....
-1
votes
1answer
188 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
351 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
21 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('...
1
vote
2answers
32 views

Test & datas - An issue with IDs

I'm working with class tests, I'm trying to use best practises so I got : - one class I want to test - one class for testing I got a problem when inserting my datas : @testSetup creates Accounts, and ...
-1
votes
0answers
65 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 ...