All Questions

1
vote
1answer
27 views

Force refresh view in LWC

In Aura, we can do $A.get('e.force:refreshView').fire(); to cause standard components to update. How can we do an equivalent in LWC because sfdx refuses to publish .js code with $A in it saying ...
0
votes
0answers
10 views

Einstein Analytics Dataflow Field Missing Digest

I am working to build a new Dataflow in Einstine Analytics. I want to build a digest to extract data from a Custom Object's Custom Field, with type Lookup(Account). When I go to create the digest-...
0
votes
0answers
12 views

How to get the read only status of a field on a page layout from the API?

I'm using net.describeLayout from react-native-force to get the fields on the page layouts. However the problem is that it doesn't seem that the 'read-only' property from the page layout gets returned ...
0
votes
0answers
15 views

Alternative to _errorURL response for matching Email in form - DE Manager

I'm using DE Manager to create a DE when the user enters their email on the site. Essentially a web collect. I'm matching the email with the emails already established in the DE, and a repeat returns ...
0
votes
1answer
19 views

How to configure highlight panel for person account

Our company is using Person Account to serve direct customers. I am trying to customize the Highlights Panel, however no luck in finding where I should go. I tried to edit the compact layout in both ...
0
votes
1answer
12 views

No edit permissions error for an admin user (CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY)

I must start by saying that I am not a Salesforce developer, admin or even a user (for a long time anyway). The company SF admin resigned and I am trying to cover some of his responsibilities and ...
0
votes
2answers
17 views

Trying to use static resource in visualforce page controller test class

I have a visualforce page controller class which has a soql in the beginning select <fields> from <custom_object_A> where appnum = <fetched_from_vf_page_parameter>; The controller ...
0
votes
2answers
27 views

Add Class To Aura Component Based On Value From Apex

I would like the <div aura:id="main" style="padding:15px;" class="slds-grid"> to turn red if the escalation level is M2 or orange if the escalation level is M1. My Javascript is as ...
0
votes
1answer
22 views

Getting data via APEX methods based on results of previous APEX methods

I am writing a Web Component that needs to display a Student's list of Courses a Student has a relationship with (displaying in an accordion). When a user expands a Student's course, I need to display ...
0
votes
1answer
8 views

Repeat checkbox not working on Global Actions quick action layout for event

When on the calendar tab or event object directly checking the repeat checkbox expands another menu allowing the user to choose the repeat interval. However, when creating an event from an associated ...
0
votes
1answer
17 views

Sandbox Login Issue

I have created a new sandbox from production in my org. The sandbox is ready and when I am trying to login using test.salesforce.com, it says that it has sent a verification to the email address but ...
0
votes
1answer
23 views

Invalid character in identifier

I am getting an error on my JSON2Apex class: Error:(7, 18) Invalid character in identifier: Holding_to_Fund__r Error:(44, 19) Invalid character in identifier: Holding_to_Fund__c I need to parse ...
-1
votes
0answers
16 views

Using Update Object Activity in Journey Builder [on hold]

What I want to achieve is when a contact enters the journey get an email based on his points merits. And has a wait period of 6 months but I want the contact to receive emails if the contact has more ...
0
votes
0answers
23 views

Clearing data out of a list

We have an email validation process that checks a list ID for an email in order to validate if that person has already signed up. Currently the only way I know to automatically populate that list is: ...
5
votes
1answer
78 views

Log to console in a Lightning Web Component

I am attempting to write a Lightning Web Component, but continually run into errors in my Javascript that I can't debug. I've been trying to log my error but when I put console.log() anywhere in the ...
2
votes
3answers
124 views

What does it mean when an external ID field follows a DML Statement?

Today I was working on some Apex code that was delivered to us by a third party contractor to our organization, and ran into a line of code that I have never seen before: upsert certsToUpsert.values()...
0
votes
1answer
13 views

Display name of user in VF page, given a user ID stored on a related object

I have a custom object (Grievance_Note__c) that stores a CreatedById for each note. I want to display the name of the user who created the note. Right now the VF page is displaying the User ID and I ...
-1
votes
0answers
18 views

