5
votes
2answers
27 views

Field History Tracking - OldValue and NewValue null?

I turned on History tracking for a custom object and set it to work on a particular field. When I updated the field on the custom object, I checked to see if the corresponding __History object had ...
1
vote
1answer
12 views

mass delete old reports using the DataLoader

I want to mass delete old reports that haven't been run in over a year. I am not a developer and do not want to learn IDE Eclipse. Is there another way using the DataLoader?
0
votes
1answer
22 views

Cross-site Scripting (XSS) in security review.?

I am getting Cross-site Scripting (XSS) while scanning in force.com scanner.if i remove javascript there is no error..what to change in javascript code..please help its quite urgent...may be encode ...
0
votes
0answers
13 views

Code check - is there a better way Multi-select account names in VF

I have been tweaking an online example I found to meet my needs - it works, but I'm curious if there is a better way. Basically I have tweak a static multi-select to call Account names. public with ...
2
votes
2answers
15 views

Date coming back in wrong format using JS remoting

I return instances of an APEX Class in a JS remoting API. public class OpportunityDetail { ... public Date closeDate; ... The problem what is returned to my JavaScript client code is ...
0
votes
0answers
19 views

Visualforce Error

I get the following Visualforce Error: System.NullPointerException: Attempt to de-reference a null object Error is in expression '{!checkAccessibility}' in component in page vendorinformation ...
0
votes
1answer
17 views

In VF page how to make a selection Readable or Editable based on the picklist value selected

I have created a new VF page. In my VF page having Stage picklist same as Opportunity. If we select "Closed Won" then i need to make one a "Invoice selcetion" to editable, if we choose any other value ...
1
vote
0answers
13 views

UseStandardPrice field when import PricebookEntry

I’am going to insert the prices for my products, but i’m not sure about how setup (true or false) the field UseStandardPrice of the object PricebookEntry. I have found this : UseStandardPrice field: ...
1
vote
1answer
28 views

I get this error when deploying reports. Why?

I get this error when deploying reports. Why? Action: NO ACTION Result: FAILED Problem: filterlanguage: Invalid value specified: 1.
2
votes
2answers
23 views

How to Use the 'From' Address in Email Template like 'no-reply@my-domain name'

i created one custom template. once send the Template to my mail id using Send Test and Verfiy Merge Fields button. i get the from address like from:*Me mail Id*.but how can i impement no-reply@my ...
1
vote
1answer
23 views

Problem in setting focus on inputfield in mozilla

i have one inputfield with some styleClass. i am using jquery on onBlur event to set focus on that inputfield. it is working fine in IE and Chrome but in mozilla it loses focus. what's the issue? ...
2
votes
1answer
35 views

Method to highlight a single row in an apex:dataTable

I have a dataTable as part of a Visualforce component, and I'd like to write some code to have it highlight a single row of the table, based on some value in that row's data. Recall that an ...
1
vote
1answer
27 views

Add multiple values to one field - VisualForce page

I have a simple visual force page with a form on a SF site. I have a pageBlockTable on the form. I would like to be able to add skill1, skill2, skill, all to the Job_tag__c field. Here's what I ...
1
vote
0answers
11 views

Create a custom login failure message using Site.Login

We are having a force.com site and we are currently using a site.login method to authenticate the user. The Site.Login returns a page reference which tells us whether the login is successful or not. I ...
1
vote
2answers
18 views

Where Can I see a record of outbound emails?

I have an APEX script that generates emails after some event occurs. I would like to see a record of all the emails that have been sent. Is this possible in the Setup portion of SalesForce?
1
vote
1answer
31 views

Trying to change the color of Create New button on left side bar of a standard Salesforce page

I am trying to change the css style of the standard Salesforce page. So far I have successfully changed most of the element style. I created a custom component in the left side bar and have overridden ...
3
votes
1answer
15 views

Edit Insufficient Privileges Page

Is there any way to gain access to the standard "Insufficient Privileges" page that everyone knows and loves(hates), in order to edit/replace it with something else? I imagine something along the ...
1
vote
1answer
23 views

PageReference within a repeat, that's in a component, action method not being invoked

I attempting to iterate through a list of page indexes to be displayed under a list of returned results. The page indexes are being used for pagination purposes. Whatever page I am currently on ...
1
vote
4answers
44 views

Calling multiple methods from visualforce page?

I have a visualforce page which on load should call 4 methods one after the other. For that purpose, I tried using apex:actionFunction <apex:page sidebar="false" showHeader="false" ...
0
votes
1answer
22 views

Iframed PDF visualforce error on save

I want to be able to save a PDF visualforce page into attachments (in a custom object) I created the PDF as an Iframe in another visualforce page (see below parent page, iframe and controller) When ...
6
votes
1answer
33 views

Invite people to user chatter via Apex code

when I'm within a chatter group I can do two things: Add a group member Invite people I know how to add a group member via Apex code, however I need to invite people to join this group through an ...
2
votes
1answer
18 views

Creating a VF page dependent picklist error?

I am creating a VF page, on that we need to have 13 picklist fields and 13 dependent picklist fiields. We have created 10 picklist fields and 10 dependent picklist field. For creating 11th dependent ...
2
votes
2answers
24 views

Update layout in post install script

I'm developing an app for the appexchange containing custom visualforce pages/components. Instead of asking the user to create custom fields and edit layouts to place the vf pages after the ...
2
votes
3answers
33 views

How can I prevent deleting picklist value that is in use?

I have created a picklist field, and added some values in it. I than discovered that I can delete the values from the lead->setup page, and this will remove the value from all selections/filters etc. ...
2
votes
2answers
25 views

Error when generating apex class from wsdl

I'm trying to generate apex class from wsql in order to use the soap api calls in post-install scripts for an application I'm developing on Salesforce. But when I use the Salesforces interface to ...
1
vote
1answer
26 views

apex:Include and pagereference Issue

Strucked with a different kind of Issue. I'm having three pages page1,page2,page3. I have Included all this pages in a single page by using apex:include like this <div id="apiaccount" ...
5
votes
3answers
41 views

Serialize Class to JSON with correct sObject API field names

I want to use the standard Force.com REST API to create a case remotely from another Salesforce instance in my instance. I want to populate two fields on creation: "Subject" and "txt_UserId__c". ...
1
vote
0answers
17 views

RECORD_IN_USE_BY_WORKFLOW, Unable to convert lead that is in use by workflow: []

In my Apex class i am converting leads. When i test my code through UI it is working fine but when i run my test class it get failed and shows this error: 22:21:47.413 ...
1
vote
2answers
36 views

Save PDF to Custom Object

I want to create a PDF on a custom object, and have the ability to save it in a related object. I know I can save it in "Notes & attachment", but I'm wondering if it's possible to create a custom ...
1
vote
1answer
29 views

How to give formula field dynamically in Visual force, I am using PE in salesforce

when I save the below formula, it shows this error: Error: Compiled formula is too big to execute (19,959 characters). Maximum size is 5,000 character if the sum of Value_1__c to Value_13__c <= ...
1
vote
1answer
42 views

Typecast a string - trigger to pass value to lookup from picklist

I'm trying nothing more than to update a lookup field when I create a new record. The field it should pull the value from is a lookup. I have this code: List <Job__c> opListInsert = new ...
0
votes
1answer
24 views

Before insert trigger not storing values

I have a simple trigger that fills a Date field on my customised SObject Segmentacao__c: trigger SegmentacaoPreencheMesDeReferencia on Segmentacao__c (before insert) { final Date today = ...
0
votes
0answers
28 views

page reloads before related record is updated

SEE SOLUTION AT BOTTOM OF QUESTION SINCE I WAS ABLE TO ANSWER IT ON MY OWN I have a VF page that overrides the Opportunity view page, this is so that I can implement my own product related list. The ...
0
votes
0answers
29 views

SmallPhotoUrl in User object is suddenly missing?

This morning, our User objects were missing the smallPhotoUrl field. I don't think we've done anything, but it's a standard field and I'm not sure how we removed it. Any ideas what might have ...
2
votes
1answer
27 views

Commandbutton Link to Visualforce Page Giving “SObject row was retrieved via SOQL without querying the requested field”

I have a strange Visualforce problem: a commandbutton throws a "SObject row was retrieved via SOQL without querying the requested field", but the same URL works as a straight-up link. Markup is ...
1
vote
0answers
25 views

Custom sidebar link to local file or executable?

I've been asked to see if we can create a sidebar link to an executable and start a program to run that has been installed on a user's local hard drive. Can that be done and what would the syntax look ...
2
votes
1answer
24 views

access Monitored Users

I got a simple question, for custom logging I need to lookup some ApexLogs. Is there a way to access the Monitored Users for debug logging? I like to create or reset them programmatically.
0
votes
1answer
23 views

How do we query and fetch all Comments of Salesforce CRM Content?

When we post a Comment on Salesforce CRM Content, where does the comments go? I want to fetch them via SOQL query, which object do they get saved in?
2
votes
1answer
31 views

Integration between Salesforce and Peoplesoft

I need help regarding integration between salesforce and People soft. We are looking to do Bi directional integration between salesforce and People soft. Question: To login into salesforce from ...
1
vote
1answer
20 views

Assigning Managed Package Licenses in a Sandbox

In our production organization, we can access the following page either through a related list on the User object (Manage Licenses) or through a link in Installed Packages next to the package. We ...
2
votes
2answers
63 views

How does everyone handle “,” comma within a field in csv file while importing it

I am trying to import a csv file and parse the csv file. I have the code working fine, except where we have a "," within a field in the csv. While reading the csv its considering the comma as the ...
2
votes
1answer
60 views

Datetime.parse issue..?

I am convert date/time in string to datetime apex using datetime.parse().But it is is subtracting 1 min.. String s1='5/23/2013'; String t1='10:00 PM'; String s2=s1+' '+t1; Datetime ...
0
votes
0answers
10 views

Sending email autoresponse using custom visualForce template not working

When User logs case from Email, Workflow triggers notification email to that user on case creation. Presently this workflow uses standard template. And it was working fine. To add some functionality, ...
6
votes
5answers
88 views

What would be the best approach to get the recordtype id

I know of two approaches to get the recordtype id of a particular record type Use SOQL RecordType RecType = [Select Id From RecordType Where SobjectType = 'Account' and DeveloperName = ...
1
vote
1answer
24 views

Apex:selectList value not getting set in controller

I have apex:selectlist on my vf page which is populated by a selectoptionList. In my Vf page i also use jquery to dynamically add a new option. But this does not pass the selected option to the ...
-3
votes
1answer
64 views

Picklist selected value auto populate to textbox in Visualforce page

We have PE, and we need to create a VF page. In that page we have created a picklist which has 5 values. When we select a value from the picklist a text box next to that picklist should automatically ...
3
votes
0answers
24 views

Chatter feeds not appearing correctly on Vf page

I am showing a chatter feeds in my VF page by using the following <chatter:feedWithFollowers entityId="{!theCase.id}"/> The feeds dont seem to be displaying correctly. I cant see the feeds ...
0
votes
1answer
18 views

Approach to Load data from Master to Child objects from Legacy database

We have an oracle database with 100,000 records which has a master table called Application and it has a child called Application Individual and each Application individual has one level children like ...
1
vote
0answers
18 views

What licenses to use when building a mobile app

I want to build a mobile app for a new customer (they do not have salesforce), what licenses/editions should I get them? They would have 10 users that require access to the web app and 10 users that ...
1
vote
1answer
40 views

can you change the field name using Enhanced Page Layout editor?

I have my 401 tommorow, and supposedly you can change the field name with the Enhanced Page Layout editor, but i don't see how. Is this possible?

15 30 50 per page
1 2 3 4 5 71