All Questions

-2
votes
0answers
8 views

Get Subscription key based on customerKey

I need subscriptionKey from salesforce marketing cloud based on other field(such as email, customerId). Basically I wanted to create api in which I will pass value of those field and I would like to ...
0
votes
2answers
16 views

Nested Dynamic SOQL Query

I am Trying to write a dynamic SOQL Query with a nested query. @AuraEnabled public static List<Books__c> filterRecords(String bookNumber, String PDCN, String Brand, String Type){ System....
0
votes
1answer
13 views

How to display Date (Format 'DD/MM/YYYY') in a single input type textbox in cloudpage

I'm trying to display a Date in a single input type textbox in Cloudpage, the data will be coming from Data Extension. I tried changing the type to date : <input type="date" name="...
1
vote
1answer
9 views

SFDX package list

My sfdx-project looks like this : { "packageDirectories": [ { "path": "force-app", "default": true, "package": "dreamhouse", "...
1
vote
1answer
17 views

How to open lightning component as modal from Contact ListView with clicked contacts

I have a lightning component that I want to open as a modal from the ListView of Contacts to send a text message to the checked contacts, exactley how the standard Send Email button works but for text ...
0
votes
0answers
16 views

Decrementing Rollup Values

I have a class that uses a utility class in order to aggregate number fields up a hierarchy. The problem that I'm facing is that it does not decrement values whenever the Parent_Account_for_Lam field ...
0
votes
2answers
16 views

Opportunity Delete Unit Test Failed

When I run this test unit, it fails and the error message is System.DmlException: Delete failed. First exception on row 0 with id 0064D000004yFkTQAU; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, ...
0
votes
1answer
20 views

checkbox won't update auraEnabled

I'm trying to update a checkbox field through lightning component and AuraEnabled method but, When attempting to update checkbox field I get error 'invalid field for insert update bad field names on ...
-1
votes
0answers
15 views

Unknown function $Action.determineIfCaseShouldOpenSubTab Getting Error while writing URLFOR Function for Static URL

I am writing URLFOR Function for static URL in Visual force Pages. Getting Error.
0
votes
0answers
12 views

Error when adding field to custom lead convert page

I am getting this error now that I added Lead Status Reason to my custom lead convert page: "The dependent picklist 'Lead Status Reason' requires its controlling field 'Lead Status' to be present on ...
0
votes
0answers
20 views

Data not visible on formula field on Object Detail page

I have created a formula field on an object (Object_A__c) which needs to get the data from another Object (Object_B__c). Both objects are related via lookup. The formula field has been created ...
0
votes
0answers
10 views

While retrieving or deploying Data using Ant Migration tool Error As java.io.IOException: Access is denied

I am unable to retrieve Code Using Ant Migration Tool. By using Command: ant retrieve code, Gettig an Error As java.io.IOException: Access is denied. Attaching CMD Error Screen.` C:\Program Files\...
0
votes
1answer
10 views

Export Event standard Classic button component for Lightning not working

I'm working with a quick action that retrieves Event record information and send an email with an .ics related file as attachment. This is my vfp for .ics file: <apex:page standardController="...
0
votes
0answers
14 views

Can I use Marketing Cloud Page with multipart form? To upload files within a form in a Cloud Page

I would like to use a Cloud Page in Marketing Cloud with a form and an attachment field. Is that possible? If so, how?
0
votes
1answer
10 views

Custom Visualforce Quick Actions not Visible in Salesforce1 but visible in Desktop

Made a visualforce page and created a Quick Action for it - added it to the Page layout inside Salesforce Mobile and Lightning Experience Actions. Yes I can see it and use it normally in Desktop - ...
0
votes
0answers
8 views

SOAP API Implementation using .NET CORE

We are trying to migrate this SOAP API call from .NET to .NET CORE. Kindly help on creating .NET Core client code/proxy class using this file - https://webservice.exacttarget.com/etframework.wsdl ...
0
votes
1answer
19 views

Generating a random unique token inside a trigger using a method from a separate class

I'm using a random string generator code, which I found online. I need to know how I could access this code inside an Apex trigger from an apex class. I have pasted both my trigger and class, but I ...
0
votes
0answers
8 views

Partner Email sending to the wrong email address

When a partner replies to a provisioning case email, it sends the reply to the EI case owner whom it was assigned to rather than the provisioning team, looking through the code I can't see any ...
1
vote
0answers
12 views

What is the API Name for Accessibility Mode (Classic Only) in User Settings?

What is the API Name for Accessibility Mode (Classic Only) in User Settings? I want to this via data loading for all the users. How do I do that?
0
votes
0answers
14 views

“The remote server returned an error: (401) Unauthorized.” Getting this issue while authenticate salesforce using c#

Getting Following issue while authenticate salesforce using C#: The remote server returned an error: (401) Unauthorized. My code: var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://...
0
votes
1answer
10 views

Lightning Migration issue

I am facing below issue ,while prepopulating some field values in a quick action(alternate of URL hacking in classic) Unable to redirect to Record detail page ,which is created on saving quick action( ...
0
votes
1answer
13 views

Journey entry event split - cannot split by registration date

I have created a smart capture form on a cloud page and would like users who fill in the form to go on a different engagement path (using journey decision split) based on the date in which they submit ...
0
votes
0answers
22 views

is there any possibility to assign id to lookup field at run time based on the type of lookup field?

Can any one suggest me the possibilities to assign parent id to the lookup field of child at run time. I have a requirement to assign related list to parent record whenever the child record is created....
0
votes
0answers
12 views

How to get object metadata like recordtypes entirely clientside in a Lightning Component?

I am working on a Lightning Component and want to create a record using lightning:recordEditForm. using lightning:recordEditForm is great because it allows us to create records without Apex. However,...
0
votes
0answers
8 views

Passwordless login for new users in Communities

I´m testing passwordless login for Communities and I have created a successful example. My idea is to simplify the login process for users who don't want to remember a password and also keep at the ...
0
votes
2answers
21 views

Unable to set component outside of FileReader().onload

I built a lightning component (incl. Controller, Apex-Controller and Helper) I want to use for excel file uploads (and importing the records to a custom object). In the Helper, I am creating a ...
1
vote
1answer
12 views

Lightning input percent - 0% not displaying

I have a inputNumber with a percent. If I fill with a number its ok, but I fill with 0, the field show only the icon %. I want to show or 0% or nothing. <ui:inputNumber class="slds-input columns" ...
-1
votes
1answer
13 views

'create email' shortcut vs. 'user initiated email'

We use 'journey builder' for sending email to a DE if we need a nurturing program, else we use 'create email' shortcut in email studio's overview section if we want to send email just once or to send ...
0
votes
1answer
10 views

Event fired when lightning:inputField is required

<lightning:inputField fieldName="MyMasterDetail__c"/> So that field is obviously required, and there's an onblur event that checks its value and notifies the user when blank (red border and ...
0
votes
0answers
11 views

Implementing Single Logout (SLO) with OneLogin is Donwloading a file when arriving to /secur/logout.jsp

Situation: Implementation of Single Logout in Salesforce IdP: OneLogin ServiceProvider: Salesforce Protocol: SAML In our test environment, when we try to logout from a community we are redirected to '...
0
votes
0answers
24 views

lightning-input-field [Lightning Web Components]

I am currently trying to make a table where I use the lightning-record-edit-form. I am trying to make the helptext icon disappear (without deleting it on the field itself), without any luck.. Can ...
0
votes
0answers
15 views

How do I able to set login landing page according to user's profile

In order to implement my question, I tried overriding SiteLoginController like as below. global PageReference login() { User getProfile = [SELECT ProfileId FROM User WHERE Username=:username]; ...
0
votes
0answers
13 views

SOSL Returning 0 Results For Custom Setting Objects

We have been using SOSL to query a list of countries defined as a custom setting which was working fine until recently. I have also tried SOSL on other custom setting objects and getting 0 results as ...
1
vote
1answer
13 views

Unable to append account details from URL

I'm new to vf page I have a requirement to assign a vf page for a specific record type. I'm able to do by through a vf page. Now my problem is once I select the record type from vf page. I'm not able ...
0
votes
1answer
21 views

How to solve this deployment errors (Variable does not exist: isReadOnly)?

Trying to deploy package (big one) to a new org but all the tests failed with very weird errors: 1)line -1, column -1: Dependent class is invalid and needs recompilation: Class ClassName : Variable ...
0
votes
1answer
4 views

Salesforce CLI Authorization timeout

I am attempting to setup VS Code with Salesforce CLI. I am experiencing issues when attempting to authorize my Sandbox. When I attempt to authorize, I enter the MyDomain login page address and set ...
-1
votes
0answers
20 views

Create New Support Trigger is not creating new Record, when condition is meeting

I created a custom setting to store all the record type for which I have to create new support case when case status is change to certain status .new support case will take the value form the custom ...
0
votes
0answers
12 views

Updatesinglesalesforceobject from child business unit

I need to update a sf contacts preferences from a preference center page that lives in the child business unit. I thought I could pass variables through to a processing page via form submit ...
0
votes
1answer
7 views

How to add Activities section to Case detail page in communities

I want to display Activity timeline in Case detail page of communities.But i am getting an error like Activity timeline is hidden for this object.How can i add NewTask,Log a call,Email actions to the ...
0
votes
0answers
11 views

CI/CD w/ SFDX: Where to store the jwtkeyfile in my repo?

I was following some notes online and managed to setup a CI/CD pipeline in bitbucket using Docker and SFDX. I used the following command in the .yaml file: sfdx force:auth:jwt:grant --clientid $...
0
votes
2answers
18 views

How print return value in debug - return (WS_BankStatementResponse) System.JSON.deserialize(jsonReplacedString, WS_BankStatementResponse.class);

public static WS_BankStatementResponse parse(String json){ String jsonReplacedString = json.replace('"date":', '"startDate":'); System.debug('String Replaced : '+jsonReplacedString); ...
0
votes
1answer
19 views

RadioGroup not working in iteration

<aura:iteration items="{!v.somelist}" var="item" indexVar="rowIndex" start="{!v.Start}" end="{!v.End}"> <lightning:radioGroup name="{!'radioGroup'+item.rowIndex}" ...
0
votes
1answer
19 views

Salesforce for Sales people [on hold]

I need to give overview of Salesforce to Sales people in my organization. What topic should I cover and if anyone can share some slides or reference links, it would be great. Thanks in advance.
0
votes
0answers
14 views

Cannot export excel file in iPad [on hold]

We need to implement logic to export a HTML table in excel file. We are performing it using javascipt methods, and it is working in desktop site, but not on iPad ( neither SF1 app, nor any Browser in ...
0
votes
0answers
11 views

ltng Cmp: Redirect page on refresh

This is inside a community with a flow in a lightning cmp. I have a flow with sublfows going down 4 child levels. If a page is refreshed, it refreshes it from the very first flow as if the page was ...
-1
votes
1answer
24 views

How to move Lightning Pages from One environment to another [on hold]

how to move Lightning Pages from one environment to another environment using ant How to move these user data record pages & settings to another environment.
1
vote
0answers
18 views

Apex class 'SiteLoginController' does not exist (scratch org)

I've created over 40 scratch orgs with the following config, without issues. { "orgName": "MyScratchOrg", "edition": "Developer", "features": ["Communities","PersonAccounts","SiteDotCom","...
0
votes
0answers
12 views

Anonymizing or masking PII data in Marketing Cloud

How do I mask or anonymize PII data in Marketing Cloud? I don't want to do a full Contact Delete as I want to keep the contact record for tracking and reporting purposes. However, I want all PII ...
0
votes
1answer
13 views

Mass update through Flow - partial updated first 2 or 3 steps

I am using flow for number of mass update through list view and custom button. It was working since last year. User select set of records (less than 200) and click custom button. It will invoke flow ...
0
votes
1answer
17 views

I want to capture the scroll bottom action to load more records.Thanks [duplicate]

I have aura iteration with the set defined height,in which I am calling another component . I want to capture the scroll bottom action to load more records. <div class="slds-scrollable" style="...

15 30 50 per page