All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views
+50

Translating DataCategory

I am using Copado, but it does not matter. I know that DataCategory could be translated. However, I want to deploy this thru metadata. I reviewed the metadata CustomObjectTranslation and Translations ...
5 votes
1 answer
2k views

Why CLI response time is very slow via Command prompt?

I am using Salesforce CLI and Visual studio code for Salesforce DX. The command prompt is taking very long time to execute the sfdx command. Is this because the system configuration which I am using ...
2 votes
2 answers
2k views

Changes are not visible after deployment of LWC

I'm new to LWC, I'm trying to deploy code after changes but changes are not visible in the LWC Component. I also clear the cache many times but didn't see any changes in the browser. I also Disabled ...
2 votes
2 answers
934 views

Lightning Web component download link give errorduringprocessing.jsp

I have an experience cloud site with a lightning web component that contains a download link. Clicking the download link produces the following error: top.location='https://{domain}.cs196.force.com/...
0 votes
1 answer
985 views

insert link to a field in a formula field

I have a child object to Case. That child object has a formula field that automatically gets populated with the account associated with Case. I want it to be a hyperlink. So it should show Account's ...
1 vote
1 answer
2k views

Case Custom Button Lightning to Update Status

I am trying to update case status field on lightning detail page. We are not using case feed. I think lightning components cannot be added on case and Work Order detail page. FYI: Actions on Case ...
2 votes
1 answer
792 views

New Lightning component with custom 'Send to chat' button

we have a basic lightning component that is generating a link, we would like to add a new button to send directly this content to the standard chat component, without agent interaction. Something like ...
0 votes
2 answers
62 views

Links in email not working in inbox

I have a data extension that contains customers along with a category. In my html content, I want to add the category for the customer IF the customer_id can be found within that data extension. If it ...
0 votes
1 answer
755 views

In Aura Components, is it possible to subscribe and unsubscribe to message channels?

Currently I'm playing around with the Lightning Message Service. I've noticed tha online tutorials for using LMS with both VisualForce and Lightning Web Components demonstrate publish, subscribe, and ...
1 vote
4 answers
6k views

Is it possible to display 15,000 records in lightning component?

In contact object, we have 15,000 records. I want to display them into a lightning component. Functionality : Need to load 15,000(maybe more) records. Need to provide pagination. Need to Provide ...
2 votes
2 answers
3k views

Synchronizing Unsubscribe/Subscribe from marketing cloud to salesforce

when we use V2 Connector the email Opt-out checkbox in salesforce is used to unsubscribe and subscribe the subscribers in marketing cloud and in V5 we are having the below scenario we are ...
-2 votes
1 answer
24 views

The Error in this code is - validate CRUD permission before SOQL/DML operation (rule: secuirity - apexCRUDVioloation) what is the probable solution?