how to create Lightning popup or Toast message with Ok an Cancel for JS Alert in VF Page [on hold]

<apex:commandButton immediate="true" value="Cancel" onclick="if(!confirm('Do you really proceed?')){return};" action="{!cancel}" reRender="form" />...
0
votes
1answer
10 views

Caught exception: Unable to validate App Keys(ClientID/ClientSecret) provided.:

When trying to set up the following simple example I'm seeing an error: include_once('tests/UnitBootstrap.php'); use FuelSdk\ET_Client; use FuelSdk\ET_DataExtension; $myclient = new ET_Client(); ...
2
votes
1answer
21 views

working with the refreshApex feature in LWC

Okay, i'm looking to see if I can get some help in understanding the documentation as laid out here: https://developer.salesforce.com/docs/component-library/documentation/lwc/...
-3
votes
0answers
13 views

Unable to increase test coverage more than 62% .How to increase coveage [duplicate]

@isTest public class zTest_DisAppRequestReportCtrl { static testmethod void UnitTest1(){ Map<String,Schema.RecordTypeInfo> recordTypeInfo = Opportunity.sObjectType.getDescribe()....
0
votes
0answers
8 views

Handling inbound and outbound CTI calls in my org

I am looking into handling inbound and outbound calling in my org. We tried Twilio Flex earlier, but it didn't meet our requirements on the CRM side. Everything that I have looked at involves ...
0
votes
1answer
21 views

Put query results into custom object instead of generic sObject

I've seen in a few places it seems likes people are directly mapping their query over to a custom apex object. E.g. MyObject myObject = [SELECT fields FROM object WHERE cond]; Is this possible? If ...
1
vote
0answers
17 views

Creating the signature value of a digital signature “manually”?

I need to sign some xml. The issue is that I cannot use the native Salesforce Crypto.signxml() method because I need to sign the soap:body and place the signature in the soap:header element, and this ...
0
votes
1answer
18 views

Need to Change custom Quick Action label in lightning component

I have created a quick action(InactivateUser), on click of that quick action I want to change the label of that quick action through lightning component/controller.Can anyone please let me know is ...
1
vote
1answer
12 views

What's the API Name for the “Create Public Links” profile permission?

I am trying to look for the API name for "Create Public Links", I would assume it would look something like "PermissionsCreatePublicLinks" but I cannot seem to find anything similar.
0
votes
1answer
21 views

Parameter null in the child lightning controller

I developed a child lightning component which is used from a parent lightning component. I mean that the parent lightning component calls the child lightning component and give to it a value which is ...
0
votes
0answers
12 views

Text Cut off in Lightning DataTable (wrapped)

Having issues with text getting slightly cut of in my lightning datatable. it looks like around 1 letter is getting cut off by the scroll bar. I put some CSS in order to hopefully fix this but it ...
0
votes
0answers
11 views

Can I Stamp my Service Appointment Status?

I'm looking to capture via the process builder when a Service Appointment status has been changed, and I want to store this timestamp in a custom field from a custom object for each one of the ...
-3
votes
0answers
21 views

How to convert this method to future method we need return contact type but future method does not support return type [on hold]

public contact createNewContact(String accts){ Contact c = new Contact( FirstName = 'SSO', LastName =lastN , ...
0
votes
1answer
36 views

Aura if - isTrue parameter and multiple conditions

I'm trying this code : <!-- an exemple : isTrue='{!and(v.valueOneIsTrue, v.valueThreeIsTrue)}" >--> <aura:if isTrue="{!AND((v._candidateDetails.contact.Nationalite__c != null), (v....
0
votes
0answers
16 views

Attachment Last Modified Date on Object

I have created a custom object with a Master-Detail relationship to the Account object in SFDC. The purpose of this custom object, for the moment, is to act as a "shell" to house account plan ...
1
vote
0answers
20 views

How to know when an email has not been sent from a Journey in Marketing Cloud

I have a journey in Marketing Cloud which basically sends an email (with an Email activity) and afterwards updates some fields of the campaign member in Sales Cloud (with a Campaign Member activity). ...
0
votes
0answers
18 views

Journey Builder contacts not getting evaluated

I have created Journey with data extension as entry source and which updates Contacts and Custom object records , using values from data extension, however i do not see contacts entering in journey ...
0
votes
2answers
19 views

Getting SOQL limit errors in before update trigger - due to records created that has other triggers with it

I am hitting SOQL Limits when I update a record from my custom object "OnBoarding_Data__c" . I have a trigger that is designed to create multiple "Case" records on before update. And as soon as the ...
1
vote
1answer
23 views

Dealing with Generics in Apex

I have some code that i want to try and emulate generics for. I know there are no generics in Apex but is there something we can do instead? Let me explain (String) sfBorr.get('SSN__pc'); sfBorr is ...
-3
votes
1answer
16 views

Coverage code for remote action [duplicate]

Why the coverage code is 0? global with sharing class OutputControllerMap { @RemoteAction global static List<Output__c> findAll() { return [SELECT Id, Name, Project_Type__c,...
0
votes
1answer
24 views

Identify users device

Is it possible to identify the device which is using each subscriber and store that info as a variable with a value, and after use that value to do something like the example below? %%[set @...
1
vote
0answers
9 views

Are Filtered Data Extensions also Part of the Attribute Group

I assume, but frankly I am not sure if the filtered Data- Extension used as entry point in a Journey is also linked to the same Attribute Group as the parent one I create the filter from. (The comment ...
1
vote
1answer
16 views

How to build an integration with rest API in apex using XML

Situation I need to build a connection from Salesforce to "post" to a rest api. The recipient has given me XDS schema files of the data to be sent over. My Current Plan Build a sObject to be the ...
0
votes
0answers
14 views

MavensMate connectivity on new UM5 pod

Having an issue on DE orgs created in the United Kingdom. Once spun up, they are on https://um5.salesforce.com. I'm having an issue connecting MavesMate to it, after entering credentials I get this ...
1
vote
1answer
29 views

Is it possible to load FieldSet in Lightning Web Components?

I'm trying to load a FieldSet in component's JS file below is the code: import {LightningElement, api, track} from 'lwc'; import CREATECONTACTSET from '@salesforce/schema/Contact/FieldSet....
0
votes
1answer
16 views

Debug logs for failed REST API calls

I'm debugging an issue where our customer's iOS app (which makes REST API calls to Salesforce via the SDK) is encountering data sync errors. We believe the API is returning error messages but they are ...
1
vote
0answers
20 views

GET XML via AMPScript

We are currently in the process of trying to get XML data in our marketing cloud emails. One of the solutions i am working on is trying to get the XML via amp script then populate the information via ...
2
votes
1answer
46 views

SFDX CLI - Locked with an active writer?

I'm getting the following error when trying to access the sfdx command : Does any one know what's happening ? I can't find anything here nor on the internet.. I tried re-installing the CLI + ...
0
votes
0answers
11 views

How can we define Service package in salesforce [on hold]

I am just new in Salesforce, Can you please help me how can we defined by Product/Service package in Case Management module at service cloud. Thanks in advance
0
votes
1answer
20 views

Embed Community page in standard Salesforce page [on hold]

Is it possible to embed Community page inside normal Salesforce page? I tried using iframes but they don't work because of Content Security Policy. The only workaround I found is to redirect the ...
0
votes
0answers
16 views

unable to fetch value row wise in page block table using javascript?

<apex:pageBlockTable value="{!WrapperOrder}" onclick="insert_numbers()" var="or" id="pbtable"> <apex:column headerValue="No." > <apex:...
0
votes
0answers
15 views

Is it possible to run trigger(DuplicateRecordItemTrigger ) on DuplicateRecordItem object and do merging [on hold]

Since there are may duplicate rules on Lead already available. Is it possible to run trigger(DuplicateRecordItemTrigger ) on DuplicateRecordItem object and do merging  only for  one specific Duplicate ...
0
votes
1answer
19 views

Cannot subscribe to Capture Data Changes (CDC) channel using EMP Connector

I'm trying to implement CDC using the EMP Connector sample. I run it against the sandbox and try to subscribe to channels such as /data/ChangeEvents or /data/AccountChangeEvent. I always get this ...

15 30 50 per page