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.
1
vote
1answer
16 views
how to add more than 1 invitee(whoid) to an event using code…?
i want to insert an event record...but like i have more than 1 lead..i want to insert more than 1 leads as an invitee...
Like using whoid we can insert 1 record ...
Using the standard interface we ...
2
votes
1answer
68 views
Problems with salesforce summer'13 Release immediate=“true”
I have written code snippet in Visualforce in using actionFunction with immediate="true", so that validations bypasses the page. but due to upgradation to summer'13 the immediate="true" doesn't work ...
0
votes
0answers
59 views
Reg: Validation Error: value is not valid
I have a problem in my visualforce page, while rerendering the page, by clicking any button/ any request is sent to controller.
Visualforce page is:
apex:page controller="selectController">
...
-1
votes
2answers
48 views
Associating radio button with controller wrapper class..?
I need to get the associated record. i.e with the radio button.I am using input type radio button for the same.please someone help with the code...
<apex:column >
<apex:facet ...
-2
votes
1answer
62 views
WSDL Eclipse and Salesforce [closed]
Is it possible to access an webservice WSDL through a Webservice Client in Eclipse and then use it in Salesforce?
11
votes
1answer
99 views
Does anybody have a good way of mapping a key prefix to an object type?
I want to be able to reliably take an ID and map it to the appropriate object type so I can query the object in question.
Before now I've tried using the global decsribe info, looping over the ...
2
votes
1answer
32 views
How do I query queue ID in Apex?
How do I query queue ID in Apex?
Known parameters:
Queue Name
Supported object
Miscellaneous information:
The reason I need queue ID in Apex because my routing logic assigns selected records to a ...
2
votes
1answer
88 views
passing values from VF page to component controller..?
VF Page component class Not getting value of soID.query works if i pass hard coded ID.Please someone tell me where i am wrong..**The constructor gets called first, before any variables are set. I ...
5
votes
1answer
75 views
userinfo.getuseremail() returns noreply@salesforce.com in salesforce
I have created a package in salesforce that will make an http callout request with user's email id to get data for that email and add the data to some custom object. But when I tried using ...
1
vote
1answer
46 views
Calendar does not work properly
I have created a VF page which contain Date field. But this date calender do not display once we have selected the date once. But the date works in standard page not in VF page. This issue only stand ...
3
votes
2answers
37 views
Refresh the page on complete of execution
I have a detail page button which calls a webservice class. Its some thing like:
sforce.apex.execute(Class, method, {paramName : Param}, { onSuccess: success, onFailure : failure});
I need to ...
4
votes
2answers
90 views
Creating a link using an 18 character ID
I have an 18 character SFDC ID. I was under the impression that I should be able to create a link to that record using the following pattern: https://<org server>.salesforce.com/<id>
For ...
4
votes
1answer
61 views
Salesforce record id within an org ever recycled / reused
Will a record id within an org ever be recycled / reused. For example, Event with id A is created, then deleted, emptied from recycle bin, years later a new Event is created in the same org, could it ...
5
votes
1answer
126 views
Rerender a pageBlock if a value is entered in an inputField?
I want to rerender a pageBlock by checking whether the inputField is null. If it is not null, then it should rerender the pageblock. I wrote the code, but the page block which needs to be rendered is ...
1
vote
1answer
66 views
Argument must be an object that implements Database.Batchable
I have wrote a batch class and now i am writing test class for it but i am getting this error. Argument must be an object that implements Database.Batchable
Batch class
global class ...
2
votes
2answers
66 views
contact lookup list only for related account
I have a contact lookup so when i click on the lookup it opens a popup and i search for a particular contact. what i want is to restrict the result to display only contacts related to a account, for ...
4
votes
1answer
143 views
REQUIRED_FIELD_MISSING, Required fields are missing: [Name]: [Name]
when i trying to insert opportunity in my testclass i am getting an error
Test_opportunityTrigger.Test_opportunityTrigger: line 24, column 1
22:28:17.312 ...
5
votes
2answers
102 views
Find out if a given string is Salesforce Id in Java
Is there a way(regex or something) to find out if a given string is a Salesforce Id or not? I'm looking for some helper class in Java.
1
vote
0answers
28 views
Closing task on lead without going to task page
I want to close the task on lead list page without going to task page an close. I just want to close the task by clicking cls link in front of created task. Please guide me, how can i do this.
3
votes
1answer
55 views
How to get the Latest Task created on Lead
I am trying to get the latest task created on Lead from task object.
My scenario is that if there are 2 leads - Lead1 and Lead2. And both have 2 task created for it, Lead1 contain taska - (created ...
0
votes
2answers
134 views
Creation of Batches from CSV resulting in erroneous state
I'm trying to make batches from a CSV file written using CSVWriter of opencsv as:
CSVWriter writer = new CSVWriter(new FileWriter(filePath+createFileName), ',', CSVWriter.DEFAULT_QUOTE_CHARACTER);
...
1
vote
1answer
53 views
Calendars malfunctioning in Spring '13 release?
In the sandboxes i've tested that have the Spring '13 release, I think there's a bug when the user creates an event in either the public or personal calendar.
I navigate to the calendar, double click ...
0
votes
2answers
92 views
Unexpected Null Pointer exception in testing
My Test Class is
global class Feedpost9 {
// your methods here...
static testMethod void testRest() {
// set up the request object
System.RestContext.request = new RestRequest();
...
1
vote
2answers
156 views
Converting the Salesforce Pod Id to ServerUrl/Name
Given a Salesforce Org Id, how can I determine the name and serverUrl to use with APIs?*
For example, given the Org Id 00DE00001234ooT I can get the Pod/Server identifier from the first character ...
1
vote
1answer
91 views
Force.com IDE - Deploy Entire Org. to New Org [duplicate]
Possible Duplicate:
Copying metadata and code from one Production org to another
Quick Question.
I'm trying to deploy an entire org.'s metadata into a new one, specifically its sandbox, ...
0
votes
1answer
95 views
Visualforce :- I am facing some trouble while rendering page
I have a page of my website..
In that page I have a registration forms and videos and some text...
When I register in registration page and then come back to this page already registered, then ...
0
votes
3answers
378 views
Disable custom button on detail page on some condition..?
I have custom button on standard detail page...I want to disable that button/gray out if my status picklist value is "Approved".
Java script on button click
var newRecords = [];
var o = new ...
2
votes
1answer
88 views
Hide and show pageblock on button click
I am tying to hide and show apex:pageblocker on the bases of the value in list. But i am not able to show when value is not been selected. My anybody tell me what is wrong. I am getting value in the ...
3
votes
3answers
96 views
Add field to a VF page
I like to add a field to a VF page when a field is added to a object by admin with out re coding the VF page. Is their any way to add fields to VF page automatically when a field get created on the ...
9
votes
1answer
90 views
Can an Object Definition's ID be obtained programmatically?
I've noticed that SF related lists are anchored (#) by a concatenation of the current record's Id, an underscore, the Id of the related list's object definition, and then "_target" (e.g. ...
1
vote
1answer
40 views
What are Dashboards in salesforce
Can anybody explain me what are dashboards and how they are used in Salesforce. Are dashboards and reports the same? Is there any relation between them.
1
vote
1answer
124 views
How to insert new Products and Price Book using Apex Dataloader
Do anybody know How to insert new Products and Price Book using Apex data loader. Every 1 product will have more that 1 price in price book. please guide me to possible ways to do.
5
votes
2answers
121 views
Required fields are missing:
I am writing a test class. When i run my test class i am getting an error
System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are ...
3
votes
2answers
158 views
Want to show result after apex batch process is completed
I need to show a alert message after the batch process is completed. For that i have create a static boolean varible in a class and in my batch process finish i am calling this varible and changing ...
3
votes
2answers
126 views
Default value to multi-line item
I am trying to get a default value to multi-line item in product, (go to opp > Products (Standard Price Book) > add Product > select some product name and click select) This window will get open.
is ...
1
vote
1answer
124 views
Alignment is not correct
I have 6 attachment in a VF page. But the alignment is not right it i coming like this
You can see the apex:inputfile in red. I am not able to understand why this is not coming right. Can anybody ...
1
vote
3answers
281 views
Attempt to de-reference a null object with Attachment
I am trying to add a attachment to a record. Their may or may not be attachment. So that i have created a attachment in the controller if the attachment is null but i am getting null point exception.
...
3
votes
2answers
1k views
Calling a Apex controller method using JavaScript in VF page
Hi can anybody guide me how to call a method in controller from a VF page.
1
vote
2answers
430 views
Action method is not invoked
I am trying to get the total of 5 inputfields onchange. I am using apex:actionFunction but i am not able to call the action method on apex:actionFunction. I have a inputtext which is calling the ...
0
votes
2answers
200 views
Action Function on Outputtext
I have 5 inputtext I want to add the value of all the inputtext to a outputtext. I dont want any action to be done on the button click. I need when the value of the 1st and 2nd inputtext is entered ...
1
vote
2answers
342 views
Different attachment in same VF page
Hi i have a VF page with 5 input File attachment. I want 5 different attachment on the each of them. eg: Their are 2 more fields.
1. Name, 2. Job, 3. Resume . So like this their are 5 fields. If 1st ...
3
votes
2answers
98 views
Mobile field on Task object
I want to configure task object under Activity. I need to add a field mobile in to task object. I need to show the field on the task page and on the reminder window. For this I try to create a new ...
5
votes
1answer
245 views
understanding salesforce licensing for development and deployment
I am trying to understand the licensing issues on I would come across on Force.com for developing an application that will have its own data source and will also be pulling data from SalesForce.com ...
3
votes
2answers
79 views
Too many filters - You can only create up to 20 field filters : on a Tabular Report
I am creating a Tabular report on Contacts.
Contacts object has got many customized fields as well.
I want to list few details of all my contacts (contact of type 'Student') who has got certain fields ...
1
vote
2answers
286 views
Unable to insert picklist right value Using Apex Data Loader
I am trying to insert records from a csv file to salesforce leads abject using Apex dataloder.
My Leads in csv file
Last Name | Company | Title | Mobile | Lead Status | Website
Vineeth1 ...
2
votes
1answer
161 views
Salesforce ID Uniqueness
Are SFDC IDs unique across all of SFDC or can you only assume an ID is unique within a particular org? If an sObject with a particular ID is deleted, could that ID come back again in the same org or ...
17
votes
3answers
792 views
What are Salesforce ID's composed of?
I remember seeing somewhere that IDs are composed of a few pieces. I always have a hard time trying to find that information when I'm looking for it. What I mean by the above is that the various ...
