All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

Migration tool trying to deploy all /src when package.xml only specifices one custom object

I am trying to set up a Jenkins job which uses the migration tool to move code from a source control system to an org. To test the job I created a new custom object named aaaTest__c. I changed my ...
mark's user avatar
  • 33
2 votes
1 answer
207 views

Adding additional dropdowns on selection

I have a cascading dropdown (two dropdowns with one dependant on the other) in one of my objects which allows users to select a product, this information is the passed onto another object via flat ...
Deployment Failure's user avatar
0 votes
1 answer
81 views

Code Bulkification Problem

I have a requirement to bulkify the code. The trigger is present on Case Object and I have to take the CaseTeamTemplate Id's whose names match with the CaseTeamTemplate objects. I have written this ...
user2703132's user avatar
3 votes
1 answer
713 views

need a method for json string which contains null value and does not contain attributes{ }

please help me, I need a method for json string which contains null value and does not contain attributes{ }. Here's what I currently have: List<Contact> contacts = [SELECT Id, Name, account....
user9962's user avatar
0 votes
0 answers
805 views

Creating booking system in customer portal

Is it possible to implement a booking system in the customer portal, allowing contacts to book appointments with the account manager (for the client they belong to)? I notice that Salesforce has a ...
Deployment Failure's user avatar
1 vote
1 answer
250 views

How will salesforce handle non english characters in subject line of email to case

I have set up email to case, some of my customers will reply in language other than english (say chinese, etc). I have set up case queues based on keywords or unique number they send in the subject ...
timma's user avatar
  • 317
2 votes
1 answer
115 views

Salesforce1 looses the information about the parent Id

I have a custom object with some Record Types. This custom object has an overwritten New page. This Visualforce page works fine on desktop but it don't work within Salesforce1. The problem is that ...
David Renz's user avatar
0 votes
1 answer
58 views

Assigning a view to a specific record type

I want to have 2 different record types for my Account object. Say 'A' and 'B'. They are related to each other i.e. my Account objects have many-to-many relationship. I want to create a view say 'All ...
ParoTech's user avatar
  • 545
10 votes
1 answer
5k views

Report Folder Sharing setting SFDC bug?

Background We need to configure a folder "Company X Reports" which has to: Everybody can view One profile called Supervisor can clone reports from there and save only in "My Personal ...
Martin Borthiry's user avatar
1 vote
2 answers
176 views

Force.com public API Governor limit error codes

I am developing a public Force.com API (published using Force.com site) using Apex REST services. I am planning to list all possible errors (especially governor limit errors) that can be returned when ...
Siva's user avatar
  • 355
0 votes
1 answer
79 views

create outbound message in veeva to a mobile number

Can someone help me here? I have a requirement to send message notification in mobile number of the User when he/she is inactivated in the system. IF(AND(ISCHANGED(ISACTIVE),NOT(ISNEW())),true,false) ...
Testing_SFDC's user avatar
  • 2,940
1 vote
1 answer
50 views

Related to scheduling :How insert a list in spite of one of its element is having exception

I have set scheduling on Lead in which on daily basis a SMS and a mail gets deliver as a reminder to client. But when there is an error in email id and salesforce display an error that mail id is not ...
Rohit's user avatar
  • 733
1 vote
1 answer
125 views

SOQL results question

I know SOQL can only retrieve data. Now my question is, WITHOUT WRITING APEX, given that a query have 4 results. I know I can filter the results to 1 by limiting row and pretty sure this could be the ...
JOE's user avatar
  • 101
2 votes
2 answers
213 views

non-selective query error in sandbox

Is anyone else seeing an increase in non-selective query errors recently? I've been seeing them a lot over the past few weeks, in various instances, in places where they weren't happening before, ...
mscholtz's user avatar
  • 1,324
7 votes
2 answers
8k views

Salesforce Visualforce Email Template {!Recipient.Name} does not have the correct value

I have an object called 'Request'. This object has three lookup fields 'Reviewer 1', 'Reviewer 2', 'Reviewer 3' (User object); besides other non-relevant fields. I have created a Workflow rule, which ...
Learner's user avatar
  • 450
5 votes
3 answers
10k views

Call a method in controller from Component (not in Constructor)-Visualforce

<apex:component> <apex:attribute name="l" description="l" type="double" assignTo="{!Received_L}"/> <apex:attribute name="varLng" description="t" type="double" assignTo="{!Received_T}"...
Salesforce Steps's user avatar
0 votes
3 answers
2k views

Insufficient Privileges error while clicking on any tab in salesforce

After installing a managed package in salesforce I log in with another salesforce credentials, after that I clicked on custom pages and it shows Insufficient Privileges error. How to fix this issue?
fsales572's user avatar
  • 321
