All Questions

0
votes
0answers
5 views

Uncaught Error in $A.getCallback() [Cannot read property 'config' of undefined]

I have a lightning component which displays a list of records through response from server side controller and has filter and search button. The list of record has a button adjacent to each record, ...
0
votes
1answer
11 views

download base64 as PDF seting a name for it

I'm trying to download a PDF file and I wish to give a name to this file and a extension. Here is what I did: Component: <aura:component implements="forceCommunity:availableForAllPageTypes" ...
1
vote
0answers
9 views

How to debug a flow as a specific user?

I have a flow, which when ran as the System Admin, works perfectly. When I run it as a non admin, it doesn't and I get: An unhandled fault has occurred in this flow An unhandled fault has occurred ...
0
votes
3answers
30 views

Style in lightning datatable. Overlap values

I have a lightning datatable, and I have a problem. If I edit the bottom column, the values is overlap on the table Steps: click on editIcon on botton column (OK), click on editIcon on other value of ...
0
votes
3answers
954 views

Convert String DateTime to User local DateTime

I need to convert the string datetime into user locale date time format. for Ex: //Consider this is Indian Time 22nd Dec 5 PM String dateTime = '12-22-2016 17:00:00'; I want to convert this as per ...
0
votes
2answers
14 views

Unable to see Open Activities and Activity History related list in lightning mode

In managed package's object I am unable to view Open Activities and Activity History related list in lightning mode. But visible in classic view.It is present in layout.Still unable to view.Can ...
0
votes
0answers
8 views

Submit record for Approval By Using Apex for Multistep Approval Process

It is possible to set dynamic appover to approval process invoke by apex // Create an approval request for the Opportunity Approval.ProcessSubmitRequest req1 = new Approval....
0
votes
2answers
7k views

“Session expired or invalid”,“errorCode”:“INVALID_SESSION_ID” while making REST call via cURL

I'am trying to make a REST call via cURL with the credentials I have. But I get an error message saying INVALID_SESSION_ID. Below you can find the call I'am trying to make which consists of my Access ...
0
votes
2answers
464 views

Data extension values in the “Update Contact” activity in Journey Builder

I'm looking for a way to use fields from a data extension (that is the entry source for a journey) in the "Update Contact" activity. I want to create a sort of log in a different data extension. Let'...
0
votes
0answers
12 views

Implement a Counter to track records by record type

I have an object called 'Protocols' with 5 record types that will produce 5 types of documents. For each type, I need to track the number of documents that have previously been published, e.g. ...
0
votes
2answers
26 views

Load data into Salesforce object from Marketing Cloud data extension

Could you please help me to solve my problem? I have to upload the data from a Marketing Cloud data extension to a CRM object. How I can achieve this if my Marketing Cloud and CRM are integrated with ...
-1
votes
0answers
13 views

Asynchronous Apex operation are not mutually exclusive

Different types of asynchronous operations are not mutually exclusive. Can someone explain me briefly with some set of example?
0
votes
0answers
7 views

Add Custome Relative filter Einstein Analytics studio

Is it possible to add another choice on the date filter? like creating new Section Called "Date Ranges". Under "Date Ranges" we have choices like "S1", "S2", or "S3". If I select S1 it will filter ...
0
votes
2answers
498 views

Populate the Region field

I am very new to Salesforce and have been asked by my boss to find a way to do the following: Is there a way to auto populate a region based on shipping address/country/zip code etc on existing ...
5
votes
3answers
239 views

Marketing Cloud Connector not syncing preferences

I have Marketing Cloud connector setup on an org however the connection doesn't work both ways for the marketing opt in status. When a subscriber opts out via the Preference Centre, their status is ...
0
votes
1answer
9 views

is it allowed to use single SF admin user for multiple users externally in php website?

I am building a php website that has its own login system. based on the email address in the php system, i do query in salesforce (using single admin user) and get data related to their contact using ...
0
votes
1answer
15 views

How are certificates passed when using apex setClientCertificateName

