The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
3answers
36 views

Invalid field for SObject using nested SOQL Query

Trying to create a list of Open activities so that I can sort and display as an apexDataTable on a VF page. I'm currently seeing the error: Invalid field Subject for SObject Account VF Page ...
1
vote
1answer
24 views

What to do when Formula Field is too big to compile

So I am having a problem. I already have written a formula for a field that I would wish to calculate. But the problem is that the I can't add any more code to that Formula field because then it gives ...
3
votes
0answers
16 views

Error email from Packages are not delivered reliably

To better reproduce and understand errors of our managed package that only occurr in customer orgs we cannot only rely on Subscriber support or logging. This is for multiple reasons, hard to repeat ...
1
vote
1answer
25 views

How to create a data extension with everyone who has ever opened or clicked on an email?

I'm trying to create a data extension with everyone who has ever opened or clicked on an email in it... The challenge is, that we used to have a SFDC + ExactTarget integration prior to migrating to ...
0
votes
2answers
44 views

Help required in building formula for validation rule

I have 3 objects Contact(standard), Volunteer job(custom) and Volunteer hour(custom). Volunteer hour is a junction between contact and Volunteer job. Contact has a custom picklist field 'status'. my ...
2
votes
2answers
77 views

What's the 'correct' way to display an error from a trigger?

What is the best practice for the following situation? We have a checkbox on Account called "Frozen". When a user attempts to delete a contact, related to a frozen account, the deletion is prevented,...
3
votes
1answer
42 views

Error messages not getting removed on reloading the page,when I've overridden the view with a visualforce page

I have overridden the standard view of Account object with a visualforce page,& using a custom button that is used to send email to Account,using a custom field,Email__c.The error appears if we've ...
2
votes
2answers
122 views

Can we display warning message from Trigger

I am using custom Object, I need a warning message on Detail Page, Is there anyway?
0
votes
0answers
21 views

Is there any way to hide salesforce standard file size validation

I want to hide the below salesforce file size standard validation and show custom error validation. How can we do it. Regards
1
vote
2answers
24 views

showing error in parent object if two objects have M-D relationship

My objects: Opportunity and custom object(CE) have M-D relation ship Is it possible to check the child object fields on stage change in opportunity and throw the error if child object fields are ...
0
votes
1answer
41 views

How to modify a Visualforce error message

When I update a record from a details page I get the error You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your ...
6
votes
1answer
74 views

Difference between ApexPages.Severity FATAL and ERROR

After looking into all options, it seems that ApexPages.Severity.FATAL and ApexPages.Severity.ERROR are exactly the same. Is there a difference that I'm not aware of?
1
vote
1answer
34 views

Error Handling in apex class method.

