All Questions

0
votes
1answer
10 views

Missing manifest and package.xml in new project

I've just installed VS Code and am migrating my projects. I don't see an option to delete a project? I created a project without the manifest and package.xml so I can't retrieve the selected metadata ...
1
vote
0answers
9 views

SFDX & How to handle namespace in lwc with a managed package?

I'm developing some lightning-web-components for a managed package with namespace example7. For all my previous dev work on this managed package, I was using aura rather than lwc, and developing in a ...
0
votes
1answer
17 views

How to handle failed updates when updating multiple Records in List

I have a Apex job that runs every night to change a field in multiple records. I've added some validations to the Object that are preventing some records from being saved. The problem is even tho ...
0
votes
0answers
14 views

Cannot list users - ERROR running force:user:list: Must pass a username and/or OAuth options when creating an AuthInfo instance

When I run sfdx force:user:list this is the error message I get: ERROR running force:user:list: Must pass a username and/or OAuth options when creating an AuthInfo instance. This issue came up ...
0
votes
0answers
16 views

Refresh LWC after Record Delete

I have created LWC which shows the list of files uploaded for a particular record with the ability to delete the attached file. The file is also getting deleted successfully but the problem is the ...
1
vote
2answers
23 views

Derived column in a data extension

The journey builder thats been used has entry event as DE populated with data imported from Automation studio Can I create a Data extension column with values derived from two other columns in same ...
1
vote
1answer
18 views

Unable to use variable of javascript remote method variable in chart.js code. It is coming as undefined

I have to use list of accounts as labels in my chart. In order to fetch list of records I have used js remoting. I am able to fetch but not use within chart.js labels. Here goes my vfp :- <...
0
votes
2answers
22 views

How to get session id of a particular user in Salesforce

Is there any way to get session id of a user so that I want to use it in REST API call in Postman to view the response. When I do the api call using my session id, we are recieving invalid user ...
1
vote
0answers
15 views

“Cannot destructure property” on LWC

I'm attempting to create a component that gets the current record's Id and queries related records that contain a Geolocation field, so I can populate a map. While developing this, I created a method ...
0
votes
0answers
11 views

Unable to deploy the LWC to a Devhuborg

I am unable to deploy/push the LWC to Devhub/scratch org. I'm getting error "The component must implement at least one of lightning__HomePage interface". I have already added the "...
0
votes
1answer
15 views

I want to display bar chart of 10 accounts with maximum contacts. each bar chart should be clickable and redirect to concerned account

I am able to show a bar chart using static data in vfp - apex. However there are mainly two problems - 1. getting dynamic data of no. of contacts in each account and 2. making each bar clickable and ...
3
votes
0answers
23 views

SFDX: Create unlocked package version - What is happening behind the scene?

When we are creating unlocked package version in 2GP, we don't need to have packaging org at all to deploy code there, upload package etc. (as it was with first generation packaging). So we just ...
0
votes
1answer
15 views

How to fetch Declarative Metadata i.e. meta.xml file with Tooling API query?

Is there a way to fetch the meta.xml file via tooling api query? The meta.xml looks like this for apex class: <?xml version="1.0" encoding="UTF-8"?> <ApexClass xmlns="http://soap.sforce.com/...
0
votes
1answer
17 views

CustomEvent gets @api property automatically

I work with trailhead unit Create a Child Component and Interact with It in Build a Bear-Tracking App with Lightning Web Components module. The bearTile component triggers bearview event in this way: ...
0
votes
0answers
13 views

Recaptcha in salesforce community

I have tried out the recaptcha in lightning component using VF page as iframe and it is working absolutely fine,but when i tried that component in salesforce community it's not working. I added the ...
0
votes
0answers
13 views

Javascript on rerendered outputpanel not working in production

