All Questions

-2
votes
0answers
23 views

Having Checkmarx errors for else if staements (Refactor this function to reduce its Cognitive Complexity from 31 to the 15 allowed

var newCase = component.get('v.newCase'); var maxFileSize = component.get('v.maxFileSize'); var maxFileSizeBytes = maxFileSize * 1024 * 1024; console.log('maxFileSizeBytes..!',...
2
votes
0answers
15 views

What is a “pending connection” that might be preventing me from deleting a contact and account?

As I'm trying to do some cleanup in a customer's org, I face the following problem when deleting an account: Your attempt to delete Mr. Robert Jefferson could not be completed because it is ...
4
votes
0answers
26 views

SFMC public key missing `encrypt` flags?

The ExactTarget SFMC Public Key referred to in their FTP instruction guide points to a key that doesn't seem to be set up properly for encryption of FTP files. $ curl https://members.exacttarget.com/...
0
votes
0answers
15 views

Connected App with Custom Endpoint

I'm not sure how to ask this question. We have a custom endpoint that handles the creation of leads from external partners. We recently added a partner and they are using a connected app. I didn't ...
2
votes
1answer
29 views

Run Single Test for Lightning Web Component

I feel like this is a stupid question, but I can't find the answer anywhere. Is there a way to run a single test file for a single Lightning Web Component. I essentially want to be able to pass ...
0
votes
1answer
25 views

Deleting contacts twice?

When deleting records coming in through MC Connect, do you have to delete them twice? Once from the sync and also from the existing all contacts?
0
votes
0answers
16 views

Cloud Flow Designer - Screen - Lightning Component - Input Output Screen

PICTURES Component Markup Design Attribute Screen Element Entire Flow I am building a flow which takes user input and then process further. I am not able to get aura attribute of the Lightning ...
0
votes
1answer
20 views

How many API calls can be made per hour to a non-bulk endpoint?

Assume that there was a REST endpoint that worked with 1 record at a time, i.e. not bulkified. If we were to use the Apex scheduler to pull down the records into SFDC every hour, what would be the ...
0
votes
0answers
13 views

How to programmatically set all fields to read/edit for System Admin

Is there a way to programmatically set all the field permissions on the Admin profile? The problem I've encountered is that while you can set FLS with Apex or mdAPI, both only allow access to those ...
0
votes
2answers
13 views

lightning-input-address embedded in VF page. Address lookup not working

I have a use case to embed a lightning web component in a VF Page (in Classic) which includes a lightning-input-address component. The component includes the standard address lookup input (which ...
0
votes
0answers
8 views

ReportBuilder Conditional Sum on String field

I have a custom field called IsReturnClient__c, a string field with its contents either being an "A" or a "B" for a custom Grade object. I group the Grade objects by their owner. Now, i want to have a ...
0
votes
1answer
28 views

How to access object from MC Rest callout in SSJS?

I am calling out the the MC REST API inside my SSJS (as its the only way to retrieve the data I need). I can't however figure out how to access properties from the response body. Platform.Load("core",...
0
votes
0answers
17 views

Update multiple child records via process builder with flow

I'm using "GridMate" app to display the child record in a parent. Whenever "BaseLine Duration" is changed. I need to calculate the roll-up summary of "BaseLine Duration" and assign this value to "...
-1
votes
0answers
14 views

Lead Reassaignment. Can we do this with one trigger and class Combination [on hold]

acitve --> No Chnage inactive - > user --> manager is active --> assigned to manager inactive --> user --> manager is empty --> assigned to unassigned inactive --> user --> manager is ...
2
votes
0answers
30 views

CometD & empAPI Issues when subscribing to Platform Events

As we are using Cometd and platform Events to get the communication happen between Asynchronous Apex and Lightning Component(Lightning Out) it's working fine for some times, and getting the following ...
0
votes
1answer
11 views

When using the Favorite API to get all the favorites for the current user it returns as Http Response the Code: 302, Status: Moved Temporaly]?

I am using as reference this documentation: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_resources_favorites.htm And it says that by doing an HTTP GET request to this url ...
0
votes
0answers
24 views

Can I query the Email customer key or retrieve via AmpScript?

I need to get the Email (Content Builder) Customer Key, this isn't available in the email send context as a personalisation string and the the _job table only gives back the Asset ID. Any other way ...
5
votes
1answer
58 views

Any ways to extend a component's template in LWC?

In Aura there was a way to extend component and it's template. Extending component's template would go into {!v.body} slot from the parent component. In LWC we can nicely extend components code by ...
0
votes
1answer
29 views

Generate CloudPage URL in Marketing Cloud without email send

I have in place a custom preference / profile center built using a CloudPage. At the moment I am adding the link to the preference center using a AMPScript in the email template. This is what the ...
0
votes
4answers
36 views

Why does my trigger not update the record?

I have a trigger shown below that is supposed to count the related activities on a custom object and update a field on the record. trigger Call_Report_AfterUpdate on Call_Report__c (after update) { ...
-2
votes
0answers
22 views

Testing code coverage , but unable to cover these part of code can anyone cover these part to reach 75% [duplicate]

List<Extended_Application__c> extLstUpd = new List<Extended_Application__c>(); Map<String,Extended_Application__c> extendedMap = new Map<String,Extended_Application__c>(...
1
vote
0answers
34 views

How do I roll up an Account Hierarchy and keep all children in sync?

Problem My org has many extremely complicated account hierarchies because of our client type. I have an ask: to stamp all accounts with sum of all of the accounts sales volumes in the hierarchy on ...
1
vote
1answer
20 views

sfdx mdapi --wait parameter not working?

Followed a module in trailhead and when i got to the part where i was needed to deploy my work using this command sfdx force:mdapi:deploy -d mdapioutput -u MyTP -w 10 it throws an error. saying: ...
0
votes
0answers
26 views

Find the center record in a list from custom object and purge in bi direction

I have list of records from a custom object which is sorted based on a custom field "Date_of_Occurrence__c" in DESC. The size of the list is 30000. Now i want to the first record and last record in ...
0
votes
1answer
16 views

Add CC/BCC in Journey Builder email send

I can swear the option was there, but now I can't find it - any clues where it's gone and how to enable it? Here is what I see now:
0
votes
1answer
21 views

lightning:checkboxGroup: How to identify the name value of the selected record

I have aura List attribute which has the values from the custom settings. I am trying to find the all the value of that list attribute by passing the Key value of the selected record. I am not sure ...
2
votes
0answers
20 views

Japanese in VF generated pdf

I need to render Japanese characters as HTML in a pdf that's generated using Visualforce page. I want all the formatting to be applied along with the Japanese characters. I have used 'Arial Unicode ...
0
votes
0answers
11 views

Unable to remove a component from salesforce case page editor

I created a lightening component, added to the case detail page in salesforce, but now i am unable to delete it. The delete button on the top right corner of the widget is disabled. But i am able to ...
2
votes
1answer
72 views

Marketing Cloud Disaster Recovery

I have below questions for MC Data disaster recovery: What is the data backup plan for MC from Salesforce? What if the whole instance data get corrupted or MC got crashed & all data is lost, what ...
0
votes
0answers
16 views

Does response.getReturnValue(); terminates the execution of controller function?

I am trying to get an attribute set to the value returned on using response.getReturnValue(); and a thereafter a Boolean checked to true in a controller function. This save function saves the record ...
0
votes
0answers
28 views

$A.get(“e.force:navigateToURL”); TypeError: Unable to get property 'appendChild' of undefined or null reference

We've built a lightning aura component for a community where we have links to other pages outside of Salesforce. we are using the links in the following way: <a onclick="{!c.goToURL}" id="https://...
0
votes
0answers
14 views

baidu MAPS in salesforce

I have a unique requirement where i need to post baidu map for china as google maps are blocked their. Do any one have any idea regarding this how iam able to integrate baidu maps with salesforce as ...
0
votes
0answers
29 views

OpenDirect sfmc_setNotificationRequest called before the SDK is ready. Deferring until isReady == true

We inherited 'MarketingCloudSDKURLHandlingDelegate' for the class that runs MobilePush for Marketing Cloud and overrode the methods. We wanted the following method to be called as handler when we ...
4
votes
1answer
29 views

Testing an approval process - should I create metadata just to test?

I have an Apex test that is testing if a record is in an approval process. To test, I have to submit a record for approval - but there is no guarantee that there will be an approval process set up in ...
2
votes
0answers
16 views

Did Salesforce remove FLS visibility for HasOptedOutOfEmail and HasOptedOutOfFax during a release update automatically?

I'm pretty sure my code was querying these some time ago inside a dynamic SOQL query. Today I can't query them anymore because FLS seems to be removed from the Admin profile that I'm using. Easy ...
0
votes
1answer
23 views

Maintenance page Lightning community

How can I put my community in maintenance? I want to prevent all users from login and showing a custom message? Thnks
0
votes
0answers
29 views

Error from email ampscript causing triggered send to fail

We have a triggered send configured in Marketing cloud instance. This triggered send uses one of the emails in the system. When I configure and save this triggered send, I get an error as: When I go ...
1
vote
1answer
15 views

How to hide page header in lightning component

I want to hide a page header from an appHomeTemplate I have looked at several similar questions but none of them give an answer. I have used .THIS.slds-page-header { display: none; } in my page ...
0
votes
0answers
10 views

Case_UnreadByOwner [duplicate]

Please find the below visualforce page and Apex class code Any one please let me know how to test this code. VF Page: <apex:page standardController="Case"extensions="CaseExtension" ...
4
votes
1answer
55 views

Is there a way in Apex to dynamically determine the ApiVersion the current code is executed with?

Assume we have an Apex class myClass.cls and we use it on several different Orgs. While the source-code is the same, on some Orgs we use different ApiVersion, e.g. some Orgs use v45.0, others use v42....
0
votes
0answers
20 views

I marked fields as mandatory on page layout. but it is not marked as mandatory on detail page

I have scenario, I marked some custom fields mandatory to register a lead and it's working fine with new Lead. But after registering Lead, when I go to detail page of that Lead, there is no single ...
0
votes
1answer
25 views

apex trigger to concatinate and update another field

I am working on one trigger where I need to concatinate two fields and populate in third field. On hed__Course_Offering__c object, I want to concatinate hed__Course__c and hed__Term__c field and need ...
0
votes
0answers
11 views

Pass parameter from modal popup to the parent lightning component which initiated

We have a requirement where in there is a button on the lightning component. On click of the button , a popup opens with list of records from an object. On choosing a record and closing the modal, ...
0
votes
0answers
5 views

iOS SDK react-native error when deploying to the Apple App Store

I keep getting a Missing required icon file. The bundle does not contain an app icon for iPhone/iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 10.0. There is indeed an ...
0
votes
0answers
13 views

Post Web Service [on hold]

I am a beginner and I need to create a Post web serice which, when creating a Case in saleforce, the webservice allows the creation of the same Case in another environment (some fields will be saved ...
0
votes
1answer
11 views

SAQL calculate average case close rate for einstein

Scenario So I want to display average case closing rate(for now in minute) on dashboard. What I've done So if I'm not wrong I can calculate the difference time like (closed date - created date) ...
0
votes
0answers
13 views

Snap ins pre chat form - match Contact by Email only?

We are using snap-in prechat form on our website. We want to the pre-chat form to create a contact record but have it match by email only. We added the following code to the snap-in prechat form ...
0
votes
1answer
25 views

Domain registration

I am trying to perform a domain registration for a client and it is not giving the expected result. It's a domain they've been using outside of Marketing Cloud for ages and I want to register it for ...
0
votes
1answer
19 views

RMM subdomain query

I am configuring SFMC and have a subdomain for sends, my question is do I really need a seperate subdomain to manage RMM? Or can it be the same one? Am interesated in following best practice here ...
0
votes
0answers
7 views

Name update of attachment in Quote Attachment

How to change the name of an attachment that is attached in Quote Attachments section?

15 30 50 per page