A Salesforce ID is the primary key field for any object. It is considered a primitive type in Salesforce and as such can have an sObject cast to a type of Id.

learn more… | top users | synonyms

0
votes
1answer
41 views

Error “ Invalid Type : sobject 'Custom_Object' is not supported ” when trying to create using API

We are working on using SOAP API of Salesforce to create some custom object records. It is working fine in our Developer and Test envournment. However, as soon as we deploy this on production we get ...
-3
votes
1answer
29 views

How to display object ID on standard page without any use of custom development

I have a requirement in which I need to display ID on standard page textbox without using formula field, So please some one help me out so that I can achieve that. Is there any way that I can set it's ...
1
vote
1answer
30 views

how to remove members of a list from a set

I have a Set made up of group members - but it includes members who are managers of group members. I thought I could iterate over the set and for each member of the group query the user object ...
1
vote
0answers
24 views

Manipulate Dynamically Generated Elements in Lightning

The below code dynamically generates <td> and <ui:inputText>. I want to access the <ui:inputText> and change its value in the helper. How can I achieve that? <aura:iteration ...
1
vote
1answer
29 views

Issue in identifying objects in salesforce application functional flows

Currently I am doing a POC on salesforce automation using Serenity BDD framework with Selenium Webdriver. While automating ,the objects inside a iFrame is not working to complete end-end flow. I am ...
0
votes
0answers
26 views

Issue with Custom settings space

My sandbox says the below message when i open custom settings. "You are currently using 0 MB of custom settings data in your organization, out of an allowed limit of 0 MB". And I cannot save any ...
0
votes
0answers
15 views

Customize Contact to Case association in Email-to-Case functionality

In Email-to-Case functionality Contacts are automatically associated with Cases if matched email address is found in a Contact record. I want this functionality to be customized, so that if Contact's ...
12
votes
2answers
82 views

Any documentation or insight on the “empty id string”?

This answer (from Nathan Pike a Salesforce developer) mentions the idea of an "empty id string" that can be appended to the 3 digit key prefix. I've wanted an ID that matches nothing but is ...
0
votes
1answer
18 views

calling generic method into other method [closed]

I have written two generic methods for custom approval process now i want call two generic methods into normal methods here is my code and i am facing problem when passing Approve or Reject values ...
2
votes
1answer
61 views

How to use set<ID> in where clause for text field - no results found