I am using an action function to rerender an output panel in my visualforce page after i fetch some data from the controller, and then i manipulate it with some javascript (also inside the same output ...
0
votes
1answer
24 views

Passing comma separated parameters o a batch apex

Currently I am passing one parameter into batch apex and querying the results. But, now i need to pass comma separated parameters and then i need to query records from all these passed parameters. ...
0
votes
1answer
26 views

How to addError on the dynamic string field api name [duplicate]

obj.get(childFieldAPIName).addError('Required'); Error: Method does not exist or incorrect signature: void get(String) from the type Object I am trying to add the error on the fields which are ...
0
votes
1answer
30 views

How to append XML root element to an existing xml string

I have XML string like below in that I have to add root element and some attribute using apex. I was searching this for whole day but I din't get any key point. I saw there is some support for DOM and ...
0
votes
1answer
21 views

Get Field value from object using string key

I am trying to do get values from the object using string key, I have typecast the Contact object into the object but not getting value. Please help how to get value from the object using string API ...
0
votes
0answers
13 views

Trigger Email to Followers of Account/Oppty When Email Activity Logged

I have a tough challenge. Users want to get an email notification on records they follow (Account or Opportunity) when an email activity is logged (including the contents of the email that was logged.)...
1
vote
0answers
13 views

Reload Visualforce page on session lost

Im trying to reload a Visualforce page when session is lost, due to another login, and sessionId created in a different browser tab. I have code that makes constant calls to the controller methods, ...
0
votes
1answer
22 views

Platform Events and Transaction

I want to trigger an Event from Apex Trigger, but since Platform event cannot be rollbacked, is there a way to publish it only when the transaction is successfull?
2
votes
0answers
23 views

Is it possible to re-import the result of a SOQL query without writing code?

When working with SFDX, we hit the wall using sfdx force:data:tree:export which failed when we had lookups and master-detail relationships. We had to resort to writing some custom code to ensure we ...
-1
votes
0answers
25 views

Display list with combinations in visual force page before saving the record [on hold]

I have a requirement, Suppose in visual force page these is a text box has a,b,c,d values display these values in rows like A-B,B-C,C-D,D-A before saving the record
0
votes
1answer
31 views

Trailhead : Lightning Web Components basic error when deploying

Can't create lightning component bundle if there is already an aura definition bundle with the same name and namespace. Cannot find Lightning Component Bundle paginator. force-app\main\default\...
1
vote
1answer
35 views

How to query for lightning-combox items in a lwc-jest test?

I can reference a collection of p tags in lwc-jest, but am not able to do so for a lightning-combobox's items. This gives me values: const cats = element.shadowRoot.querySelectorAll('p'); expect(...
1
vote
1answer
23 views

How to get Community Url in a Visualforce email template

Background I would like to display the Community Url within a visualforce email template. Standard templates use: {!Community_Url} But I cannot find an equivalent field for visualforce email ...
0
votes
1answer
39 views

Issue with REST API in Production

We have a mobile app(Not Salesforce1) where the data is pulled from Salesforce using REST API. The basic functionality of the app is to return GranChild records when any Search Term is entered in ...
0
votes
1answer
23 views

How do we set up the subscriber key in Marketing Cloud

I am new to Marketing cloud and recently started working on it.I have Service cloud org where i have my contact data.Now i want to connect my service cloud with marketing cloud Org.For this i Used ...
1
vote
1answer
31 views

How to generate pptx files with the VisualForce page and Apex Controller

Unable to open the generated file in OpenOffice unfortunately. My requirement is to generate a ppt file using dynamic data from Salesforce. Here is my snippet of Visualforce Page. <apex:page ...
1
vote
2answers
30 views

Marketing cloud sub-domain

How i can find the sales-force Marketing cloud sub-domain ? I was trying to use the sub domain for API call purposes but i am not able to find the sub-domain.
0
votes
2answers
38 views

Dynamically set columns on pageBlocksection and pageBlockSectionItem?

Page : <apex:page id="ContactDetails" extensions="ContactsController" standardController="Case"> <script> function showFieldsOnClickAction() { showFieldsAction();...
0
votes
1answer
20 views

Creating a Pie Chart In an Opportunity

We'd like to build a pie chart that can be displayed on the Opportunity Page Layout that calculates the following: Custom Field 1 + Custom Field 2 + Custom Field 3 = Amount I imagine we would start ...
0
votes
1answer
27 views

Help creating process builder or trigger for updating task created from Opportunity

Happy Friday. I am trying to create a trigger to map fields from an opportunity to the task that was created from it.  The Related to field will be populated with the Opporunity name, but I cant seem ...
0
votes
1answer
37 views

Queueable Apex in a Before Trigger

I am attempting to create logic that, on Contact record insert or update, will compare the Phone value of the record to another reference object and conditionally populate a checkbox as a result of ...
1
vote
1answer
15 views

How to validate a encrypted field

on the best practice section of this documentation: https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/fields_about_encrypted_fields.htm it says: You can ...
1
vote
1answer
26 views

Lightning action(Email & Task) buttons not showing on Lead

I have the following configuration set and still Email and Task buttons not showing in the chatter lightning Lead Object: 1- Deliverability = All Emails 2- Task Has a record type 3- Feed Tracking ...
0
votes
2answers
41 views

Sendable DE Column passed as String Parameter in CloudPage URL

We are working on implementing APP Inbox messages. When we create an Inbox message in MobilePush studio it generates a CloudPage URL. I am looking for editing this auto-generated CloudPage URL to ...
0
votes
0answers
9 views

Identify Last Created Email Related to Case (Received or Sent)

I am trying to identify the last (most recently created) email related to a specific case. My purpose is run queries on cases and then for related emails and only show the last created email related ...
0
votes
2answers
33 views

Error when trying to show Toast from lightning out through Site

I get this error on the bottom of the page when trying to show a toast message This page has an error. You might just need to refresh it. Error in $A.getCallback() [$A.getEvt(...) is undefined] ...
0
votes
0answers
10 views

How to activate the FFA Billing Contract status in test class

I have installed FFA Accounting package in my org and now i have write some code on that, so when i tried to write the Test class so in my condition i want billing contract as active, but when i set ...
2
votes
1answer
26 views

Error not bubbling up from delete trigger

I need to prevent deletion of our dummy account, which is part of the Lead conversion process under certain conditions. And it does prevent deletion. However, the error I am adding to the account ...
1
vote
0answers
29 views

Need to reconfigure Process builder formula

Person Accounts is enabled Have multiple record types on Accounts (a few for 'Accounts' and a few for 'Person Accounts' They have an old process that was implemented, but we re-architected the ...
0
votes
0answers
5 views

How to add a Send Email Activity to an Automation with FuelSDK-Python?

I unable to associate an Email Send Activity when creating an automation in Fuel-SDK Python. Below is my props dictionary setup. When posted the Automation is created but there is no Send Email ...
0
votes
1answer
22 views

How to Import Data from Publication list to a Data Extension Automatically

I have data stored in Publication lists, and I want to import this data into a data extension automatically. How and what method will be useful to achieve this?
2
votes
1answer
31 views

Where is the Data Import Wizard Error Log

I am using Salesforce Professional Edition. I am trying to locate the data import wizard log file. Can someone point me in the right direction? I have import errors and want to see what they are.
1
vote
1answer
27 views

Unable to setup custom javascript detail page button

I am working on detail javascript button in the lead object. But now I am facing the below issue. Javascript code: {!REQUIRESCRIPT("/soap/ajax/30.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/24.0/...
1
vote
0answers
8 views

Heroku ps:exec cannot connect or ssh into dyno

heroku ps:exec -a homehost-demo Establishing credentials... error ▸ Could not connect to dyno! ▸ Check if the dyno is running with `heroku ps' running ps returns Free dyno hours quota ...
0
votes
0answers
9 views

Help Text on a Configuration Attribute in CPQ Line Editor

I am trying to accomplish what I think would be a simple task. Is it possible to add help text of some sort to a configuration attribute in the line editor of Salesforce CPQ?

15 30 50 per page