All Questions
129,536
questions
10
votes
1
answer
1k
views
Deleting (or Renaming) Custom Metadata Object / Custom Object yields Insufficient Privileges
I have a non-managed package Custom Metadata object in my developer sandbox org
Foo__mdt
I am the system admin
When I try to delete this object from Setup, it fails with Insufficient Privileges
If ...
-1
votes
1
answer
33
views
Get all inactive values from a picklist to change api names successfully
We are trying to change the API names for picklist values in the "Industry" standard field on the "Account" object.
Unfortunately, we are encountering an error message that says &...
0
votes
1
answer
869
views
Username/password authentication curl attempt failture
I'm trying to get an access token using following curl:
curl --data grant_type=password&client_id=Y&client_secret=Z&username=A&password=B+C
https://login.salesforce.com/services/...
1
vote
1
answer
15k
views
"INVALID CROSS REFERENCE ID" IN DATALOADER
I am trying to do upsert through data loader.It is throwing the following error for all rows in the csv file.The ids used in the csv file are correct.I got those ids from url. Please Help!
ERROR: ...
0
votes
0
answers
34
views
Help with Test Class for Before Insert Trigger [duplicate]
I created a trigger for a custom object (Event Registration), before the record saves the trigger will search Salesforce for the contact in a certain record type, if it exists attach the contact. If ...
0
votes
2
answers
902
views
Allowing Duplicates in a Data Extension
I'm looking to send a transactional email to a list of clients who have purchased several products from my company. I need to send them an email with the serial numbers. But every time I upload the ...
2
votes
2
answers
344
views
Gitlab pipeline: What sfdx command can I execute to do the same that Quickdeploy does in Salesforce Deployment Status Setup page?
I have a pipeline in Gitlab that the last step is only to push in production. But there's no need to execute all the tests again once the previous step/stage already did it. The previous command does ...
-1
votes
1
answer
20
views
Issue while adding Lead to Salesforce campaign in SFMC journey
I am facing an issue while working on a Journey which takes user inputs from Landing page and creates Lead in Salesforce. The lead is created successfully but the issue is while assigning Lead to ...
3
votes
3
answers
9k
views
Apex - break list into multiple small lists before processing
I have a list of 15,000 records.
I can maintain the count in a flag.
Integer Counter = 15000;
I want to break my main list into 3 small lists. Each list should contain 5,000 records.
First list ...
0
votes
0
answers
16
views
SFDMU: Update Records using MockData
I'm new to using SFDMU and currently trying to update 2 existing fields which we want values to be removed:
Field1__c data type is Encrypted String(16)
Field2__c data type is Text(16)
I'm using the ...
0
votes
0
answers
23
views
How can I create a formula that tracks total sales after contact was added to a campaign?
I would like to track total sales that are related to people in a campaign only if the sales is after when they were added to the campaign.
Here's what I have but I keep getting an error-
IF(
...
0
votes
1
answer
22
views
Mobile PUSH SFMC - Images not coming on Android 13
Do we need to set up Rich media for Android too? Images are not coming for android 13 and Beyond
0
votes
1
answer
62
views
2gp package with dependency upgrades
Given the following example.
1 - Is it possible to make such reference happen given the fact that the dependent package exist through the same namespace?
2 - if the previous statement is true, then ...
0
votes
1
answer
33
views
Named Credentials create APIs missing Label and Name values?
I'm looking at these three pieces of documentation:
The ConnectApi.NamedCredentials class and specifically the createCredentials method
The ConnectApi.CredentialInput class that defines the argument ...
-1
votes
1
answer
44
views
Salesforce User not able to edit a Asset record that he created
I have a profile whose is having Create/read/edit permissions on object level and the OWD of the object is Private. I am able to create a new record but when I try to edit the same record that I just ...
5
votes
1
answer
122
views
How to use Javascript libraries with Lightning Web Security in Aura components
We are using the Leaflet Javascript library to add mapping to our application. Currently we have the following:
<ltng:require styles="{!$Resource.Leaflet + '/leaflet.css'}"
...
0
votes
0
answers
28
views
PDF not showing on the iframe. Any alternatives please
I tried the code on the blog below and able to download the pdf. But the issue is, it is not rendering on the iframe. I have also adjust the settings on CSP site settings, but, it still display the ...
0
votes
0
answers
18
views
Mobile Push Android - Opt Out Method: Missing or Invalid Device Token
we encountered a "strange" issue with our Mobile APP developers.
We have configured the Marketing Cloud SDK on our Mobile App using React Native module.
In IOS build and Android debug build ...
1
vote
1
answer
1k
views
How to send Envelop to signing group. Rest API integration with Docusign
I'm integrating salesforce with docusign API by using REST API.
I've to crate the Envelope to send the template, and Template should be sent to Signing group.
How can i send Template to signing group ...
0
votes
0
answers
23
views
Get records filter based on date time to date comparison possible?
I have a scheduled flow where I'm trying to do a get records to get all records where a date time field value is today's date. E.G. Get records for object account. Field LastActivitybyHuman__c is a ...
2
votes
1
answer
59
views
Scratch orgs are created with Russian language for Ukrainian and other Eastern European Dev Hubs even if Dev Hub language is English
Why scratch orgs are created with Russian language for Ukrainian and other Eastern European Dev Hubs even if Dev Hub language is English?
This happens for Ukrainian, Lithuanian and other Eastern ...
-1
votes
0
answers
29
views
Roll-Up Sum field - extend criteria
I have a monthly amount roll-up sum field on my opportunity. The child objects are the opportunity products.
Is there a way to exclude one specific product from this lookup?
BR Alex
Edit: So the pic ...
0
votes
1
answer
39
views
Lightning Dynamic form, with 3 columns Layout
In the preparation of the Admin Salesforce Certification, i had this question:
The thing is, i know Dynamic forms can be used to dynamically hide fields based on conditions. Not to add a column to ...
1
vote
1
answer
905
views
Account Related List not visible on Account Lightning Page
I am trying to view the Account Related List on Account Lightning Page and have made the parent Account Field as visible for all the profiles available in my org.
I am still not able to view the ...
1
vote
1
answer
30
views
One field - different value for different record type
I have a total amount formula field ((all products * term) + one time amount) on an opportunity. Also I have 3 different record types for opportunities.
Now the sales team want this field to show for ...
1
vote
2
answers
2k
views
How to check field accessiblity of a field that is related to the object being checked
While developing secure controller actions for a Lightning Component, I ran across an issue checking accessibility for an Account level attribute related a Contact.
For example:
Schema.SObjectType....
0
votes
1
answer
26
views
MileStoneUtils apex class requires code coverage. Stops at 57%
Working off of the code provided here https://help.salesforce.com/s/articleView?id=sf.entitlements_milestones_trigger.htm&type=5
The test class does not cover required coverage specially the if ...
0
votes
1
answer
1k
views
Getting the following error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY for a site guest user
So I know similar questions has been asked before, but I couldn't find a solution using the following links:
Link1, Link2, Link3 (and more)
The situation is as follows.
So I have a form (a visualforce ...
0
votes
1
answer
43
views
Marketing Cloud Query Returning Multiple Records
I have a Marketing Cloud query that returns records from synchronized data extensions. The query is looking for recent appointments scheduled. The query returns duplicate appointments (where the ...
-3
votes
0
answers
25
views
How to show popup when we create new field in salesforce object
How to show the popup when we create a new field in an object if I create a field in an account object then it must show a popup that adds this field into Selected Fields in outbound.
is there anyway, ...
0
votes
3
answers
1k
views
LWC how to refresh the record detail page back to its page after saving it?
I have worked on LWC requirement where
On Case record, I have customized a component, which is based on custom metadata for the UI display and multi picklist for the back end.
As a case owner ONLY I ...
-2
votes
0
answers
22
views
I want to remove Html tags from text area rich field and populating it to text field. i have tried stripHtmltags, but its not working
public static void updateJobOrderCreateErrText(List<Requisition__c> newReq, Map<Id, Requisition__c> oldMap) {
for (Requisition__c req : newReq) {
Requisition__c oldReq = oldMap....
1
vote
3
answers
2k
views
lightning-tabset tab styling hooks don't work
Say I have a simple tabset:
<lightning-tabset variant="vertical" active-tab-value={activeTabValue} class="tab-active">
<lightning-tab label="Dashboard" ...
0
votes
0
answers
12
views
Are Account Relationship Data Sharing rules suitable in an org where customer can have 10,000 orders?
I'm currently investigating the best record access strategy in an org that is experiencing some performance issues.
The current design uses sharing rules and account relationship data sharing rules.
I'...
5
votes
2
answers
245
views
Are custom SOQL and DML libs superfluous with USER MODE?
As the Security model of Apex was leaky in the past, everybody who took - or as AppExchange Partners had to take - Security seriously was building or using libraries to enforce CRUD/FLS rules. The ...
1
vote
1
answer
29
views
Case comments visible in the UI but not in SOQL
I have a case with several comments:
When I try to get those comments via SOQL (same user on dev console), I got no results:
What could be the reason?
0
votes
2
answers
1k
views
Adding new field on Process Instance object
How can I add/create a new filed on 'Process Instance' object? can we add it or not?
0
votes
2
answers
2k
views
Encountered error when trying to access Integration Procedures in new sandbox
I've had this error show up in a recently created sandbox - using Vlocity Public Sector package.
It only comes up when trying to access Integration Procedures - have had no issues getting into ...
-1
votes
0
answers
14
views
Open quick action automatically
I have a quick action that open lightening component. Ehen a User enter for the first time in the record page , I want to automatically open this action modal.
Is there a way to do that ?
0
votes
1
answer
22
views
How to Create URL Link Button for custom objects to pre-fill fields when creating new record
I'm trying to create a 'New' button using the Link button with URL. This is for my custom object that I need to pre-fill when the New button is clicked. For example, I have CustomObjectA that has a ...
0
votes
1
answer
32
views
Unsubscribe with no standard unsubscribe link
we have a Marketing Cloud email with a custom unsubscribe link.
When clicking on this link, contacts are redirected to a cloud page where they can manage their preferences and, if willing, perform a ...
1
vote
1
answer
1k
views
How to determine if an option in lightning-checkbox-group in LWC is unchecked
How do I determine which checkbox in a lightning-checkbox-group is unchecked? I want to filter results based on selected checkbox.
I have tried using both lines below in the onchange event
...
0
votes
1
answer
41
views
How to import Excel files from static resources using Loadscript in LWC?
I am trying to import an Excel file from static resources. But it's not working. The same method is working for JS files. Note the excel file is in xlsm format. Please help.
JS:
import { ...
0
votes
2
answers
329
views
Display emails related to a custom field in the activity email widget of the contact
By default, Salesforce displays all emails related to a contact (via the standard email field) in the activity email widet.
For a business case, a contact can have up to 3 email addresses, so 2 ...
1
vote
1
answer
1k
views
Retrieving images from RSS feed ExactTarget with AMPScript
I am embedding an RSS feed in an email using AMPScript. I am successfully pulling in the title, description and link, but I’d also like to include the image that’s part of the description in the feed. ...
0
votes
0
answers
27
views
SFDX: Authorize an Org Failed to run
I have a problem authorizing my org via VS Code. It gives me this error when I try to run SFDX: Authorize an Org. Can someone help me with this?
0
votes
2
answers
1k
views
SSJS - Creating HTML table from Lists pulled
Currently I am grabbing all of my public lists from Marketing Cloud and printing them out on the page, but I want to be able to print these out in a table format on the page, maybe by possibly using a ...
4
votes
3
answers
2k
views
Get the image in file - lightning experience
I have to display an image in a lightning component. So in Salesforce classic I put this image in an attachment related to an object, but in lightning experience there is no attachment, or I didn't ...
1
vote
0
answers
21
views
Making a callout with new Named Credentials gives an error [duplicate]
Making a callout with new Named Credentials + External Credentials gives an error
System.CalloutException: We couldn't access the credential(s). You might not have the required permissions, or the ...
0
votes
0
answers
16
views
Show case picklist values from parent object
I am working on showing picklist value on the basis of user permission set / profile.The picklist values on child needs to be shown on the basis of certain permission assigned to the user.
I do not ...