All Questions

-1
votes
0answers
12 views

How to compare the values in MAP with SOQL

I have a Map query mentioned below. Map<Id,Ordering_notification_email_dates__mdt> map_mdtype = new Map<Id,Ordering_notification_email_dates__mdt>([Select DeveloperName, MasterLabel, ...
0
votes
0answers
5 views

Pardot Interaction Report

I have a request to get the data that is currently in Pardot under reporting and the email interaction tab and add it to Campaigns in Salesforce. Pardot Email Reporting I have gone through all the ...
0
votes
0answers
7 views

Report that shows the last date sent per contact

I would like to remove dormant subscribers from Salesforce Marketing Cloud. To that end, is there a way to build a report that can show me "last send date" and "total sends" by subscribers? Thanks!
-2
votes
0answers
19 views

Test class for Invocable Method of process builder

public without sharing class ABC { @InvocableMethod public static void AddRecord(List<Id> Idsss){ system.debug('Input values - Auth '+ Idsss); List <Object1> Auth =...
0
votes
1answer
13 views

Process Builder / workflow rules not firing

I'm having some issues with a Process builder. I want it to fire when the Last Modified Date is some time ago (a couple of minutes in my example below, just for testing) and that the Case Owner is ...
0
votes
1answer
14 views

How to enable '“Enable Milestone Feed Items” in scratch org through metadata file or configuration

false false false false false true false false false false
0
votes
0answers
10 views

How can we download file through lighting component

I have a PDF file stored in the files section of Lightning. I would like to create a Button on the lighting component so that when any user clicks the button it downloads that file. I have to show ...
0
votes
0answers
10 views

Lightning call retrieving error when launched by a non-system administrator user

I have a lightning component that is working fine with System Administrator user but not with everyone else. This is my code: helper.js: checkPreActionStatus : function(component){ var result; ...
0
votes
0answers
8 views

unable to use forceChatter:feed for feeditem in lightning component

I am using this code in lightning component: <forceChatter:feed subjectId="0D56100001VjLhxCAF" /> But nothing shows up for feed
0
votes
0answers
8 views

Create Custom Field on Account Level with last won Opportunity ID

I need help to solve this challenge. I wanna create a Custom Field on Account Level which shows the last won Opportunity ID. I need this Field to link a submitted Case with this Opportunity ...
0
votes
0answers
18 views

Why is my read only field editable?

I need to make one field(Date) read-only in an object(Service Appointment). I've set the Page layout settings to "Read-only" I've unchecked the system permissions of profile "Edit Read-only field" ...
0
votes
2answers
26 views

Aura:if condition needs to be added in lightning select option

i am new to lightning and i need to add a aura:if condition to one of lightning select option. My lightning select option contains a none value along with other options that render data in a ...
0
votes
1answer
24 views

List.Add() not working

I've got the following code snippet in a trigger handler class x1 = trigger.new; List<Id> listx = new List(Id); For(integer i = 0; i < x1.size(); i++ ) { System.debug('Loop ...
0
votes
2answers
25 views

Error: Invalid field 'size' for SObject 'OpportunityLineItem'

I would like to check the size of the OpportunityLineItem related list in a Visualforce Email Template like below, where relatedTo is an Opportunity <apex:outputPanel rendered="{!relatedTo....
0
votes
0answers
10 views

How can I do a 2-way real time sync with large data sets from external database to Salesforce

I have a requirement where I have to do a real time sync with an external database and salesforce. Objects that I need to sync Contacts, its notes and events. I have used Bulk API previously to push ...
-1
votes
0answers
7 views

Trigger for birth date updation of most recent contact [on hold]

Trigger to update the birthdate on most recent contact on account ,should work on update insert and delete
0
votes
1answer
17 views

Test methods not executing on sandbox org while deploy metadata

I'm trying to run ant command - deploy and deployCodeCheckOnly - on my sandbox org. In both targets, testLevel attribute value is RunSpecifiedTests and RunLocalTests. Commands executed successfully ...
0
votes
0answers
7 views

Platform event subscribers on Visualforce page not being called always when platform event is published

We have an implementation in which there are multiple Visualforce pages(seven pages). These pages are using platform events to communicate between each other. The JavaScript code to subscribe to ...
1
vote
0answers
17 views

Custom translation for Type in Stage Opportunity

Is that possible to translate this type of stage Open and closed
0
votes
0answers
5 views

Canvas app not rendering with full width in pop-up modal in lightning

I am trying to show a canvas app in a pop-up modal box. The app is shown when a user clicks on a button. The issue I am having is, the app does not take full width and height of the window. This is ...
0
votes
0answers
8 views

navigator.getUserMedia is not working in Salesforce Lightning Web Component

We are trying to use lightning web component for a requirement in Salesforce where we try to capture the image of the user via webcam and this requirement is specifically for laptops and desktops. ...
-3
votes
0answers
17 views

Send Email to newly registered customers with latest blogs details

I have questions in SFMC Email Marketing, how do I send an email to my newly registered customers with 3 latest blogs. Remember: These blogs will get updated from time to time and will be different ...
0
votes
2answers
29 views

Help With Access Token for Server-to-Server Integrations Using SSJS

I am using the script below <script runat="server"> Platform.Load("core","1.1.1"); var client_id = Variable.GetValue("@ci"); var client_secret = Variable.GetValue("@...
2
votes
1answer
32 views

QueryException - query non selective

I recently deployed a trigger to production. Inside it was the following query: SELECT Id, (SELECT Business_Unit__c, Department__c, Role__c FROM Account_Roles__r WHERE Role__c IN :roles AND ...
0
votes
1answer
11 views

TestMethod do not support getContent call

I have a requirement to send a specific report as an attachment on schedule basis. So, i have created a schedule class with future annotation to send.But now when i'm trying to setup apex class I'm ...
0
votes
1answer
17 views

refresh lightning:datatable with the new values after saving inline edits

When i edit save the records with the inline edits and do save it with the save button: the edited values get saved in database but the component doesnt get refreshed it still displayed edited values ...
0
votes
0answers
9 views

Opportunity History Report

The Closed stages should show the day as default 1 as the age freezes when its updated as Closed The Grand Total days should be the sum of All stages + 1 day for Closed ones Hi Guys, I have created ...
1
vote
0answers
15 views

aura:iteration label of current field

Is there a possibility to get the Label of current field using aura:iteration ? <aura:iteration items="{!v.objectName}" var="objectName"> <lightning:input value="{!objectName.field1}" ...
-1
votes
0answers
16 views

Use Batch Apex for a Visual Force page

I am a newbie to Batch Apex so hope someone can help me out. My main aim is to search through all my contacts and return all those which are duplicates on a Visual Force page, and then a button will ...
0
votes
0answers
5 views

Create current location automatic without coding

I just created customer object with customer name field ,now i want the latitude and longitude to auto update when customer name is update HOW? (is it possible without the coding)
0
votes
0answers
10 views

How to bypass FLS for Lightning:recordEditForm for Community Guest User

I'm trying to update a Contact record as Guest Community User. Lightning:recordEditForm seems does not allow community guest user to load or save the record, and gives me following error on community ...
0
votes
0answers
33 views

Split the currency with Comma

Everyone, I want to split them currency value with a comma, Example 8527388 to 85,27,388 but below code splits by value like this 8,52,73,88. Apex Class: public Double total { get; set; } total = ...
0
votes
1answer
25 views

Execution enters IF loop, even if the condition is not satisfied

if(User.FirstName != NULL && User.MiddleName != NULL && User.LastName != NULL) { User usr = [SELECT FirstName,MiddleName,LastName FROM User WHERE ...
0
votes
0answers
10 views

Need help on Salesforce Login discovery

Requirement-I want one of the dedicated profile to be redirected to seprate SSO flow and others needs to redirect to normal username/password flow. I have gone through Login discovery but it seems to ...
0
votes
2answers
42 views

Parse JSON with Apex

I am trying to deserialize below JSON . Problem is that sometimes message is returned as an object and sometimes as an array . In this JSON , I have combined three HTTP responses into one so as to ...
0
votes
1answer
34 views

Can someone provide me the list of SOQL exceptions?

Can someone provide me the list of SOQL exceptions? a URL link which has all the exceptions and explanations. Thanks in advance
2
votes
1answer
48 views

Variable does not Exist: CaseTrigger

I'm trying to pass a value to a variable in an apex trigger from an apex controller in an effort to control whether the the code in the trigger is executed. In myController initialization, I try to ...
0
votes
1answer
36 views

How to remove linebreak from apex:pageMessages

I am using a apex:pageMessages in my visualforce page. The label Error is printed in red on one line and the error on the second line. How do I remove the breakline. Solution: Error: Wrong Username ...
-3
votes
1answer
20 views

can anyone help me out with this :Variable does not exist: ChildOpps

Apex: public class My_ChildOpp_Task { public Account acc{set;get;} public My_ChildOpp_Task(ApexPages.StandardController std){ acc=(Account)std.getRecord(); } public List<...
-3
votes
1answer
20 views

System.QueryException: List has no rows for assignment to SObject Class.CurrentPage_Call.<init>: line 7, column 1

Apex: public class CurrentPage_Call { public Account acc{set;get;} public String acctId{set;get;} public CurrentPage_Call(){ acc=new Account(); acctId=ApexPages....
0
votes
1answer
25 views

Auto Number Field Format

I want to make an Auto Number Display Format field that start counting from 1 and not from 0. means {1000}.. I'm getting an error when doing it on the auto number field.. Thanks!
-1
votes
1answer
31 views

Error: Compile Error: Found punctuation symbol or operator '%' that isn't valid in Apex. at line 14 column 362

global class ABI_SFA_TAC_Removal_Batch implements Database.batchable<sObject> { // variable decleration. public String Query; /* Method Name: Start Description: This ...
0
votes
1answer
35 views

Soql on Account returns empty Id

I have a controller where I get a token from a visualforce page with account as a standard controller and controller extension. In my unittest I insert the variables but the accid throws an exception ...
1
vote
0answers
41 views

How to prepopulate Address field in lightning:inputField

I need to prepopulate fields in lightning:recordEditForm and then get their values to save using Apex (without submitting form itself). What I've already tried: ...
0
votes
0answers
10 views

How to create a report on the Number of Sales Orders created Vs Bill-To in a particular duration

Could anyone please help me understanding on how to create a report in Salesforce on list of Sales Orders created under different accounts in a particular duration
0
votes
0answers
6 views

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job?

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job? It seems that it is a system job, so I was not able to find it in the Administration - Jobs. The job is running infinitely ...
2
votes
1answer
30 views

Record Type Selection in LWC

I'm trying to create record Type selection screen in LWC, but getting this error afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined] HTML: <...
0
votes
1answer
23 views

Export data from batch to csv file

I want to create a quick action button that call to apex class that execute a batch(I used a batch because I want to retrieve More than 50000 records and I have salesforce limitation). I want to take ...
0
votes
1answer
22 views

How to show different div content in one div block by clicking on different div blocks

I have a lightning component with 9 div boxes in it. By clicking on these divs, it should the content inside it in another component or another different div box. Is there anyway to do this? I am very ...
0
votes
0answers
19 views

Issue with apex:param inside a commandLink

I have a table with products with details and a deleting icon on the side. I having an apex:param tag inside an apex:commandLink tag. This is need to tell the Controller which row should I like to ...

15 30 50 per page