All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
89 views

Restrict a particular Account

I have a account record which can not be edited by anyone except for 2 profiles lets say profile 1 and profile 2. So I have written a validation rule on the account which goes as followed: Id = '...
Niks's user avatar
  • 11
0 votes
1 answer
918 views

Save email opens / clicks to Data Extension and create Lead in Sales Cloud

I'am relativly new to the MC enviroment and to learn i wanted to create my first MC Projekt / Journey. I made some thoughts about how i would like create logics / Journey / Activations for my learing ...
Werner Holm's user avatar
1 vote
1 answer
56 views

Contacts associated with account are not appearing in PageBlockTable [closed]

I am trying to show contacts associated with account, on selection of account in picklist contacts should come in pageblock table Page <apex:page controller="MyController"> <apex:form &...
guru's user avatar
  • 23
2 votes
2 answers
4k views

slds styles apply on <button> but don't apply on <apex:commandButton>

I apply slds styles on apex:commandButton, but it does it not as in docs but in a strange way: Standard apex:commandbutton without styles apex:commandbutton with styleClass="slds-button" Button ...
EvAzi's user avatar
  • 1,041
0 votes
1 answer
3k views

what is difference between Process Builder And Flow in salesforce [duplicate]

What is the Difference Between Process Builder And Flow .Any One Give Main Differnce.
Farook's user avatar
  • 31
0 votes
0 answers
40 views

Detail record not getting linked with Master record

We have a master-detail object relationship . Master record already exists and while creating the Detail record , Master record needs to be selected from a lookup in Detail record. But the detail ...
SFDCRookie's user avatar
0 votes
1 answer
3k views

How To Avoiding Recursive Trigger In Salesforce [closed]

How Recursive Trigger Is Working In Salesforce I have Lot Of Confusion In Recursive trigger. Can u give me Explain With Example.
Farook's user avatar
  • 31
1 vote
2 answers
3k views

Find and merge all contacts with duplicate email addresses

I have a data cleaning scenario where I am trying to identify all contacts with a duplicate email address listed on another contact and merge the 2(or more)? Any way I can do this in mass?
Rufus K.'s user avatar
  • 505
0 votes
1 answer
5k views

System.AssertException: Assertion Failed: Expected: 2, Actual: 3

Earlier this is working with 3 but due to few modifications to this class, Now it is not working. What would be the problem if i change like System.assertEquals(lAccrSaleConShare.size(), 2);
user avatar
-3 votes
1 answer
105 views

List index out of bounds, what's the problem please?

<apex:page standardController="Contact" extensions="Recherche_Contact" > <apex:form > <apex:pageBlock > <apex:pageBlockSection title="Recherche Contact" ...
chemlali's user avatar
0 votes
1 answer
3k views

How do I add products to opportunities with the data loader?

How do I mass add products to an opportunity with the Data Loader? I've tried a few times but it seems to be asking me for the price book Id not the product - quite confused by this. - Is the ...
Paul Rogers's user avatar
2 votes
2 answers
191 views

PageBlockTable is not getting refreshed

