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
35 views

Return Account ID Second Object

I'm still very new to Apex. What is the best way to return Account ID to my Object2__c? I have two Objects, Object2__c and Account object. These objects have a 1:1 relationship. What I'm trying to ...
1
vote
1answer
31 views

How to show Salesforce login screen in existing iOS application

I need to integrate Salesforce iOS native library in my iOS native application and I have to show salesforce login screen and flow as mentioned below: 1) I have a HOME screen in my iOS native ...
0
votes
0answers
11 views

How to integrate Salesforce on my iOS Native app?

I need to integrate Salesforce library/framework in my iOS Native app. The flow is very simple as follows: I have a HOME screen in my application and from there I have to show their (Salesforce) ...
1
vote
1answer
13 views

Reset the answers in the flow

My sample flow is as below: So basically i am reiterating the flow, if the user clicks on "Yes, I want to create another opportunity". While re-iterating, the previously selected answers are by ...
-1
votes
0answers
26 views

Apex Trigger for deleting the records in related list after status is failed

I have two objects software update and software request which have a lookup relationship when software update is set to completed the software request which are set to be failed should be removed ...
1
vote
2answers
29 views

Will Sharing a Account also share its contacts?

My org wide setting for Account is private and for contact is controlled by parent. Also, there is a account sharing rule in place which gives Read/Write access for accounts to users of specific ...
0
votes
0answers
37 views

Creating a visualforce page for data entry into multiple records to track survey data?

I have a Campaign object that I renamed to "Outreach Programs" and it has a related list from one of it's child objects called"Survey Questions". In the "Survey Questions" after an outreach program is ...
1
vote
2answers
20 views

How do I create a report that shows a graph of leads by inventory size?

How do I create a report that shows a graph of leads by inventory size? I would like to know how many leads we have with an inventory of 1, 2, 3 etc or how many leads with inv. size between 1-10, ...
0
votes
2answers
51 views

How to create/view/delete a record in the custom object from salesforce UI

When the Custom Object doesn't have tab and any relationships then how can i possible to create/view/delete a record in the custom object from salesforce UI... Custom Object contains only Text ...
2
votes
3answers
82 views

How to reference a Document's record so that it works on other platforms after packaging?

I've a Formula fields referencing some images stored as document records, in this way: IF(AND(ISPICKVAL(Status__c, "Pendente"), Data_di_Scadenza__c< Today()), ...
0
votes
1answer
20 views

Joined Report Chart Not Available to Put on Page Layout

I have a joined report between cases & jobs (custom object) and cases & sales order (custom object) summarized on Case ID, and when I edit the Page Layout, I see other report charts but not ...
0
votes
1answer
31 views

Create new Event using the iOS API

I am new to SalesForce and the iOS API, but not new to IOS. Does anyone know how I can create a new Event in SalesForce using the iOS API?
0
votes
0answers
15 views

We are having an Integrated process where we use Salesforce API merge operation

This Process will send requests to Salesforce for merging the records using API calls. When tested in a test environment we were getting the result as expected, records which a sent in request are ...
1
vote
0answers
44 views

Exact Target - Individual Email Result object - linking Lookup field to IER records in Salesforce

Apparently Exact Target "uses" Stack Exchange for support issues. More specifically, they have no developer support, and their API is "as-is", and either way I believe I have this isolated to a ...
1
vote
1answer
120 views

Is there anyway to check if an access token is valid or not?

I got an access token from Salesforce and now I want to check if it's valid or not. How can I do this? Updated question. I have a client application and a server. The client requests an access token ...
0
votes
0answers
60 views

Oauth WARN [HttpMethodDirector] Unable to respond to any of these challenges: {token=Token}

I'm just a beginner with Salesforce Oauth. When I try to get the access token with username/password flow everything seem good. This is out put: > Status-Code: 200 Auth response: { "id": ...
0
votes
1answer
57 views

Get SFDC sessionID via access token

As the title. I'm using username/password flow to request an access token. So how can I request a SFDC sessionID from that token?
2
votes
1answer
205 views