I am Using a simple Soql Query Like below: Set<Id> Testset = new Set<Id>(); List <BR_Channel__c> channel = [select id, BR_District__c from BR_Channel__c ...
-1
votes
2answers
35 views

get the value of a field in the pageblocktable

I called the value of the field with this code <apex:column headerValue="Teacher" id="tname" value=" {!schedule.tlname}, {!schedule.tfname}" /> now how can I get the value of ...
2
votes
1answer
41 views

invalid ID error using SOQL to get field from related record

I am getting an invalid ID error in my VF page on the below code and I don't understand what I am missing. In my controller's constructor I am running the below code: ...
0
votes
1answer
45 views

my query not working?

I am querying the products from a particular price book as below.i want to select product code, product name, product family and list price.To show all these columns in my table. (Select ...
0
votes
1answer
12 views

How to assign select option values to picklist field

I want to assign selectOption values to picklist field. like: public String[] selectOptions{get;set;} Object obj = new Object(picklistfield = selectOptions); can I do like this? Thanks
0
votes
0answers
21 views

History tracking for more than 20 fields [duplicate]

How can i track history for more than 20 fields for a custom object? Are there any ways to achieve it? Please suggest some good options to track the changes for more than 20 fields.
3
votes
0answers
54 views

Re-parenting Master-Detail relationship in managed package

I have installed a managed package in my org and unfortunately one of its master detail field(of one object created by managed package) is not allowed for re-parenting. i.e., "Allow reparenting" ...
2
votes
1answer
36 views

Assistance with a query

One of my query is failing and giving Apex CPU time limit exceeded The field we are using in custom formula in Contact created to retrieve the domain from the standard Email field to possibly reduce ...
2
votes
1answer
35 views

Non editable field permission setting

How to set this type of field(e.g. Account number) permission where permissions(Visible and Read-Only) are non-editable(greyed out) using any profile?
0
votes
0answers
60 views

Download an Attachment in VF page, Chrome issue

I have created a VF page which displays the attachments of a case. I have added the below piece of code to view or download a file. <a href="/servlet/servlet.FileDownload?file={!attachment.id}" ...
2
votes
2answers
80 views

Need help with Salesforce Process Builder

I want to add lead in the campaigns automatically based on lead source. For that I am using process builder and object I am choosing is Lead source = web and the Immediate action I am choosing is ...
2
votes
1answer
28 views

Not able to query RoleInTerritory2 field from UserTerritory2Association in Apex class

I want to query the RoleInTerritory2 field from UserTerritory2Association sObject. I am logged in as System Admin profile but still not able to query this field. Starnge thing here is that I am able ...
0
votes
0answers
23 views

Getting first and last created SObject id after instance split

Production org recently went through instance split. Before instance split I was able to find out first id created for any sobject and last id created for any sobject by simply making a query(Created ...
0
votes
1answer
34 views

Need Help in Making Dynamic Sooql using Like Operator

I am trying to create Dynamic Soql Query using Like Operator given as below: String tempInput ='\'%' + inputValue2 + '%\''; soqlRAD2 = soqlRAD2 + ' and ...
0
votes
0answers
117 views

excel not downloading in safari browser and IE

I am downloading data from a visualforce page excel ,it's working in chrome and firefox and not working in safari and IE Any suggestions would be helpfull code snipett <apex:page ...
0
votes
1answer
83 views

Downloading from visualforce page to excel?

Hi i have page which contains the contacts information ,these information is displaying in pageblock .This data is exported to excel when i click export button ,the data is exporting but the issue is ...
0
votes
0answers
43 views

Remote Action not working in safari browser?

I have remote Action in javascript which is working in all browsers but not in safari browser. Here is the code snippet below . i have table with delete action,when i click the delete link ,it will ...
1
vote
0answers
33 views

APEX , sobject based on multiple IDs

There are 4 custom objects (starting with CO_) in the below for loop which are all inter connected and this code is working as expected. prodId is the Salesforce ID of CO_Product__c which is passed as ...
0
votes
0answers
25 views

Records Using External Id for SF Dataloader

SF: Professional Packages: Workflow/API Hello everybody, We want to treat an External ID from our ERP like an Salesforce ID to Modify an Record according to this external one over the Salesforce ...
0
votes
1answer
19 views

Accesing Opportunity Object ID

I am trying to access the object id of Opportunity. Is there a way I can do this from within a Visualforce page? Just to be clear I am looking for the id of the actual object not the ids of it's ...
0
votes
0answers
16 views

How can I find the Id of and object in Pardot?

I am specifically looking for the Campaign Id and Email Template Id of specific objects, but cannot find documentation on this anywhere.
0
votes
1answer
41 views

Solution Object Record type setting not working

We have a requirement to create different record types under Solution object and give access to specific profile to those record type. Setting as of now : Profile A - Object access (RCE) , Record ...
0
votes
3answers
63 views

Current data storage usage issue.

I have an old salesforce org that I have kept alive with one license remaining. I have deleted all further data except Account , Contacts, Opportunity. After Deletion of the data I calculate Current ...
2
votes
1answer
50 views

Query REST API for type given ID

I have a Salesforce ID given client side. I'd like to retrieve the object's information, but I don't know what type it will be. How can I query the REST API for the object's type given the ID?
0
votes
1answer
25 views

Data Overage in Old Salesforce Org

I have an old salesforce org that I have kept alive with one license remaining. The org was previously used for an inventory system and has a lot of data storage taken up. This has caused some red ...
8
votes
1answer
864 views

How to get an 18 digit ID from 15 digit ID using SOQL

I have a 15 digit Sfdc ID, but I do not know which object it belongs to. How can I find out which objects it belongs to and the convert it to 18 digits - all using SOQL? P.S. I was annoyed at ...
0
votes
1answer
110 views

additional last 3 digits of Id obtained from SOQL query

This is a follow up from my last request - use custom settings for setting Status field of different Case Record Type Use case - I have a piece of code, which will look at record type of current ...
1
vote
1answer
25 views

Related to feed Items

Here I am uploading data From Audit trail to Feed Items through a trigger ,but during inserting records in Feed Items Trigger Throwing error like "Entity is not api accessible" this,can anyone give ...
1
vote
1answer
68 views

Need to write Test method for Pagerefernce returing method

I am trying to write a test for the given Main method which is returning simple PageReference.. Public PageReference CancelProcess(){ PageReference pg=New ...
-1
votes
1answer
80 views

Need to write Test Class…for get Methd

I am at beginning level in salesforce.. I need to write test class for a class in which i have confused how to go with get method code coverage..Can anybody help.. Please see my class method as ...
0
votes
1answer
46 views

Need Urgent help in Creating in calling Standard Approve/Reject approval link page into Custom Link

I am trying to call Standard Approval "Approve/Reject" page in Order Object related list through Custom outputLink in VF page. Here in the URL i am trying to create: <apex:outputLink value="+ ...
1
vote
1answer
44 views

related to site and visualforcepages

Hi is it possible to get images from go daddy to visual force pages.if it possible can you explain clearly how the process is.
0
votes
1answer
21 views

What should i do to create Detail object the same time as master object [duplicate]

//my apex page I need to create Estimates__c object and Estimates_line__c object the same time.And my Estimate_line__c object is a detail class of master-detail ...
0
votes
1answer
461 views

How to avoid duplicate Records in Sobject list during Bulk Insert in After Insert Trigger

I have a after insert trigger on Account which inserts another object (Places) after checking Account Shipping fields with address fields of existing Places records. If nothing is found it inserts new ...
1
vote
1answer
94 views

How to get Contact Id provided an email address

I would like to perform some operations on Contact using the corresponding REST api. So, I need the contact Id. However, I would like to retrieve the contact id from the given email address. Is it ...
0
votes
0answers
67 views

Consume Salesforce Analytics Cloud External Data Rest API using Ruby on Rails

I am new to Ruby on rails and Salesforce. I want to upload some external data to Salesforce Analytics Cloud, but I do not have any information about their respective api's. The only information ...
2
votes
1answer
152 views

making visual force page public-> not working (authorization error)

I have 2 visualforce pages : refugee_main_tfi refugee_dash_tfi To make them available to public ( without salesforce login ) I have created a site and added these pages through "Enable ...
3
votes
0answers
136 views

From Salesforce how to invoke ext webservice using SAML assertion?

We have salesforce connected to SAML SSO(OKTA) and OKTA is IDP for salesforce. We have a Java legacy system which provides a Web service and it is also part of SSO. Legacy application expects SAML ...
2
votes
2answers
55 views

Does salesforce assign Ids of deleted Records to new records?

For ex: If I create a new Account, does salesforce algorithm always generate a new record Id or it looks for any of the old deleted record and assigns that Id?
4
votes
1answer
63 views

Formula Field Changing the Date to Today

I have made a formula field to populate the date to today when a checked box is true and get locked its changing everytime its edited and saved. Like if the checkbox was true on 8/7/2015 It changes ...
2
votes
3answers
182 views

Entity Id Across Multiple Orgs

I have created a package and in it I have two custom objects foo__c and bar__c. My question is can I assume that their entity id (the first 3 digits of their id) is the same across all of the Orgs ...