I have an account list when user selects an account its related contacts should come in pageblocktable. public class assignment1 { public Account acc{get;set;} public List<wrap> wrapList{get;...
Anzar's user avatar
  • 954
-6 votes
1 answer
67 views

Validation rule [closed]

I have a account is TEST and i have a checkbox whenever user is try to check the checkbox for TEST account at that time validation rule have to be fire.remain all cases no validation rule will be fire....
Sathya's user avatar
  • 1,203
0 votes
1 answer
6k views

Referring a lookup in validation rule

I just came across a salesforce documentation to check the limitation of validation rules - https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_validation_considerations.htm&language=th It ...
SfdcBat's user avatar
  • 4,791
1 vote
1 answer
2k views

How to display a image in case feed?

I have a custom object named 'comments' with which i made a 'action'.it is having a trigger handler class public void onAfterInsert(Comments__c[] newComments){ if(newComments.size()>0){ ...
sahithi.s's user avatar
1 vote
1 answer
389 views

How to get date and time from Date object returned from GetUpdatedResult.getLatestDateCovered()

Database.getUpdated() returns a GetUpdatedResult object, which has a getLatestDateCovered() method. This method returns a Date object. When I do a System.debug to view the returned Date, I see a ...
kenslewis's user avatar
  • 328
1 vote
1 answer
214 views

Trigger on CollaborationGroupMemberRequest

Is there a way to enable triggers on CollaborationGroupMemberRequest object? I know you can enable triggers on ChatterMessage by setting the correct permission in a cloned System Administrator profile,...
Andrew L.'s user avatar
  • 837
1 vote
1 answer
193 views

Chatter User List in Napili Community [closed]

I'm looking to see if I can add a user list in my Napili Community that lists Name and allows the user to follow them. Basically I'm looking for something like that "Chatter" > people sub-tab that ...
Mike Lupino's user avatar
9 votes
2 answers
26k views

How to resolve an "Unknown user permission: SendExternalEmailAvailable" deployment error

When attempting to deploy profiles, you may encounter the error "Unknown user permission: SendExternalEmailAvailable". What does this mean, and how can you resolve it?
abd3721's user avatar
  • 2,152
0 votes
1 answer
1k views

Controlled by parent for lookups

Say I want to have Cases to be shared with parent account owners. By default, cases have a lookup relationship into Account and cannot be changed into master detail. What is the most elegant ...
dzh's user avatar
  • 4,106
0 votes
1 answer
496 views

Publisher actions not available in case feed for service console

I am using the case feed in service console and only have 2 publisher actions available. When I configure the "Feed View" of this page layout, all of the options are there but the publisher actions ...
user30816's user avatar
1 vote
1 answer
8k views

How to create lookup to event object on custom object

I want to create a lookup field on custom object(taskray task) to relate it to Event object. Is there any way I can do this?
user6194704's user avatar
1 vote
1 answer
53 views

Why is my save function giving me an error (REQUIRED_FIELD_MISING)?

I built my save function off of the answer from: How to save the value of a form in custom object of salesforce. The page works fine until I click on the save button, which then throws me an error. ...
user1470901's user avatar
7 votes
0 answers
917 views

Salesforce to Salesforce - Pending(sent) External Sharing Status

I have programmatic record forwarding for a Salesforce to Salesforce integration. For unknown reasons 1 out of every 4000ish records get stuck with the pending(sent) external sharing status and never ...
Steel Reserve 211's user avatar
0 votes
1 answer
603 views

"Attempt to dereference a null object" when getting value from Map

I need to pull the ID for a custom object record, BCS__c, using the User__c as the lookup. I keep getting the error "attempt to dereference a null object" in The_Hub__c = hubMap.get(cs.l11_sc__User__c)...
Matt M's user avatar
  • 1,477
0 votes
1 answer
1k views

How to create a link with Document ID to show PDF file

I am trying to show the PDF file of a link but when I try to pass the document Id I get the following error Error: Compile Error: Initial term of field expression must be a concrete SObject: List ...
Metawaa's user avatar
  • 709
1 vote
0 answers
313 views

Will this work? Apex utility method to catch exceptions on DML statements [closed]

So I am realizing that I should really put try/catch blocks around all the DML statements in my after triggers, but then I realized that maybe I can just write up a dynamic utility method that ...
OBerm's user avatar
  • 1,224
0 votes
2 answers
2k views

Starting Automation Program using SOAP API

I have struggling to get the SOAP API work to start the Automation Program. Below is the call I am using. It is returning OK status but the program doesn't start. <soap:Envelope xmlns:soap="http:...
Maneesh's user avatar
  • 2,166
1 vote
1 answer
140 views

Can we capture all kind of Errors in Salesforce object level?

Whenever a record is Inserted /Updated, many validations happens and it might Error. Can we capture these Errors at SF object level, no matter from where the Error comes from? I added below trigger ...
Amulya's user avatar
  • 367
0 votes
1 answer
334 views

AMPscript: pull content from a data file without LookUp

I have a data file with one row where the client will change the cells content from time to time and the automated email will pull that content at the time of every deployment. This data file has no ...
Snowalker's user avatar
  • 369
1 vote
2 answers
113 views

Compile error for scheduled apex test class (expecting a right parentheses, found)

I'm getting the following error when trying to save my test class for a schedulable class: expecting a right parentheses, found 'Test' Here's the main class: global class deleteConvertedChatter ...
Matt's user avatar
  • 1,017
6 votes
4 answers
2k views

Escape XML Function in VisualForce?

Currently, every field I can output easily by modifying the sObject on the back-end with my controller by using the following code: for(sObject example: ExamplesToHaveXML) for(Schema....
Programmable Medley's user avatar
2 votes
1 answer
414 views

Can sharing be set up between Accounts with Customer Community Plus licenses?

I am setting two communities using Customer Community Plus licenses. The first community is just for "members", and when they community user logs in they should only be able to see their own records (...
Emily Walton's user avatar
55 votes
3 answers
5k views

Should we use process builder at all?

Forgive me if this isn’t an appropriate topic for this board but I would like to have an open and honest discussion about Process Builder. We have a multi-tenant org (different business units using ...
Stephen's user avatar
  • 1,551
1 vote
1 answer
1k views

Apex Email Error: Invalid toAddress

I am receiving the following exception when trying to send an email through Apex: Exception: System.EmailException: SendEmail failed. First exception on row 0; first error: INVALID_EMAIL_ADDRESS, ...
jalamak's user avatar
  • 93
4 votes
1 answer
455 views

Does Dynamic SOQL Support Bind Expressions?

I want to show a table of items, when a user clicks on the header of the column, it will sort the items by ASC/DESC. Based on my internet searches, I need to use dynamic SOQL to include variables ...
Tyler Zika's user avatar
  • 2,882
1 vote
0 answers
370 views

Salesforce Community rich text giving invalid page

I have a Salesforce Community in which I have added a rich text in Template header bottom section. The rich text includes link where target has been set for some of the VF Pages. When I try to go to ...
cloudy-ritz's user avatar
  • 2,583
1 vote
0 answers
52 views

HTML escape not working in Salesforce1

I am adding an error message to a record using the Sobject.addError(errorMsg, escape) method, and I am trying to add a clickable link to my customer service departments phone number. ptCaseObj....
Mike Lankfer's user avatar
1 vote
1 answer
257 views

Rerender Typeahead Custom Component

I am using below Typeahead Component to search for existing Contacts in visualforce page. But when I rerender section of Typeahead component it is showing blank page. https://github.com/...
sfdc's user avatar
  • 13.7k
0 votes
1 answer
6k views

Lightning component for Community & Navigate to Record Detail page

I'm working on a case entry form using lightning component for partner community site (Napili template). Form is working OK, I can create cases. However I'd like to navigate the user to case detail ...
arehman's user avatar
  • 185
2 votes
1 answer
36 views

First Trigger- changing action

I have a trigger that I wrote on before insert. I need to modify it to include before update but am not sure how to do it. The trigger copies what is in the picklist type field and copies it in the ...
Briana Kruse's user avatar
0 votes
1 answer
348 views

Process Builder Flow Criteria to include NULL Values

I'm new to flows and could use some help. My flow was causing an error due to null values and by reading some of the exchanges, I was able to stop the errors. However, now I'm expecting a use case ...
Jenn Brown's user avatar
0 votes
1 answer
4k views

Select group of users in approval process

I want to create approval process in which I send mail request to group of users depending on submitter. For example if submitter is assigned a territory or organization unit (an object in our app), ...
Anil kumar Gorantala's user avatar
1 vote
1 answer
2k views

Trigger to copy field to another

Its not working. Actually I want to copy temporary address to permanent address field when the checkbox is active. trigger copyAddress on Demo1__c (before insert) { for(Demo1__c dmo : [SELECT ...
Vipul Mittal's user avatar
0 votes
1 answer
168 views

Controller_trySomething Compile Error: Constructor not defined: [ApexPages.StandardController].<Constructor>() at line 14 column 31

I am getting this error on my page: Compile Error: Constructor not defined: [ApexPages.StandardController].() at line 14 column 31 Controller: public with sharing class Controller_trySomething { ...
Farook's user avatar
  • 31
5 votes
0 answers
4k views

Lightning Date properties issues

I need to perform a simple business task. I need to alter date property before sending it to server to minimize server response time. I need to use LEX (Lightning Experience). I have declared my ...
Patlatus's user avatar
  • 16.7k
0 votes
1 answer
2k views

How to cover a test class to test Account ID = Null [closed]

I need a help in covering the Account ID = Null please find my test class below. static testMethod void DevelopmentRequestFormControllerNegativeTest() { Test.startTest(); Profile p = [SELECT ...
Samuel Robert's user avatar
1 vote
0 answers
234 views

Show custom button on a specific profile

I have a custom button on a standard salesforce page and I want to show this custom button to only few specific profiles, how would I do that? since this is a custom button on a standard page.
Nick's user avatar
  • 7,012
0 votes
1 answer
2k views

The CheckMarx security scanner says that these lines is a Stored XSS

Do not know why checkmarx throwing these errors. As there is nothing that needs to be HTMLENCODE. Although VF page showing the data that is being added from Line 344 and 345 from a <apex:...
AKSHAY Dhiman's user avatar
1 vote
1 answer
2k views

SOQL Child -->Parent ---->Child

I need to frame a SOQL in such a way that, from child i have to get the parent name and then i also need to get some data of another child of the same parent. Example : I have 3 objects Invoice ...
Venkatesh Kumar Sakthivel's user avatar

15 30 50 per page