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.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Fetch Record ID from batch job id

I have a job id for a batch apex class.I need to fetch the record ids from the job id.Is it possible to use an SOQL to fetch the record id for which the particular job id ran. I need help on the query ...
1
vote
1answer
22 views

Possible to create a lookup field on custom object that points to scheduled jobs table?

Wondering if this is possible since I couldn't find anything online. This would make it easier to click and see history for the job.
0
votes
1answer
14 views

How to retrieve custom field 3 levels deep from custom metadata

I retrieve a field 3 levels deep which is working currently. The field which I currenly retrieve is going to become a dynamic field retrieved from custom metadata. How do I cast this to an id? I ...
0
votes
1answer
25 views

Data Loader Org to Org. Connecting mass children to parent Accounts?

Data Loader > Org to Org > How to connect mass children to their parent Accounts? Ok so I Inserted the parents. 1000+ I have a field where the old Account ID's are stored on the new Org. Now I have ...
0
votes
1answer
32 views

Which ID do I need to use as Subscriber Key in Marketing Cloud to keep in sync with Service/Sales Cloud?

I'm currently about to start an IP warm-up for Marketing Cloud and I have done the following: Imported my warm-up dataset to Service Cloud (to obtain Contact ID) Exported the dataset from Service ...
0
votes
0answers
32 views

Restrict SSO to specific users [duplicate]

I've implemented SSO with Salesforce using ADFS. Currently all users can login to Salesforce via SSO. I'd like to limit SSO to a subset of users based on user groups defined in AD. How can this be ...
3
votes
3answers
68 views

Uncaught ReferenceError: Record ID (X) is not defined in VisualForce Page (RemoteAction)

I'm currently finishing an Apex controller which gathers data for a Google chart displayed on a Visual Force Page. The standard Query without the WHERE clause is just working fine for all the data ...
0
votes
0answers
22 views

Not able to view the case attachment(PDF) from Lightning component

I am facing one issue related Case attachments(PDF).Actually not able to find what is the problem. Description:- We have one standalone application, one custom object(like Case) where we are saving ...
0
votes
0answers
18 views

Page rendrering with lightning component and flow

Iv'e built lightning component which calls a screen flow and put this component on my record page. Everything works as expected, but there's an issue - when i'm clicking 'Next' (on the screen flow), ...
0
votes
1answer
22 views

Dataloader Across Org's = How to match Contacts to their Accounts?

If I move an Account from Production to Sandbox, then when it's time to move the Contacts from Production to Sandbox, then in Excel, in the Contact CSV, I just update the AccountID Cell with the new ...
0
votes
1answer
45 views

How to overwrite Field name in LWC

