All Questions

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

Retrieve form fields thru Pardot API

The Pardot APIs all have a /form endpoint but judging by the docs there is no attribute for "fields". Is it possible to retrieve form fields thru the APIs?
user avatar
  • 3,766
1 vote
1 answer
32 views

"Variable does not exist" error where variable is a class does exist

I have an Apex class OpportunityUpserter with a static method, where the static method makes a call to another static method in a class called IntegrationUtilities, as shown below. This gives me a ...
user avatar
  • 113
0 votes
0 answers
24 views

Community/Experience Profile User does not obey DMLOptions - triggerAutoResponseEmail = false

When running this code as a community user to create a case the Auto-Response email rule is being triggered Case myCase = new Case( AccountId = company.Id, ContactId = ...
user avatar
0 votes
0 answers
34 views

Running the Data Loader from the command line

I'm trying to setup a scheduled export with the data loader. I'm trying to follow the instructions provided by Salesforce here but can't get past Step 1. Has anyone had a similar issue trying to ...
user avatar
1 vote
0 answers
23 views

How to make a single column editable in Visual Force?

I am using visual force to show the parent and child at a single table. Now I want to make a child column editable. When I click on Class Notes Only the first row is editable but another row is not ...
user avatar
0 votes
1 answer
17 views

Flow Decision Condition is failing

I have a custom Object Request__c These are the fields on the Request__c record Account_Executive__c (lookup to Contact record) Central_Services__c (lookup to Contact record) Opportunity__c ...
user avatar
4 votes
0 answers
35 views

How to use loadScript with Light DOM in LWC - getting error "Invariant violation: Expected template to be an object"

I'm trying out the Light DOM beta as I want to see how it will work with certain 3rd party libraries, but I cannot load a 3rd party javascript resource. I have the following component on a Salesforce ...
user avatar
2 votes
0 answers
27 views

Can I use exclusively declarative automation to merge records?

I am working to build an automated process that will find two records that meet a set of criteria and merge the two records. It seems like in a perfect world, there would be a pink "Merge records&...
user avatar
0 votes
1 answer
56 views

Getting a null error in Jest test

i am new to LWC and jest test.So while doing the testing i have got an error. TypeError: Cannot read properties of null (reading 'style') html <template> <div class="slds-grid slds-...
user avatar
-1 votes
0 answers
14 views

Script or any way to change all my org Profile session time out time in session settings

Is there any way to create a script to change sessions setting to over 60 profiles in my org? I need to change the session time out option in profile session settings for all profiles (over 60). If ...
user avatar
0 votes
0 answers
18 views

Not able to pass a filter value to report from 'URL which navigates to a report'

I want to pass a 'parent object record id' to a URL which navigates to a 'report of child object records', and the report should be filtered out by the passed parent record Id as parameter. I'm ...
user avatar
0 votes
1 answer
19 views

Getting Error an LWC error when a user clicks in detail page

A user is getting this error everytime they try to make an edit on their detail page on a case record: [LWC component's @wire target property or method threw an error during value provisioning. ...
user avatar
0 votes
0 answers
19 views

Trying to set up tracking of URL parameters on an SFMC CloudPage - for traffic from FB ads; and write UTM parameter values into a DE

I am new to CloudPages, and have been trying to see if I can retrieve and record UTM parameters' values (in SFMC) - from URLs/visits from our FB ads. I have found some examples of how to record ...
user avatar
0 votes
1 answer
26 views

Cost of a Managed Package

I have developed a scheduling systems within salesforce that I would like to consider reselling. What is the cost to produce a managed package.
user avatar
0 votes
1 answer
38 views

How to populate records into specific wrapper structure?

There is an external system, from which I need to pull (via REST request) information about, let's say, brands and their categories. After the request, I need to collect the data in such structure: ...
user avatar
0 votes
1 answer
29 views

Performing a query via REST-API - Solve encoding problems

I am using Guzzle as my PHP HTTP client to perform api-calls. This worked great so far, for retrieving my access-token for example. However, now that I am trying to perform a query search I get a ...
user avatar
-1 votes
0 answers
20 views

Duplicate object with same field

With this code , I successfully duplicate the object Template__c by creating a new one . I need to do the same thing for the object Template_Section__c . Using the same function , and I want to have ...
user avatar
3 votes
0 answers
64 views

Apex tests fail in Dev Console Test Suite but pass when run individually

Background There is a test utility class Class is marked as @isTest There are 5 methods Methods are not marked as @isTest because they have parameters All methods are static All methods call ...
user avatar
  • 2,119
1 vote
2 answers
36 views

Prepopulating company name in Lead object

I want to prepopulate the Company field in the Lead object. The idea here is that I don't want a Company Name in my Leads ie the Account object is not necessary for me. Now, as you know the company ...
user avatar
  • 109
-2 votes
0 answers
29 views

Constructor not defined: [GenerateGLpostingBatch].<Constructor>()

I'm trying to delete a trigger (a simple task) but for some reason, I keep receiving the following error no matter how I delete/amend the trigger. Constructor not defined: [GenerateGLpostingBatch].<...
user avatar
-1 votes
0 answers
21 views

Unable to edit cloned quote due to record type

My issue is that I have made a quote record non-editable(read-only) for all users except the admin. I've achieved this using changing record type based on some conditions. Read about record types here....
user avatar
  • 109
0 votes
1 answer
32 views

SFMC - Preview Email Link (not view_email_url)

I've created some ampscript which will create a Note on the contacts account to let the account owner know this account has been sent an email. Inside the note contains the view_email_url so the ...
user avatar
0 votes
0 answers
21 views

What is a reified column and how to get all value from it?

There are some objects (like FieldDefinition or AppTabMember) that when you want to uses SOSL SELECT all data from them, it fails with "a filter on a reified column is required". I have a ...
user avatar
0 votes
0 answers
17 views

what are the risks of passing external id in patch url of inbound callout to salesforce from external system using standard Rest API?

We are creating a connection to external system. For this we are not using custom webservice instead using the Salesforce standard Rest API by using its functionality of Patch by passing the external ...
user avatar
-1 votes
0 answers
12 views

Flow error when trying to call action that navigates to record detail page. Can someone help me with this?

detailPageNavigation.cmp <aura:component implements="force:lightningQuickAction, lightning:availableForFlowActions, lightning:availableForFlowScreens"> <aura:attribute name="...
user avatar
0 votes
1 answer
29 views

What is the meaning of double percentage signs with square brackets?

I am currently working inside a Marketing Cloud Landing Page. The page has code inside an HTML block. Some of the code is within a script tag like this <script type="text/javascript">...
user avatar
  • 3
0 votes
0 answers
16 views

Content Tagging Images

In the Setup>Feature Settings> Tags, I found some tags. Have they been created automatically? I see that images I already have in the Content Builder have tags, but now if I uploaded a new one ...
user avatar
  • 11
-1 votes
0 answers
20 views

Open activity and Activity History Related list is not showing in lightning for Case

we are working on case object where we have added two related list (Open activity and Activity history) on page layout. The issue that we are facing is when we are on classic being any user (be it ...
user avatar
0 votes
1 answer
7 views

duplicate alias: name error while grouping

We are using bundle products in salesforce and I am trying to display the Order products in a PDF document which I am creating using VF page. In the Order detail page the Bundle products appear ...
user avatar
0 votes
1 answer
14 views

Do not render data when lightning-accordion is collapsed

I have a lightning accordion and lightning accordion section with some data when they are expanded. I would like to show/render this data only when the accordion is expanded/open and when it is ...
user avatar
0 votes
0 answers
7 views

How to display the Order products in the same Order as they are shown in Order detail page

I am trying to fetch the CPQ bundle products and show it in the PDF in SOQL. But the Order products aren't getting fetched in the same Order as they are shown in the Order detail page. They are ...
user avatar
0 votes
1 answer
18 views

Unknown field error when importing records with Inspector

I'm trying to import records from one sandbox to another that is a exact copy withouth records. I export CSV records with Inspector from one sandbox. Problem is when I paste CSV data in Import Records....
user avatar
  • 155
0 votes
1 answer
14 views

Run Trigger handler class in execute anonymous with old map newmap

Trigger createCbQuoteTriggerHandler.getOpps(Trigger.new,Trigger.oldMap); Handler class public static void CreateOpportunity(Map<Id,Opportunity> oldData, List<Opportunity> newData){ ...
user avatar
-1 votes
0 answers
25 views

Implement AutoSave feature in Salesforce

I want to implement Auto Save feature in the comment tab of Case in Salesforce. That means, whenever a user is writing a comment in any case, rather than clicking on the Save button, it should ...
user avatar
0 votes
1 answer
29 views

Aggregate result not working in soql query

im new to visualforce and i have this problem: I have a sObject with customField1__c, customField2__c, customField3__c. In my main page (with a standard controller and an extension) i want to display ...
user avatar
0 votes
0 answers
18 views

a method in contentversion trigger return "List index out of bounds: 0"

i am making a content release trigger with a method to update the mobile business app for my work. The objective of all this is to send the data stored by the SNOTES and store it in the backend of the ...
user avatar
  • 21
0 votes
2 answers
30 views

How to rewrite that ternary operator code to if-else?

I can't understand that part of the code - how to rewrite this to if-s and else? Especially the partthis.map1?.containsKey(custom_object__c?.workflow_status__c) List<custom_object_2__c> ...
user avatar
  • 1
0 votes
0 answers
21 views

VSCode .gitgnore not ignoring .sfdx folder

As in the title, I've encountered a problem with the .sfdx/ folder in my repo. After cloning the project it sees some local changes in the typings/lwc and typings/tools folder. .sfdx/ folder is ofc in ...
user avatar
-1 votes
1 answer
21 views

How to connect Marketing Cloud to Tableau CRM? [closed]

I would like to connect Marketing Cloud to Tableau CRM. How can I do it?
user avatar
  • 11
0 votes
1 answer
44 views

Apex Class CallOut

I'd like to apologize in advance as I'm quite new to writing APEX Classes / Triggers. I've followed a tutoriel of which the aim is to POST a comment to an external system, in this case it's Jira. I ...
user avatar
-1 votes
3 answers
29 views

How to retrieve the one particular lwc component (only one) from org to vs code?

We all know that it is possible to retrieve all the lwc components from org to vs code using the manifest file but I need to just get only one lwc component from org. Is there any way to do so please ...
user avatar
-3 votes
0 answers
31 views

Uncaught Error in $A.getCallback() [Unexpected token < in JSON at position 0] Callback failed: apex://GDNewsApiDetails/ACTION$GetNewsDetailsforSingleC

Hi I'm getting this error when lighting component was loading. Uncaught Error in $A.getCallback() [Unexpected token < in JSON at position 0] Callback failed: apex://GDNewsApiDetails/ACTION$...
user avatar
0 votes
1 answer
20 views

SAP for a custom domain

We have a private domain which is not purchased from Salesforce. And we are planning to use a sub-domain for SFMC and we want to self host the DNS records. so is it necessary to do the domain ...
user avatar
0 votes
0 answers
9 views

Is it possible to make the Case Deflection Satisfaction questions mandatory in the component?

PROBLEM: We are using the case deflection component on our community site and we are wanting to get more engagement from the Satisfaction suggestion prompt. We are finding a very low number of users ...
user avatar
  • 81
0 votes
0 answers
20 views

Unable to deploy aura component to sales force org

Trying to deploy single aura bundle to production org. If validation is successful, it will generate a package which we will deploy to prod. Quick Deploy button is activated once validation is ...
user avatar
0 votes
0 answers
28 views

Not able to retrieve source from org using vs code

I am trying to retrieve all the metadata from my developer org through vs code but I am facing this issue : sfdx-project.json file. Add this location to your "packageDirectories" value, or ...
user avatar
  • 53
-1 votes
0 answers
33 views

Write the following apex trigger [closed]

Anyone can help me to write following trigger: Find the first 2 contacts with the highest salary and update the name in a custom field separated by a “,”. Create a new custom text field on account ...
user avatar
0 votes
0 answers
25 views

SSJS - Parsing script / no error but the records are not being pushed into Data Extension

I wrote a SSJS scripts for parsing a record, however, the records have not been pushed into Data Extension even though the automation ran successfully as I mentioned. Below is the SSJS script that I ...
user avatar
0 votes
0 answers
39 views

Is it right way to check CRUD Permission in LWC?

import { LightningElement, wire } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import ACCOUNT_OBJECT from '@salesforce/schema/Account'; export default class CheckPermission ...
user avatar
  • 1
0 votes
2 answers
33 views

How to query/make a report for All fields on All objects?

We have a very old org with many objects and unused fields, how can i query/make a report to find all fields for all custom objects, and order them by lastmodified date? the goal is to find which ...
user avatar

15 30 50 per page