All Questions

3
votes
1answer
15 views

Identifying the controlling picklist of a dependent picklist

Is it possible to identify the controlling picklist for a dependent picklist in Apex. Currently, I am using the DescribeFieldResult class to get information on object fields; type, name, length, etc. ...
1
vote
1answer
17 views

Regex Replace All causes misses

I'm working on regex in order to replace some strings public static String removeValuesByRegex(String input, Pattern pattern, String replaceWith){ String result; Matcher matcher = pattern.matcher(...
0
votes
0answers
17 views

Flow picklist field outputs picklist field API name when there's no value

In our Visual Flow, we have a screen for Generational Suffix, which is an optional picklist: The Generation_Suffix_Picklist_Choice is a Picklist Choice showing value like "Sr.", "Jr.", etc. This ...
0
votes
0answers
14 views

How to Set the value of a picklist with a formula? Possible?

We have a process which creates Contacts when new Applications are submitted (co, Applications__c). The new Contact has a lookup back to Applications (co, Applications__c). There is a field on ...
1
vote
1answer
46 views

Sobject for contact and leads

I need help converting this method's parameter into an sobject, so it can accept two different types of objects So currently the method is returning a lead activity record, but I want it to return a ...
1
vote
1answer
16 views

Remove Sample Code references in Managed package metadata

One of our partners reached out to us in helping their package pass security review. The recent report they received contains the following issue: Sample Code in Production Account.object Issue ...
0
votes
0answers
9 views

Get record id from sfdx force:data:record:create [on hold]

How can we return id to a variable from record that is created using sfdx force:data:record:create
0
votes
2answers
29 views

Can I specify where I want a data extension to be created when using server-side javascript?

the code for creating a DE is straightforward, but I'm trying to specify where I want this to be created rather than the root DE folder. Is such a thing possible? thx
0
votes
0answers
25 views

Render input field if radioButton selected in the aura:iteration [on hold]

<!--Iterate the mapEntry Component.--> <aura:iteration items="{!v.listQuestions}" var="key" indexVar="question" > <div aura:id="questionLI"> {!key.Text_Content__c} &...
0
votes
0answers
16 views

Parent & Child Report Customization

I've been working on a report where I need to report on a field that is on the Opportunity object which relates to one Account. Essentially a parent Account has related opportunities which contain an ...
0
votes
1answer
22 views

How to concatenate two variables in visualforce

Getting errors when I try to concatenate two variables value in apex:outputText tag. For example, if I have two variables Start_Date__c and End_Date__c, I want to display in page as below ...
0
votes
0answers
8 views

Jsforce Upsert QuoteLine object

I try with a custom script to upsert a QuoteLineItem but I face a problem with the SBQQ__Quote__c field, which is a Master-Detail of the Quote object. This is my code : export function ...
0
votes
1answer
31 views

Show pop-up or toast or banner in Lightning Service cloud console

We are using omni channel. Goal is to enhance the experience of an incoming call. We want some sort of toast to appear inside console when an agent receives incoming call. So far this is what i have ...
0
votes
2answers
43 views

Need help to access Custom Settings Data and put into a field? [on hold]

For example Custom Settings: Api Name: Teste__c Name: Ex1 Ex2 TesteCustomSettignField__c ttEX1 ttEX2 Custom Field: NormalField__c I want to when i select in the NormalField__c the value EX1 ...
2
votes
1answer
22 views

Process Builder is not updating all the fields

Thanks in advance. I have a process builder which will update 5 different fields as an update action Once the user gives Year1 and x value it should calculate the values for all other year fields. ...
0
votes
1answer
12 views

Creating and downloading a text file on a Visualforce page

I've built a visualforce page that has a button that creates and stores a text file as an attachment on a custom object. I'd like for this text file to be available as a download link on the ...
0
votes
0answers
9 views

Issue updating the UI of a Case detail page in lightning on click of a custom button [on hold]

I created a custom button with content source as a visulforce page. This vf page has an extension controller which updates the case owner to the current logged in user. On click of the button the ...
0
votes
0answers
23 views

