All Questions

0
votes
0answers
2 views

How to load and use external library?

I don't know how to use the library of Pagination in a lightning web component but I can't use the example method: $('#demo').pagination({ dataSource: [1, 2, 3, 4, 5, 6, 7, ... , 195], ...
1
vote
0answers
5 views

How to customise community generic error pages

I have a community using URL: https://xxx-mydomain.cs83.force.com/community/s/ When I remove the /community/s/ I get a salesforce branded error page. I want the generic Salesforce error page to be ...
1
vote
0answers
10 views

Pagination error

I want to do a paging, but I'm having some problems. When I select the page number in pagination, the "selected" class is applied to the position and not to the number itself. My HTML: <template&...
0
votes
1answer
14 views

How can I resolve these two errors in trigger handler

public class AttachmentTriggerHandler { public static void onAfterInsert(List<Attachment> attachments) { handleCreditReportAttachments( attachments ); } public static ...
0
votes
0answers
9 views

Is there a way to use a “Create New” lightning component to pre-populate a lookup once the record is created?

Here's my use case: I am creating a Quote. We have a custom field on the Quote called Listing. Sometimes, the listing doesn't exist and so we want them to be able to create the listing directly from ...
0
votes
0answers
19 views

Test not covered execute method

Batch class not covering the executed method
0
votes
0answers
6 views

Live Agent - Request for File

Does any body a very good idea of linking files in live chat transcript. Currently we can link it to Case Or contact or Account or custom object... Is it possible to link to to chat transcript ...
-2
votes
1answer
16 views

Does code coverage effect lightning pages in target org?

I am using codeCoverage() method with 1000 lines of i++; to test a package. I did not actually wrote the required test class because this is just a test org. I have lighting pages which are not ...
0
votes
1answer
15 views

Lightning Component - Copy Canvas to Clipboard

I'm trying to copy the image of a canvas to my clipboard in a lightning component using javascript. So far I have this in my helper: copyData: function() { this.canvas = component.find("canvas")....
0
votes
2answers
30 views

How to add custom css to the leads tab

In my custom tabs i simply add the following code to the component: <ltng:require styles="{!$Resource.globalcss}"/> and it loads a static resource css file. How can i load the same css file ...
1
vote
1answer
20 views

Unable to navigate to community page using <lightning:navigation

I am using a <lightning:verticalNavigation> which calls a method to redirect to a Lightning Community page. Component <lightning:navigation aura:id="navService" /> <lightning:...
0
votes
0answers
11 views

PageReference redirect shows old data on refresh

I have a custom detail button on Contact that launches a VF page with an Apex class that updates data on the Contact record. At the end of the Apex class, I have a PageReference redirect, but when the ...
1
vote
0answers
16 views

How to dynamically display a content document image on a site

I have created a dynamic url to display a logo image from content document. I uploaded the image and logged into the org and can see the image. When I use an incognito window the link gets broken but ...
0
votes
1answer
16 views

Is possible to query data from track views?

On Marketing Cloud, I am using the javascript tracking code to see how many and how has accessed my webpage. I can see the report at Web & Mobile Analytics tab. Is possible to access this data ...
0
votes
0answers
10 views

I'm facing issue in Salesforce Classic Home Page Narrow Component in Subscriber Org

I have a managed package which includes Salesforce Classic UI HomePage Component display Visualforce page. Now it's not working in any subscriber org. if we copy the page URL by using inspect the ...
0
votes
1answer
28 views

Error while retrieving location coords with navigator.geolocation.getCurrentLocation in LWC

So, I was just trying to get current location by using navigator.getlocation.getCurrentLocation method in Lightning Web Components. When I check if(navigator.getlocation), this returns true. But ...
1
vote
1answer
17 views

How to add a generic method for Encryption and decryption when using multiple times in the code?

I am trying to encrypt two fields when record is submitted using VF page. As there are multiple functions in my class I am encrypting and decrypting multiple times as needed. Is there a way we can ...
0
votes
1answer
22 views

Get RecordTypeId of Dynamic type

I have lightning component that I want to be able to override any object edit button. I pass the recordId and objectName to the apex controller: public static String getRedirect(String recordId,...
1
vote
1answer
36 views

SFDX error: Only one default export allowed?

Working in LWC, after weeks on this component, I'm now getting this error that won't allow me to push to scratch. [Line: 993, Col: 0] LWC1503: Parsing error: Only one default export allowed per ...
0
votes
0answers
14 views

owner.isactive is giving inacurate result in SOQL query

I am trying to clean up old reports in Salesforce. The problem is, the workbench query result is flat wrong when it comes to checking if the report owner is active. (owner.isactive). To test this, run ...
0
votes
1answer
18 views

Salesforce EventLogs for Field & Validation changes

does anybody know if salesforce eventlogs picks up logs for whenever a user adds and new field or makes changes to a field on application? Would this show in transaction logs? Here's an example: Bob ...
0
votes
1answer
22 views

Get test failures dynamically (as it goes) when uploading package, but not all at once in the end of upload process

When we are uploading our huge managed package, it takes up to 3 hours for process to finish and the major part of it are taken by tests execution. The inconvenience here is that tests failures are ...
0
votes
0answers
8 views

Compare Prospect email in Journey to Core data and record a Goal Conversion

I created a Journey and imported prospects to a DE to be injected into the Journey. I import customer data from our CRM everyday that includes all accounts. My "prospects" are customers that did ...
0
votes
1answer
32 views

LookupOrderedRows with variable WHERE clauses

As the title suggests is it possible to run LookupOrderedRows with a @variable in the WHERE clause. SET @getAccounts = LookupOrderedRows(@AccountDE, 25, @orderByClause, "location_id", @...
0
votes
0answers
12 views

How can the layout of a pageBlockSection be fixed in place so they don't move around when completed?

I have a pageBlockSection that moves/jumps up the screen when a value has been entered. How can I fix this and its contained inputField in place? If I use the following, when the field is changed the ...
4
votes
0answers
17 views

Email Service via Metadata API fails to create from Managed Package

As Email Services can't be packaged in a Managed Package, I allow subscribers to create it after the installation. The code which works in my packaging org fails in productions orgs with: An Apex ...
0
votes
1answer
12 views

View exit criteria of running version - Journey Builder

How can I see the exit criteria for a running journey? The exit criteria button is greyed out for the running version. Pretty sure I currently have criteria set to EXIT IF status = instructed but a ...
1
vote
3answers
75 views

Is DateWithin30Days(Date 1, Date 2) an Apex Method?

I'm working on the #APEX Unit Testing unit on #TrailHead, and I saw what appears to be a very useful Date method, DateWithin30Days(date1, date2) This would be very useful for some of my projects, but ...
0
votes
0answers
20 views

Lightning page is blank after installing the package in prod

Below is the simple hello lightning page.. Create a Custom Button on Opportunity with following formula. /apex/namespace__testHelloVFpage Name This button testHello. Drag and drop this button in ...
1
vote
1answer
30 views

Dev Platform - Custom Object

I just created a developer org for a customer presentation. I have created a special object from the object manager. When creating, a warning message appears: "Permissions for this object are ...
1
vote
1answer
38 views

Future calls for DML Statements

I am curious if there are any benefits of inputting my DML statements into future calls. When I bulk process 200 records at a time I often see the following statement: UNABLE_TO_LOCK_ROW I have ...
1
vote
1answer
23 views

lightning:recordEditForm | Some input fields not being displayed

I'm trying to create a new form for a custom Object in salesforce. This is my form Code: <lightning:recordEditForm aura:id="MyFormId" objectApiName="...
2
votes
1answer
50 views

Why is the LastName field required for the contact? What is the best approach to import contacts that only have the first name?

The reason for this question is that I have a spreadsheet with lots of contacts to import, but some of them only have the first name. The LastName, being mandatory, will make my job harder. I have ...
-1
votes
0answers
19 views

Regarding time dependent workflows Sales force

I want to create a Time-Dependent workflow which updates the field after every 5 minutes. can u please help me out I am trying to create it on Account object. but unable to do so.
1
vote
0answers
14 views

Bulk Job Status - Failed vs Not Processed?

What are the use cases for setting a Bulk (version 1) job to a status of Failed vs Not Processed? Salesforce documentation gives the same description for both The batch failed to process the full ...
0
votes
0answers
14 views

Change width of standard Lightning quick action lightbox

Standard Lightning Lead Convert lightbox has wider window than standard lightbox. Is it possible to change it via standard settings?
0
votes
0answers
7 views

How to do sorting with the values starts with number followed by alphabets in Wave Analytics

I have a field called "Month" with the below values in my dataset, 1-January,2-Feb,3-March..12-December. By default, salesforce sorting the values in ascending order and values are displayed in ...
12
votes
5answers
322 views

What are the real benefits of using Salesforce DX?

Hopefully this doesn't across as a rant. I'm genuinely interesting in objective feedback as to what are the benefits of using DX. I know all feedback is opinionated, but one thing is saying "devops ...
0
votes
2answers
35 views

Access Pagelayout assigned for a profile for a object using metadata api

I need to access the PageLayout NAME assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, ...
0
votes
0answers
11 views

Definition of Einstein Wave Analytics? [on hold]

We know, it is a name of technology, I am trying to get some exact description from all sources, but unfortunately, I could not get. Can anybody define the what is this exactly, have that term some ...
0
votes
1answer
16 views

How to specify Callout method in SOAP callout salesforce [on hold]

How can we specify method in SOAP callout like we do for rest using http.setmethod('POST'); How can i make post SOAP callout in salesforce
0
votes
1answer
28 views

API request to update DE with compound primary key

I'm trying to update DE containing compound primary key with this method PUT /hub/v1/dataevents/key:{key}/rows/{primaryKeys} Documentation on method which suggests adding primary keys as an array. ...
0
votes
1answer
18 views

generate customized auto number

I wanted to generate number as per region and division like.. I have four regions: Africa, America, Asia, Oceania and divisions are Electrical MEP HVAC Plumbing also, it should consider financial ...
1
vote
1answer
19 views

lightning:input datetime remove header “date” and “time”

I want to remove "date" and "time" header but I couldn't find how to do it. How can I remove them?
0
votes
3answers
30 views

New instance of Custom Object

I'm trying to create a new instance of an existing Custom Object. I have modified an existing object in the sandbox environment and want to preserve the original object when I push to production. ...
0
votes
1answer
19 views

Cannot delete record using ID. Error: DML statement found null SObject at position 0

I am trying to delete a record using the recordID: final Boolean doNotAllowPartialSuccess = true; database.delete(recordId, doNotAllowPartialSuccess); I am getting this error: DML statement ...
0
votes
0answers
8 views

Thru chatter API, sending large file to external server

I am uploading 50 MB file thru Vf page into salesforce using chatter, Now I want to send this file to external system, will it be possible to send this much large file thru chatter REST API. if yes ...
0
votes
0answers
17 views

Need help with a flow [on hold]

I have two objects, one called NNI, it has a picklist value with lots of Pop-Switches so I created an Object called Pop-Switch so that it'll be easier to manage. I'm working on a flow that will ...
1
vote
1answer
16 views

How can I record ui event data to generate ui heatmap in standard salesforce

It would be awesome to have statistics on how users interact with apps in salesforce, both the standard ui and the custom ui. For instance, I want to track ui interactions in lightning service console....
1
vote
1answer
34 views

Calling Application events in LWC

i would like to call an Application event in Lightning web component. Below link describes the same in AURA. https://developer.salesforce.com/docs/atlas.en-us.218.0.lightning.meta/lightning/...

15 30 50 per page