I am working on integrating Salesforce with a bespoke system using APEX Http callouts and one of the security requirements is to allow two way SSL. Apex supports this by allowing you to attach a ...
0
votes
1answer
15 views

Notes & Attachments Cant find using soql

I did not get any result from querying notes and attachment. Setup I create a custom object. I added notes and attachment to the custom object I created soql that filter by parentId and it looks like ...
-2
votes
0answers
17 views

Common challenges faced in integration [on hold]

What are the most common challenges faced while integrating salesforce with SharePoint and salesforce with Microsoft TFS? I know there are multiple 3rd party applications and even direct API's ...
0
votes
2answers
23 views

Schedule apex class to run every year

I need the apex class to be scheduled at 1st January 12:00 AM every year how to achieve it? global class autoCreateIS implements Schedulable { global void execute(SchedulableContext arc) { ...
0
votes
1answer
104 views

Error when loading account detail page in lightning UI

I have a picklist field in contact called Merge_Date_Text__c. Since I am using person account, it displayed as Merge_Date__pc in account and this field is displayed in account detail page. So when I ...
1
vote
1answer
507 views

Retrieving Data Extension names used in a Send

I have an email send definition that's configured to send to multiple data extensions. I've seen a few posts (here, here and here) that say retrieving the Names or CustomerKeys of these data ...
0
votes
2answers
26 views

Salesforce check box does not pass value to controller

I have a check box in my VF page and I am trying to pass the value to controller, but when i use debug log, it is showing 'false'always. Please help. My VF: (chunk only) <apex:page showHeader="...
0
votes
1answer
12 views

How to separate The Day, Month and Year attributes using SQL _Open query in salesforce marketing cloud?

I have creating TestDE Data extension using these attributes like SubscriberKey, AccountID, EventDate, Date, Month, Year attributes. And Created with same attributes using Target Data extension. Now ...
1
vote
1answer
26 views

What are the equivalent of obtaining global and local IDs (via getGlobalId and getLocalId) for Lightning Web Components?

Is there currently a way (Spring 19 Pre-Release) to get a unique identifier for a Lightning Web Component (LWC) instance? This would be the equivalent of component.getGlobalId() and component....
0
votes
1answer
484 views

How to send a visualforce page in a visualforce email template?

I am looking to send an email in the approval process but the email needs to have all of the information that we put on a visualforce page. The best solution would be to send the visualforce page in ...
0
votes
2answers
115 views

Error with jsPDF static resource in lightning component

I am trying to download in PDF format in lightning component. I have added jsDPF zip file in static resource. Static rescource name:jsPDF, zipFile name:jsPDF,Folder name:jsPDF-1.3.2 On previewing ...
0
votes
1answer
15 views

Test Class for CampaignMember Object

I am working on one lightning component and wrote an apex class as a controller. My class is below. public class CampaignMemberController { @AuraEnabled public static List<CampaignMember&...
0
votes
1answer
519 views

How to get Controller variable into Javascript alert();

I have a Controller method savetask(). It is called from javascript where I am inserting task after insertion I am getting that Taskid into String variable and I have to show this variable into alert()...
0
votes
0answers
8 views

SFDX plugin is not getting Updated

I am running this command:- sfdx plugins:install salesforcedx@pre-release and getting this error message:- Installing plugin salesforcedx@pre-release... Installing plugin salesforcedx@pre-...
0
votes
1answer
19 views

Redirect following POST method

I have a scenario : A user needs to fill a form and after submitting, it should send the data of the form using POST API to some URL - the user will need to be redirected to this page after the ...
0
votes
1answer
40 views

How to create new user using SSJS

Could some please help as where I am going wrong ,i am basically trying to create new users in marketing cloud using SSJS <script runat=server> Platform.Load("Core","1"); { ...
0
votes
0answers
36 views

Apex test failure for one of the method in the class

We made a very minor change to the apex class where we included a field in the Email mathod in the class, however when we tried to deploy we get attempt to de-reference null object error. Test class: ...
1
vote
1answer
46 views

Salesforce Rest API create account

We are using the Salesforce Rest API to integrate our external website with Salesforce Sales Cloud. When a user registers on our website, we create a contact record in Salesforce. The response to ...
0
votes
0answers
11 views

How to get complete error message from AsyncApexJob records?

I have a batch class in my managed package. One of the batches is failing the execution in Subscriber org. When I query the AsyncApexJob record related to that batch class I get the incomplete error ...
0
votes
2answers
499 views

Trigger to create an attachment

I have a requirement where an attachment has to be auto created whenever a record on Object A is Created. The attachment is a child to Object A. And the attachment type is ".docx".I dont have a ...
1
vote
0answers
8 views

Is it possible to extend a standard rich content component's design attributes from the Community Builder?

Just to set your expectations I'm fairly new to developing lightning components. The reason why I'm asking is I want to add additional functionality like a CSS class selection for a list so that an ...
0
votes
0answers
13 views

how to remove lable in lightning record edit form fields

i want to remove field label in lightning:inputfield.i use variant="label-hidden",but lookup fields labels are not removing it removing label for other type fields.
0
votes
2answers
500 views

Field Dependency Dropdown Picklist Grayed Out

I am attempting to create a dependent picklist. I have already watched some tutorial videos and got to the point where my picklist has been created, but the selection box is grayed out, and I am ...
0
votes
1answer
14 views

Is there a way to conveniently preview a Visual Force Page in VS Code?

So I'm trying to switch my IDE from the Developer Console to VS Code. But the thing is that the changes we make to a lightning component or a vf page in the dev console reflect in seconds on the app ...
0
votes
2answers
17 views

How to Render Attachments (images) in visualforce [duplicate]

I have attachments (images) for an object and here's how I am querying for my data from the object. public List<SObject> getResults () { Id id = ApexPages.currentPage().getParameters().get(...
0
votes
1answer
34 views

Get base64 of image from rich text field

My question is about rendering image using its base64 instead of src attribute. I have a rich text field where users can attach images. I am displaying these images in a visualforce page. How can I ...
0
votes
0answers
6 views

Clone or Reuse Element in Lightning Flow Builder or Visual Workflow

Say if I have an Assignment element that takes in a number variable and then increments it. I'd like to reuse that same element multiple times in different places. Can I do that? At least in Lightning ...
0
votes
0answers
8 views

Lighting sync status error calender

step 1:- so I have created new remote access Remote Site URL https://www.googleapis.com step 2:- created credential for service account in googleapi console and uploaded the json in salesforce ...
1
vote
1answer
19 views

Different behavior for value attribute in lightning:inputField for lookup field

I have a requirement where user needs to create a new Opportunity record in a lightning popup.Here I have to display a Territory field which is a lookup .So I am using lightning:inputField tag for ...
0
votes
0answers
19 views

Invalid reference of Static Resource in LWC Salesforce

I am trying to use Static resource inside the lightning web component. while importing getting this error:- "Invalid reference SDFCImages of type resourceUrl in file StaticResourceDemo.js" here how ...
0
votes
1answer
490 views

Bulk APIs delete, update, upsert request format

I have created an object for Contact in salesforce. I am trying to delete it using curl command. Please help me with the format of the request. I am using json format [{"Id":"0032800000i6MyTAAU"},{"...
4
votes
1answer
502 views

lightning:recordViewForm and force:recordData refresh issues

I'm having TestObject as parent object and New Custom Object having M-D relationship to it. TestObject having Min and Max Rollup summary fields which will rollup number field in child object. I was ...
0
votes
1answer
493 views

Using without sharing with customer community - can't create account

It looks like customer community users can't create Account records because there is no create option in object settings for a customer community profile. I thought that I could get around this if ...
0
votes
1answer
19 views

Updating a Record from VF Page

I have a VF page showing a list of records. One column displays the value of a checkbox on the record. VF page snippet: <apex:pageBlock title="List of Incidents"> <apex:...

15 30 50 per page