All Questions

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

How to create email as activity in salesforce using rest api

I am new to salesforce. In side contact, i can create new task, log a call and event using rest api. But how can i create email as contact activity using rest api?? Thanks.
0
votes
0answers
12 views

extract loop values

I am having a piece of code in lightning component controller as follows. for(var phone in component.find("phoneNumber")) { var phoneList=component.find("phoneNumber")[phone].get("v.value"); ...
1
vote
1answer
8 views

Nested getRecords in LWS Component

I have a community LWS component that we are creating and we need to the the accountId and then from there get the Account Name and other fields based on the accountId So we have functionality of ...
0
votes
0answers
10 views

i am getting this error while adding component- afterRender threw an error in 'System1:dataTableComponent' [e[Qi] is not a function]

this is my js code- import {LightningElement,wire, track} from 'lwc'; //import method from the Apex Class import fetchAccounts from '@salesforce/apex/dataTableLWC.fetchAccounts'; // Declaring the ...
0
votes
0answers
7 views

Display document based on roles

Will it be possible to display documents based on roles? Example: we have a document tied up with an Account object. There are roles that need to have read only access for Account but should not be ...
0
votes
0answers
4 views

For FSL : I'm Trying to create an invocable method that automatically populates the Service Territory of an account

I'm doing this by using an invocable method and a process builder. However, I have very little experience writing apex code I have been unable to successfully create one Apex class that actually does ...
0
votes
0answers
5 views

Stub jsforce methods for testing a node API

I'm trying to use sinon to stub several jsforce methods (query, login, sobject.create and sobject.update), but none of the stubs are actually being called. My test looks like this: suite.only('...
0
votes
0answers
9 views

How to get selected pick list values with Apex for Aura Component

I have established a custom field called "Products Used" on the account object with a variety of banking products to choose from. I am trying to program an Apex controller to query the selected ...
0
votes
0answers
4 views

How to record location data in smartstore for syncUp for server

we are developing mobilesdk-ios app in swift using version 7.2 of the sdk. When the user performs certain actions, we would like to record the current location. Since the device may be offline, we ...
0
votes
1answer
14 views

lightning web components- save form data to the controller

<template> <lightning-record-edit-form object-api-name="Gl__c"> <lightning-input-field field-name="RGl__c"> </lightning-input-field> ...
0
votes
0answers
6 views

Moving approval process to Lightning Experience

I have several approval processes that have been working in Classic for a long time and we are moving to Lightning Experience. What, if any, are approval process features that will no longer work in ...
0
votes
0answers
8 views

Permission error when creating package version with Custom Object

I am trying to restructure my code for sfdx, but a lot of it is (unsurprisingly) built on custom objects. One of the packages I'm trying to create has a custom object that is a detail in a master-...
0
votes
0answers
19 views

Integrate Salesforce Marketing Cloud with a AWS S3 bucket

Use-case: We will like to create an external SFTP location to connect to a S3 bucket. Steps being followed: Create public/private key through SSH-Keygen Create a SSH key in the SFMC system. Upload ...
0
votes
0answers
13 views

What populated “History” tab in encryption statistics?

When I navigate to Platform Encryption Statistics --> then toggle over to the History tab, I see a table with 4 columns. They are: Encrypted Field History Unencrypted Field History Encrypted Feed ...
0
votes
1answer
12 views

Is the max StandardSetController record limit per setController or per transaction?

The documentation states: The maximum record limit for StandardSetController is 10,000 records. Instantiating StandardSetController using a query locator returning more than 10,000 records causes a ...
0
votes
1answer
11 views

force:recordData simpleRecord returning null

Component <aura:component implements="force:lightningQuickActionWithoutHeader,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" > <aura:...
0
votes
0answers
15 views

Is there a way to fetch CMS Content from Apex or Lightning Component?

I am trying to dynamically fetch content (HTML markup) from a CMS Content item. I understand CMS Content is in beta, but is there a way via Apex or LWC/Aura where I can get the content from a ...
0
votes
0answers
9 views

Is it possible to track form conversions through email?

I am trying to track form submissions from users who entered the website through email. There will be a landing page before the form so the actual submission will happen on another page. The path ...
0
votes
1answer
17 views

Query only OpportunityLineItems whose opportunity is open

I am very new to writing SOQL or APEX triggers I am currently writing an APEX trigger, that would update OpportunityLineItems whenever a Product2 is updated. Basically, it currently looks like this. ...
0
votes
1answer
16 views

Locker Service Blocking Access to Third-Party Object

I'm running into a scenario where I can't tell if Locker is preventing accessing an API call from a third-party script that's been whitelisted. I'm using Qualtrics survey tool to poll users on our ...
1
vote
2answers
12 views

External Object to make only subset of records from mysql table available for SF org

We have a rather typical requirement at a first glance - just to make bunch of records from external mysql database available in clients' sf orgs. And we are giving a short to SF External Object as an ...
0
votes
1answer
13 views

Is it possible to use Lightning Sync and still be on Salesforce Classic?

I want to sync Salesforce to Outlook. Since Salesforce no longer supports Salesforce for Outlook and my org is still using the Classic UI, can I use Lightning Sync?
0
votes
1answer
16 views

Does the Learning App IOS documentation still work?

I want to use the steps outlined here: http://salesforce-marketingcloud.github.io/LearningAppIos/#0002 The goal is to create an app that I can test MobilePush notifications. The Learning App IOS doc ...
0
votes
0answers
10 views

Email Message Object - Sanitize HTML Body

I use an output panel and rerender to display the HTML Body of an Email Message object query that is invoked by a user. There is an issue (confirmed by Salesforce Support) with rerendering an ...
2
votes
0answers
14 views

How to preserve newlines at end of files when pushing to orgs with sfdx?

Our local style guide and tooling (like Prettier) automatically add newlines to end of files. However, when I deploy that file to my organization, either with sfdx force:source:deploy --sourcepath ...
1
vote
0answers
14 views

d3.js modifying an item's class or attribute is not possible

I am having issues using d3 to perform a mouseover event inside a Salesforce LWC custom component. Basically, I want to be able to perform the following upon mousing over some item: function hideTag(...
1
vote
2answers
43 views

Best Practice: dependency on data model names

BACKGROUND I need to display some data from another system on a lightning component. Let's say I get a JSON string from the external system as following: { "initialStatus": "Active", "name": "...
1
vote
0answers
34 views

Does the “36 Days until Lightning Experience” notification mean that we have no option but to move to Lightning Experience?

When logging into our production org today, I noticed a banner/notification at the top of the page that reads: 36 Days until Lightning Experience While I am not 100% sure, I believe it is related ...
1
vote
1answer
18 views

SFDX FORCE:DATA:TREE:EXPORT Nested __r Relationship Query

I am attempting to export data using the FORCE:DATA:TREE:EXPORT CLI command, using a nested query like the following (for use in our Scratch-Orgs): SELECT ...,(SELECT ... FROM My_Custom_Object__r) ...
1
vote
1answer
20 views

Package hosting options

There are two commands: sfdx force:package:create --name "MyApp" --description "MyApp" --packagetype Unlocked -r force-app sfdx force:package:version:create --package MyApp --installationkey ...
0
votes
0answers
12 views

How to write help class for the below trigger [duplicate]

trigger ActiveCountContactOnAccount on Contact (after INSERT, after UPDATE, after DELETE , after UNDELETE) { Set <Id> accountIds = new Set <Id>(); List <Account> lstAccountsToUpdate =...
1
vote
0answers
11 views

Salesforce Files - Is it mandatory to convert older attachments to Files?

While Salesforce is pushing adoption of Salesforce Files, here are few questions from an integration product point of view: Is it mandatory to convert older attachments to files? What is new object ...
3
votes
2answers
33 views

How to implement Auto-date functionality in the Lightning JS

I would like to show the auto date format like mm/dd/yy...with auto add /. I would like to implement exact same functionality shown in the below example from Fiddle. Here is the example: Fiddle.
0
votes
0answers
6 views

Migrate Chatter: Classic Partner Community to Lightning Customer Service template based Community

We have a Classic Partner Community that has Chatter Enabled and has a lot of posts over the past years. We are now trying to migrate our community to Lightning Template based Community (Customer ...
1
vote
0answers
14 views

Why is my _subscribers data view returning different results for email address?

I have both MC and SC connected together using the MC Connector. I have noticed a data inconsistency issue when creating an automation to update Email Addresses in my All Subscribers list. When I the ...
1
vote
1answer
22 views

Decrypt an encrypted string using SFDC certificate

I have SFDC certificate installed in my sandbox. let's say it "ABCD.cert" Now a external system sends a string value which is encrypted via same SFDC certificate ie; "ABCD.cert". Now I have to ...
0
votes
0answers
19 views

Pass object from Flow to Lightning component

In a Flow, I can retrieve an object and several fields. Is it possible to pass the object to a Lightning component used in a screen? I've tried setting up an attribute as Map or Object, and adding ...
-3
votes
0answers
23 views

Task and Activities related list in LWC layout

I have a requirement to bring Task and Activites related list in LWC. Based on some conditions this related list will be shown to some users and some users won't see. Can anyone help me with any ...
-3
votes
0answers
26 views

Salesforce wrapper

I have three Objects Pricing__c Product_pricing__c Customer__c I have created a wrapper to fetch the data please find the code below. my requirement is to display the data based on Search ...
-2
votes
0answers
17 views

How to mass import images in salesforce on regular basis

I want to mass import attachment in salesforce without giving image path from local drive because we want to automate this process using command line. Is it possible using data loader or any other ...
-1
votes
0answers
25 views

Not able to create Salesforce Project in VS Code

I have installed Salesforce CLI and Visual Studio code but when i tried to create a Salesforce project with Manifest I get this error: (17:02:00.225 sfdx force:project:create --projectname ...
-1
votes
2answers
24 views

Get number of milliseconds since January 1, 1970, 00:00:00 UTC in apex

I want the apex equivalent of the following javascript method : var utcDate3 = Date.UTC(2019, 7, 19, 18, 20, 5); Because I need the number of milliseconds in the given Date object since January 1, ...
0
votes
0answers
22 views

Salesforce Trailhead Trigger

Trying to learn Apex, walking through this Trailhead. Here is description and then my attempt, getting this error: Variable does not exist: Match_Billing_Address__c Description: The Apex trigger ...
0
votes
2answers
21 views

Limits for an user to make API Calls

I know that we can make callouts based on Salesforce edition and its licenses, is there any limitations on user level ? i.e How many API requests can an user make in 24 hour period ?
1
vote
1answer
21 views

SFMC SSL Configuration

we are trying to configure SSL certificate for our domain. SFMC account Executive is asking "Do you need 1 Configuration or 1 Domain with 2 configs?" what did he mean by that? Can someone make me ...
1
vote
1answer
11 views

Different view on Editing a Report

When a user is trying to customize a Report, he is having a different view than a usual one. Is this due to some permission issue or any settings mismatch. Coz even the Switch to Lightning and App ...
0
votes
1answer
24 views

How to embed multiple Lightning Web Components using lightning-layout?

I have two Lightning Web Components (LWC). I want to combine them into one using lightning-layout (Layout items with horizontal align (Spread)). I want to know whether it is possible to do something ...
5
votes
1answer
29 views

Query results from two list related to each other

Suppose I have in my org those Contact records: 1) FirstName = 'Ross', LastName = 'Geller' 2) FirstName = 'Rachel', LastName = 'Green' 3) FirstName = 'Monica', LastName = 'Geller' 4) FirstName = '...
0
votes
1answer
17 views

SalesForce Bulk API response to Pandas DataFrame

I'm a beginner with the Salesforce API and recently, I've been trying make bulk API requests and convert the response into a pandas DataFrame, however, the results I'm having a tough time with are ...
0
votes
0answers
8 views

How to Add a Filter Static Binding in JSON Einstein Analytics

filter parameter in step - "filters": [ [ "Created Date Formula", [ [ ...

15 30 50 per page