All Questions

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

"it hasn't been set or assigned" error in flow when trying to reference newly created record

I have a flow that creates a record, when another record meets certain criteria. When that happens, I want to create a Chatter post on the original record with the name of the new record, but I keep ...
-1 votes
1 answer
13 views

Using named credentials with a custom external API

I am trying to implement named credentials to make callouts from Salesforce to a custom built external API. The external API has a login endpoint that returns a token, and then there are other ...
0 votes
0 answers
5 views

LWC Run Event Child Then Reun Even on Parent

In my parent LWC I have a modal which displays a child compoent. When the User clicks the Save & Close button I want to fire the Submit event on the Child which then fires a Success Event. Once ...
1 vote
1 answer
2k views

Error when reading metadata: INVALID_TYPE: This type of metadata is not available for this organization

I am trying to get a list of all metadata objects with the given name. However, the code below fails: connection.readMetadata("ApexClass", new String[] {"SampleDeployClass"}); with this error: ...
-1 votes
2 answers
49 views

Get last modified data older than 30 days from Specific Date in SOQL

I need to get the user data who did not logged to system for last 30 days from a specific Date. Do you know how we can create a query for that? If you have any suggestions pls let me know. Thanks
0 votes
0 answers
8 views

Troubleshooting SSJS

<script runat="server"> var email = Attribute.GetValue("email"); var entityKey; var emailMatch; var contactRows = Platform.Function.LookupRows("Contacts", &...
0 votes
2 answers
762 views

Different formats of auto number Name field

If we have a custom object with Name as AutoNumber and 3 record types, say 'A', 'B' and 'C', is it possible to set Name field's value based on its record type? For example, if I try to create a record ...
0 votes
0 answers
6 views

Script to change Publication List status works in CloudPages but not Automation Studio

The following code is supposed to change someone's status in a Publication List to "Active". It works very well when I run it via a CloudPage, but when I put it in an Automation Studio ...
0 votes
3 answers
645 views

Is it possible to update one profile's permissions to read all standard objects without doing it one by one?

I'm working with a very big org, and I would like to update one profile's object settings so they can read all objects in the org, and read all fields in the org without doing it manually. Is this ...
0 votes
0 answers
13 views

Does removing the bounced contact's email address also remove any activities that was captured by EAC?

Prior to deploying EAC in my org,our company had a strict policy of removing inactive contact's email addresses from our database to ensure that we do not send list emails and marketing emails to the ...
-1 votes
1 answer
14 views

Marketing Cloud Automation Studio - Select the same column multiple times using aliases

I'm trying to create a SQL query in Marketing Cloud Automation Studio, where I use the same column EventName from multiple tables _Sent, _Open, etc but I get an error message "The column '...
0 votes
1 answer
906 views

Can I enable/disable hyperlink on a record based on User's permission set in lwc

I have a requirement to add hyperlinks to record name only for certain user with specific permission set. html file: <a data-record-id={f.Id} onclick={handleClick} target="_blank">&...
0 votes
1 answer
27 views

Formula Field return minimum date?

I am trying to write a formula that returns the minimum date (or earliest) out of these three date fields: MIN( Year(Year_One_Start_Date__c), Year(Year_Two_Start_Date__c), Year(...
0 votes
0 answers
8 views

Omniscript Function Formatting

Let's say we are having a User Account Number, and trying to formatting includes a dash “-” after the first two digits and a dash “-” before the last digit. Example: 5300107430734 ---> 53-...
0 votes
1 answer
150 views

How do I create an Apex class to use as a controlling field in an OmniScript Select input element?

I'm trying to create an OmniScript that allows users to enter addresses as separate street, city, state, postal code, and country fields. After some searching around, I found code to create an Apex ...
0 votes
1 answer
30 views

Creating a test class with test data to test a custom apex controller

Hey I have created a custom apex controller for us to use in cases where we need to lookup IDs from salesforce based on our own IDs coming from our own system. Now I want to test this controller class ...
0 votes
1 answer
799 views

Skill Based Routing - Assign a skill to a Public Group/Queue

Just started working with Omnichannel's Skill-based routing - the business asks if it's possible to assign a skill to a set of users via public group or queue. Example: I've got users Bob, Jane, Jim. ...
0 votes
1 answer
114 views

Email To Case creating new cases when responding

Service Cloud Experts: I’m, facing an issue in salesforc email to case - when creating a case manually in salesforce org, and then sending a mail via salesforce, the user gets that mail. As soon as ...
0 votes
1 answer
13 views

Does CCI support Patch Org management?

I have inherited a cumulus ci project and can see that the process for creating scratch orgs and pushing releases to the packaging org is all set up. However, it looks like some scripts are being used ...
0 votes
1 answer
34 views

How to mock a file attachment size in Apex Salesforce to test

I have to test a method that return a boolean false when the attachment upload is bigger than 25 megas, I tried to test this one using the code below but there is a limit dml exception string too long,...
2 votes
1 answer
2k views

Not able to subscribe to Reports? Keeps giving error!

I am getting following error when trying to subscribe to reports - "We couldn't set up your subscription. Try subscribing again. If you still can't subscribe, ask your Salesforce admin for help." I ...
2 votes
2 answers
20 views

Working with Map<String,Object> and Parent Records

Good morning/afternoon/evening, I'm working with some code I got from GitHub to generate a CSV from a List<Sobject> someQuery However, it doesn't do well with parent records (i.e. Donor__r....
-1 votes
2 answers
52 views

Add time stamp using formula on flow

in a formula can we also add a timestamp so we have date then time as well? so when I use this TEXT(HOUR(Today())) I get The formula expression is invalid: Function HOUR may not be used in this type ...
2 votes
1 answer
2k views

How to handle an event in a child component that is fired from a dynamically created grandchild component?

I have a component that includes a child component. The child component has a button that fires showCustomModal on an overlayLibrary and the content is a dynamically created component. Component ...
1 vote
1 answer
16 views

lwc with list view needs to be updated when separate lwc creates new record

I have an LWC that displays a list of custom object records. In a separate LWC I can create a new record that will show on the list LWC if I do a browser refresh. How can the list LWC get updated ...
2 votes
2 answers
2k views

Deployment Problems Experience (Network - no Network named "...." found)

I am currently trying the deployment of the Experience Cloud. Unfortunately, I am encountering the problem with the "Network" and that it cannot find them. I have attached a screenshot from ...
1 vote
0 answers
128 views

OpportunityLineItem does not have a lookup field to PricebookEntry. Am I missing something?

Apologies in advance if this is a stupid question. Based on what I've seen in the documentation and various forum post answers, I believe the following relationships between Salesforce standard ...
0 votes
1 answer
6k views

How to deploy Quick Action Page Layout using change set?

How to deploy a create record Quick Actions layout using change set? I am deploying the quick Action using 'Action' Tag in changeset but i do not get the page layout of quick action. Only predefined ...
0 votes
1 answer
9 views

Get the URL of an organization from its Org ID with sfdx?

I've seen similar questions asked but none of the answers provide an SFDX solution and I'm really hoping there is one. I have an organization ID, but I work with several orgs. I cannot for my life ...
0 votes
0 answers
14 views

Better decouple TCRM UI from underlying data

My Managed Package has a few Embedded Tableau CRM Analytics dashboards as advanced reporting on top of Custom Objects. Over the course of a few releases, I found that changing, enhancing, and ...
-1 votes
1 answer
134 views

Invalid property show legacy activity component error deployment

how are you? I have the following problem, I was assigned to be able to send emails from the chatter in opportunities, I created a quickAction and added it to the layout, then I went to the page ...
7 votes
11 answers
34k views

Error: SFDX Deploy source to org

Error deploying or retrieving source: The file or directory that you tried to deploy or retrieve isn't in a package directory that's specified in your sfdx-project.json file. Add this location to your ...
0 votes
0 answers
12 views

App Customization Specialist issue- Build Volunteer Tracker app reports

I'm getting error as : Challenge Not yet complete... here's what's wrong: The 'My Upcoming Confirmed Shifts' component is using the incorrect source report. I have used My Upcoming Shifts report in ...
-1 votes
2 answers
680 views

Salesforce Lightning Case Assign to Me button

In Salesforce Lightning I am trying to make a button on the case layout which assigns a case to the user viewing it. I want this button to be a single click and the case owner is reassigned and the ...
3 votes
2 answers
8k views

Where can I view Apex job details?

There are some scheduled Apex jobs in Setup -> Environments -> Jobs -> Scheduled Jobs that I'd like to reassign to a different user so that I can deactivate the one they are currently assigned to (...
2 votes
1 answer
2k views

Unable to find valid certificate path to requested target

I am trying yo deploy my application from developer org to newly purchased enterprise edition org. For this I am using eclipse to deploy my developer org project to sandbox. But I'm not able to ...
0 votes
1 answer
19 views

Pass parameter to apex class method referenced in trigger through LWC

I have a trigger where I'm calling a method from handler class and I'm passing the trigger.New to that method like this: if(Trigger.isBefore && Trigger.isInsert){ List<Lead> ...
0 votes
1 answer
2k views

Fields not appearing in lightning-record-view-form's payload if not included in page layout

I'm using a lightning-record-view-form in my component to display some record's fields, but I found out that if there is a field not included in the record page layout then it's not appearing in form'...
0 votes
1 answer
28 views

How to use if statement in Marketing Cloud SQL activity?

In the syncronized data extensions Account__c i have the following fields: KPIUltimoSoggiornoTipo__c that is mapped with a list of products name (it is a text field) KPIClusterFrequenza__c indecates ...
1 vote
2 answers
34 views

Issue with overwriting a checkbox field through apex

if(e.No__c==3 && e.Contact__r.Completed__c==true){ e.Contact__r.Completed__c=false; System.debug('varcheck02'+e.Contact__r.Completed__c); System....
0 votes
3 answers
676 views

Updating SMS copy within a live Journey

I know that to update email copy for an email within a live Journey you need to edit and save that email activity within the Journey. Is the same true for SMS? There is no edit functionality from ...
0 votes
0 answers
20 views

Pagination and Search problem in LWC

Hello I have am working on a datatable that contains pagination and a search box that brings only the row that matches the search value the user wants. It finds me the value but the other values of ...
-2 votes
0 answers
28 views

Without JQuery only css

I would like to say only for css Click Here I have posted on code in codepen, I want to css only, without JQuery, It will look like https://www.pagalguy.com/ only for css, not any language like ...
-1 votes
0 answers
17 views

Can you do SOAP API integration with a third party ERP system that has no endpoint URL?

I have a requirement that that I need to create Accounts in Salesforce when ever an Account is created in the ERP system but they do not have a Endpoint URL and hence I cannot use REST API integration ...
0 votes
0 answers
20 views

New "From Name" causes an undelivered SMS status in Journey Builder?

We have set up a new journey to do test sends from a Data Extension. The journey is quite straight that it will trigger all records in the DE with SMS messages once the journey is activated. We have ...
2 votes
0 answers
35 views

Static flag being ignored in tests since Spring 23 Release

As of Spring 23, several tests where we publish platform events started failing. We use a static flag as a condition to execute a code block and looks like now the line where the flag is being set is ...
0 votes
1 answer
33 views

avoid deleting all files LWC

Hello I am working on a lightning-input field whose type is a file. In this component I want to allow the users to upload several files and show its name and an option to delete the selected file the ...
0 votes
0 answers
24 views

How to integrate Salesforce with PayU

I am trying to integrate Salesforce with PayU for making payment. When I am sending the request I am getting the response in Html format. And I am getting a Payment URI in Postman console: I want to ...
2 votes
1 answer
40 views

Test class error during validation (INSUFFICE_ACCESS_ON_CROSS_REFERENCE_ENTITY)

I'm a new developer who's never done this before. There is a test class with 100% code coverage in the sandbox org. I put test class and original class in the sandbox outbound change set and validated ...
0 votes
1 answer
25 views

If insert row fails skip

I know that I am just missing something on this but I am trying to upsert data via a LWC from a CSV. Currently I am getting an error since we have duplicate rules turned on. All I am trying to do is ...

15 30 50 per page
1
2 3 4 5
2566