All Questions

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

Uncaught (in promise) TypeError: Cannot read property 'type' of undefined at eval at promise.all

I encountered this issue which didn't happen before in my LWC. I did some changes but I can't manage to find what's wrong with my code. This is my method: fetchItemPromotions(){ console.log(this....
0
votes
0answers
3 views

How to use .sfproj file to load project structure in a new org

i need to use a .sfproj file containing a project structure metadata and load it into a new org so that i can compare it with another org and look for missing components. should i use the welkin suite?...
0
votes
0answers
4 views

SF - Create Flow based on 'If Quote Line Items Name Contains'

I am trying to create a flow based on the following: When a Quote status changes to 'Accepted' Check all Quote Line Item Product Names If any Quote Line Item Product Names contain a certain string ...
0
votes
0answers
7 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 ...
-1
votes
1answer
17 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) { ...
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 ...
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 ...
0
votes
0answers
10 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
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 ...
1
vote
0answers
13 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 ...
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
16 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 //...
1
vote
1answer
12 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
1answer
17 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
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 ...
0
votes
1answer
23 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 ...
0
votes
1answer
21 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
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 ...
4
votes
1answer
28 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
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.
0
votes
1answer
19 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
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 ...
2
votes
1answer
54 views

Insert with Throw Exception

In the code below: try { //code here } catch (Exception e) { Account a = new Account; insert a; Throw new Exception ('test') } Apparently on Platform Event objects, executing the command: ...
1
vote
1answer
17 views

LWC Datatable - Multi-level Headers

Is it possible to format multi-tiered headers with LWC lightning-datatable component? I do not see anything in documentation, and I've tried passing in nested array of headers into columns attribute. ...
0
votes
0answers
19 views

How to change FileName in Trigger | APEX

I have a custom object that gets created via a Flow, in that Custom Object I have a 'Type' and if Type is "A" then it allows users to UploadFiles, these files then end up in Related Files. I ...
1
vote
2answers
50 views

LWC Get record field values and render DOM elements conditionally

I want to create a custom component for a record page that gets a field value for the record, determines if the value is null or not. If it is null, some content will be shown and some will be hidden. ...
0
votes
0answers
11 views

Configure Rich Text Editor look-and-feel on VF page

I want to know if there's another way to allow user to input text that can be formatted using bold, underlined, italicize and bullets, without using Rich Text Area field, or maybe still use Rich Text ...
0
votes
0answers
11 views

Are unsubscribed metrics in Exact Target mapped to the email it was unsubscribed from?

We have three email categories. Let's say IDs are 1,2,3... Each of these email types can have x number of email campaigns (product specific emails) under them.. A user can either opt out of specific ...
0
votes
1answer
17 views

How to know if the managed package is comply with Privacy shield framework?

Is there any possibility/link to understand if the managed packages that we installed/built are complying with privacy shield framework? I didn't see any links or documents which shows the details on ...
0
votes
0answers
5 views

Address Auto Complete Not Working from Static Resource

I'm attempting to demo an "address type-ahead" API into a lightning component. For a standard HTML page with js/css, the integration should be as simple as including the js/css files and ...
0
votes
0answers
12 views

Need help identifying the right tool [closed]

I am new to the marketing cloud and I am looking for an help to find right tool for the below requirement. ==> Identify where the consumer leaves the process or what page they abandon the process ...
1
vote
2answers
66 views

Are there any risks/issues using a List's hashCode as key for caching results?

I'm considering using a combination of static variables and the List object's hashCode method to cache the results of a SOQL call based on the values being passed in (accountIds). The methods will be ...
2
votes
1answer
20 views

Updating the Data for an LWC lightning-datatable isn't re-rendering the lightning-datatable

I'm running into an issue getting a lightning-datatable to rerender when I update the data attribute. My LWC contains 3 buttons for testing and a lightning-datatable that is connected to the ...
2
votes
1answer
18 views

Changing the colours of the fields depending on a formula?

I have two number fields on opportunity layout. A and B. I want to create a formula field and when A>B the formula field will be red or just an indication that people will notice it right away when ...
0
votes
2answers
24 views

How can I update a record with information obtained from a @future callout?

I have a trigger which executes a callout on the Case object to create a resource in my backend. The callout returns the ID of the created resource, which should then be added to the Case the trigger ...
0
votes
0answers
17 views

How to execute a method after an apex rest callout is finished

I'm executing a rest callout in apex to create a new field. I'd like to execute a method that adds that field to a permission set to allow users to use it, right after this callout is finished. Is ...
0
votes
0answers
7 views

partial collapsing of groups in full-calender.?

We are using fullcalender- Timeline View with multiple parent resources and related childs. I'm trying to implement a feature whenever the view loads , I want to collapse all parent resources except ...
0
votes
2answers
14 views

How i can send a real time email when capture a lead from Facebook

Wondering if there is any way to send an email "through journey builder" whenever capture a lead from Facebook. any way? Thanks
0
votes
0answers
16 views

What are possible side effects of “Compile all classes” in production? [duplicate]

When I validate a change set with RunLocalTests in production (as well as using the CLI with that flag for CI/CD and packaging integration) there was a class that was erroring out as a dependency. I'...
0
votes
1answer
14 views

Restricting create button on a related list for few profile users on a page layout

I have a page layout with multiple related lists, my requirement is on this particular layout I want to disable create button on one of the related object for a some profile users (we have a profile ...
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 ...
0
votes
0answers
11 views

Salesforce Survey Validation formulas

Does anybody have any experience with Salesforce custom validations in Surveys? I am trying to get a validation to work for a short text question that will accept either a whole number or a 2 digit ...
0
votes
0answers
19 views

Contact with multiple entries in Journey Builder

I have a journey that sends an sms reminder to customers 48 hours before their appointment, using a data extension populated by an automation. The appointment information is stored on an custom ...
0
votes
0answers
9 views

How to add new Quote line via CPQ Custom Script

I'm writing a custom script for CPQ Calculator. I'm using the onAfterCalculate method to insert new quote lines using JSForce. export function onAfterCalculate(quote, lines, conn) { let ...
0
votes
0answers
11 views

How do I update the display of a lightning-datatable after the user edits a record in a lightning-record-form?

I have a lightning-datatable displayed within a lightning-card. One of the row actions brings up a modal lightning-record-form where the user can edit the data. This all works, but I'm having trouble ...
0
votes
0answers
16 views

Platform Events and LWC Refresh

I have the following flow, LWC -> Apex (REST API) -> Inserts data in some_object__c -> Trying to refresh the LWC which is based on the some_object__c. I have a platform event(PE) which fires ...
0
votes
1answer
39 views

Apex trigger to prevent duplicate account on creation

I have written the following class for preventing an Account with the same name to get created in the org. The issue with the trigger is that it is not allowing the record to be saved but the error ...
0
votes
2answers
25 views

How to Describe a SOQL Query

I am trying to write a utility to export a SOQL query to a POCO / POJO, and it works so far using the describe API on the SObjects. Is there a way to directly describe a specific SOQL query, including ...
0
votes
0answers
13 views

create asset record when order record is created [closed]

When an Order is created AND there is a Order Product where the Product Family = “Software”, an Asset record will be created for the OrderProduct.Quantity (e.g. Quantity = 8, 8 Asset Records created) ...

15 30 50 per page
1
2 3 4 5
2283