I have an apex method that requires three fields, an account number, user input and custom setting number. based on that it will generate a sequence of number e.g if the acccount no is 8181818 (...
1
vote
1answer
104 views

Add Line Break In Error Message

The below code builds an error message displaying the values from multiple records (typically 12). Map<String,Budget__c> budgetByIdentifier = new Map<String,Budget__c>([SELECT ...
3
votes
1answer
58 views

error handling batch Apex

What would be a better way of error handling in batch apex other than using a n object to insert errors. Can we send error messages to the user in an email from finish method. Currently, I'm doing ...
0
votes
1answer
41 views

how to show error message on vfpage when user enter wrong datatype for field selected

<apex:pageBlock title="Find Duplicates"> <apex:pageBlockButtons > <apex:commandButton action="{!save}" value="Save"/> </apex:pageBlockButtons> ...
2
votes
1answer
121 views

Adding a HyperLink to apex:messages on VF page

Is there any way embed a link in an apex:Messages error message? Below is the apex:Mesages compnent on my VF page. I cannot use apex:PageMessages because it does not support the style resources that I ...
3
votes
1answer
47 views

Rewriting Try + Catch{System.Assert(false, 'blahblah')} for easy toggle-off of catch?

Dear Salesforce StackExchange, An outside partner set a precedent in some of our Apex triggers of doing major operations (such as DML) inside a try/catch block, and having the catch block simply ...
0
votes
1answer
119 views

Error FIELD_INTEGRITY_EXCEPTION Failed to save undefined: NO TYPE named apex://TestSub.SubOne found

I have a namespace issue - at least that's what I think it is. I have a basic simple Apex Class with the following definition: public with sharing class TestSub { public class SubOne { @...
0
votes
1answer
35 views

Error: Too many SOQL queries: 101 on loop

I am trying to solve the error that reads "System.LimitException: Too many SOQL queries: 101" on my code when trying to load some data. After going through system logs and searching them, I suppose ...
1
vote
0answers
26 views

Problem with Site.com Form Element

Am struck in building a site.com form element. I build two pages(Home and Contact Us) in site.com for customer community. Everyone can see Home page but only logged in user can see contact us page(...
0
votes
0answers
58 views

I am getting this error, “Error: Closed/Lost opportunity stage should match with Omitted forecast category”

When I move something to closed lost it won't let me save and I get the error: Error: Closed/Lost opportunity stage should match with Omitted forecast category Forecast category isn't even a field ...
0
votes
1answer
37 views

if statement in render

I have the following piece of code. <apex:commandButton action="{!AuthorModel.saveAuthorList}" id="saveButton" value="Save" rerender="pageblocktableid"/> My requirement is that I want to ...
0
votes
2answers
57 views

Facing System.NullPointerException: Attempt to de-reference a null object issue

There is an issue with the test class: Error Message System.NullPointerException: Attempt to de-reference a null object Stack Trace Class.AnalyzeObjectBatch.start: line 30, column 1 global ...
3
votes
1answer
212 views

Error Message in Visualforce page

I have a visualforce page which has a apex:pagemessage tag. A method on the controller is checking if a field in the visualforce page is valid. I want to display an error message but I do not want ...
1
vote
0answers
37 views

Difference Between Error Messages on Duplicate Campaign Member Insert

I recently imported Campaign Members to two Campaigns. I see the following errors for a handful of records. ERROR: Attempted to add an entity '0036100000abcde' to a campaign '70161000000abcd' more ...
0
votes
1answer
82 views

Not able to Send Email for Person Account

I am facing one issue and i don't know what is it, i am going to send and Email template to the Contact via Send Email Method but it will not working for Person Account...It is working for Business ...
2
votes
1answer
169 views

Icon maximum length error during deployment

I created a new sandbox and tried to deploy some code changes using Github and CircleCI (CircleCI internally uses Ant Migration Tool). I get this strange error : [sfdeploy] Component Failures: [...
1
vote
1answer
30 views

How to resolve Compile time Error: Initial term of field expression must be a concrete SObject: List<ExceptionLog__c>

I've a generic class which detects the type of exception and redirects to another utility class for displaying specific message for exceptions. Now for a certain scenario I want to display a different ...
1
vote
1answer
88 views

Lead Capture Page: Not Available when posting Web-to-Lead lead

We work with a lead partner who posts leads to our SF org. They receive the following error when creating a test lead: Gateway: https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 ...
0
votes
3answers
415 views

“Unable to generate preview” without any error detail

We have recently found that when we are trying to use the email preview feature within SFMC that rather getting a vaguely useful error message (e.g. syntax errors and lines numbers), we are now simply ...
0
votes
0answers
168 views

Error Using New Data Import Wizard "Your import failed: Import for object XLR8CS__XLR8_Securities__c did not succeed. Error received - null

We have been using Sales Force XLR8 to import Securities for quite sometime now. The .CSV file we are using has not changed. I have followed the new instructions for the new Data Import Wizard and it ...
0
votes
1answer
30 views

character in apex:pagemessages is getting escaped

I am trying to put custom error message using Apex:PageMessges. Message contains HTML tags so I have used option <<"apex:pageMessages escape="false" />>. One of my message is like: message = '&...
0
votes
1answer
324 views

Task: bad field names on insert/update call: ActivityOriginType: [ActivityOriginType]

I can't figure out this error. It only happens on the 3 triggers I have created on Opportunities that send emails. It always points to the "Messaging.sendEmail(emails);" line. These triggers worked ...
1
vote
1answer
48 views

Dataloader Batch Mode Extract CLI Process.bat Error

I am trying to do an extract via the CLI of dataloader and getting an error when I run my process.bat. Here is error message when running process.bat on csvAccountExtractProcess in the process-conf ...
2
votes
1answer
103 views

JavaScript Error when typing in lookup field

I am receiving this javascript error in an up-to-date version of Google Chrome (Version 45.0.2454.101 m): error: {faultcode:'soapenv:Client', faultstring:'Attribute "xmlns" bound to ...
1
vote
0answers
34 views

“Unable to acess page” error while creating a user in salesforce

I am running into an error while trying to create a user. When I hit the Save button, an error is displayed as follows. Unable to Access Page "You are missing information needed by the page you have ...
-1
votes
1answer
177 views

Unable to show success/error message on same Visualforce Page

I have a VF Page that has a textbox and a button. On button click it should show success if there is a valid input in the textbox. <apex:page controller="textInputsCon"> <apex:form > &...
0
votes
1answer
204 views

custom button - receiving invalid page redirect error

I am working in my Sandbox environment and tried to use a Custom Button we created last year that works fine in production. I am receiving the following error when trying to create a new record (Case ...
0
votes
2answers
110 views

how to display error message within pageblock?

the error message was shown initially when model ,discount values are not entered. after entering the values and clicking save button the values are inserted but my page redirects to another page ...
0
votes
1answer
77 views

Sporadic Bulk API error with PKChunking - Failed to create batch, since the Job is not Open

Sometime when retrieving the batch results for a Bulk API query job submitted with PK chunking enabled, I get the following error message: PKChunking failed. InvalidJobState : Failed to create ...
0
votes
2answers
245 views

how to put error message in apex trigger?

whenever i uncheck the checkbox so throw error message popup in record so how should i do this? so how can i add error message and don't uncheck the checkbox value here show the error message during ...
0
votes
0answers
29 views

Salesforce - MailUp integration

I am using MailUp for my campaigns and recently wanted to integrate it with my CRM, Salesforce. I've installed successfully the package MailUp offers and when I tried configuring an error shows up. ...
0
votes
0answers
94 views

Making an HTTP post request returns 500

Here's the request: public class IntercomCallout { @future (callout=true) public static void registerUser(String orgId, String name, String email) { HttpRequest req = new HttpRequest(); ...
-1
votes
3answers
173 views

show error message in Visualforce page if no file was uploaded by user

I have a form in my Visualforce page with an inputFile tag. If the user clicks the submit button without choosing a file i want to display an error message and force him to choose a file from his ...
2
votes
1answer
320 views

Invalid component tried calling function [getElement], markup://aura:html [132:c]

I am using the $A.createComponents() method to dynamically insert different components into the body of my Lightning application. I am executing this function using a custom Lightning event where I am ...
0
votes
0answers
7 views

Cannot retrieve campaign data from Mail Chimp for SalesForce plugin

When I try to refresh the campaign stats on the Mail Chimp for SalesForce app I get the following error (see screenshot) Has anyone come across this? If so, what do I need to do. I'm using SF ...
0
votes
0answers
57 views

Automation error in step 2

I am building an automation in Automation Studio. In order to prepare to do so I: Created a standard data extension Created a filter to segment the standard data extension Created an interaction ...
2
votes
1answer
122 views

Create custom error message for batch process

Good day everyone, At the moment, I've created a batch process wherein its purpose is to parse csv file and save the parse data to salesforce object. During the batch process I have to check the data ...
5
votes
1answer
3k views

How to debug the mysterious “duplicate value found: <unknown> duplicates value on record with id: <unknown>” error

I've just spent several hours trying to fix a deployment that was failing with the following extremely helpful error message: Error: objects/Opportunity.object(2098,13):duplicate value found: <...