All Questions

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

Visual Force page converted to Lightning still appears with Classic feel

Has anyone experienced this? I've already converted some Visual Force Pages to Lightning Experience thru enabling them in settings and adding lightningStylesheets="true", it already appears ...
0
votes
2answers
883 views

Export Tracking Data from Marketing

I need to export tracking data (sent, opens, bounces, etc.) in CSV file from Marketing Cloud to a Data warehouse through sFTP folder. I would use the system data extension as explained here and ...
0
votes
0answers
4 views

Specific Benefits of Using Date Column Type in Marketing Cloud

What are the pros/cons to using the Date field in Marketing Cloud opposed to just leaving it a text field? Will comparisons work the same? Will there be issues down the road if it is a text field and ...
0
votes
1answer
14 views

LWC issue with random users

I have a LWC that, for other some users, it is not behaving as expected, and the following code: _setActionsColumn() { if (this.actions && this.actions.length > 0) { ...
1
vote
2answers
117 views

Passing context/state to a SAML service provider

I'm using salesforce as an identity provider through a connected app link in my community. The service provider is a .NET application that downloads a lot of files. I've got the .NET application ...
0
votes
0answers
5 views

Autopopulate a new field with Account Name when I add a contact through a Lookup field

I want a custom new field called "Organization" to auto-populate with "Account Name" related to the contact I add in my look-up field called "Class host": To paint the ...
1
vote
1answer
38 views

Uploading files to the wrong related list

I am trying to upload files to one record while displaying the CombinedAttachments related lists for multiple records. No matter which related list I use to upload files, they always get attached to ...
1
vote
1answer
486 views

Using Google Maps API with Lightning Web Components to retrieve Latitude and Longitude - CORS issue

I need to get latitude and longitude results from a text input that takes an address or zipcode. I am trying to do this with Lightning Web Components either using a LWC input with loadScript or ...
0
votes
0answers
12 views

Just In Time controller showing User.surname and User.FirstName all null

I have written Just in Time controller to handle JIT scenarios. Azure is passing the Identity provider details. But in salesforce all values like below showing null, despite those are in SAML request ...
1
vote
2answers
3k views

Rich Text area image not showing up in community

I created a lightning component,and used it in a community.Now i want to show a rich text area fields image in that component.So,for that i queried that field on opportunity object and showed the data ...
0
votes
0answers
8 views

How to format date in visualforce e-mails?

I have this email template in visualforce and I needed the date in the "Start" and "End" fields to be formatted to something like DD / MM / YY 00:00. Nowadays it appears in this ...
0
votes
2answers
739 views

Remove the hyperlink functionality of the Name field displayed using <Lightning:listview>

Is it possible to remove the hyperlink functionality of the Name field displayed using Lightning:listview? I want the Name field to be displayed as plain text to the user. Thanks in advance.
0
votes
0answers
14 views

Filter Logic Help

Folks, I can't get the filter logic below to return the desired output. I have a lead (albeit a merged lead) that meets 8 and 9 but isn't being included in the report. ((5 OR 6 OR 8) AND 1 AND 2 AND 3 ...
0
votes
1answer
39 views

How to access JWT in registration handler using Auth provider (open id)

In our org we have an open Id auth provider setup that works fine along with the registration handler. The only issue is we are receiving only the email currently from the provider in the auth....
1
vote
0answers
10 views

Which permissions scopes are needed for the Journey Builder API Contact Exit Request endpoint?

I'm using the contactexit endpoint with an access token generated by the server-to-server integration with the following scopes: { "grant_type": "client_credentials", "...
0
votes
0answers
5 views

How to save bearer token received from OpenID

Use case We are trying to implement a openID based authentication flow with Salesforce as the service provider. Post the successful authentication of a user we need to pass the bearer token received ...
4
votes
1answer
70 views

Has anyone implemented custom mentions in LWC?

I need to implement a custom mentions in LWC component where external non-salesforce users can be mentioned, the mention text should be displayed as @{UserFirstName}{UserLastName} but the actual text ...
0
votes
1answer
33 views

Marketing Cloud Content Builder WYSIWYG editor for multiple languages

Is there an easy way to have a block element with a single WYSIWYG editor for multiple languages? I want to have an element similar to the image carousel but with text. Default text field (Shown in ...
0
votes
0answers
10 views

How to Create AgentWork for External Routing in Omni channel?

As per my other question, i came to know that SalesForce doesn't allow creation of PendingServiceRouting object with routing type as ExternalRouting, however there is no other document stating any ...
0
votes
1answer
13 views

The formula expression is invalid: Syntax error. Missing ')' formula error in process builder

i AM CREATING A PROCESS BUILDER WITH CONDITIONS AS FOLLOWS Residential / Commercial: Sales //THESE ARE ME RECORD TYPES Contact Type: Investor, End User or Buyer //MULTIPICKLIST Stage: Past Client //...
0
votes
1answer
675 views

Create a SOQL query by retrieving the field names

I am using data loader from command line to extract data in csv format. I have to hard code the SOQL query in the sfdc.extractionSOQL property. Is there a way to get the field names dynamically and ...
0
votes
1answer
19 views

SSJS code to fetch the json response returned in the browser after authentication in Marketing Cloud

I am trying to connect My Cloud page to Google Sheets. In my Cloud Page I have embedded this code - https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get?apix_params=%7B%...
0
votes
1answer
22 views

update records in APEX from a list of record

I have a component where, when the user click on Save it fires an apex class that is supposed to update the records The way it work is that onClick on save it creates a list of dict with the relevant ...
4
votes
1answer
3k views

Trying to rewrite Milestone target date to Case field

In our company we work on cases. Cases have milestones, based on Entitlements. Entitlements are based on Entitlement Processes (EP). EPs define target dates for each milestones. One of the milestones ...
2
votes
1answer
892 views

jsPDF and Salesforce Lightning Web Component

I'm trying to create a Salesforce Lightning Web Component to create a custom Quote PDF using jsPDF. I mastered to use the external chart.js library with uploading it as a static resource, but when I ...
1
vote
1answer
11 views

Prevent record creation of an object by selected item in picklist and role

I have an object called Marketing__c which have a picklist with various items, I need to grant permissions for create and edit this object when in picklist is selected one of two of their items: "...
0
votes
0answers
19 views

Execute batch from trigger if number of records in Trigger exceeds 10000?

Since we can't update more than 10,000 records in trigger in real time I was thinking of automating the update of the remaining records through a batch called from a trigger. So, Let's say for ...
1
vote
1answer
916 views

API event error - Event Definition Key not found

I have 3 journeys and when trying to connect from my website to the journey I receive the following error: { "message": "EventDefinitionKey 'APIEvent-1843bf88-e9aa-f083-95cf-e49409ff3ea0' not ...
1
vote
2answers
20 views

Get SMS Message ID before send SMS

I have a requirement, where I would need to get SMS Message ID before the SMS gets sent out. I know that post SMS activated, we can able to send it. But I would need before it gets sent. Like how we ...
1
vote
2answers
3k views

QuoteLineItem test class

I need to create test class for quote and quotelineitem, but i still get error message like this "System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, ...
0
votes
1answer
20 views

How to write test class for metadata which is dependent on post deployment steps?

We have a functionality in our managed package which is dependent on Knowledge__kav. So we have an object Test which has a lookup on Knowledge object. And a custom permission CS1 which is given to ...
7
votes
4answers
5k views

lightning:recordEditForm shows older value if the record is updated (single or mass action) outside its context

We are working on building a list view where you can perform New, Edit and mass update of records. We are using the lightning:recordEditForm for the New and Edit view. The issue we are facing is ...
0
votes
1answer
17 views

How many jobs are running by the user

Want to freeze one user account, before want to know how many jobs(process builder, workflow, batch job everything) are running by the user? Any type of suggestion or SOQL statement will be helpful.
1
vote
3answers
13k views

window.location.href navigating to correct page but not updating URL

What Am I doing ? I have this JavaScript list button 'Create Record for RecordType X' on Object B (which is child to Object A) to navigate to the correct VF page "RecordTypeX_VF" with RetUrl of ...
3
votes
1answer
26 views

Queueable apex runs in System admin mode even after written in System.runAs mode

Queueable class from Test context runs in test runner mode and not in System.runAs user. This is strange behaviour. Here is the snippet. Any idea? User internalUser = // Created Internal User with ...
0
votes
1answer
619 views

Missing Self Register Lightning Component in Sandbox

I've enabled community in Sandbox and used Napili community template for community Builder. We need to implement Captcha process in Self Register Page. So we need to edit Standard Self Register ...
0
votes
0answers
9 views

Create Automation to update Data Extension from Syncronized Data Extension to track Lead Conversions

So recently i was having a chat with SF support related to the marketing cloud and Salesforce Sales cloud sync where we were not sure about how Marketing Cloud tracks lead conversions. Now, as I've ...
0
votes
0answers
17 views

Is there any restriction to view lightning component in Visualforce email template?

We have a requirement to build a custom visualforce component for VF email template and in that we are trying to display a lightning component. The lightning component is visible when we preview the ...
1
vote
1answer
20 views

Conditions in Handlebars Merge Language: how to avoid empty lines?

In a Lightning e-mail template, I want to conditionally add links to photos, like this: {{#if Case.Photo_1_relevant__c}}{{{Case.Photo_URL_1_as_link__c}}}{{/if}} {{#if Case.Photo_2_relevant__c}}{{{Case....
0
votes
1answer
621 views

Passing List of emails in Chunk as Toaddress in SingleEmail message

Can you Try to help me how to pass list of Toaddress in Single email messages as a chunck as per the salesforce documentation we can set 100 Toaddress but in my requirement i have more than 300 mails ...
0
votes
1answer
17 views

How to update multiple fields with one click in LWC?

I am tasked with creating an LWC that will update five fields on the Account object. The LWC only needs to contain one simple button with a heading. The button needs to be displayed only if certain ...
0
votes
1answer
530 views

Chatter API - How to get File Preview Status?

Using a Lightning Component in a Customer Community, Im displaying a file directly after the user uploads it: <img src="{!'/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&...
0
votes
1answer
461 views

Custom field not showing in list of described object

I am working on an integration using JSforce to query the Salesforce API for data. When I run a describe('object'), I get a list of fields that are contained within said object, including custom ...
0
votes
0answers
19 views

Detect password change via APEX

I'm using the SF Service Cloud for handling customer queries. I'd like to detect password changes in apex (possibly via a trigger) so that I'm able to send out a follow-up response to the user about ...
2
votes
1answer
2k views

Converting Email Templates from Classic to Lightning with “Not Allowed” errors

We are trying to convert some of our Classic email templates to Lightning email templates, but when we try to save our custom HTML into the source, we are receiving the following errors. The content ...
0
votes
1answer
46 views

Encryption for HTTP Rest Call

I am trying a simple rest call from one instance of salesforce to another. Server Endpoint URL is on https. I want to confirm, will making such call to https endpoint alone, encrypt the Endpoint ...
0
votes
1answer
706 views

How to populate original opportunity create date on cloned opportunity

At the beginning of every year, we mass update any open opportunities that were created 2 years prior and prevent users from changing the sales stage back to an open stage. In the event that any of ...
0
votes
1answer
465 views

sfdx:Authorize an org taking too much time to respond

I am working in visual studio code, after deploying the code to org, the changes what I had done is not getting reflected in my org. And when I tried sfdx:Authorize an org, Its taking too much time to ...
4
votes
3answers
967 views

Formula field: Distinguish between PROD and FULL copy sandbox

Inside a formula field I want to be able to determine whether the org is the production org or a full copy sandbox. After researching I came up with this: IF($Organization.Id = 'XXXXXXXXXXX', "PROD", ...
1
vote
2answers
3k views

Error when running npm run watch on a SLDS application

am currently working on a SLDS lwc application, but I have ran into an issue when running npm run watch where I get an error stating ERROR in ./src/client/index.js Module not found: Error: Can't ...

15 30 50 per page
1
2 3 4 5
2283