All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
11 views

Error while creating a Scratch Org

I am encountering an error as seen in the 1st image. The code is in the second image.
0
votes
0answers
8 views

Unable to redirect from Community to Salesforce Org

Error when trying to jump between Community to Salesforce org. I am using a custom layout template and am not using the navigation menu. I tried this but this redirected me to the portal { type:...
1
vote
1answer
13 views

Wrapper class variable show as undefined in LWC

I have been stuck on this for a few hours, hope someone will be able to help me with this. I simplified the code as well. This is the error I am getting => [Cannot read property 'firstNameFieldLabel' ...
0
votes
0answers
4 views

CC in Marketing Cloud - Send All Campaign Members the same Email - all in CC ? (Marketing Cloud)

We're trying to automate Client Meeting Notes sent from Marketing Cloud without leaving the CRM; The recipients are SF Campaign Members who constitute the Key Stakeholders of the meeting. An ...
0
votes
0answers
13 views

FullCalendar.io and Infinite for Loop trying to show elements

I am new to LWC so i maybe do a common mistake. I have a LWC with implementing fullCalendarJS.io and I have customized the default solution to get via apex controller the events related to my org and ...
2
votes
1answer
25 views

Blob is not a Valid UTF-8 String - Only after “–”

I created a CSV parser that parses CSV's from static resources. I am returned with a Blob is not a Valid UTF-8 String error when parsing the character: "–" different from "-". The "–" is apparently ...
1
vote
1answer
14 views

Can't assign permission set to my user after installing Salesforce Data Mask!

After installing the Salesforce Data Mask managed package in my org I get the following error when trying to assign the permission set to my user: Can't assign permission set Data Mask to user ...
2
votes
0answers
16 views

How to identify the parent record related to a paused flow interview using a SOQL

I need to cancel some of the actions scheduled by different process builders (executed on opportunity) but it is not easy to identify the related paused interview flow records....I dont know how can I ...
0
votes
0answers
25 views

Permission(s) for an API-only user

I cloned Standard profile and created a new profile to just have "API enabled" in System permission. I have removed all permissions and used a permission set that has "API enabled" only. Here is the ...
0
votes
1answer
20 views

Making IFs ELSEIFs & ANDs work

I have the below AMPscript that is throwing this error: Multiple logical conditions for a script IF/ELSEIF exist but the required logical AND or OR operator joining a secondary condition is missing....
0
votes
1answer
25 views

Refresh the page after the lightning component

I have a lightning component that shows as button on the record page like below The lightning component Controller are like below <aura:component implements="flexipage:availableForRecordHome,...
-1
votes
0answers
18 views

Editing past events by apex trigger throwing error

I have some past events which were created from calendar, When i go into the record and try to update any field i am getting the following error Update failed. First exception on row 0 with id ...
0
votes
0answers
16 views

Marketing Cloud - Using Triggered Sends

In our Org, we are using apex to send outbound email for various use cases. But, we are hitting Single Email Limit Exceeded Error during some busy days. We do use Marketing Cloud separately, I was ...
0
votes
0answers
14 views

Internal Server Error from marketingcloudapis /interaction/v1/events

Getting error every time that I try this request: curl --request POST 'https://[MY SUBDOMAIN].rest.marketingcloudapis.com/interaction/v1/events' \ --header 'authorization: Bearer [TOKEN]' \ --header ...
0
votes
1answer
21 views

Custom Javascript Button on List View Help

Happy Friday! Looking to see if the following is possible using only Javascript. I have two Custom Objects - Obj1 & Obj2 (both have child relationship to Account). Using a List View Button on ...
1
vote
1answer
30 views

lightning component button doesnt fire

I created a lightning component button I added them in to the page layout. I tried to do with the Lightning App Builder the button show up when I click nothing happens. The lightning component button ...
1
vote
1answer
19 views

Automatically set a value on an attribute sobject field

I have a class with more than 10 attributes (fields). Each attribute is filled depending of a context (conditions "if"): if(value == '1'){ myobject.attribute1 = value; }else if(value == '2'){ ...
0
votes
0answers
16 views

Unable to create Knowledge Article through Process builder

I was trying to create a New knowledge Article through Process builder, When a case status is set to validated. As a part of creation We are referencing Case custom and standard fields to knowledge ...
1
vote
1answer
31 views

Unable to update tracked array in LWC

For some reason, the push in the code block below is not updating the array. The console.log statement displays the array with 0 elements. I created a local array variable and pushed to it with no ...
2
votes
1answer
19 views

Why onfocus and onblur infinitely calls itself?

ElectronicCigaretteSearchComponent.cmp <aura:component> <aura:attribute name="soqlRequest" type="String" default="none" access="global" /> <aura:attribute name="listProducts" ...
0
votes
0answers
8 views

How to get content (image/html/chart) from lightning tabset

I have a following structure. <lightning:button variant="brand" label="Export" title="Export as PDF" onclick="{! c.handleClick }" /> <lightning:tabset> <lightning:tab label=...
0
votes
0answers
8 views

Maps and Location services in Setup not showing

I'm unable to access "Maps and Location Services" in Setup. USER PERMISSIONS NEEDED To modify maps and location settings: Customize Application It's already enabled. When I search "Maps and Location ...
0
votes
2answers
20 views

LWC @wire and managing response in Javascript

I am new to LWC so i maybe doing something silly mistake here. I have implemented a custom calendar solution via a LWC. Now i want to get the events for the current user so what i have done is created ...
0
votes
0answers
11 views

Accept button in email message that triggers a process in salesforce to update case record

I would like to know if it's possible to have Accept or Reject button in email message that a recipient can click then will trigger an update process (WF, PB or Flow) in a case record? The email that ...
0
votes
2answers
33 views

Cannot call the lightning Component through URL

I am trying to call the Lightning component through a URL in the Page Detail button. The lightning component (CaseChangeStatus) is like below Component <aura:component implements="lightning:...
0
votes
2answers
19 views

Trigger To update ConvertedContactId to custom objects when a lead is created

I worked on one Apex class which will update the ConvertedContactId to Custom object when a lead is converted, my class is below but at sometimes I amgetting CPU run time error,can anyone help me out ...
0
votes
0answers
5 views

Import English (UK) dates into Marketing Cloud

I am trying to import a CSV with a bunch of customer information into Marketing Cloud. The import keeps failing due to Invalid Date: 7. I've been using English (United Kingdom) as the date format ...
0
votes
2answers
32 views

I am not able to display the DataTable using Jquery in LWC

Below is my JavaScript Code:: import { LightningElement, track, api, wire } from 'lwc'; import { loadScript, loadStyle } from 'lightning/platformResourceLoader' import getAllOpps from '@salesforce/...
0
votes
1answer
13 views

Retrive inbound message data in mobile connect marketing cloud

someone knows if the only ways to capture an incoming sms (phone, message, keyword) in SFMC is with ampscript by "Text Response Type" or with "Info Capture"? additionally, whenever you send the "text ...
1
vote
0answers
22 views

Salesforce API design patterns

we are moving away from point to point integrations to Mule(API Led integration ) and are in the process of revamping our endpoints and thus having all the endpoints pass through mule anypoint , this ...
0
votes
1answer
25 views

How to show spinner while getting records from server with @wire

I'm getting data from server using @wire when the @api property changed. How to show spinner whenever getting data from server? @api classId; @tract isLoading = true; @wire(wiredMethod, { classId: '...
0
votes
1answer
18 views

Can Salesforce be used for multi user game type experience

This is extremely generic question about Salesforce capability. Can I develop an application where same UI is being shared between several users? Say for example I was building a card game, where a ...
0
votes
1answer
12 views

Web2Lead Technology

I am thinking about implementing Web2Lead functionality on my Salesforce Org. My infrastructure team is asking what underlying technology is used for our customer facing portal to talk to Salesforce. ...
0
votes
0answers
16 views

Unable to open Appointment Management snap-in in Community

I'm trying to embed the Service Appointment Management Snap-in into a Community, and I get the following error when I try to launch it: The result is the modal window displaying with the message "Try ...
-2
votes
1answer
42 views

try catch with addError not showing message

I wrote this code in a trigger so addError works fine, but when code fails within a try-catch block i expected my addError message but i getting a error as i not using the try-catch. public with ...
2
votes
1answer
30 views

Running the packaged tests while installing with sfdx:force:package:install

Is there a way to run packaged or org tests when we install a Managed/Unlocked SFDX package to an org using sfdx force:package:install?
0
votes
1answer
25 views

What is wrong with this test class? It is not covering, any suggestions? Thanks, [duplicate]

@isTest public class PropRentTotalSumTEST { @isTest static void testFeeCalculation() { Property__c prop = new Property__c(); prop.Name = 'Test'; prop.Monthly_Rate__c = ...
3
votes
2answers
39 views

Change version number scheme in sfdx-project.json

For the sake of simplicity, I want to change the default version number scheme of SFDX projects from Major.Minor.Patch.Build to Major.Minor like "versionNumber": "0.1.0.NEXT" to something like "...
1
vote
0answers
13 views

Any way to reliably navigate to the Apex Jobs page in both Classic and Lightning from a Visualforce page?

In some basic setup UI written in Visualforce, I want a link that takes the user to the "Apex Jobs" page in both Classic and Lightning. I note that "/707" (the key prefix for AsyncApexJob) does not ...
0
votes
0answers
12 views

Named credential access

I have defined a 'Named Credential' in my org with type Named Principal, which as per https://help.salesforce.com/articleView?id=named_credentials_define.htm&type=5 means 'one user for the whole ...
0
votes
0answers
13 views

REST API HTTP CallOut error in same domain

I am using this code to call a REST API inside my same domain HttpResponse res = new HttpResponse(); Http http = new Http(); req.setEndpoint('https://chaarvim-dev-ed.my....
0
votes
1answer
16 views

Disable one of the checkbox in lightning-checkbox-group in LWC

Currently, I am displaying a set of checkboxes on the screen using lightning-checkbox-group, but I need to disable one of the checkbox conditionally. So, looks like we have a 'disabled' attribute in ...
0
votes
1answer
18 views

LWC update toggle checked/unchecked attribute from JS

First of all I’m new to LWC development so I would like to apologize if the question looks stupid. I’m currently working on a LWC and I would like to create 2 toggles but I want only one toggle to be ...
1
vote
0answers
22 views

Database.saveResult showing only one error at a time

I am trying to write an apexrest service that takes in fields for the Opportunity Object. There are certain restrict picklists on the Opportunity object that I've created. Additionally there are other ...
0
votes
0answers
9 views

Related record in formula

I have a problem with my custom component (aura listview). I have a custom list view where I showing related records. I have a object ABC. On this object I have related list in which I should show ...
0
votes
0answers
15 views

Error: Compile Error: Invalid type: DuplicateRecordItem

i am writing a trigger on account object on after delete event . scenario: once Account records are merged the trigger should delete corresponding Duplicate Record Set record. code: public static ...
0
votes
2answers
15 views

I am trying to display a select list from a custom controller, and i get a “Read only property 'getObjectOptions.ObjectItems''” error

My custom controller: public class getObjectOptions { Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe(); List<SelectOption> options{get;set;} /**public getObjectOptions(...
1
vote
0answers
10 views

How can we add manifest to Lightning Web Component/Aura Component?

I am trying to build a progressive web app for the Community, I am not sure how I can add the manifest and Service worker dependencies in the LWC/Aura Components. I have found this article which is ...
0
votes
0answers
4 views

How to manage with Base64 in sfdcDigest Analytics?

I try to get LogFile field from EventLogFile in "Default Salesforce Dataflow", but sfdcDigest doesn't support base64. Is it possible to inject some script before this opperation to decrypt that field ...
0
votes
2answers
21 views

Error in Ternary Operator

This is my code snippet , string.isBlank(distributorId) ? gen.writeNullField(DISTRIBUTORID):gen.writeStringField(DISTRIBUTORID,distributorId); why it is throwing me error Expression cannot be a ...

15 30 50 per page
1
2 3 4 5
2037