All Questions

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

how to parse xml using ampscript for my email

I want to parse this XML using AMPScript. Can Set the value of name tag as name of the variable. As Hockey, here I want the result as : hockey 1000 Football 12000 Cycling 37 <Category> &...
0
votes
0answers
7 views

Error on second selection for same code in lightning code works fine for first time but second time it gives error

This code runs fine for first selection and also for first time but for second selection it gives following error This page has an error. You might just need to refresh it. Action failed: c:...
0
votes
0answers
3 views

Help debug MobilePush send

I am trying to use Triggered API to send a Push notification. Can anyone help me debug what could be wrong with this simple code? I have the right Client Secret and ID as well as mobilepushlistid. %%[...
0
votes
0answers
9 views

ApexPages.message not showing in first VF when redirect to another

I have two VF with the same controller, the second one I used it as a CSV file, I need that in the First VF a Apex.Message shows and then downloads the CSV file. Part of the Controller. ...
2
votes
1answer
16 views

Managed Package: How to get rid of dependency from Territory Management feature

SF is going to drop Territory Management (aka TM 1.0) in Summer 2020. So we are trying to migrate our managed package to Enterprise Territory Management (aka TM 2.0). As the first step of such ...
0
votes
0answers
10 views

LWC Conditional rendering: alternative for fetching the initial database value?

Looking for a more efficient and readable conditional rendering solution in lwc. I am just learning the platform, so perhaps I am just missing something obvious. This works: @track selectedValue; ...
0
votes
2answers
26 views

Need to make entire section title clickable

I am using section expand collapse as described here -- http://sfdcmonkey.com/2019/03/05/create-expand-collapse-sections-salesforce-lightning/ I am able to use this, however it's only usable only ...
0
votes
1answer
14 views

Lightning Web Component detect if user scrolled

I want to detect if user is scrolling, to change css classes? This is not working: connectedCallback() { window.addEventListener('scroll', function() {this.tScroll()}); } Please guide me!
1
vote
0answers
7 views

Creating custom field to via Metadata api, and adding it to layout

I added a field via Metadata Api to the Lead. It is not exposed via API due to the Field Accessibility. Since I am on Professional Edition, I have to control the Accessibility / Field Visibility ...
0
votes
0answers
13 views

How to auto populate the lookup field value into the text field in visualforce page?

I am trying to auto populate the value of lookup field to text field in the visualforce page. As soon as I select the value of lookup field from the list the value as it get populated in the lookup ...
0
votes
0answers
10 views

force:package:install --apexcompile package — what are the pros/cons of using it

what are the pros/cons of using force:package:install --apexcompile package? Will the package installations be prone to errors? will it have a negative effect to the destination orgs? Can't find much ...
1
vote
0answers
13 views

How to display chekboxes only for child records in a table in lightning component?

I am displaying parent and child records (only for the highlighted ones in picture) in table using lightning:tree grid.Is it possible to display checkboxes only for child records in lightning:tree ...
0
votes
1answer
17 views

How to use the value of lookup field in soql so that I can display all the records related to that user?

I am trying to get all the records related to the user I select from the lookup field in the visual-force page after clicking the search button. But the problem is I am not able to compare the value ...
0
votes
1answer
16 views

isUrlAddressable issue: Not loading/not initializing doInit

Trying to open an aura component or app on a tab in lightning using custom url button to launch and lightning:isurladdressable. But the error says page isn't available. <aura:component controller="...
1
vote
1answer
14 views

Can't Convert to String some special Chars

I have a file to insert Accounts ,but some fields like account name have values with special characters like 'ñ' ,and Im having this error "BLOB is not a valid UTF-8 string" when I execute this query: ...
1
vote
1answer
17 views

How to get only the records of last month by SQL

I have a report automation that run every first day in the month with the System Data View; i want always get the last month, but i have problem that the syntax that the updates the two months ago ...
0
votes
0answers
15 views

Error on starting Salesforce DX project

So, I'm trying to use SalesforceDX to develop. But I keep getting stuck on the configuration. It seems to work fine until I get to the pushing part. I'll post the commands I used. Created a Package ...
1
vote
0answers
23 views

e.force:editRecord in Flow - e.force:navigateToSObject

I have a Lightning Component with a controller that uses e.force:editRecord, which I've added to a Flow after create record action. After saving the record on the editRecord screen, I would like to ...
4
votes
1answer
22 views

How to package deactivation of a Workflow?

We publish a managed package in Salesforce which consists of triggers and workflows. In version say x, we added 4 triggers and in next version x+1, we wanted to deactivate those in managed package ...
0
votes
0answers
18 views

Change lightning icon on click

I've looked at several different posts regarding this question and still haven't been able to find an answer. All I want to do is change the iconName of my lightning:icon component to a different icon ...
0
votes
2answers
26 views

Salesforce Data as Entry Event - System Generated Data Extension is not getting updated

I have a journey that is using Salesforce Data as the entry event. SFMC automatically creates a data extension for that journey and automatically links it in Data Designer in the Sales and Service ...
0
votes
1answer
11 views

Query on UserRecordAccess shows all permission on apex class even when the user does not have author apex permission

I am having an SOQL query just to check that which user is having what all permissions to an apex class. So the SOQL looks like this SELECT RecordId, HasReadAccess, HasAllAccess,HasDeleteAccess,...
0
votes
0answers
7 views

Is it possible to move Files under Activities to Opportunities/Accounts

As Salesforce Files of Archived Activities are not displaying in Lightning, our Sales manager is asked to try an option. That is to move the Files attached to Task/Events to its associated Opportunity ...
1
vote
0answers
14 views

Azure DevOps with Ant for deployment questions

We are trying to implement our CI/CD with Azure DevOps (Pipelines) but we are facing a couple errors. Basically we were trying to created just one build.xml and one build.properties files and ...
1
vote
1answer
36 views

Compare Ids in a set to mapKeys

I'm trying to see if the Ids in a set made up of Ids from trigger.old are in a map. Below is the for loop I put together to do this. If I add an Id to "uniqueSummary.contains('a1N1U000001kDcI')" I'm ...
1
vote
0answers
16 views

Programatically access/notify on Failed Salesforce Send Emails from Marketing Cloud

My organization has had some problems in Marketing Cloud with scheduled Salesforce Send Emails failing (due to issues such as Sales Cloud reports used as audiences timing out). While we're working to ...
0
votes
1answer
7 views

Email Template Subject Does not Match Query

When viewed in the UI, my email template shows the following subject: When running a query, my email subject shows Why is the query returning a different result then what is displayed in the UI?
0
votes
0answers
9 views

How to send an email one day prior in journey builder? and how to retrieve SF data using AMPSCRIPT?

How can I send an email reminder one day prior through a journey. The Entry source is Salesforce data. Also I want to know how I can retrieve the content of that field to include it in the email using ...
0
votes
0answers
23 views

Unable to upsert Data in Data extension

I am not able to upsert data using the following code.:I am getting parameters from the URL and using them to update the DE. Now the issue is either i can make excutioncontexttype= get or post not not ...
0
votes
1answer
25 views

How to unit test the method that schedules an apex schedulable class

I have a method that executes the following code , I am not able to find any thing from CronTrigger to verify the scheduled job public static void ScheduleStatusChk(Id batchId, Set<Id> ...
0
votes
0answers
15 views

lightning:recordEditForm onLoad method being called twice

I have a lightning:recordEditForm that is calling "onload" function twice, there is a parameter on the event to prevent that like we have with force:recordData? Something like: event.getParams()....
0
votes
0answers
4 views

Data Extension Import Error From Excel for Mac

I'm uploading a .csv to a data extension and have pared it down to "FirstName", "LastName", and "Email" to root out the error. It's a .csv download from Webex that I'm formatting on my Mac running ...
1
vote
1answer
12 views

lightning:recordViewForm add spinner while loading data

I'm using lightning:recordViewForm and I realized that there is a bit delay. I was reading a lot here and in google but can't find any solution to this. I thought on adding a spinner on my component ...
0
votes
1answer
15 views

Apex Code - Region for as C#

I just want to know, if there is any practice like C# #Region in Apex code? I would like to be able to reduce some parts of my code in Visual Studio Code. Is there any way to do it? For anyone who ...
2
votes
1answer
23 views

Multiple REST requests in parallel?

Can we make request to Salesforce REST API's (i.e. insert or even composite) in parallel? If yes, is there a total number of requests we can make in any given time?
0
votes
0answers
17 views

Can we disable MemberInfo and Subscription Centre restrictions?

I have previously disabled this in the past for clients, however my most recent request to Salesforce have responded saying the only way to achieve this is by disabling CAN-SPAM on the account. Is ...
1
vote
1answer
24 views

Reading a file from salesforce aura helper recursion problem

I'm trying to read a file in an async way on aura helper, but recursion is not happening, is just executed once. The code is pretty simple and tried a lot of approaches but no one work. I try with ...
0
votes
1answer
11 views

I'm attempting to union 8 Data Extensions in Marketing Cloud but I'm getting errors on the syntax

I have 8 data extensions that I want to union all into one master data extension. All the column headers are the same for each DE and the master DE. The only differences in the 8 DEs are the records....
0
votes
0answers
20 views

Salesforce development best-practice

Are there any best-practice Salesforce resources for Git/Jenkins development/deployment? Surprisingly, I can't find anything current in the Salesforce docs. I have set up Visual Studio Code with the ...
0
votes
1answer
21 views

Unable to set value to the object in aura component

I am trying to populate the custom component with the record. and here is the component. <aura:component implements="flexipage:availableForAllPageTypes" access="global" ...
0
votes
0answers
6 views

Reset app after logout using mobile SDK (react native)

After I logout (using "oauth.logout()" ), I'm back at the login screen, but if I log in again, I come back at the page I was before I log out instead of the homepage of the application. I'd like to ...
0
votes
1answer
35 views

What does a URL field do that a text field doesn't?

What are the benefits of using the URL field type rather than a text field named "URL"? I did research but only found that they're limited to 255 characters (whereas real URLs are not). I also found ...
4
votes
1answer
20 views

Error creating an email send definition with a suppression list - SFMC SOAP API

I am running into issues attempting to create an Email Send Definition which has a suppression list / OptOutList using the SFMC SOAP API. However, I am able to create send definitions with source and ...
0
votes
0answers
12 views

Visualforce email template apex repeat not returning any results

I have created my first visualforce email template using apex:repeat. I am not getting any errors but I am not receiving any data. Fields outside of repeat are being populated with data. Any help will ...
-2
votes
0answers
13 views

Related Contacts in the Products

I have Four Objects(Account, Case, Product & Contact). All three Object is associated with the Account & we are fetching Product details in the Case Object base on the Contact Object. ...
2
votes
2answers
34 views

find the path of a data extension for a SQL Query

I need to find the path of a data extension that I use in a SQL Query. I can find the name of it but because the data extension structure is very messy is hard to find it. Is there a way in ...
0
votes
0answers
14 views

Action failed: c:ProjectCandidatesToOrderAssociation$controller$goToProject [Cannot read property 'length' of undefined]

I'm getting this error in my process. I'm using a lightning component which starts a flow Uncaught Action failed: c:ProjectCandidatesToOrderAssociation$controller$goToProject [Cannot read property '...
0
votes
0answers
12 views

Embed a layout inside a layout in content builder

Is there a way to insert/imbricate/embed a layout inside another layount in Content Builder without touching the HTML/CSS code? I'm trying to create a content library for the functional team so that ...
0
votes
0answers
20 views

Alternatives to RunAs for user context in test classes?

I need to run a test method in the context of a user because of a conditional default field being set based on parts of the users email address. The problem: I only need the users email address in ...
4
votes
1answer
42 views

Can you upsert using Composite SObject Tree?

As the title suggests, using the Composite SOjbect Tree request, can you upsert records using External IDs?

15 30 50 per page