All Questions

0
votes
0answers
3 views

Send Direct Message from Enhanced Lightning Grid

Description I am trying to create button in an Enhanced Lightning Grid that functions in the same fashion as the "New Message Button" component in Customer Communities. My Sortable Data Grid Action ...
0
votes
0answers
4 views

Form assembly or Form Stack VS code resource in Marketing Cloud

i want to know what are the pros and cons of building code resource for lead generation in SFMC vs getting a third party connector like Form assembly or form stack, besides the fact that code resource ...
0
votes
0answers
9 views

AMPHTML In Marketing Cloud

Google announced the ability to create interactive emails using an HTML framework known as AMPHTML (not to be confused with amp script). Here is some documentation if anyone is interested in learning ...
0
votes
0answers
17 views

Test Class Error - REQUIRED_FIELD_MISSING,,Specify a value for the Duplicate Rule ID field

I have created custom setting to store the ID's of all my active Duplicate Rules. In a test class when I try to assign the custom setting field value I get an error as follows System.DmlException:...
-1
votes
1answer
21 views

Creating fulsome combinations of list elements

I have been having some issues getting the logic down for the following: Simplifying, I have an N-element list of Skids defined as: public class Skid { public Integer length { get; set; } ...
0
votes
0answers
5 views

How to deploy report and dashboard folders with sharing to non scratch orgs

Can deploy dashboard and report folders using push:pull to scratch orgs, but when using source:deploy to a non scratch org getting "Error parsing flie Element (path to folder file meta.xml) on all ...
0
votes
0answers
18 views

Avoiding multiple If statements

Is there a better way in Apex to have multiple If Statements? I know that multiple if statements will slow performance, and my scenario would require me to have 36 different scenarios. Ex: I have 2 ...
0
votes
0answers
7 views

How to send push notification

I am working with Field Service Lightning and I'm wanting to send a push notification when a service appointment is modified to the service resource assigned to that appointment. I as reading about ...
1
vote
0answers
13 views

Should I be concerned about thousands of write operations per minute?

I am setting up a POC which would create a junction between User and Case (using Lookup relationships only). We would have 10k+ users each touching several records per hour, so we might expect this ...
0
votes
1answer
11 views

Get field information from a record/object selected as a lookup field

I have a VF page that uses standard controller Account and an extension DonorSearchCon. When I select a Regional_Chapter_Name__c lookup field, from my VF page, I would like to query the record, and ...
0
votes
0answers
13 views

IF(CONTAINS) question from an MPL

I am trying to aggregate data from an MPL into a separate field with fewer values. When I run the formulas, it is only returning the first value. Is there a way to rewrite the formula so that all true ...
0
votes
1answer
18 views

Last Modified By not matching history

We have found a number of contacts where the Last Modified By is a specific user, but the Contact History shows the actions at that time as being done by 'Automated Process'. Under what circumstances ...
0
votes
0answers
10 views

How do I integrate my org's Leads with Leads from Salesforce Partner Portal?

I want to integrate leads from my org with leads from Salesforce Partner Portal (partners.salesforce.com). How can I achieved this?
0
votes
1answer
18 views

Can I use a design attribute's value in another design attribute datasource?

Let's say I have the following design attribute file for a Lightning Component: <design:component> <design:attribute name="selectedPage" label="Selected page" ...
0
votes
0answers
11 views

Is there a way to give a button pressed down token trough url

I have a visualforce page of a managed package which has a button to submit a quote to an external service. Is there a way I can submit(click the button) trough a variable in the url. My Url is: ...
1
vote
2answers
22 views

Trigger calling future method

I have inherited an after insert lead trigger that calls a future method. Based on the response returned by this method, it inserts records in an object. Lets call this object -LeadCopy__c. Lead --&...
0
votes
1answer
11 views

Lightning:recordForm custom buttons

Is it possible to include custom buttons on Lightning:RecordForm or any of its variations ? Specifically a "save and new" button. If this is not possible, should the alternative be to create a ...
3
votes
0answers
19 views

Why are these calls into CPQ taking so long?

I'm working through a problem here where we have a website that making calls into Apex code that's taking 8 seconds to add an item to a quote, and I wonder if I could get some help understanding if we'...
0
votes
2answers
20 views

Constructor not defined on Global Batch Class

I am receiving the following error. Constructor not defined: [DynamicBatchApex].(String, String, Map, String) (Line: 9, Column: 30) If you look at my DynamicBatchApex class, I clearly have the ...
0
votes
1answer
34 views

How to write trigger handler class and test class?

I wrote trigger which i want it to implement via handler class (As per best practice). Please help. trigger PreventTaskDelete on Task (before delete) { Id profileid = Userinfo.getProfileId(); ...
0
votes
0answers
7 views

Live Agent Custom Details hold the old value until the browser session timeout

I use the live agent in Lightning experience. And transfer the user input to prechat page by "liveagent.AddCustomDetail()" method. But I found that I can't modify the live agent's Custom Details ...
0
votes
1answer
22 views

Is it safe to grant access to Workbench to any user?

Workbench does honor a user's permissions so they cannot do something like set passwords if they do not have that permission, but are there other hazards to granting access to it? Since it requires ...
0
votes
0answers
18 views

Lightning DataTable Date Column Set Min/Max

Is it possible to add Min/Max attributes when defining date columns for Lightning DataTable? I can definitely add custom validations to show error etc, but it would be ideal to have the irrelevant ...
0
votes
0answers
24 views

How to query loggedin userinfo from logged in user Community head markup with Javascript?

How to query the logged in user info in Salesforce lightning Community from Head-markup with JavaScript & Ajax Am trying to retrieve and display current logged in username in the header of CMS ...
0
votes
0answers
12 views

Salesforce Outlook Event Calendar sync with attachment

Currently Salesforce does not support attachments sync from sf event meeting to outlook meeting. I am trying to address it with custom solution. While creating new event, I want to put the link to ...
0
votes
0answers
20 views

Remove “reply to” in apex Messaging.SingleEmailMessage [duplicate]

We have a apex trigger that send mails. In this mails, we can see: reply_to_email@fmm65sbh16h2kh67.xxwomdonwmb2otze.3p1x6n6.1j-8cbreaq.cs102.bnc.sandbox.salesforce.com How can remove this reply to"? ...
0
votes
1answer
17 views

Jsforce where clause having multiple conditions not working

This below code results in INVALID_FIELD: Test' AND ParentId = null AND EndDate > '2019-05-21' LIMIT 1 error.. How can I add more than one condition in where clasue? const a = 2019-01-03 const b = ...
0
votes
1answer
11 views

Get all journey ids via API/Query?

is there a way i can retrieve id's for all my existing journeys in the BU via API or Query.
-1
votes
0answers
22 views

How to Write Test Class for REST API Response Class [duplicate]

I have a post method in REST API. Once the record is created, I am sending a response to user. In order to send response, I have created a class that checks if the incoming payload was in JSON format, ...
0
votes
0answers
18 views

Create a button that works everywhere in lightning [duplicate]

Hey so basically i want to create a button that i can use anywhere to open a link to URL in UAT. The create custom buttons in or quick actions in sandbox are kind of restricted like i can use the ...
1
vote
1answer
27 views

.set and .setCustomValidity not working for two checkboxes

I am trying to place a custom validation if atleast one of my checkboxes is selected or not. and show the relevant error message. I am able to achieve this when there is only one checkbox , HOWEVER ...
0
votes
1answer
22 views

is it possible to get the parents old value in trigger update on junction object

i have a issue in retrieving the old value of parents record onthe junction object update scenario, do anyone have come across this scenario, please throw lights. Junction__c oldlrj = [SELECT Id, ...
0
votes
0answers
14 views

Advice on creating better unit test [migrated]

I have this controller, in which  I am trying to write good test classes. I have some test cases, corrections /advice are appreciated to make them better. public with sharing class ...
0
votes
1answer
14 views

How to perform a load test on a triggered send

I'm looking to perform a load test on a triggered send by pushing ~160k records through the trigger. For the test, we are planning on taking a block of live records and replacing the email address ...
4
votes
0answers
25 views

Is this possible to rename a field using Tooling API or Ant Migration Tool or SFDX CLI?

I have tried to run renameMetadata call from Ant Migration Tool <target name="1. Rename field on Sandbox"> <sf:renameMetadata username="${sf.Sandbox.username}" password="${...
2
votes
1answer
23 views

Pass value from apex component to controller

I have a visualforce force component: <apex:component controller="NewITAssetController"> <apex:outputPanel> <label>Date field</label> ...
0
votes
1answer
22 views

Is it possible to have a DE that houses all click-related information to be used in a journey?

I want to be able to trigger activities and journeys based on Click behaviours, but from what I understand, to do this I would need to create a SQL query, a Data Extension, automation, and a DE ...
-1
votes
2answers
22 views

Problem with the switch conditional statement in the email template?

{CASE(Account.AccountSource, "ABC-Website", "Diese haben wir über unsere Website erlangt","Sportsponsoring" "Diese haben wir über ein soziales Netzwerk erlangt" "")} I don't understand what's wrong ...
0
votes
2answers
22 views

How to find out previous URL when navigating from force.com site to visualforce page?

I have an inactive site like http://abc-company.cs95.force.com/Event I have set Inactive site home page to visualforce page RedirectEvents. When user navigates to a site page which is like http://abc-...
2
votes
0answers
20 views

Can a lightning web component know the difference between console and standard view?

I created a LWC which displays a link to an object... and I want that link to "open in a new window" (target "_blank") if the user is viewing it via standard navigation view (non-console). And, if ...
0
votes
1answer
16 views

Creating Data Extension with other type than standard

On Marketing Cloud Data Extensions in Email -> Subscribers -> Data Extensions have type. Is there possibility to create Data Extension by API with other type than Standard (Filtered, Random)? In Data ...
0
votes
1answer
28 views

Generate Unique URL in salesforce

I have a requirement where internal users have to generate/frame an unique URL via email which will be used by external user (Not a salesforce user). The URL should open a form and creates a record ...
0
votes
1answer
21 views

How can I manage orchestration between two journey builders?

Let's assume a contact enters JB x and a mail gets sent to him. The same contact enters in JB y, but I do not want him to receive another email from JB y on the same day that he received an email from ...
0
votes
1answer
23 views

Pros and Cons SFO vs. Managing Emails in SFDC

My service agents both manage inbound calls and emails and thus we've decided to manage customer requests directly from Service Cloud (emails and calls with CTI integration). We've explored the route ...
-1
votes
0answers
13 views

How to enable chatter on vf page for a custom object?

<apex:page > <chatter:feed entityId="{!$User.Id}"/> </apex:page> How do I replace entitiyId with another custom object so that Chatter feeds of that particular custom object gets ...
0
votes
0answers
12 views

Is it possible to create a report with Stages on columns with dates they moved into that stage below?

I'd like to create an opportunity report, which shows the stages across the top (columns) and beneath those, the dates for which the oppy entered that stage. Here's a rough mockup: Oppy Name ...
0
votes
0answers
11 views

Redirect to non-default tab on recordpage from Lightning Component

I'm using a lightning component to update a record. For the lightning whole application to work well, it has to reload completely. After updating the record, I use lightning-navigation to create the ...
0
votes
0answers
6 views

Open Salesforce contact page - Softphone & CTI

I currently have a telephonic system (Alcatel Open Touch) with a PBX server and a softphone app on different computers that allows my team to communicate with clients (Alcatel Connection). I would ...
0
votes
1answer
22 views

How to access client side javascript variable in SSJS?

I am facing difficulties in showing a message. Below is the problem statement : I have six textboxes on a cloud page which stores six digit coupon code(one digit each). I am trying to show a error ...
0
votes
0answers
13 views

How to Print attachment on a Salesforce site?

I have a Salesforce.com site where there is a button to open a div containing a iframe for a attachment. I'm able to show the attachment but not able to print the attachment using a custon button. We ...

15 30 50 per page