How to overwrite the Field name in LWC. For Example : in the below screen show i have field called Family Name in UI, I have to overwrite the field to NAME I tried to add this code in JS { fieldAPI: ...
0
votes
1answer
154 views

How to pass the record id to controller method from LWC

I'm new to Salesforce. How to pass recordId to Apex Method from LWC. I tried no luck. Please help on this. .js import { LightningElement, api, track, wire } from 'lwc'; import { ShowToastEvent } ...
1
vote
1answer
36 views

How to get id from concatenation of string in loop

I am looping trough some records and want to get the related id. This works fine as invoice.BillingAccount__r.BillToId__c. In my case BillToId__c is a field that I get from a custom metadata setting. ...
0
votes
2answers
46 views

My Apex controller value is not showing on my Lightning component [closed]

I am new to Lightning. I am trying to build a lightning component which would display the weather report. I am able to get the values in my debug log from my apex class. However, the same values are ...
0
votes
1answer
27 views

How to place “view online link” for salesforce HTML email templates?

I have created an HTML email template in salesforce, now I want to place a link to view the mailer in the browser. As we place in the marketing cloud, I want to do the same in salesforce. Is there any ...
0
votes
1answer
20 views

Custom Object ID into a field?

I'm new to using Salesforce, but I need the ID of my custom object e.g. a054J0000057Ps8QAE to show in a Custom Field, is this possible? I'm guessing there's maybe a formal I need to add in the ...
4
votes
1answer
221 views

LWC recordId showing as undefined in Spring '20

This past weekend, our org was updated to Spring '20 and since our use of recordId and the getRecord method broke. The recordId is undefined when the getRecord method is wired and won't run again even ...
0
votes
0answers
33 views

“Schedule Id” field missing in “Opportunities with Products and Schedules” standard report type

I am looking for Schedule Id field to use in reporting. Whilst the report type contains other fields of Schedule object available to use, Schedule Id field is not there. I know that Schedule Id field ...
1
vote
0answers
141 views

Dynamically assign sObject field details in LWC

I have created a inline editable LWC. This solution is dynamic i.e. to add a new field on the table , i just have to add on field set and based upon field type and access, it will be displayed in the ...
0
votes
1answer
44 views

How to get record from id map

I have a before trigger to compare dates on entry. I want to get a recond based on an id from a map, How do I achieve this. Below is my example with my question on line AAddress__c dummy = ...
1
vote
3answers
599 views

Is There a Way to Know if an Id Exists Without Querying?

Is there a way to know if an Object ID exists in a sandbox without querying for it? Sometimes we store ID's in Metadata/Custom Settings and I'm curious if there is a way to know if the ID exists ...
1
vote
2answers
187 views

Convert base 64 to pdf and display it as PDF. Not required to save the pdf in salesforce, Directly display

When user clicks on a quick action, a soap webservice callout is made and in response we get base 64. I need to convert this base64 into PDF and display it online. I dont want to save the pdf document ...
0
votes
1answer
129 views

First exception on row 0; first error: INVALID_ID_FIELD, Invalid entity type for whatId

Getting Following error in the below code 23:27:13:030 FATAL_ERROR System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_ID_FIELD, Invalid entity type for whatId.: [...
0
votes
0answers
23 views

Pardot: Prospect activity tracking inside the salesforce

I am trying to get Pardot prospect activity into the salesforce system under a contact/Lead custom chile object. For example if any prospect open an email then that activity comes under Lead/Contact ...
0
votes
0answers
35 views

Parse Outgoing Emails (through Salesforce email composer) to change body's font style and embed a Signature

I would like to know if accessing outgoing emails before they go out of the system is possible. We want to get rid of default Salesforce signature and embed one of our own in all the outgoing emails. ...
0
votes
1answer
127 views

I'm Using lwc component at case record page to perform action on record and once user clicks on submit, it should reload the record page

The below code is working in standard app but not in salesforce console.I wrapped the LWC component into aura , but still it is not working /* eslint-disable no-console */ import { ...
0
votes
0answers
10 views

Unable to get Flow Formula References In Salesforce

Trying to replicate Condition 1 in by adding new condition but couldn't see any reference after myVariable.Current.CreatedyBy.
0
votes
0answers
33 views

Issue with User Credentials in Sandbox

Have you seen this issue before ? Create a User. Receives an email for SSO Login. Ignores the email. Resets Password for the User, Sets password. Open any other browser, puts username password, ...
0
votes
1answer
66 views

Get dynamic file name in CLI dataloader (import)

How to get dynamic file name with name example "NameFileFormatYYYYMMDD.csv"? My code looks like this <bean id="accountInsert" class="com.salesforce.dataloader.process.ProcessRunner" ...
0
votes
0answers
13 views

Auto Number Field Customization

I have a requirement of Creating an the Invoice Name in Formato of XYZ/0000/19-20. Now in this (000) is the auto number type which will be incremented for every invoice and (19-20) represents the ...
-4
votes
1answer
41 views

how do i use addDays() for opportunity closedate in apex

opportunity healthopp = new opportunity() healthopp.closedate=system.today()+1; . . but i need to use addDays(1) instead of system.today()+1 how can i use this?
0
votes
0answers
23 views

How to fetch whatId label in salesforce formula field [duplicate]

I have requirement where in WhatId should be able to display parent name(label) in formula field, i have tried using what.Name in formula field but it displays an error. The below code fetches the 15 ...
0
votes
0answers
19 views

IS there any way to update a record in salesforce using PATCH Method Rest Call

IS there any way to update a record in salesforce using PATCH Method Rest Call. Can someone help me how PATCH Method can be used in INBOUND REST API
0
votes
0answers
23 views

Salesforce Lightning - Actions/RETURL

We have alot of returl usage in buttons on related lists that default values when creating child records. I understand that in Lightning they are removing this function. I also Understand that you ...
-1
votes
1answer
37 views

How to find all the related Child Objects metadata - standard and custom [closed]

How to find all the related Child Objects metadata - standard and custom except system objects like AttachedDocumentLink, ProcessInstance etc. Below is my requirement On a custom VF page, user ...
0
votes
0answers
28 views

Session expired or invalid in salesforce scim implementation

Invoking the URL GET https://salesforce_org_url/services/scim/v2/Users Header Authorization:Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxx Expected Response Salesforce user details Actual Response Could not ...
0
votes
0answers
15 views

Product info with Quotes PDF

Hi i have task to create Quote email and PDF, there are few product info pdf documents, i need to merge the quote line info with existing product info pdf document or more than one pdf document. Any ...
0
votes
1answer
45 views

Hyperlink Function in Formula Field to pass parameter Values

I'm trying to pass a couple of parameters to the external website through formula field. Formula Field: IF( CONTAINS( $Profile.Name, "System Administrator" ), HYPERLINK( "...
0
votes
0answers
14 views

How to delete process instances of approval process in salesforce?

when record is submitted through approval process and in approval history there are two items one is submitted another one is approved. Now i would like to delete these two times. kindly suggest. We ...
0
votes
0answers
14 views

Migrating Quote object data between 2 SaleForce Orgs. AccountID giving error

I am attempting to migrate data (many objects) to a new SF org. I am using SQLServer as a staging area to map IDs and Talend as my ETL tool. When migrating the Quote object, I am getting an error ...
0
votes
1answer
49 views

Error While updating the Owner of the Case to queue Id

Hi I am having the scenario where i need to update the owner of the case to a particular queue. but i am getting the error as below : System.DmlException: Update failed. First exception on row 0 ...
4
votes
1answer
43 views

What is the best value to use for an Id of a specific SObjectType that matches no records?

With reference to the very informative What are Salesforce ID's composed of?, I am wondering what the best value to use for an Id of a specific SObjectType that matches nothing is. If I ...
-2
votes
1answer
55 views

data-index not working, How to delete child records in lookup relation custom object?

in another project is working with the same structure, but not with this one. I can't see the error. thanks for helpme I can't delete the product, I want to get the ID by "data index" and delete the ...
0
votes
1answer
28 views

Auto populate fields from Case Objects to Servicenow fields using custom detail page button

I have a requirement wherein I have to create a custom button, upon clicking it few fields in case should be directly populated in servicenow. So, there are 2 user fieds (Requested For & Salesrep),...
0
votes
0answers
22 views

How to differentiate when user clicked on New or Save & New button in salesforce Lightning controller?

I have overridden the standard new button using lightning component. In spite of this, when user is clicking on Save & New button on the edit screen, it is navigating the lightning component. I ...
0
votes
1answer
127 views

compositeRequest Invalid reference specified. No value

I'm trying to execute the following compositeRequest but I'm getting the error. { "allOrNone": true, "compositeRequest": [ { "method": "GET", "url": "/services/data/v46.0/query/?...
1
vote
0answers
108 views

Marketing Cloud, GDPR & Salesforce Individual Record

I'm planning a Salesforce & MC implementation and the client would like to include GDPR compliance. We will be building a custom subscription centre (possibly using Formstack as I think I prefer ...
0
votes
1answer
46 views

Value of the Multiple child record of One Parent on the VF page:

I have completed around 100% of the requirement , only part i am struggling to show the correct value of the two boolean field against there Parent For ex : Parent A : Child 1: (Field -- ...
1
vote
0answers
35 views

Pass values of javascript variable to APEX controller

VF Page: <apex:form id="fm"> <apex:actionFunction name="searchbox" action="{!searchbox}" rerender="pb"> <apex:param name="x" value="" assignTo="{!IsEmailValue}" /> ...
0
votes
1answer
34 views

How do we capture the instance number from the URL

My problem is the following. We have a server migration soon and we have hardcoded the instance number in our email templates that point out to our Production environment (in this case NA44). So in ...

1
2 3 4 5
12