public with sharing class VehicleController { @AuraEnabled(Cacheable=true) public static List<Vehicle__c> getVehicleList() { return [SELECT Id, Veichle_Name__c, Rental_Rate__c, ...
-3 votes
1 answer
29 views

Record is read-only in trigger

CaseDemoRecordType: execution of AfterInsert caused by: System.FinalException: Record is read-only Trigger.CaseDemoRecordType: line 17, column 1 trigger CaseDemoRecordType on Case (After insert , ...
1 vote
1 answer
1k views

Preview Email template within Visualforce page, some throw an error

I have a custom page to preview and render Email templates, now i came across that some (not many) templates will exceed the view state of the page ( max 137kb) As I need the function to replace text ...
0 votes
1 answer
26 views

Database delete isSuccess is true but record not deleted

I've been trying to remove related record called it A before inserting record B on trigger. In the handler i was querying record A by value populated in record B field. When i called result and debug ...
0 votes
1 answer
2k views

aura:if inside aura:iteration

I want to conditionally render each item in an iterating list. It has to check if each contact in the iterating list is included/contains in another list of contacts. How should I approach ? ...
1 vote
1 answer
37 views

Error while creating a 2G Package version: Insufficient permissions: secure query included inaccessible field

Hope you're having a good day. I need some help resolving a problem I am facing while developing a 2nd Generation Managed Package. Following the ISV and SFDX Guide, when I create a 2G Package version ...
1 vote
1 answer
793 views

Broken Image in Customer Service (Napili) Community - Spring '17

I've been building our org's Intranet using Communities, and since the update I noticed that if I try to upload any images to include in a rich text editor they appear to be broken and won't display. ...
0 votes
1 answer
887 views

How to Show Profile Pictures to their Corresponding contact record

I want to display Contact User Picture In Page Layout. How Can I call Image Id automatically in Contact formula. I tried this logic but its only works for one record. IMAGE("/servlet/servlet....
0 votes
0 answers
15 views

SFMC SOAP API Internal server error

Am new to SOAP and newer to SFMC SOAP API. I am trying to retrieve DE rows via SOAP API and couple of questions, as I keep hitting a 500 error - internal server error. My code is below - first ...
11 votes
3 answers
1k views

referencing static resources in lightning components with dynamic namespaces

We have a lightning component thats part of our appexchange package. We have development environments with no namespace, a beta/staging package namespace, and our production package namespace. Is it ...
0 votes
1 answer
22 views

Can you navigate within the same tab via lightning:navigation in service console?

I'm currently using lightning:navigation via an action in a flow (this flow overrides the "New" action on a custom object list view), so users can navigate to their newly created record. ...
0 votes
2 answers
40 views

Mobile push using one Mobile App and Multi Org/multiple BUs

We have the following structure: Parent BU 1.1 Child BU A - connected to SFCRM Org 1 1.2 Child BU B - connected to SFCRM Org 2 We want to develop a Mobile App and push notifications to the relevant ...
3 votes
1 answer
543 views

Payload Error - Unknown type name 'CustomFieldTranslation' specified in package.xml

I want to deploy / retrieve CustomFieldTranslations for any object to a Sandbox, but receive an error: Unknown type name 'CustomFieldTranslation' specified in package.xml I tried to deploy via path, ...
0 votes
1 answer
20 views

NavigationMixin.Navigate Not Focusing on the correct subtab

I have a lwc component which calls the below method after save is successful : navigateToEventRecordPage() { this[NavigationMixin.Navigate]({ type: 'standard__recordPage', ...
0 votes
1 answer
909 views

Marketing Cloud Smart Capture and Subscriber Key

I am facing a quite bang-against-the-wall, but common (I believe), scenario: I have records in my NL Data Extension to which I send monthly newsletters. My All Subscribers List is therefore updated ...
0 votes
1 answer
29 views

Invoke standard Case Merge action via LWC

Would it be possible to invoke the standard Salesforce Case Merge action from LWC? Having a new component like say action-form similar to existing record-form component would work well. for example: &...
0 votes
2 answers
961 views

Contact Deletion

How could i proceed in order to delete all Contacts with Contact Deletion (about 17 million contacts)? Using random data extensions I would have limits related to the number of data extensions. Do you ...
0 votes
0 answers
12 views

Sending Transactional Email without Subscriber key / Delay in Receiving Subscriber Key

I have a customer who wants to send transactional emails triggered by their e-commerce platform to Marketing Cloud using the Rest API. In Salesforce Marketing Cloud, they use the Journey Builder API ...
0 votes
1 answer
725 views

How to import parent object field in lightning record form of child custom object?

There is Contact object as parent object and I have created a custom object called Vaccination_Information__c which is a child of Contact object. I want to include the contact name field from Contact ...
1 vote
1 answer
106 views

External user as record owner - implications?

I wanted to ask about something that is bothering me. I once came across a statement that an External User (for example, one with a Community Cloud license) should not be the owner of records because ...
0 votes
3 answers
706 views

Value not getting populated for a lightning custom button in a custom lookup field

I have a field 'Primary contact from opportunity (Custom look up field to Contact object ) which value i wanted to fetch and populate in Customer contact from order object (Custom Look up field to ...
0 votes
1 answer
773 views

How to restric user to edit and delete other user's post in community discussion?

I want to allow user[Login user in community] to modify only the post created by himself and don't want to show delete and edit option on other user's field.Is it possible to restrict user to delete ...
3 votes
1 answer
1k views

List on Wrapper class not visible in lightning component

I have an Aura component and I want to iterate through a wrapper class of objects, which has two lists as properties. While I can iterate through the wrapper class list, my lists come up as null when ...
0 votes
1 answer
862 views

Selecting opportunity contact role on related contact account

Part of our process before an opportunity is closed won, we need to create contact roles, until now if a contact is related to 2 different companies we create both accounts and we duplicate the ...
0 votes
2 answers
2k views

I'm adding a Picklist on my LWC, but it renders as a Multi-Select Picklist. Issue on 'Line 11'

<template> <lightning-record-edit-form object-api-name="CaseProduct__c" density="compact" record-type-id="0120C000000AyCIQA0"> <lightning-messages> </lightning-...
2 votes
2 answers
2k views

how to remove default subject value "Call" from log a call button from activity history?

I want to remove the default subject value "Call" from the 'log a call' page from activity history section on case page. Could it be possible? Thank you. Thanks, Anitha
10 votes
4 answers
5k views

lightning-input firing two onclick events in Lightning Web Component

I am receiving two events when I am clicking lightning-input checkbox. This behavior is the same in Salesforce as well as on the LWC playground. Wherever if use html checkbox then I receive event ...
0 votes
1 answer
1k views

how to insert local image into salesforce for custom tab?

I'm trying to insert custom image from local storage like 'my document 'I"m not able to insert image from local storage to salesforce .Please help me.
0 votes
1 answer
707 views

Cannot see conversation in omnichannel widget

I deployed all our org staff from a sandbox to another, but I am experiencing an issue with our Messaging conversation. In a nutshell, we can't see the chat conversation when it gets accepted and ...
3 votes
1 answer
2k views

Access contentWindow from dynamically created iFrame

I dynamically create an iframe as this: $A.createComponent( 'aura:HTML', { tag: 'iframe', HTMLAttributes: { 'aura:id': 'iframe', id: 'iframe', style: ...
-1 votes
1 answer
31 views

Record trigger flow decision to determine all trigger scenarios?

I'm looking to consolidate some of our flows so we don't have 10 different account fast field update flows, but just one per object. This is mainly to make it easier to maintain between a group of ...
6 votes
1 answer
4k views

Avoiding Governor limits on test classes

We have a custom application created on the force.com platform which has a lot of unwanted SOQL Queries and DML Statements written in a poor format. We are trying to stabilize the code now and looking ...
4 votes
3 answers
797 views

Allow site/community user to download chatter files

I have a community that we set up to point to a VF page. One of the things we want to do is to allow guest users to download Chatter files (ContentVersion or whichever one works). I am able to ...
2 votes
3 answers
843 views

LWC download shows 'errorduringprocessing.jsp'

On our customer portal, we provide the option to download ContentVersion from Salesforce using the following endpoint: /sfc/servlet.shepherd/version/download/{ContentVersionId}. And we open it with ...
0 votes
1 answer
2k views

lightning:menuItem in lightning:buttonMenu is not working in a nested component

I have two lightning components. One gets account's basic information on load and iterates over it and another displays the each account's basic information in a row. I have explained the div tag ...
6 votes
1 answer
2k views

Unable to read SObject error in Lightning Component when record has been queried from the database

I had encountered the "Unable to read SObject" error when attempting to pass an SObject record from Lightning to an @AuraEnabled Apex method. Based on this question, I first tried setting the "...
1 vote
1 answer
1k views

Javascript error on Button click

I am using one custom list button on one of the related list. But sometime when I click on this button I am getting the below error message: A problem with the OnClick javascript for this button or ...
1 vote
0 answers
23 views

Customising Lead Conversion in lightning Web Components

I have to customize the Standard Lead Conversion in Salesforce. I have tried the below LWC as a Quick Action as shown in first screenshot. Need to show the screen like the second screenshot as a popup ...
0 votes
1 answer
4k views

Update records using lwc

I have created an lwc component to enter the date picklist and text values and when I click save it gets recorded in the opportunity objects related fields.Right now I have created another object ...

15 30 50 per page
1
2 3 4 5
2610