All Questions
134,105
questions
0
votes
1
answer
34
views
How to get row number for jobid via SQL?
I am trying to extract jobids from data view bases on the emailname.
How can I get the row number if I am getting back multiple jobids?
I tried using ROW_NUMBER() but getting a static value of "1&...
1
vote
1
answer
30
views
Access Named Credentials with Guest User
I have created a Rest Service which accepts incoming Webhooks from Concur to notify Salesforce an Expense Report is ready. I am then using a Callout Class to fetch the Expense Report details from ...
1
vote
1
answer
47
views
Real time SMS from Sales Cloud to Customers via Marketing Cloud
We currently use a third party system built in our sales cloud to send transactional SMS alerts to our customers.
We use Marketing Cloud to send monthly emails primarily.
As they are monthly ...
-2
votes
0
answers
35
views
System.debug() is not displaying when running a batch class
I have a batch class that is just querying for some records, and have included some system.debug so i can see what is being outputted, though in the logs, the 5 logs that are being created, none of ...
0
votes
0
answers
20
views
SOQL CRMA BINDING error
I have this query and it functions correctly until i select a filter value. Been trying to fix it and don't understand what could be the error or if there is limitation for SOQL and CRMA functionality....
0
votes
1
answer
30
views
Unlocked Package Generation fails due to dependency on Manage Package
I have created and released a Managed package "A".
I am now trying to create a small extension (which includes some Reports and Dashboards) as an Unlocked Package.
The reports contains ...
-2
votes
1
answer
22
views
How to make a dashboard which compares data of 2 different reports like comparing monthly data of FY 2023 with monthly data of FY 2024
I want to compare 2 yr data on monthly basis in a dashboard
I am not able to generate a comparison dashboard
I have 2 different reports
0
votes
1
answer
20
views
Email Public Group via flow in Lightning
I am trying to set up a flow so that when an object is created an email is sent out to all the users in a public group. So far I have the below:
I know that the loop variable is supposed to go after ...
1
vote
0
answers
38
views
Waive MFA for exempt users not overriding as advertised
The Waive MFA permission states:
Disable MFA challenges on direct UI logins for users or orgs that aren’t required by Salesforce to use multi-factor authentication, per the Salesforce Trust and ...
0
votes
1
answer
16
views
How do I migrate Bot with related Flow routing?
How do I migrate Bot with related Flow routing?
Looks like when I migrate Bot with corresponding Flow, they are not connected after deployment to another org.
I don't understand why this is happenning ...
-3
votes
1
answer
30
views
What exactly is the use of all the annotations in apex rest class [closed]
Apologies if this sounds too noob but am trying to understand what exactly is the used of all the annotations like @HttpGet,@HttpPost,@HttpDelete,@HttpPut and @HttpPatch in apex rest class. The ...
-1
votes
0
answers
16
views
I want to hide an item (tab of an app page) when the user search it from the app launcher, but I want him to see the page when called from a button
My scenario:
I have an LWC called 'invoiceDisplay' which is present on an app page called 'Invoice Creation'. And I have a button called 'New Invoice', that calls the App page and display the LWC when ...
-1
votes
0
answers
32
views
Retrieve Data from Email Body In Salesforce [closed]
I want to retrieve a data from the email body. the email will have a table like this i want take the data from the column total and store in salesforce how to do it
2
votes
0
answers
58
views
How do you correctly populate an External Credential from a Principal for a Named Credential?
In Salesforce, I want to consume a web API which I can successfully call from my command line like:
curl --location 'https://dummyapi.io/data/v1/user?limit=10' \
--header 'app-id: SomeApiKey'
In ...
1
vote
0
answers
39
views
Salesforce SOAP API Query Operation - Invalid Session ID Error
I am attempting to perform a SOAP query operation against the Salesforce SOAP API to retrieve data from the ConnectedApplication object. However, each time I try to execute the query, I receive an &...
0
votes
0
answers
38
views
MarketingCloud AndroidSDK 8.1.5 | Tapping notification does not launch the app on Android 12 and up
I'm encountering an issue in our Android app where when notification is clicked, the app does not launch. We're using latest Library version 8.1.5 into project.
Some key points from my findings:
I ...
0
votes
0
answers
40
views
Salesforce tooling API. Add new value for picklist (depending on the record type)
Situation:
There are 11 picklists on the Account, the values of which vary depending on the record type
The API request returns me 5 picklists
how can I addnew picklist value for record type from ...
1
vote
1
answer
29
views
Deploy Error "Feature Required: Field History Tracking This package requires field history tracking be enabled on this object: Contact"
For our first generation package, I receive a deploy error trying to upgrading a Production Environment:
Feature Required: Field History Tracking This package requires field
history tracking be ...
0
votes
0
answers
19
views
Unable to use the ticks-labels attribute defined in the Documentation
What is affected by this bug?
Bar charts, when adding a secondary category-axis. Doesn't seem to follow the documentation (https://salesforcelabs.github.io/LightningWebChartJS/docs/api/axes/cartesian/...
1
vote
0
answers
50
views
Characters truncated in named credentials custom header parameter
ConnectApi.ExternalCredential externalCred = ConnectApi.NamedCredentials.getExternalCredential('SN_JWT');
System.debug('externalCred :'+externalCred);
when I run this code in salesforce ... in system....
-1
votes
0
answers
30
views
Opportunity products on an account level
I am trying to show a custom related list on the account object of all of the Products associated with closed won Opportunities within each customer accounts. The goal is to have a one stop shop, in ...
1
vote
1
answer
125
views
Adding event listeners in the Constructor of LWC
Generally,
In Lightning Web Components (LWC), you should not manipulate the DOM
or add event listeners in the constructor. The constructor is called
when an instance of the component is created, but ...
2
votes
1
answer
59
views
OpportunityFieldHistory in Apex test class (field tracking - NewValue)
i'm new to learning about Apex Test Class.
I have business logic that needs to check the value of 'OpportunityFieldHistory' == 'ClosedWon' in a class to create a record (Contract).
I'm making a test ...
1
vote
0
answers
38
views
Flexcard navigation action default field values
In lwc when we use the navigation mixin to navigate to a default record modal we can use defaultFieldsValues to open the modal with some fields filled in, how can we do the same thing in the Navigate ...
-1
votes
0
answers
19
views
Field visibility in object
I created a new custom field and field level security is set to visible and the field is added to the page layout but still cannot see the field?
0
votes
0
answers
12
views
SFMC Mobile Push Demographics - querying LastAppOpen, LastMessageOpen, LastSend, MessageOpenCount
I am working with a client that is looking to query MobilePush Demographics data such as LastAppOpen, LastMessageOpen, LastSend, MessageOpenCount. However, it seems these fields are not found in the ...
1
vote
1
answer
43
views
Create Named Credential with authentication and user id in url parameters
I have an endpoint with the following format:
https://test.com/api?salesforce=123&agent=123
Do Named Credentials allow me to store the salesforce value in the Named Credentials associated External ...
0
votes
0
answers
15
views
Invalid Field fieldName [duplicate]
This is the error:
Line: 110, Column: 1
System.SObjectException: Invalid field Graphic_Designer__r.Copywriter_Buddy__c for Account
This is line 110:
else if(currentWorkTicket.Account__r.get(buddyName)...
1
vote
0
answers
21
views
Creating 2GP package version error: FlowDefinition entities not supported
When creating a 2GP package version, I get the following error.
These entities are not supported: [FlowDefinition]
I ran into this same error a long time ago, but I can't remember the details of how ...
0
votes
0
answers
22
views
Sync is successful but data doesn't update in the salesforce backend
Within the soup , I have this Data :
{
"cursorId": "0x60001174a400",
"currentPageIndex": 0,
"pageSize": 1000,
"totalPages": 1,
"...
-1
votes
1
answer
45
views
Display total in headline bar, is a trigger my only option despite being read only?
The goal is to add a total to the headline bar in the Accounts layout. I will be using the Account object and from there it will need to pull "Total" from a custom object. The custom child ...
0
votes
0
answers
24
views
VS Code Apex Debug Replayer : "Running Java Command .... failed"
I am trying to run the Apex Replay Debugger and keeps getting the following VS Code Apex Debug Replayer : "Running Java Command .... failed" error. It used to work on my computer (windows) ...
0
votes
0
answers
19
views
How can I include Send Time in a Marketing Cloud email intelligence report?
I'm building a SFMC intelligence report that includes dozens of emails sent on the same day. I'd like to include send time in the report to easily differentiate each email, but I'm not seeing a Send ...
0
votes
0
answers
39
views
Salesforce Maps: How to pass boundaries to a custom Lightning Web Component
I've created a custom action "Test" into Salesforce Maps
It opens a new LWC component, which calls an API that gets property records located within the boundaries.
My question is : how can ...
-1
votes
1
answer
27
views
Access event data during Journey
Im curently developing a journey that generates some objects to serve as logs to Salesforce using the the Object Activity.
I need data like the Journeys name and when that specific client entered it. ...
0
votes
0
answers
23
views
How to call the LWC/ Aura Cmp in List View Buttons directly?
We are moving Salesforce Classic to Lightning. In that process I have a Opportunity Object . In that Opp List View I have a "Reset", This is an OnClick JS button. Now for this button I ...
0
votes
1
answer
22
views
Is there a way to manually refresh lightning-record-picker query results?
I am trying to use lightning-record-picker to obtain records of ServiceAppointment object. Records need to be filtered by by list of ids that are obtained from Apex method that is called as soon as ...
0
votes
0
answers
27
views
Salesforce Nonprofit Cloud. The SOAP method "findDuplicates" doesn't work for the PersonAccount object
Attempting to invoke the findDuplicates method for the PersonAccount object results in the following error:
Request:
curl --request POST \
--url https://test.my.salesforce.com/services/Soap/u/60.0 \
...
0
votes
1
answer
36
views
ampscript lookup does not work when field length of the lookup field is not set
This is my amp script code :
%%[
Var @email
Set @email = Lookup("forgot_password", "email","locale","en-US")
]%%
%%=v(@email)=%%
The locale field length ...
-1
votes
0
answers
16
views
How to show greet message when the Agent accepts the chat
How to get this to be the first message when the agent starts the conversation with the person
Hello
how are you today
My name is
How may I Assist You
Is there any way to make it happen immediately ...
0
votes
1
answer
74
views
Missing information in privacy manifest of MarketingCloudSDK 8.1.2
To be compliant with Apple's new third party SDK requirements on user data collection and usage privacy guidelines, we updated MarketingCloudSDK version to 8.1.2. The privacy manifest file PrivacyInfo....
0
votes
1
answer
42
views
how can we change color of specific column values in salesforce analytics lens
In Salesforce Analytics, I have configured an action for the 'Case Number' column in a lens. I want to change the color of this column, similar to the blue color used for hyperlinks, so that users can ...
-2
votes
0
answers
44
views
How to play video files from contentdocument (Files/Library) on Experience site using LWC
The requirement is to upload videos into Salesforce files/Library and make them play on the Experience site using LWC. It is working when we store video files in Static resource using below code ...
0
votes
0
answers
22
views
Display message 'All Agent are Enagaged at the Moment' after checking the agent availibility
1: How to get this message (we apologize for the inconvenience but all our customer support agents are engaged at the moment, An agent will be with you shortly) to appear when there are agents online ...
-1
votes
0
answers
40
views
Salesforce reports filter logic error
While adding the following filter logic:
(1 OR 2) AND 3 AND NOT 4
This salesforce report filter logic giving an error stating "4 is not a valid filter".
Please help me out!!!!
Thanks in ...
-1
votes
0
answers
34
views
Approval process with approvers based on dynamic public group
I need an approval process in place where whenever a record is created based on certain business rules it should be assigned to group of users in public group.
With standard approval process I am not ...
0
votes
0
answers
25
views
sf scanner run dfa is scanning files not included in --target
When running the following command: sf scanner run dfa --target "force-app/main/default/classes/ActionItemTriggerHandler.cls,force-app/main/default/classes/ActionItemTriggerHandlerUtility.cls&...
-1
votes
0
answers
17
views
Custom navigation menu for specifc page
Is there a way to display a specific navigation menu only for certain Community pages? I have a custom navigation menu created, and only want it to appear on a specific set of pages. I want the ...
0
votes
1
answer
23
views
How can I hide the Home button from my Community navigation menu?
I want to remove/hide the Home button on the Navigation menu. I've tried using this CSS but it's not working for me. Any ideas on how to hide the Home button?
0
votes
0
answers
21
views
SF Campaign Naming Conventions for Evergreen Campaigns
I'm wondering if anyone has suggestions or best practices for campaign naming conventions when it comes to evergreen campaigns or campaigns that run beyond a single fiscal year. Currently, my company'...