The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
76 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
18 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
37 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
68 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
30 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
67 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
53 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
31 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"/> ...
2
votes
1answer
60 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
42 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
69 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 ...
0
votes
0answers
37 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
40 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
153 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
29 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
64 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
129 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
53 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
2answers
299 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
143 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
26 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
229 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
41 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
87 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
27 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
148 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
169 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
86 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
69 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
1answer
187 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
84 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
143 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
244 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
6 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
50 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
107 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
2k 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: ...
1
vote
1answer
107 views

Converting Database.SaveResult error messages in more friendly feedback messages

I am implementing an interface from where you can update & insert records in SFDC, through a CSV file. After I process the files accordingly to my specifications, I want to perform an Update and ...
0
votes
1answer
157 views

Uncaught error in markup://ui:click Error in Salesforce1

We are getting the following error when we try to click the "my tasks" list views from Salesforce1. Not sure what it means or even where to start. Any suggestions? We have quite a bit of custom ...
2
votes
2answers
71 views

Error message: Only user and group IDs may be used in inline mentions

I've written a program where I used the ConnectApi class and especially the postFeedElement function. First I've implemented all in a Dev. Org (Spring '15) where I tested it, the tests ran all well. ...
2
votes
1answer
234 views

Show DML exception in VF page

Summary of what i am doing - I have a standard Object - ServiceContract, its child (detail) standard object ContractLineItem, and a custom object (Transaction_Line_Item__c) which is a detail to ...
0
votes
1answer
58 views

Need to cover upto 85% [closed]

I written a test class for one class.I am getting 83%. I want to cover 85% or above 85%. can you please help me out to cover 85%. Below are the class and test class.
5
votes
3answers
1k views

Why does the SOQL parser give a primitive message like 'Unknown error parsing query'?

If you make a mistake/typo in a SOQL query in the Developer Console, you frequently get the - not helpful - message "Unknown error parsing query". I started programming in the early 80s, in BASIC of ...
5
votes
1answer
329 views

Can you make trigger exceptions pretty in standard page layouts?

We have a situation where it is possible for a trigger to throw an exception that will be shown to the end user. This isn't ideal as the user sees a lengthy message containing what is essentially a ...