4 votes
2 answers
1k views

Governor limit SOQL 101 being suppressed. How?

As far as I know, Governor limits can not be suppressed and will be shown to user on the UI. However I am facing below scenario where SOQL 101 limit is being logged into debug log and not being shown ...
byadav's user avatar
  • 431
4 votes
2 answers
2k views

Unable to create a Connected App: "The application name has been used before" even when it has not

I managed to add a connected app in a sandbox instance but when I try to add one in the production instance, I receive this error. The application name [name] / [API name] has been used before. Use ...
Kane's user avatar
  • 51
4 votes
1 answer
322 views

Can't seem to use $ObjectType in a component

I found myself using a bit of code to display a searchable history of a given SObject, for a couple of different SObjects so I thought it sensible to create a component, that could be told the SObject ...
Dominic's user avatar
  • 3,638
2 votes
1 answer
1k views

Attach dynamically generated visual force PDF to a visual force template

I have a requirement where I need to attach a dynamically generated VF PDF to an email generated with an email template. Though I am able to send the template, I am not able to send the attachment. ...
user2703132's user avatar
1 vote
1 answer
44 views

check profile in Opportunity Before update

I have a requirement, where I have to write an Opportunity Trigger. We have a Custom Object : CheckStageConfig__c. It has 3 fields : From_Deal_Stage__c(picklist) , To_Deal_Stage__c(picklist) and ...
Noob_NoVoice's user avatar
  • 2,709
0 votes
3 answers
1k views

Visualforce Homepage component

I wrote a VF page which I use as a VF Homepage Component on the Narrow Side (Side bar). Showheader and sidebar page attributes are set to FALSE. My page uses the standard controller of one of my ...
Dedo's user avatar
  • 5,007
1 vote
0 answers
37 views

Remove Push Notif Listener using class/controller

Is there a way to remove notification listener using the class/controller of my VF page? http://www.salesforce.com/us/developer/docs/api_console/Content/...
mdechavez's user avatar
  • 321
3 votes
1 answer
21k views

Inner classes can access outer class private variables

Documentation here says private This is the default, and means that the method or variable is accessible only within the Apex class in which it is defined. If you do not specify an access ...
sfdc99999's user avatar
  • 3,585
1 vote
2 answers
1k views

apex:selectRadio Value attribute thrown error "Invalid selectOptions found. Use SelectOption type in Apex."

When i used value attribute in selectRadio as below, i got an error such as Invalid selectOptions found. Use SelectOption type in Apex. But it works with itemValue instead. Any suggestions please....
Bforce's user avatar
  • 6,828
1 vote
2 answers
766 views

Is it possible to use controller in live agent pre chat form

My live agent is working fine. But i want to add captcta in live agent pre chat form. But i am not using controller for live agent, so is it possible ? Any suggestions please ?
timma's user avatar
  • 317
2 votes
2 answers
19k views

How to export Knowledge articles

Is there a way to export knowledge articles from sandbox and import it to production environment ? I tried translation workbench but it is not working. My articles contain images, so i cannot use ...
timma's user avatar
  • 317
1 vote
2 answers
5k views

How to display custom error message in a Standard Visuaforce page

I have a requirement, where I have to catch the error message in an Opportunity Trigger and have to display it on top of the Standard VF page. What, I know, we can go for Sobject.field.addError() to ...
Noob_NoVoice's user avatar
  • 2,709
6 votes
2 answers
37k views

How to find current record's RecordType name

I have a requirement where I have to write some logic in an Opportunity Trigger. Requiremnt is , I have find out current opportunity's record type and have to check whether that recordtype name ...
Noob_NoVoice's user avatar
  • 2,709
4 votes
1 answer
2k views

How to re schedule a batch if already 5 apex batch jobs are running

I am trying to schedule a batch after 15 mins from my post installation script which take 100 records and process it. But it might be possible that when my scheduled job will start already another 5 ...
Sandeep's user avatar
  • 95
1 vote
1 answer
1k views

How to avoid hardcoding values when mapping field A picklist to Field B picklist

I have one custom field on opportunity as ABC__c it is a picklist field and contains value a,b,c,d,e my requirement is depending upon ABC__C field StageName standard field on opportunity should be ...
Jhon's user avatar
  • 11
2 votes
1 answer
1k views

Bind datepicker value from visualforce page to controller

How to bind the datepicker value to controller. I used onfocus="DatePicker.pickDate" but it was not displaying datepicker in sandbox so i am using as below. <apex:page standardController="...
Salesforce developer's user avatar
1 vote
0 answers
359 views

Authentication with google calender api

