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
13 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
13 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
32 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
14 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
31 views

Documenting Apex - Best Practices | Standards | Tools | What to Document? [closed]

I am looking for recommendations, best practices & tools around how to better document code ( or create library) & methods within Salesforce for > ~10 BN Enterprises. Any reference examples ...
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
17 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
7 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
12 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
29 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
35 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
52 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
22 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
12 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
17 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
43 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
35 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
30 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
33 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 ...
0
votes
0answers
9 views

Case object Access for other instance support people

my customer has acquired by some comp. they have two salesforce instances already. I would like provide my instance case object access to other instance support team. they should able to see and ...
1
vote
2answers
36 views

lightning data table column label is not printing Id is printing

I am trying to create a lightning data table which has hyperlink columns. when i try to add a reference field in column it just showing the id. component.set('v.columns', [ { label: '...
1
vote
0answers
26 views

How to get list of all sobject records modified today in the system? [duplicate]

I need a list of all sobject records that got modified today. this is not just for one object but for all objects in the system. Is there a simpler way to do this? Please reply.
1
vote
1answer
56 views

How to get list of all sobject records modified today in the system?

I need a list of all sobject records that got modified today. this is not just for one object but for all objects in the system. Is there a simpler way to do this?
1
vote
1answer
68 views

LWC function calls - Apex Method Imperatively

import { LightningElement, track, api} from 'lwc'; import saveRecord from '@salesforce/apex/Controller.saveRecord'; export default class CreateModel extends LightningElement { @track showModal=...
0
votes
1answer
59 views

Pre populate Lookup field - lightning component

I am creating a new lightning component to use as a new Factfind area. I have a lookup field on the backend that links to opportunity and I am displaying this using an lightning:inputField. However ...
0
votes
1answer
21 views

write an primitive testclass [duplicate]

I am new to apex, and I dont know how to correctly write a Testclass for my trigger. Trigger has to update field Time_Zone__c of object Task according to Time_Zone__c of object Contact, which is ...
0
votes
0answers
290 views

Send Email is disabled or activities are not allowed. Enable Send Email and allow activities, then try again

I'm getting the following error while deploying the case page layout to another org vi Copado. Deployment Error: [QuickAction Case.Custom_Email] Send Email is disabled or activities are not allowed. ...
0
votes
1answer
42 views

Extract Record data from the record Id

All, Quick question! A custom Order object and Order lines are generated via a trigger from the Opportunity and Opportunity Products. Opportunity and Order have lookup relations between each ...
2
votes
0answers
34 views

Must specify a {http://www.w3.org/2001/XMLSchema-instance}type attribute value for the {http://soap.sforce.com/2006/04/metadata}metadata element

I'm trying to update CustomField using Salesforce Metadata API version WSDL 39.0 and 46.0 When I try to update CustomField namely InlineHelpText it updates in Dev Org correctly without any exceptions. ...
0
votes
1answer
33 views

Assigning SOQL results to a set

I am trying to get Id list like this: Set<Id> idSet; idSet = [SELECT Id FROM Account LIMIT 1]; But getting this: Illegal assignment from List<Account> to Set<Id> I need to do ...
5
votes
2answers
271 views

How to choose using Collection<Id> rather than Collection<String>, or the opposite?

During a conference call with a collegue, I saw him using list of Strings while using Ids, referencing to a list of Ids ; I asked him why this choice, he answered 'Ids are strings so it's about the ...
0
votes
1answer
55 views

AMPscript WHILE loop to find highest level Salesforce parent account for record and add to data extension

I have a data extension of Salesforce Leads & Contacts that I want to enter into a journey. The data extension has the following fields. SubscriberKey (this is the 18-digit Salesforce Lead or ...
0
votes
0answers
15 views

not updated all opportunities with OpportunityTerritory2AssignmentFilter after enabling ETM

I have enabled the ETM in production and created opportunity assignment class which is provided by salesforce. When i click on Run opportunity filter button on territory model hierarchy,few records ...
0
votes
1answer
59 views

Is this workaround would be helpful while getting UNABLE_TO_LOCK_ROW salesforce?

I'm getting UNABLE_TO_LOCK_ROW excpetion and tried couple of solutions like "FOR Update" in SOQL. Changed normal upsert statement to database.upsert & tried to catch,save failed records using ...
-2
votes
1answer
33 views

Scenario System.calloutException You have uncommitted work pending. Please commit or rollback before calling out

Scenario is Call the web service and get the response Update one object with response details in future after that call the another call out using one of the response value And i am getting call ...
1
vote
2answers
78 views

Is there a way to tell what object an 18 digit ID refers to?

I have a huge list of 18 digit ids which either refer to a contact or an account. Is it possible to tell which is which without manually checking them all?
1
vote
1answer
21 views

Cannot update lookup reference by External Id, if current reference is not null

Scenario: Product__c product = [SELECT Id, ProcurementGroup__r.Number__c FROM Product__c LIMIT 1] product.ProcurementGroup__r = new ProcurementGroup__c(ExternalId__c = '123'); update product; I am ...
0
votes
0answers
17 views

Outlook For Salesforce Integration

I have connected outlook and salesforce through Outlook Integration(I have not used Lightning Sync). I want to access all the emails or name in my outlook's address book in my salesforce org. Is it ...
0
votes
0answers
17 views

18 character Salesforce ID in upper case returning zero records in SOQL query [duplicate]

I have an 18 character Salesforce ID: XXXXJ00000326hjQAA When it's used in an SOQL query: Id recordId = Id.valueOf('XXXXJ00000326hjQAA'); List<Opportunity> records = [SELECT ID FROM ...
0
votes
0answers
23 views

Unable to send file blobs to specific Salesforce Lightning folders for testing

I recently developed a script that could integrate with Salesforce and move documents via file blobs to individual Salesforce folders but with our organizations recent migration to Salesforce ...
0
votes
0answers
21 views

Translate picklist value into Arabic

we have a requirement in which we have to translate the multi picklist values into arabic. We are saving Multi pick list value as string in other field. We need to convert this string Arabic also. ...
0
votes
1answer
28 views

Retrieving packaged(Managed ) objects custom fields into Eclipse with Force.com IDE to deploy to another org

I added the following code in package.xml <types> <members>SCSCHAMPS__Job__c</members> <name>CustomObject</name> </types> But, After I am trying to deploy this ...
1
vote
2answers
65 views

Extracting data

I have a list of 5K id's for which I need data extracted from Salesforce. Is there any way I can feed this list into SF. The only tool my organization has is DataLoader & am not sure how to feed ...
0
votes
0answers
12 views

unable to fetch value from igGrid

Can anyone please help me in below JS code snippet, which is not rendering value from the record. i could be able to see the value for the first alert, but when it throws error while executing second ...
0
votes
1answer
47 views

SObject row was retrieved via SOQL without querying the requested field: s2cor__Sage_INV_Trade_Document_Type__c. s2cor__Use_Company_Shipping__c

I have a C# application that was meant to upload invoices to salesforce financials. All other functions of the application works fine except the uploading module. During the upload process, I have to ...
1
vote
0answers
50 views

SalesForce - The applicationId is not a valid UUID

I have implemented successfully the SF SDK (ver.6.2.2) on a native Android application and everything seems to be working until we decided to generate our release build. On the debug build we don't ...
-4
votes
1answer
48 views

How Get ID of the record from Map

I want to add Map id into Method Parameter And required only one I'd not Set Map<Id,fsCore__Transaction_Parameter_Field__c> obj =new Map<Id,fsCore__Transaction_Parameter_Field__c> ([...
0
votes
1answer
29 views

can we connect one pardot account with multiple salesforce instances?

As my client acquired by new customer,they looking for possibilities to connect one pardot account with multiple salesfroce instances. is this possible?
-1
votes
1answer
28 views

Publish App exchange application with Scanning [duplicate]

I have created a Lightning component And Add in App Exchange my partner community. So I have passed my component in a security review. Now I can use SOURCE SCANNER for Apex class and visual force ...
0
votes
0answers
26 views

Salesforce Reports & Dashboard Sharing

We have to give permission to user to Save report and Dashboards in a public Folder but users should not be allowed to Edit, Move or delete Reports/Dashboards which falls under that public folder. ...