How to generate the unique number for a record

I have to generate a Unique number for every record in a object.I can't use the Auto-number and SFDC ID of the record. It's a kind of External ID that external System can use to identify the ...
0
votes
2answers
54 views

Question on trigger to roll up on formula field on detail object

Consider me a beginner in Apex and Programming in general, so i am sorry for what may be a fundamentally dumb question. I am writing a trigger to roll up a formula field, Elapsed_Time_days__c, in a ...
0
votes
0answers
27 views

Salesforce Package Upgrade for Profile permissions

I have a managed package in which I have a custom profile with some pre defined permissions. Now I have created a new release of my package where I have included a new Custom profile. What happens is ...
2
votes
1answer
103 views

Update Salesforce data using Apps Script

[{"message":"The Id field should not be specified in the sobject data.","errorCode":"INVALID_FIELD"}] That's the error message. Any other way to do it? My Code: function update() { var ss = ...
1
vote
1answer
87 views

Is there any reason to log old IDs?

Recently did an org-to-org migration where the first org's ord-id and other IDs will never be used again; went from one trial, to another trial; second trial was converted to a non-trial account. Is ...
1
vote
3answers
1k views

Autopopulate Lookup Field with Account ID using an Apex Trigger

We have a custom object called Internal_Submission__c with a lookup field called Company__c, I need to have this lookup field autopopulate via an an Apex trigger which would take the AccountID from ...
3
votes
1answer
99 views

Issues with a Query within the main Query using DatabaseDotcom Ruby gem

I'm having a issue with pulling the data out of what would be a array of object data in my SFDC query. Im using the databasedotcom gem. Code def self.data_query #@client is defined at a class ...
2
votes
2answers
1k views

Salesforce1 Navigation with Apex

