All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

display array list using lightning-datatable in html LWC

I tried to display my array using lightning-datatable with the below code. However, I can see the table and overview of datatable but no data is displayed in the table. Please help me to identify my ...
0
votes
2answers
31 views

Apex trigger running recursively

I have a scenario where i have a checkbox field on Account object "test_check__c" and this checkbox field is applicable only for child accounts and not for the parent. Scenario is : - Parent ...
-2
votes
1answer
29 views

Issue in Parsing JSON response using SSJS

I have a JSON Response that I received after performing a HTTP POST call. { "Status": 0, "Content": "{ \"id\": \"73614a0d-39af-48a3-8b95-...
0
votes
0answers
16 views

NewsAPI and External Services

I'm trying to integrate the NewsAPI to retrieve news based on name of the Salesforce record. The documentation only provides parameters and example results. I'm trying to wrap my head around how to ...
0
votes
0answers
22 views

VFP repeat from a SOQL in APex

I have an Apex class with a SOQL: Account_Statement__c statement = [Select Id, Name,(Select Id, Invoice__c, Invoice__r.Name from Account_Statement_Items__r) from Account_Statement__c where Id != null ...
0
votes
1answer
22 views

Patterns for Methods to be used by Insert and Update

I am trying to find out efficient designs to use for a method that can be used by both Insert and Update triggers. For example: if I want to perform some complex logic when an Opportunity is inserted ...
0
votes
0answers
17 views

Salesforce Data Loader 53 Command line - issue loading data to SQL Server

I am trying to move from Data Loader 37 to 53 to address the log4j vulnerability. The process runs via the Command Line interface for DL and it extracts from sfdc and ultimately loads to SQL Server DB....
0
votes
1answer
19 views

Combining String Plus Variable Within Attribute In LWC Component

Is it possible to combine a string plus a variable in an attribute in a component? I'd like to concatenate "website.com?" with recordId to render https://website.com? 0018c0000289v0pAAA So ...
0
votes
0answers
8 views

Export all documents in content document / content version

We have a requirement where we need to periodically export all documents out of salesforce. I tried the following: Data loader / dataloader.io but then these gives export in csv file and the content ...
0
votes
2answers
50 views

What is the difference between soql for loop vs soql list

As per the documentation it mentions ) (soql for loop) retrieves all sObjects using a call to query and queryMore whereas (list for loop) retrieves a number of objects records. It is advisable to use (...
0
votes
1answer
24 views

covering test class if condition for a variable defined in method

public static String myMethod(String vehicle1){ string abc = 'car'; if (abc == 'bike'){ // lines of code } } Here the issue that I am facing is that the lines of code inside the ...
0
votes
0answers
19 views

JWT Authentication Flow debug and how to call from Postman (for debugging)

There's an existing Salesforce org with a Community Site. There's an error when user logs in and after which I believe it hands off to Angular for further user experience. In Salesforce logs I see the ...
-3
votes
0answers
14 views

Particular form is not Rendering even the value also got changed after clicking

I have Created a VF component In which I am create a page to download the data in CSV format but I want to render that page only when user click on download button the value of Boolean variable also ...
0
votes
0answers
17 views

New Redis credentials after credentials rotation are not used by application

I have a Laravel application attached to a Heroku Redis instance. https://help.heroku.com/VN3D085X/why-have-my-heroku-redis-credentials-changed Also, my application restarted (I can see this on logs), ...
0
votes
0answers
13 views

SOQL with Junction Table [duplicate]

I have 3 custom objects. Account_Statement_c with custom fields like a Account__c (master-detail to Account) Statement_Item__c where this is the junction Object with Account_Statement__c (master-...
0
votes
1answer
33 views

Reinitialize Lightning Web Component after NavigationMixIn

I have an LWC template that has a parent and child template relationship. On the child template I am using the NavigationMixin.Navigate API to edit the record. When a user selects "Save", I ...
0
votes
2answers
37 views

Basic IF/THEN Ampscript question

I have a data extension attribute called MemberTier and the value can be one of 3 possibilities, S,G,P, or Silver, Gold, Platinum. I want to take the abbreviation and translate that into the full name ...
0
votes
0answers
24 views

How to destroy Parent Aura and Child LWC during record navigation?

I have overridden Standard New button on lead object with Aura Component and this Aura calls LWC which contains record edit form to create new lead record but here I am making a server call to create ...
-2
votes
1answer
37 views

Hi guys, can you please help me rewrite the nested loop from the end of the codes

//triggers rigger MaintenanceRequest on Case (after update) { MaintenanceRequestHelper.updateWorkOrders(Trigger.New); } public with sharing class MaintenanceRequestHelper { public static void ...
0
votes
1answer
22 views

How to find subscribers specific to Business unit?

I have 2 BU's in my account and single contact(email address) being part of both BU's. I'm not able to find which contact belongs to which account Id , since MID field is not available in _subscribers ...
0
votes
1answer
14 views

How to access the values from while returning the Object

public class TestWrapperClass { public class InnerWrapper{ private String name; private String location; public String getName() { return this.name; } ...
0
votes
0answers
28 views

How do I send data from a Proxy to a function in LWC?

I'm trying to send a data of a response in a function like function(response) in my LWC, but the response is a Proxy container with format like Proxy {}[[Handler]]: En[[Target]]: Array(0)[[IsRevoked]]:...
0
votes
1answer
17 views

How to use + or - icon instead of chevron icon to expand/collapse the lightning:treeGrid

I have a requirement to show all the child accounts in the hierarchy, and to expand and collapse the every child item using + / - buttons instead of chevron icon. I'm using the lightning:treeGrid to ...
0
votes
0answers
10 views

Issues with Retrieving Inactive version of flow and deploying Custom Notifications

I have 2 issues. I want the flow to be retrieved from sandbox to VScode. Is there a way to retrieve the inactive version of the flow to the VScode? The latest version of the flow in sandbox is ...
1
vote
1answer
64 views

LWS - Apparent difference in behavior using data returned from Apex call

Prior to enabling LWS in Spring '22 we were able to successfully 'modify' objects returned from an Apex Call. After enabling LWS we cannot modify the data. Allow me to give an example. Below is some '...
1
vote
1answer
19 views

SFDX: is there a command to retrieve an inbound change set?

There is an SFDX command to retrieve outbound change sets from an org. This command works great for that: sfdx force:mdapi:retrieve -s -r ./desiredDirectory -u <username> -p <change set name&...
2
votes
2answers
53 views

Error: Create a Visualforce page to use as a custom action

thank you for your reply. I need to create Quick Action - generate PDF on opportunity object. i have PDF visualforce page and custom controller. If i want to add my vf page in Quick action i get error:...
0
votes
1answer
33 views

MC Journey RowCount and lookup function help, please

my Marketing Cloud (MC) Journey Data Extension(DE) is set to SUBSCRIBER RELATIONSHIP ==CampaignMember:Common:Id. this DE can have the duplicate CampaignMember:Common:Id with a unique CampaignMember:Id....
0
votes
1answer
19 views

Can I tap into the inline SOQL results with a string field value?

I am curious on how I would be able to pull out a dynamic field value from an in-line SOQL query. Is this possible? I have tried with no luck but wasn't sure if there was another way. Decimal ...
0
votes
1answer
26 views

LWC - Refresh contents inside a single <lightning-tab>

I have a component (container) with a lightning-tabset with a single lightning-tab. Inside the tab is a component (dataComponent) which pulls "Item" records via Apex and assigns them to a ...
0
votes
1answer
25 views

SFMC Rest API Transactional Email Send or Transactional Journey or Single Send Journey?

REST API is not my forte, can someone help me understand the difference between a REST Call for A) transactional email send b) single send journey c) transactional send journey I would like to ...
-1
votes
1answer
16 views

Nested IF statement formula field for custom labels [closed]

Current formula is running an error. IF( RecordType.DeveloperName = "Contracts", $Label.Opp1_Record_Type ), IF( RecordType.DeveloperName = "Customer", $Label....
0
votes
0answers
19 views

Test Class For External Account Hierarchy

Apex Class: Id contactId = [SELECT contactId FROM User WHERE id =:u.Id].contactId; Id AccountId = [SELECT AccountId FROM Contact WHERE id =:contactId].AccountId; ExternalAccountHierarchy ...
-3
votes
0answers
23 views

Batch apex failing to create batches [closed]

We ran the batch apex to process about 16000 records and see that batches are not getting started / processed at all. I have checked in the apex jobs several times, and there are no batch jobs getting ...
0
votes
1answer
25 views

Salesforce Flow Invokeable Apex making correct API call while debugging, as soon as I run the flow from custom app it doesn't work

Following code, works fine when invoked by the flow while in debug mode, but as soon as I run the flow in custom app it doesn't work. global with sharing class GovernorLimits { private class ...
0
votes
0answers
16 views

Getting parent record id as undefined in SF1

There is a custom obj, and i am trying to create a record from it's related list and it has aura component embedded with LWC. Now, I need to get the parent record id while creating a record from ...
0
votes
1answer
36 views

Parse XML response

I have XML <?xml version="1.0"?> <xmldata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" status="SUCCESS">' + <recordset name="...
0
votes
1answer
31 views

Getting error on HTTP callout request "uncommitted work pending"

I've got a fairly long code piece here that aims to extract all the information I can from multiple reports using report metadata. I have a file where I have the names of reports in each line, so I ...
3
votes
0answers
22 views

How to identify legacy API usage?

We're trying to sort out a situation where we know that an org is calling a legacy API version (v19) that will be retired, but we don't know where the calls are coming from. We used the Salesforce ...
4
votes
1answer
69 views

More focused Apex Trigger: Before Delete

I'm new to the world of Apex and have managed to cobble together this code that looks at a particular field and prevents deletion of that record if a particular field (in this case 'Data Source' isn't ...
0
votes
1answer
23 views

Best way to target 30 different options using ampscript

Looking to create an email with 30 different options for an image. Each image will have a value correspending from 100-130 and there can be up to 3 images per contact in the email - so 3 possible ...
1
vote
1answer
24 views

Issues with 2GP managed packages and connected apps

I've been unable to create a package due to this following error: : An unexpected error occurred. Please include this ErrorId if you contact support: 1290395039-462760 (-600457350) This occurs when ...
0
votes
1answer
24 views

Error Creating a row in an existing Data Extension in Sales Force Marketing Cloud through SOAP API

I want to add a new row into an existing data extension in SFMC using an API call, I tried using SOAP API, Following are the Error and API request message: Error : 400 Bad Request. Request URL : https:...
0
votes
1answer
46 views

Conditional Validation not working

I have a component for validation and a required flag. When the input field is not mandatory, The combo-box should throw me no error when i leave it as empty but i still want another validation on the ...
-3
votes
1answer
38 views

How do you write test of Invocable Class?

I am calling this class from Flow to loop through picklist values inside the Position Picklist field. I am stuck at 53% coverage for my test class. The section between two == in the class is not ...
0
votes
0answers
20 views

LWC changes updates Aura, BUT Aura changes does not updates LWC

I have a scenario where two components an Aura and a LWC were included via Object Record Type. They are placed according to the image below. I'm facing a problem. All the interactions done in LWC ...
0
votes
0answers
14 views

Getting 404 not found error while importing the fullcalender library in LWC . Note : i am using the library from (https://fullcalendar.io/)

import { LightningElement ,track} from 'lwc'; import { loadScript, loadStyle } from 'lightning/platformResourceLoader'; import myCalender from "@salesforce/resourceUrl/myCalender"; import ...
1
vote
0answers
11 views

Error Uninstalling Our Managed Package - ManagedContentFolderDefinition

Had a Support case open for 2 weeks now moving too slowly. Support pointed me to Dashboards and Reports as problem but that's a similar but different error and object. When trying to uninstall our own ...
-3
votes
0answers
49 views

List has no rows for assignment to SObject but i am sure it has

I am trying to insert Lead with REST API Query with JSON body, but i get this error : System.QueryException: List has no rows for assignment to SObject My query looks like this : Order campaign = [...
1
vote
1answer
39 views

Frontend: get parent element of LWC component checkbox

I am quite new to SF development and as a frontend developer I am experiencing some striggles while taking over a project from a colleague who has just left his job. So please appologize any "...

15 30 50 per page