<lightning:Select in Iteration

I would like to display the fields and provide the option to Map the Salesforce Lead fields. I would like to get the selected fields values along with key while I'm click the Submit button in the ...
1
vote
1answer
11 views

Creating HTML element : assign value

I am dynamically creating HTML parapgraphs, and I need them to have a value. What is the best way ? // here, I tried to assign a value to the 'innerHTML' attribute. Doesn't work $A.createComponent( ...
1
vote
2answers
22 views

System.QueryException: execution of BeforeUpdate caused by List has no rows for assignment to SObject ()

I am receiving the following sync error in Pardot: System.QueryException: execution of BeforeUpdate caused by List has no rows for assignment to SObject () I think it is this trigger that is ...
0
votes
0answers
17 views

Display Error Message in Lightning Component Quick Action

I am working on a Lightning component quick action that opens from a quick action on the Account. Here is my component so far: <aura:component controller="MyRestController" implements="force:...
0
votes
0answers
12 views

Files accessibility under Accounts

We are migrating to Lightning and we just converted Attachments to Files. Now we recently noticed that, Files associated to Opportunities are not available to view under Accounts which was default ...
0
votes
0answers
21 views

Dynamic rerendering of output panel

Requirement: A visualpage will have a button, which can be clicked 10 times, each time a new section is created. Each section has a static section and a dynamic section in which Case fields needs to ...
0
votes
2answers
38 views

Add Lightning Web Component to Lightning Tab

I am trying to figure out how to add a Lightning Web Component to a Lightning tab. I have it on the Home Page, but I would like it to be on its own tab. I feel like there should be an option to ...
0
votes
1answer
21 views

How can I found where a Record Type Picklist is getting its values from? - Task object

So far when I'm asked to add a value to a record-type picklist I can go into the field of the object, add the value, and then go into the record type picklist and add it to available values. For this ...
0
votes
1answer
19 views

ISCHANGED and PRIORVALUE formula creating error in PB

I have a request to track some metrics within a case. Building a case history report isn't my solution as they take too long to run and the criteria is too specific. What I'm wanting to do is ...
0
votes
0answers
8 views

Unable to view Stopped Since field from entitlements in reporting

I have set up the entitlement process in the case object. I am able to view setup the stopped field & other fields related to entitlement object. I gave view access to the Stopped Since field. I'...
0
votes
1answer
20 views

Merging Content from the same field across multiple records through SQL in Salesforce Marketing Cloud

I have a DE that collects information about past reservations for travel. One of the fields is named FareDiscountCode. I currently have in place a query from that table that combines all of the ...
2
votes
1answer
16 views

Chatter post video preview when posting via flow/process

When I manually post to chatter and post a URL (video) I see a preview of the video, I don't get that when I do it via a flow/process - any ideas? I need to be able to achieve this same preview when ...
0
votes
1answer
25 views

Question About Decrementing Numbers

