All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

I want attach csv to opportunity using salesforce function

Hello I want to Attach document to a record which is a csv file, I want to use the salesforce function for that. Below is my code and it is giving me some error. public class MyfunctionFunction ...
user avatar
-1 votes
1 answer
33 views

How to work aroud 100 http callouts from future method? [closed]

How to work aroud 100 http callouts from future method ?
user avatar
  • 1
0 votes
0 answers
39 views

Dynamic soql not covering inside of the test class

public class Margin { @AuraEnabled public static Map<string,string > Pricejson{get;set;} public static List <Order_item__c> finalPOList{get;set;} @...
user avatar
  • 1
3 votes
1 answer
163 views

Access scratch org from login.salesforce.com or test.salesforce.com

Is there a way to change the Instance Url or the Login Url for the scratch org? I want to create a scratch org that can be logged in from a standard login.salesforce.com url instead of domain-specific ...
user avatar
  • 550
1 vote
0 answers
19 views

Best practice to store credentials for Marketing Cloud Mobile SDK

What would be the best practice to store the credentials such as appId and access token for Marketing Cloud Mobile SDK? If we hard code it directly inside the app, do you think there is a security ...
user avatar
  • 111
0 votes
1 answer
18 views

User Object and Membership Object Report for Community Users

Looking to build a report in Salesforce where I have data that can link the two objects but can not figure out how to pull the data. Needing a Report with the User Email and Membership Number tied to ...
user avatar
0 votes
0 answers
20 views

Updating existing accounts using Data Import Wizard but getting DUPLICATES_DETECTED error

I am having a hard time updating existing accounts using the Data Import Wizard. I keep on getting this error, even though I chose the "update" option, not insert/update. How can I actually ...
user avatar
  • 13
0 votes
0 answers
15 views

Record Duplication - Unable to Determine Root Cause Based on Debug Logs

Recently inherited an org an am completely lost because of code coupled with process builders that bypass the code and flows that bypass the process builders. There is intermittent record duplication ...
user avatar
  • 1
0 votes
1 answer
31 views

LWC: How to stylize icon inside lightning-button

Is there any way to stylize only the icon in a lightning-button? <lightning-button variant="base" label="Base" icon-name="utility:add" icon-position="right"&...
user avatar
-1 votes
0 answers
21 views

Where to find listed and explained typical use cases for Marketing cloud? [closed]

there. I was wondering where to find and read further about typical use cases for Marketing cloud? For example, to describe what is needed to be done if a company is truggling with the quality of ...
user avatar
0 votes
1 answer
35 views

Flow: Send email to those user who are in the group

EDIT: I'm creating a flow where the users in the Group will received an email via flow based on certain conditions: I have done the following steps: Configure start "Get Records" from ...
user avatar
  • 6,614
0 votes
1 answer
15 views

AmpScript: Pulling in data from a data extension I'm not sending to

I have a data extension with the following fields: Rebate_StartDate Rebate_endDate Rebate_amount Rebate_Text I want to list these attributes in an email as rows using Ampscript, but I can't seem to ...
user avatar
0 votes
0 answers
28 views

Use REST API to create a case using form from website

Building an app for a class I am in and want to use the sales force API. I am having a hard time finding exactly what endpoints to use and the docs for creating a simple new case inside of sales force ...
user avatar
  • 1
0 votes
0 answers
10 views

Change bar description CRM Analytics / Tableau CRM

I'm building a graph where the info must be grouped by weeks, it is doing that, but the description shows me "week of the year", like that week 23, week 24. What I want instead are the ...
user avatar
0 votes
1 answer
22 views

How can I dynamically assign the options of a lightning combobox based on the input of a lightning input?

I have a lightning combobox (sizeCode) that I want to display the size codes for a product based on the model number that is input in a separate field. Apex class is working to return an object filled ...
user avatar
  • 1
1 vote
1 answer
39 views

Before After LWC Slider

I am trying to create an image before and after comparison slider in LWC. I am using the code from this guy (https://codepen.io/Coding-in-Public/pen/NWyjZwO) but when I put the component on a page the ...
user avatar
0 votes
0 answers
34 views

Subscribing to platform event via workbench

I'm trying to subscribe to a platform event in a Developer sandbox with the use of workbench (API 53.0). The use of Streaming API is enabled in setup. Via the queries -> Streaming Push Topic -> ...
user avatar
0 votes
1 answer
25 views

Update profiled on User object if it is null

I'm trying to insert a default profileid when the user is created without this information. trigger atualizaProfile on User (before insert) { profile pp=[select id, name from Profile where name='...
user avatar
0 votes
1 answer
18 views

Can't add custom class to list

I have custom Wrapper class public without sharing class OppProdWrapper { public String Name; public Decimal UnitPrice; public Decimal TotalPrice; public OppProdWrapper(String ...
user avatar
  • 29
-1 votes
1 answer
26 views

Edit Flow button missing

There is an existing Screen flow in the system and I'd like to make some changes to it. However, the Edit Flow button is missing. Attached is the screenshot.
user avatar
0 votes
0 answers
23 views

Creating a Select SOQL query where ID is in a Map<id, obj>? [closed]

Is it possible to write a select query that requires ids to be in a map instead of a list? eg. Select id from Account where id IN myMap<id, obj> cheers!
user avatar
  • 67
0 votes
1 answer
42 views

Include Record Count within File Transfer Activity Filename

We are working on an automation that needs to export a file in the format of EXPORT_202206231705034_XXXX.TXT, where XXXX is the number of records in the file. Is there a way to do this? (Or perhaps ...
user avatar
  • 145
0 votes
0 answers
20 views

How to use apex:slds styles without adding it to the code

I am trying to style a apex:inputFile too look better with apex:slds so I can use the styles it allows me to use. But when the apex:slds is "visible" on the page, the other components o the ...
user avatar
  • 43
0 votes
0 answers
39 views

Get Flow Aura Component OpportunityLineItem List Button to open & redirect correctly

I'm trying to achieve the following: A "Manage Bundles" button on the Opportunity Products Related List on Opportunity The button launches a Flow which handles the logic of managing bundles ...
user avatar
  • 1,057
-1 votes
0 answers
19 views

Display warning if opportunity belongs to campaign

We are a real estate company. We have 2 main campaigns with a list of contacts. I'm trying to display a warning message on the opportunity page that associated to the contact if exists into one of ...
user avatar
0 votes
1 answer
29 views

Using the API How can i get "file" attachment. I am able to get "attachment" correctly

I am able to list and download any item that the Type=Attachment with no issue. I can get a list of items where the Type=File. How can I Download the items that are Files? I am using Salesforce ...
user avatar
  • 127
0 votes
0 answers
22 views

Salesforce event monitoring log access required permissions

Have a requirement to create a permission set which will allow users to access the event log monitoring files. As per this link https://help.salesforce.com/s/articleView?id=000363350&type=1 User's ...
user avatar
-1 votes
1 answer
10 views

How to turn on Campaign attribution in salesforce

How to turn on Campaign attribution to users? What is Campaign attribution in salesforce? How we can use Campaign attributions in slaesforce.
user avatar
  • 75
-1 votes
0 answers
12 views

Email templates/visualforce spacing [closed]

Does anyone know how to to make the spacing between lines single spaced in visualforce email templates? The template everything is single spaced but not in the email preview?
user avatar
0 votes
1 answer
17 views

make hyperlink inactive(only text) in Aura / make the accordion items not clickable

i have one title "Test ABC" and when i click on it , nothing happens , mean it's not redirecting to anywhere , so basically this title is working as hyperlink , and i wanna make this ...
user avatar
-1 votes
2 answers
29 views

Can we manually clone the process builder in production?

Can we manually clone the process builder and update it in production after testing in sandbox instead of deploying?
user avatar
  • 1
0 votes
0 answers
33 views

Design token to access Logo in LWC which is setup under Login and Registration of Experience Cloud

Is there any design token available to access the logo configured in community administration? Workspace -> Administation -> Login & Registration need to access in registration form build ...
user avatar
0 votes
0 answers
20 views

Community Experience - Preventing adding a question mark at the end of URL [closed]

Using screaming frog, the web crawler generates each page in two versions, with and without a question marks at the end. For example: https://website.com/project/s/ https://website.com/project/s/? ...
user avatar
  • 31
0 votes
0 answers
14 views

I want to close a tab in visualforce page

i have this visualforce that open me a Omniscript i want to close this tab after finishing code : var listIdConcat = "{!listIdConcat}".split(',').filter(Boolean); if (...
user avatar
-1 votes
0 answers
30 views

How to get only those parent records whose child records match a certain conditions

Writing a script to insert child records for only those parent whose child matches a certain conditions. I went like this select id, name, parentid from child where condition1= true and condition 2 =...
user avatar
  • 7
-1 votes
0 answers
13 views

How to find out what is creating all the emailmessage object records?

Is there a way to see what is creating the records in the emailmessage object? emailmessage object is taking up alot of storage and I want to know if there is a way to see where all the records for it ...
user avatar
-1 votes
0 answers
13 views

Can activation of dynamic forms break any other functionalities?

We need to activate dynamic forms for our organization. Should we check anything before doing this?
user avatar
  • 3
0 votes
1 answer
48 views

I made some changes manually in a lightning component in production. The same changes are made in all the related sandboxes. Will there be any effect?

I made some changes manually in a lightning component without deploying it. But, the same changes are available in all the sandboxes related to the production.The changes made in code are just adding ...
user avatar
  • 1
1 vote
0 answers
21 views

Salesforce not enforcing "Users in this role cannot access opportunities that they do not own that are associated with accounts that they do own"

I have a requirement that certain Opportunities (a very limited subset) have access limited to just the Opportunity Owner and the Opportunity Team - there should be no access granted by hierarchy. The ...
user avatar
  • 341
0 votes
1 answer
19 views

What does the "Chat User" checkbox on the User object do?

It's a simple question which I couldn't find an answer to: What does the "Chat User" checkbox on the User object do?. What I found: User Object Reference. There is a field - ...
user avatar
  • 4,667
0 votes
1 answer
21 views

Is it not possible to update a task with lead(whoid) and opportunity (whatid)?

As per document, i found that whoid can be lead/contact and whatid can be account/case/opportunity/custom obj and others. I am updating a task with leadid as whoid and opportunityid as whatid but ...
user avatar
  • 1
-1 votes
0 answers
35 views

Find all the automations where email alert is used

Is there any way to find all the automations process builders,flows,triggers where an email alert is used? Any query or something?
user avatar
0 votes
1 answer
27 views

Disable push notification when user logged out when using MC SDK 8.x

I found the answer for 7.x versions of sdk how to disable push notifications. Its a simple call sfmc_setPushEnabled(Bool). But I have migrated to 8.x spms, i couldnt find a equivalent to ...
user avatar
0 votes
2 answers
36 views

How can I get the maximum of these variables with many fields?

I am very new to Apex. How can i get the maximum of these variables? I need to put the max vaule in "varTotalOpRecommendedCrew". And I should find the maximum value among ...
user avatar
-1 votes
0 answers
21 views

find duplicates in contact Record on basis of date field [closed]

Wanna find whose contact records have the same account id and arrival Date (custom field).IN trigger it is easy but in the apex method, I have no idea?
user avatar
  • 1
0 votes
0 answers
31 views

eliminating old email threads from current email body

I am trying to eliminate old email threads when someone replies to my email. I want their current reply only... email body: check 11 On Wed, Jun 29, 2022 at 12:40 PM Prashanth S <dprashanth@...
user avatar
0 votes
0 answers
34 views

Restricting visibility to Contact records based on a field

I'm trying to lock down visibility to certain contacts in SFDC. We have a field on Contact that is populated by a Flow and it is one value that we care about. The field is called 'Record Type Account'....
user avatar
  • 139
5 votes
1 answer
84 views

Understanding the upcoming change for inline AMPscript or personalization strings in subject lines

I'm having trouble understanding the upcoming change to how Marketing Cloud will interpret subject lines containing inline AMPScript or personalization strings. As from Feb 21, 2023, Marketing Cloud ...
user avatar
  • 15.7k
0 votes
0 answers
13 views

Salesforce commerce cloud contact form attachment needs to store and flow to SOM

I have a requirement to have a contact form that has ability to attach a file and submit the details in SFCC. All the data other than attachment i can able to sync to SOM, but i have no idea to ...
user avatar
  • 1
-1 votes
1 answer
44 views

Validation rule to check if a number field is blank doesn't seem to work

I created a Validation rule like below : AND( ISPICKVAL(Rate_Type__c, 'Custom'), ISBLANK(Script_ID__c) ) Script_ID__c is of Number(18,0) data type Unit testing Scenario 1: When I fill Rate Type =...
user avatar
  • 1,078

15 30 50 per page