All Questions

0
votes
0answers
10 views

Custom Visualforce Action with Redirect to External Site not Opening in Chrome, Only IE!

In a bit of a pickle right now. In Classic, one of our developers made a Visualforce detail button on the Contact object. The VF page referenced is merely a redirect to an external site, but its ...
1
vote
2answers
38 views

Lightning Community Does Not Support pubsub for Lightning Web Components?

Has anyone successfully used the pubsub module from lwc-recipes to enable inter-component communication in a Lightning Community? The registerListener function in the pubsub module throws an error ...
0
votes
1answer
10 views

Running Heroku app not showing the changes in the uploaded files

I push updates to Heroku (git push heruko master) then go and run my app from the Heroku page and the changes are not showing in the running app. If I run bash and look at the files on Heroku, the ...
1
vote
1answer
27 views

Access all label from one import in component(LWC) [duplicate]

I am trying to access label in a component(Lightning web component). import greeting from '@salesforce/label/c.xxxx; import greeting from '@salesforce/label/c.yyyy; ... I want to access all labels ...
0
votes
0answers
8 views

Looking for couple of simple example pages using pardot gated content

Looking for two types of simple pages using pardot gated content. One with the simple form in landing page which download the file after submitting the form but keeps you on the same page. and ...
0
votes
1answer
17 views

Excel download characters got corrupted in lightning component?

Using lightning component i want to download the excel file with some contacts. I am able to get the contacts. But file downloading if my contact name is in other language like Chinese/Japanese, the ...
0
votes
1answer
17 views

Pardot form - comment field not showing value for existing leads

I have added a 'comments' field in a pardot form. This field by default maps to 'pardot comments' in SF. If someone fills the form and gives comment, this value is shown in 'pardot comment' field in ...
-1
votes
0answers
16 views

Restricting Owner from Approving the request [on hold]

I want to restrict record Owner from approving the approval request.How can I do that?
0
votes
1answer
22 views

Add object to related list

After googling for one hour I couldn't find any answer to this question. Sorry if this duplicated but I couldn't find it. I've created a custom object that I want to add opportunities to the related ...
0
votes
0answers
8 views

In Salesforce CPQ, how to get values from a custom field present in Price Book Entry to Quote Line? [on hold]

In Salesforce CPQ, I am trying to create a custom field "Floor Price" in Price Book Entry and trying to get the values in Quote Line,in the same way standard field "Unit Price" of Price Book Entry ...
2
votes
1answer
29 views

Delete Attribute Confirmation [duplicate]

I added a field to a data extension that was linked through the contact model. Now, I realize that I need to delete that field and add a different field. This data extension is a primary table ...
1
vote
1answer
8 views

Object that is used for Case Feed comments

I'd like to create a trigger that fires every time a user, either internal or an external community user, comments on a case. Here is my comment I do know that the CaseFeed object is used because ...
0
votes
1answer
26 views

How do I reference a Contact's Salesforce ID using AMPscript in an SMS message?

We are running a series of SMS messages from a journey starting with an outbound message then a series of response messages using the next keyword. I have a Data Extension that triggers the journey ...
1
vote
1answer
39 views

Didn't understand relationship 'Opportunities' in FROM part of query call

This is a real estate development that has a Development object and a Property__c object. Properties can be related to a Development or not. Also, properties are tied to opportunities. Now I need ...
0
votes
0answers
21 views

avoid salesforce namespace dependency when packaging

I am trying to figure out a way to completely avoid appending namespace when deploying code to my packaging org. I have found options stated online that using custom settings,labels , querying ...
3
votes
1answer
33 views

Pattern Matcher finds match but cannot get text due to \r - works fine in regex testers

For the given text obtained from a text area field: Apex script unhandled exception by user/organization: xxx/xxx Visualforce Page: /apex/pagename caused by: System.NullPointerException:...
0
votes
0answers
14 views

LEX console method issue - lightning:tabClosed

I am trying to utilise the lightning:tabClosed event within my LEX component on a Case. I want to be able to get the record ID for the tab that was closed, as I need to do some processing using that ...
0
votes
0answers
9 views