I'm currently working on the navigation between two custom Visualforce Pages inside the Salesforce1 Mobile App. I'm prefer to do the navigation via Apex PageReference. public static void navigate { ...
1
vote
1answer
269 views

Matrix Report showing a row with Blank value

I have matrix report where in I have only two rows, One with filter value 'Yes' and other is '-', I am trying to filter the report only with 'Yes' value, but this is not working. Also when I select ...
1
vote
1answer
47 views

Chatter Email notification under one name

Is it possible to receive email notifications in chatter under one common name? Currently we have a chatter group with 10 members in it. We want that whoever posts in it, the email notification that ...
7
votes
3answers
283 views

Is there a way to change a Salesforce ID?

Salesforce generates and manages the 15-18 character Salesforce IDs for objects in their system. We are getting a super weird error where our system can't handle an ID coming in from a customers ...
8
votes
2answers
1k views

How to pass a variable to the SOQL where clause?

I am using Salesforce API with C#. In the query that I am writing I am not sure how to pass a parameter to the select statement. My query works when it looks like this: SOQL = "select AuthorId,Name, ...
0
votes
1answer
162 views

Invalid Cross reference id due to batch size

I am trying to update a set of users with size 200. But some of them are not getting updated due to "Invalid Cross Reference ID" message. But when I change the batch size to 1, all of them are ...
6
votes
7answers
3k views

How can I convert a 15 char Id value into an 18 char Id value?

What is the formula for calculating the additional 3 characters needed to append to a 15 char Id in order to form its equivalent 18 char Id? I have a situation where I need to compare 15 char Ids ...
2
votes
1answer
63 views

List of objects related to another list of objects

List<Id> quotaIdList = new List<Id>(); List<User> quotaOwnerList = new List<User>(); List<Order__c> orderList = [SELECT Id, Sales_Director__c, ...
2
votes
3answers
2k views

Maps: adding more (related) sObjects than key values using PUTALL method

Here's the scenario: you've loaded a bunch of account IDs as keys into your map. But now, instead of loading account records as the sObject values, you're going to load a related object, such as ...
1
vote
1answer
1k views

Problem with my trigger: Upsert list must not have two identically equal elements

I have a custom object same as opportunity and order line item same as opportunity product. trigger is when i add opportunity line item system will add order line item with same values.trigger ...
1
vote
0answers
31 views

Imoport Data Through Data Loader after converting relationship from lookup to master-detail

i have 1 cutom object with 10000 records, now i want to customize this object & i want to connect this object with 1 object with master detail relationship, so i have to 1st create lookup with ...
3
votes
1answer
300 views

When Merging Duplicate Contacts, is the Id of the Non-Master Record redirected to the Master Record?

When two contacts are merged, does the Non-Master Record Id get added to a list somewhere? It seems like it should, to ensure that Id does not get used again, redirect that Id to the Id of the ...
-1
votes
1answer
109 views

How to add a custom row(header) to a List component of Sencha

I have a Page that renders a list of records from a store. I am using "List" component for displaying it. The list would display one account, one contact and one opportunity in each row. I need to add ...
5
votes
2answers
177 views

Are SObject Id's sequential & should they be used for defining batches in a large data retrieval?

Are Salesforce ObjectIds (15/18 char) guaranteed to be sequential, based on create date? In other words, would the following queries return the same sequence of items?: 1. Select Id from Account ...
1
vote
1answer
300 views

My salesforce - sencha app is not resizing to fit the screen size

In my mobile two of my views are resizing and looking prefect but third one is not resizing. Only half page is viewable and remaining is not viewable. Any help? I have extended "Ext.Container" for ...
1
vote
1answer
39 views

Mapping error in webservie

Below is My webservice it is working for account to opportunity insert, when i inserting a quote records it showing an error Insertion is fail error message requried field is missing opportunityId ...
1
vote
1answer
1k views

WSDL SOAP UI salesforce

Could any one post the step by step process of integration of salesforce with other database. for example:generate Enterprise WSDL---soup Ui....... Can we give an URL to the other platform user so ...
1
vote
1answer
134 views

What format is “data” in, when it is being transmitted from sencha proxy to Visualforce controller method and Vice Versa

I believe that data is coming in and going out as JSON in proxy. But how is the "data" in VF controller? I dont have clarity. Please help. Visualforce controller gets a "List" of data from proxy and ...
8
votes
1answer
1k views

Is it possible to insert multiple records in Salesforce using cURL at the same time?

I am using cURL to insert data into salesforce. It works with single record but I need to insert multiple records at a time. Is it possible to do so and is it possible via a REST interface?
0
votes
1answer
89 views

I am generating letter from visualforce page in french-

I am generating letter from visualforce page in french à is changing into the character of à . like the same way two to three characters are getting changed while generating the letter .can some ...
1
vote
3answers
2k views

AfterUpdate trigger operation fails; Record is currently being modified by another user

ERROR 1 : Subject: Developer script exception from Nicomatic : quotepotential : quotepotential: execution of AfterUpdate caused by: System.QueryException: Record Currently Unavailable: The ...
1
vote
1answer
363 views

Query regarding trigger?

I am having following requirement: To get list of all the users for whom profile has been changed. Then query on FRUP (It is a custom object) to retrieve all the records which are associated with ...
2
votes
1answer
82 views

chatter files-lookup relationship

Can we create a lookup relationship to chatter files? i have file id with with me and was trying to store it in an object.so thought of creating a field which has a lookup relationship to chatter ...
6
votes
1answer
6k views

Can anybody explain the UNABLE_TO_LOCK_ROW error?

Error Message: Developer script exception from Nicomatic : quotepotential : quotepotential: execution of AfterUpdate caused by: System.DmlException: Update failed. First exception on row 0 ...
2
votes
1answer
589 views

Adding Custom Objects + Master-Detail Relationships then Rolling Up Objects That Already Contain Data

Is it possible to add custom objects that have master-detail relationships with other objects that already contain records in Salesforce? EXAMPLE: I've uploaded all of my data into the ...
2
votes
2answers
466 views

Error on apex trigger how to specify id in this program

Apex trigger quotepotential caused an unexpected exception, contact your administrator: quotepotential: execution of AfterInsert caused by: System.DmlException: Update failed. First exception on row ...