All Questions

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

autopopulate User signature field to a lightning Component

I have one lightning Component which has one RichText Area field. My requirement is that when the lightning component loaded, the RichTextArea should be prepopulated with the User's signature. ...
6 votes
1 answer
2k views

What does '?scontrolCaching=1' mean in a URL from a Visualforce page?

I have a custom list button on the Account object that, once clicked on, auto-navigates a user to the defined Visualforce page which uses the Opportunity standardController. I notice in the URL, it ...
1 vote
1 answer
673 views

there a quick an easy way to remove commas from a flow screen number input component?

I'm working on a screen flow. When I run the flow and write a number I get a comma in the thousands place. I was wondering if there is a quick an easy way to make sure the comma is removed? For ...
0 votes
0 answers
11 views

TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions

I wrote such functionality to see pdf ContentDocument preview of needeed file: viewPdf() { this[NavigationMixin.Navigate]({ type: 'standard__namedPage', attributes: { ...
1 vote
1 answer
628 views

APEX testing a List variable

I am currently looking at more tests in Salesforce - I have made a new lightning app(just an expense application) and I am now just going through my controller and writing tests for it. I have been ...
0 votes
1 answer
771 views

How do I avoid error ConnectApi.ConnectApiException: Cannot provide both 'Poll' and 'QuestionAndAnswers' capability values at the same time

I am trying to set a question title for a poll chatter post created by apex using the following code CollaborationGroup g = [SELECT Id FROM CollaborationGroup WHERE Name='Edge Communications Customer ...
1 vote
1 answer
1k views

Render Two Column Lightning Flow Runtime in a Visualforce Page

I have been working on rendering a Lightning flow in a visualforce page. Main reason I want to accomplish this is to allow for a redirect to the new record along with a good looking flow for my ...
0 votes
0 answers
82 views

Custom Property Editor Experience Builder

I want to create a footer component to be used in sf experience builder with dynamic content. Brand and links should be set/configured by end-user via the floating property editor that show up when ...
1 vote
1 answer
73 views

LightningAlert.open from New and Changed Aura Components

hope everyone is doing fine. I`m new to Salesforce and still learning a lot from it. I need to chance some of the alert() function to the new LightningAlert, due to Chrome and Safari retiring support ...
0 votes
0 answers
27 views

All uses from PRODUCTION facing session time out issue and are getting logged out as soon as they login

We are facing an issue in production where all uses are getting this popup as soon as they login. Including salesforce administrators. Has anyone faced this issue today? NOTE: No change in session ...
1 vote
2 answers
626 views

Can a record type be a part of many business processes?

I kind of understand the difference between a record type and a business process. But, I am not comfortable with my understanding. Can a record type be a part of (or associated with) many business ...
3 votes
1 answer
1k views

Log in to Community with OAuth Access Token

I am getting an access token using JWT Bearer Token Flow. I'm trying to log in to a Community through "frontdoor.jsp" with the token. Looking at this question, it doesn't look possible. But the ...
0 votes
1 answer
636 views

Render as PDF not showing the file in proper format header/content/footer issue

I am having an issue with generating a pdf file with the following code. The issue I am facing is that I want the header to show on every page of the pdf and the content not to go out of bounds. Can ...
0 votes
1 answer
43 views

Test class for schedulable apex sending email with list of opportunities

Hi please help me write a test class for a schedulable apex class that sends an email to all users who have a checkbox on their user checked. //Send email to users where receive Grants email = TRUE ...
0 votes
1 answer
701 views

When Roles & Subordinates category will be visible in Public group

Based on Salesforce documents Roles and Subordinates category contains partner portal and Customer Portal roles that contain users with a portal license type. But in my org, once the community is ...
0 votes
3 answers
938 views

How can I provide a link to display my account details by clicking on account name using lightning component

I have created a search bar using lightning component displaying the details of account searchable by account name. But I need to make the changes. I want to be searched by account name but it should ...
7 votes
1 answer
782 views

Eclipse IDE V36 Java Null Pointer Exception - Run Configurations

I recently upgraded my Mac Force.com Eclipse IDE to V36 because I liked the Windows version V36. (Separate client engagements in case you were wondering) When I click Run Configurations in the ...
1 vote
1 answer
31 views

How do I stop a Scheduled Flow from sending Email Alerts even after it is de-activated?

I created a scheduled flow that was supposed to fire twice a year and send an email reminder alert to all staff about all their incomplete task for the year. Unfortunately something went wrong and the ...
0 votes
0 answers
15 views

Error: URL Personalization

I'm trying to customize my url by putting the recipient's email address as UTM in a hidden field but when I try to send, I get an error saying it's wrong, but I can't figure out what's wrong. (the URL ...
2 votes
2 answers
8k views

How to concatenate two fields together in a Salesforce Flow Formula element?

I am trying to concatenate two field values together in a formula resource in Salesforce Flow however, despite seeming trivial, I can't get the syntax right to show the correct output. I have tried ...
4 votes
1 answer
721 views

BULK API -PK Chunking Header Query - job content type : application/xml

Is it possible to use PK Chunking Header for a Query job of type XML. It works with CSV and when i pass it for xml jobs it fails and gives this error InternalServerError : PKChunking failed. ...
0 votes
0 answers
16 views

Heroku timeout for Lightning Web Runtime SPA loading the LWC resources

I have a single page application built using lightning web runtime (lwr) that pulls in lwc resources to leverage base components. Everything is deployed and works as expected except for the first time ...
0 votes
1 answer
75 views

Flow deployment error in Copado "you must specify a record filter or a formula"

I have a very simple Record Triggered flow. When deploying a flow using Copado I am getting an error Because All Conditions are Met or Any Conditions are Met is specified, you must specify a record ...
1 vote
1 answer
715 views

Get ActivityId From SingleEmailMessage

When sending a SingleEmailMessage from apex to a Contact, activities are automatically created for that Contact. I also want to log an activity on records that are related to this email. I can't use a ...
1 vote
1 answer
30 views

what are the components of the variable assignment log entry

on finest, my log entry looks like this: 09:30:19.490 (8458283328)|VARIABLE_ASSIGNMENT|[231]|this|{"c":"0x2980752a","tasks":"0x6e159af1"}|0x3de7ae9e It's a ...
1 vote
0 answers
24 views

Unable to perform REST API call in CloudPages

I have been trying to do a HTTP Post for quite a while and I can't get it to work in CloudPages. The auth token call works, but not the other one. I am trying to create HTML emails in CloudPages. It ...
1 vote
1 answer
47 views

JSON String Passed from LWC to Apex Becomes Null?

SOLVED BY Felix van Hove Issue: the parameter name of my Apex method did not match the name of the variable when I called the method in JavaScript. ORIGINAL QUESTION I've never touched frontend ...
0 votes
0 answers
36 views

LWC component is firing 2 times in Einstein bot

I have overridden the chatMessage with LWC component in Einstein Bot. I have a requirement to open a page in a new window. I have done and it's working fine but on clicking on the Close button of the ...
0 votes
1 answer
34 views

Difference between Fire & Forget pattern and Publish/Subscribe design pattern?

So, recently I got rejected in a Salesforce interview for this question. If we think on this, we will say that pub/sub falls under fire & forget Integration pattern. However, I read it as being ...
-1 votes
0 answers
13 views

Building a record detail link URL in a custom Email Template

I have created a custom email template with Opportunity Fields. In the Email template, I want to create a link that will open a record. The recordId of the is auto stored in a text field on the ...
3 votes
1 answer
2k views

How to find the information of the accidentally deleted scheduled job

Our business team has accidentally deleted a scheduled job in Salesforce. And we can't recall what is the detailed information. Is there any way we can find out the related information like which ...
-1 votes
0 answers
11 views

Can't locate SurveyResponse object in Salesforce

I am not able to find Survey Response object in object Manager, How should I find it. Although it is being used in process builder.
3 votes
2 answers
1k views

Merge duplicate Contacts across different Accounts does not create AccountContactRelation

In cleaning up our database and using the new AccountContactRelation to allow a Contact to link to multiple Accounts, I need to merge all the duplicated Contacts into one Contact with ...
0 votes
1 answer
28 views

New sandbox creation with partial data from production

I have small multiple projects in my production org. I need to give access to one project code to a developer from another team. I only need him to see objects, classes, vf pages related to one ...
-1 votes
1 answer
18 views

Classic Custom email template Record Detail link

<h2>Results of the Completed Request are attached in the record </h2> <p> Click the link below to view the Request record </p> Request Link: {!Request__c.Link} When I ...
0 votes
0 answers
75 views

Can't close OmniScript tabs

When I were debugging my OmniScript I got a bug where there was no "Cancel" buttons and there's no Cross on the tab for closing it, as if it's lock. So right now I'm unable to close my tabs. ...
2 votes
1 answer
668 views

Creating external link to Subscriber Center

I am hoping to link users to the out of the box subscription center but from an external landing page. I have set up a couple landing pages and I'm at the point where I am able to retrieve a user's ...
2 votes
3 answers
2k views

SOQL: order by count of subquery records

In SOQL, is it possible to order the results by the count of records in a subquery? Eg: SELECT Id, ( SELECT OpportunityId, Role FROM ...
0 votes
0 answers
13 views

Help Center Template with geography based content personalisation - Salesforce Knowledge

Our client wants to create a help center that will show articles from Salesforce Knowledge based on Geography. The Out of the box help center template doesn't have the ability to show personalised ...
2 votes
0 answers
59 views

Where is Database.query() spending (so much) CPU time?

My assumption was that only Apex Code is using CPU time. But the what I measure for code that is run by Salesforce's own Backend code speak a different language. List<SObject> result = Database....
2 votes
1 answer
550 views

Visualforce Remoting Exception: Unable to determine from which page the request originated

I am using remote calling from my visualforce page, and it is working fine, but for some reason, it is throwing the exception Visualforce Remoting Exception: Unable to determine from which page ...
0 votes
1 answer
24 views

Extract salesforce reports using API

I did some research, however I can't find anything related. Currently I need to extract some reports from salesforce, that take some time to do. I found out, that there is a python API that I can use ...
0 votes
0 answers
23 views

Is there a way to limit computer device login access through Transaction Security Policies?

I have a use case where a company wants to restrict salesforce login access to non-company computers. Can this be done using an Apex Transaction Security Policy?
-1 votes
0 answers
13 views

Can we update <apex:outputField value="" in VF page with data from email template which user receives through Visualforce trigger

Once user receives an email and click on link, Visualforce page will be display. Can we update the page content with content used in email. Each user will get unique details on page content.
-1 votes
0 answers
4 views

Can we update <apex:outputField value="" in VF page with data from email template which user receives through Visualforce trigger [duplicate]

Once user receives an email and click on link, Visualforce page will be display. Can we update the page content with content used in email. Each user will get unique details on page content.
0 votes
1 answer
51 views

Secondary Routing Priority favors Web-to-Case over Email-to-Case?

We have "secondary routing priority" activated. We set a priority status on a case record to either "low" or "high". When we have the same priority on a web and email ...
3 votes
0 answers
64 views

Apex tests fail in Dev Console Test Suite but pass when run individually

Background There is a test utility class Class is marked as @isTest There are 5 methods Methods are not marked as @isTest because they have parameters All methods are static All methods call ...
0 votes
1 answer
624 views

Disabling GA Integration for Marketing Cloud - Email Specific

We have a copy of email where if the UTM tracking is applied to a link it breaks our link as its a Hash link with a parameter already Our Initial link Exmaple Eg: https://example.co.nz/...
0 votes
0 answers
8 views

Tracking overall email engagement while having "DoNotTrack" enabled

Due to the absence of consent with regard to the tracking of user behavior related to emails, the "DoNotTrack" attribute has to be set for all contacts. This obviously prevents - first and ...
2 votes
0 answers
41 views

Why are our Platform Event EventUuids missing and how do we fix it?

We have a bunch of Platform Event events which we are successfully sending out of Salesforce to Dynamics 365 by way of an "event bridge" which receives messages from Salesforce and places ...

15 30 50 per page
1
2 3 4 5
2471