have been trying to integrate google calender api with salesforce was able to achieved it using auth 2.0 ,has i navigated it to google page for auth ,so now when i was trying to use auth 1.0 with ...
user10784's user avatar
12 votes
1 answer
16k views

Find Apex batch status programmatically

I have a batch class, I need to email and run another batch in the 'Finish' method of batch ONLY IF the batch ran successfully. I would like to have batch status in the finish method (like the batch ...
Mahmood's user avatar
  • 5,984
2 votes
1 answer
4k views

How to select one radio button from each radio group in visualforce page?

i am trying to select only one radio button from a table which has been built by <apex:repeat control. Now the issue is, user can select all of the radio buttons in a logical group of radio buttons....
Bforce's user avatar
  • 6,828
1 vote
0 answers
106 views

problem in RegistrationHandler Interface in salesforce

I am creating gmail single sign on in salesforce...i have created class to implement RegistrationHandler Interface but when i try to login with new user it gives an error Error :Missing Required ...
Nagendra Singh's user avatar
3 votes
1 answer
113 views

CustomMetadata and CustomMetadataValue in Summer 14 Metadata API

In the Summer 14 (v31.0) of the Metadata API complex types are added for CustomMetadata and CustomMetadataValue. The latter appears in the values element of the former. CustomMetadata extends Metadata,...
Daniel Ballinger's user avatar
2 votes
2 answers
2k views

How to download uploaded file in box.com?

I am doing integration salesforce with box.com so after uploading file i want the download that file.Like in google drive we set approval_prompt=force and response body contain webContentLink for to ...
sandeep's user avatar
  • 57
3 votes
1 answer
302 views

Following a topic in Visualforce

i have a list of topics in my visualforce page.i get topics list using soql query Select Id,Name,TalkingAbout,Description from Topic i want to show a follow button in that when it will be clicked ...
mathlearner's user avatar
  • 2,151
6 votes
5 answers
7k views

Why am I receiving this error "Cannot read property 'tid' of undefined" when using JS Remoting?

I've called a JS Remoting function on document.ready(). It works fine intermittently. But throws this error in Console when sometimes I come back to a page after a day and it was loaded a fresh: ...
VarunC's user avatar
  • 5,950
2 votes
1 answer
2k views

Using URL Name in Articles

i created an article in salesforce.its url name is How-do-I-Change-my-Password .i have visualforce page.in which there is a link when clicked should redirect to article.i put href attribute value as ...
mathlearner's user avatar
  • 2,151
1 vote
1 answer
1k views

Unable to upload file on box.com in readable form

Hello everyone, I am doing integration salesforce with box.com when i uplod file that time first i convert blob into base 64 encoded string then send file using rest api ...
sandeep's user avatar
  • 57
5 votes
1 answer
2k views

Find nearest branch from ZIP code entered by customer

We need to calculate the distance between the ZIP code entered by customer and the nearest branch (Branch is an object) to that ZIP code address. The Lat and Long values are calculated for both ZIP ...
Vimal Desai's user avatar
2 votes
2 answers
311 views

Class Properties are not accessible

I am new to Salesforce and have what I though would be very simple code. For some reason this is throwing an error: public class GetSet { public class BasicProperty { public integer prop {...
Geoff's user avatar
  • 21
3 votes
1 answer
3k views

List has more than 1 row for assignment to SObject

Can anybody help me with this script, this is a simple update when the trigger is fired, (it works in sandbox) What can I use instead of items.values().PO_Details_Ordered__c = ... I am pretty sure ...
Carlos's user avatar
  • 1,871
0 votes
1 answer
305 views

Updating standard objects from Online submissions

How do I update records in Leads / Contact object through online submission (Force.com Site). I know it doesn't allow direct updates but is there an indirect way to do this? How? Second is I want to ...
Tasnim's user avatar
  • 179
2 votes
1 answer
332 views

I'm getting an error invalid type cat3__c while Passing Values to JavaScript from Apex Controller Method

my vf page: <apex:page controller="ActionFunctionDemoController"> <apex:sectionHeader title="Action Function Demo" subtitle="Save a New Record"/> <apex:form > <apex:...
RaJu's user avatar
  • 361
5 votes
1 answer
1k views

do javascript remoting calls need a try/catch?

Currently in my javascript remoting calls I check for if (event.status===true) in the callback. I handle any errors in an else. However, it seems it also throws an exception. Example: [Error] ...
Phil B's user avatar
  • 5,026
2 votes
1 answer
253 views

How can I access the data/metadata of the Salesforce homepage via REST API?

I'm trying to make my Salesforce application as dynamic as possible. One of the things I'd like to do is pull the meta-data and data that make up the Salesforce home page. Is this possible, and if so, ...
contactmatt's user avatar
  • 1,069

15 30 50 per page