LREngine Code: /* Copyright (c) tgerm.com All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ...
0
votes
1answer
21 views

Is it possible to add a checkbox to a Rich Text Field in Lighting?

I am trying to display a terms and conditions agreement using a rich text field and display that rich text field in a lightning component using <lightning:formattedRichText value="{!v....
0
votes
0answers
31 views

Salesforce IOS SDK 7.0 Issue [on hold]

We are building IOS swift native application.We have updated salesforce mobile sdk from 4.3.1 to 7.0, sync of stores is happening properly in 4.3.1 but we are facing issue in 7.0.We are getting errors ...
0
votes
1answer
19 views

Access values from Object retrieve by REST callout

I'm retrieving this response from a REST callout for Layouts and I want to access a current key of this Object: This is how I managed response: Map<String,Object> tokenResponse = (Map<...
1
vote
1answer
16 views

Cannot update Custom Metadata records from Subscriber org in managed app

The custom fields are subscriber editable, and the custom metadata is not protected. I can update the field values in developer org in a managed app, but when I try to update in subscriber org in ...
1
vote
1answer
19 views

Migrating from v5.6.2 to v6.1.0

Due to the April 11 deprecation of GCM client and the deprecation of SDK versions below 6.x.x of Mobile Marketing Cloud SDK, we're migrating our SDK versions. I'm having trouble implementing and ...
0
votes
1answer
14 views

Configure the FROM of send email on Case

Is it possible to configure the emails that appears on the "FROM" based on the profile or role or some type of criteria of the current user? If it is, how can I do it? thanks in advance
-1
votes
1answer
26 views

Error: Compile Error: Missing '<EOF>' at 'Public' at line 12 column 5 [on hold]

trigger ContactRelationshipMasterTrigger on Contact_Relationship__c(before update) { if(trigger.isBefore) { if(trigger.isUpdate) { //call the handler for the ...
0
votes
0answers
16 views

Space between columns in a grid - not symmetric

In the simple bellow grid I would like to separate colons with a small blank.For this i use the class slds-gutters on the grid. The problem is that it also put a blank after the last column of the row ...
0
votes
0answers
14 views

Issue in fetching the Task subject data from it's Attachment list via query

Below is my requirement: For an Account,I want to display all it's task's attachments in a lightning table . The Attachment Lightning table has a column 'related to' which should show 'Task Subject' ...
2
votes
2answers
70 views

Checking if rendered lightning:input components are populated

I am building a Lightning Component form with sections. I want to display a big check mark icon on the section if all the rendered lightning:input fields are filled out. I have successfully tested ...
0
votes
0answers
16 views

How to pass SAQL to lightning component through VF Page?

I have a custom action which calls the VF page from the Lens(Einstein analytics) . In the VF Page i have a controller also am calling the lightning component . In the controller side am getting the ...
5
votes
0answers
39 views

Developer Console suddenly truncating System.Debug output

Like many devs, I use JSON.Serialize() with System.Debug() to output large lists/objects to the Debug Log when needed. Over the past few days, I've run into a new issue with Developer Console where ...
-1
votes
0answers
12 views

/on/demandware.store/Sites pages [on hold]

I am working with a client on SEO advise. The site has thousands of demamandware static pages, two months after launch. They are clogging every possible crawl. Is this normal or should there be a ...
-2
votes
0answers
23 views

Get maximum greater key values with object of array [on hold]

let arr = [{ key = 1, name = 'testaa', dept = 'ggg' }, { key = 1, name = 'testaa', dept = 'ggg' }, { ...
2
votes
0answers
16 views

How to get Twilio for Salesforce Apex API intellisense in VSCode

I have this Twilio package installed (in both environments): Twilio for Salesforce: Production / Sandbox I am using VSCode to build against the Apex Query Library: Example Apex TwilioSF....
-1
votes
0answers
11 views

Trigger to get Approval Process comment in Remark Field of Deal Object. getting 58% test coverage. Anyone help me for get 75 [duplicate]

//Apex Trigger trigger Approvalprocess on Deal__c (before Update, before insert, after insert, after update) { String commentsStr=''; set<id> setmiles=new set<id>(); for(...
-1
votes
0answers
17 views

how to diasplay value from custom settings [duplicate]

i have a custom setting called product and under that i created two fields called and other is string field BD__c. i want to display picklist value based on string matching record. my custom setting ...
-1
votes
0answers
8 views

How can we send an image from sfdc using multipart/form-data [on hold]

I'm trying to integrate a third party system with salesforce, this system requires that the request post a multipart/form-data body which contains JSON parameters and the image file. Could any one ...
-1
votes
0answers
14 views

How to make isGroupEvent field as true in event in Test class

How to make isGroupEvent field as true in Test class. getting error like field is not writable in test class
0
votes
1answer
26 views

Switch from Notes/Attachments to Salesforce Files

We are trying to switch from Notes and Attachments to Salesforce Files but have run into an issue with file attachments being loaded from a web form. Currently a person can populate the form fields, ...

15 30 50 per page