Setting WhatId on Unresolved Emails

We've got an issue where lots of unresolved emails come into a generic email channel. We don't want to create leads but those emails are synced to SFDC and show up as Unresolved Emails. However, ...
1
vote
1answer
21 views

How to send daily reminders/email alerts before event start date

I have created a custom object "Assigned tasks" that works like tasks such that it has due date, status, subject, priority e.t.c. This custom object "Assigned tasks" is a child object to case object. ...
1
vote
1answer
31 views

New custom field missing in standard controller?

This should be a simple change. I am modifying code from a previous developer so if there are any suggestions they are very welcome. This is a simple button to call a VF page that will produce a pdf ...
5
votes
2answers
97 views

SOQL: Populate a Literal List in WHERE IN Clause

I need to query for an object based on 2 string variables. The first one is a constant but the second one gets passed to the class constructor. So in the end I want to achieve something like this: ...
2
votes
1answer
14 views

hashCode and equals implementation not working

I am not getting a match when using the containsKey method on a Map of this custom object type: Custom Apex Type public class StateTransition { final ProcessState CurrentState; final Command ...
0
votes
0answers
11 views

How can I Create Round Robin Case Assignment for one record type if I have 4 others

I have built round robin into our cases useing: https://help.salesforce.com/articleView?id=000004000&type=1 And i looks like this: (Field) MOD(VALUE( Case_RR_number__c ) ,2) +1 (Case ...
0
votes
0answers
6 views

Insufficient access rights error when Customer Community users edit contacts

We're running into an issue where Customer Community users cannot edit contact records, even though this page says they can: https://help.salesforce.com/articleView?id=users_license_types_communities....
1
vote
0answers
11 views

How to get records created between timeframe in a report

I need to create a report of all the records between 7am to 5pm CST/CDT everyday. How can I achieve this? The solution I tried - Created a formula field which extracts Hours from created date (...
4
votes
1answer
29 views

Handle AuraHandledException in Lightning Web Component

Let's say I have an apex method like such: @AuraEnabled public static void myMethod(String myString){ if (String.isBlank(myString)) { throw new AuraHandledException('Not Cool Bro.'); }...
0
votes
0answers
20 views

Bind Lightning Web Component SObject Variable to Input Text Area

I am trying to migrate an Aura Component to a Lightning Web Component. I am storing an sobject called "Approval_History__c" as a @track property called currentUsersHistory I have an input test area ...
0
votes
1answer
14 views

Validation rule that limits what products to add to opportunity by oppRecordId not showing error

I have a validation rule on the Opportunity Product object...it's the only one that i could reference the Opportunity object and the Product 2 object. AND(Opportunity.RecordType.Name = "Happy Fun ...
-2
votes
1answer
19 views

before trigger on ContentDocumentLink throwing error-Error: Null pointer exception-Attempt to reference null object- [on hold]

trigger tesDocUpload on ContentDocumentLink (before insert) { List<string> strIds = trigger.newmap.keyset() ; List<ContentDocumentLink> lstContDoc= [Select Id,ContentDocumentId ...
0
votes
0answers
9 views

Parentgroupval formula for bucked values in a matrix report

I have a matrix report using parentgroupval in a percent field and bucketed values as rows. The formula is as follows: This is incorrect. What I need is to show for each status, the % of that ...
0
votes
1answer
16 views

Apex:inputfile customize

Im trying to display the uploaded image name for the apex:inputfile. I think i need to modify my controller to add the display action,but dont know how to do it,any ideas? <apex:page > <...
4
votes
1answer
61 views

Use void Apex method in Lightning Web Component

I am trying to migrate an Aura component to a Lightning Web Component. @AuraEnabled public static void updateRecords(Id recordId, String newStatus){...} I have a public static void apex method which ...
0
votes
1answer
21 views

Rendering Visual Force page as PDF via the REST api

The documentation suggests that a Visual Force page can easily be rendered with apex: https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_render_in_apex.htm // ...
0
votes
1answer
36 views

isAfter && isUpdate is not triggering [on hold]

So I have created a trigger and a trigger handler class, but I cant seem to make either of them trigger in an isAfter && isUpdate call. My updateInstallStatusDesign works fine when it is an ...
0
votes
0answers
18 views

fast access object storage

Lead routing is a common task, the problem in my case that routing rules must be described as sObject, so APEX script should read it and convert into some mapping rules. The problem that 'static' ...
0
votes
1answer
7 views

Failed to query NamespaceRegistry for isNamespaceRegistered. (all worked just 50 days ago)

I am able to log into my partnerorg then I attempt to create a scratchorg sfdx force:org:create -f \config\\project-scratch-def.json -a mydemodemo --durationdays 30; this worked just 50 days ago ...
-2
votes
1answer
32 views

public list errors [on hold]

I have a custom lead convert page that I am trying to add Lead Status Reason field to under Lead Status: <!-- Converted Status --> <apex:pageBlockSectionItem > <apex:...
0
votes
1answer
23 views

AmpScript Rss Feed

Im trying to pull RSS feed into my email. I want to pull in the <content:encoded> as the full description and the image. I added "Set @xml = Replace(@xml1,'content:encoded','contentencoded')". I ...
0
votes
0answers
15 views

SFDX VSCode Workspace with Multiple Orgs

I'm working on combining several orgs into a single org. As part of my requirements, until the process is complete, I created some code that syncs up data from the "primary" org back into 3 "legacy" ...
1
vote
0answers
23 views

Ampscript fallback content for country Canada

I have a code in the header which is supposed to give you a fall back content block if the country isn't any of those listed, in this case Canada which has French and English as language. In the ...
1
vote
1answer
12 views

Object Manager doesn't retrieve some object?

I can't retrieve my object ParametresMetier__c in the Object Manager, Tho I can query it using Inspector as exemple, I thought all objects where present in the Object Manager, wasn't it true ? ...
2
votes
2answers
21 views

How to prevent manually changes of Status field for Cases and Opportunities?

The Status field of Case and Opportunity objects cannot be read only for any profile. How could I prevent the manual changes only? I've tried with a validation rule that allows a free choice when ...
1
vote
2answers
26 views

Sending wrapper object to apex controller from lightning component

I am trying to send a wrapper class from lightning component to Apex controller. But it is throwing following error: This page has an error. You might just need to refresh it. Error in $A.getCallback(...
0
votes
1answer
16 views

Redirect to custom lead convert page versus the standard

I have a custom button to remove a lead from workflow in order to be converted. This button then redirects to the standard lead convert page. I have created a custom convert page and I replaced the ...
4
votes
1answer
36 views

How to confirm one of many HttpCalloutMock has been used

If I load multiple HttpCalloutMock's when settings up a test: Test.setMock(HttpCalloutMock.class, MockFactory.create()); And I am using a MultiRequestMock implementation: public without sharing ...
0
votes
1answer
16 views

How to add multiple scheduled actions in a process builder

I want to send reminders 45 days, 30 days, 21 days before the event start date. I have mentioned all those 3 in process builder. Please see the screenshot. The problem I am facing is if I create a ...
1
vote
2answers
28 views

Concurrent requests limit exceeded - how to find the problematic code

I am a developer for a Salesforce org that serves as a community portal for thousands of users. We have been consulting with a large team of developers for years and everything we have is custom coded....
0
votes
1answer
17 views

How do I check if a record exists before one is created in Process Builder?

I've have a process that creates an Account when a new application (PPA_Equipment_Request) is submitted. The auto created Account works quite well but does not look to the Account object FIRST to see ...
0
votes
0answers
10 views

Rendered causing button to not work

I have the below code which is rendered when the variable Flag is set to true. In the constructor of my class, I set the flag to true by default and only change it to false in the constructor if a ...
1
vote
2answers
174 views

SYNTAX ERROR “)” ON DATE RANGE

I'm trying to segregate records by month name for the first three months of the year. Everything with a date range of 1/1/19 through 1/31/19, should return JAN, for example. I'm getting syntax ...

15 30 50 per page