All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

how to redirect on opportunity page [in sf1 only] in salesforce one using javascript navigate methods

<apex:component controller="SF1_UserAgentIdentifyController"> <h5><div class="alert alert-info" role="alert">{!message}</div></h5> <button class="btn btn-lg btn-...
0
votes
0answers
4 views

Sales Force can't setDeviceToken on new SFMCSdk

I migrated to SPM with MarketingCloudSDK 8.0.3 and SFMCSDK 1.0.2. I got Missing or invalid Device Token with status Not Opted In. After debugging, I got a problem when doing setDeviceToken. Below is ...
3
votes
3answers
7k views

LWC - CSS color fill for lightning:icon not working

I'm trying to color the utility "up" and "down" arrows that SLDS provides. I've confirmed that my CSS selector is correctly selecting the SVG icon in my browser console $$('.down svg'), but the fill ...
1
vote
2answers
2k views

Error : Value provided is invalid for action parameter 'recordId' of type 'Id' in LWC imperative call to Apex

I have a simple LWC component that shows Contacts of a selected Account, i am calling the Apex method imperatively from my JS code while passing the Account recordId. Here is the Apex method signature ...
1
vote
2answers
1k views

Overriding the Cancel button of a force:createrecord lightning component

Created a aura component and have overrided this component with NEW standard button . On click of save, record gets created and redirect happens successfully. The problem is, while clicking the cancel ...
1
vote
0answers
6 views

How does objectTranslation files work for renaming standard fields

We are working with salesforce dx. When I try to relabel a standard field in Salesforce and retrieve that change into dx, the change goes to objectTranslation files. However, by looking at the file ...
1
vote
2answers
11 views

Why is the table generating too many rows (LWC)?

As you can see in .js, the table has only 1 row, but it is generating 5 rows... I don't understand why. .js file import { LightningElement,track } from 'lwc'; export class Table extends ...
0
votes
2answers
1k views

I'm adding a Picklist on my LWC, but it renders as a Multi-Select Picklist. Issue on 'Line 11'

<template> <lightning-record-edit-form object-api-name="CaseProduct__c" density="compact" record-type-id="0120C000000AyCIQA0"> <lightning-messages> </lightning-...
0
votes
1answer
785 views

recordId is empty when overriding edit button in lwc?

I needed a custom popup for creating and editing a record. To achieve this I have created a LWC which will create and edit the record. I had wrapped this component with an aura component. and ...
2
votes
3answers
2k views

How would I deploy history tracking for the owner field using ant?

I am using visual studio code to retrieve source from the org and then deploying changes in ant using the package.xml. Is there a way to grab the history field tragging flag for the standard field "...
-3
votes
0answers
29 views

I need to update field from one object to another object and vice versa using triggers in salesforce

I have two custom objects called Jobs & Job Order. Whenever i tried to update on Jobs object it should automatically update on Job order object, Similarly whenever i tried to update on Job Order ...
0
votes
0answers
8 views

SalesForce Action Button Not Passing Variables?

I've created a flow to clone Quote and related Quote Line Items (using this as a loose guide). I'm working in a sandbox environment. When I run 'Debug' in the Flow builder, the flow executes as ...
0
votes
1answer
14 views

How to revert google map marker to previous icon

Requirement is to plot multiple locations as markers on map (flag icon) on click of any marker(say A) that marker icon should change to default google marker icon but condition is after clicking ...
8
votes
1answer
236 views

Spring 22 testmethod GACK when assigning a PermissionSet to a newly-created user

If you have this testmethod: @IsTest private class NewSysadTest { @IsTest static void testSuccess() { User testUser = new User( username=UserInfo.getUserId()+'.'+ (DateTime.now()+':'+...
0
votes
1answer
192 views

Get user timezone label value in formula filed salesforce

I have created a formula field User Timezone and I want the current login user timezone value. I have written the formula User Timezone = TEXT($User.TimeZoneSidKey) but I am getting the value Asia/...
0
votes
0answers
4 views

Salesforce FSL App "ASSET SERVICE HISTORY" Offline records not showing

Salesforce FSL app Offline data visibility issue. I have done the FSL app Data Sync and after that, I am able to see the records in offline mode but ASSET SERVICE HISTORY records are not showing ...
0
votes
1answer
11 views

How could I avoid nested for each in a HTML (LWC component)?

I'm starting to create a modal like in this picture, but I only got it doing nested for each (line 42 and 43 of the .html) for the table. That's not good practice, right? So how could avoid it? I ...
3
votes
1answer
709 views

SF1 sforce.one.createRecord and subscribing to publisher actions

I am having a issue subscribing to publisher events such as publisher.showPanel and publisher.post within SF1 when I fire a sforce.one.createRecord modal. gist of sample code: https://gist.github....
-2
votes
0answers
14 views

How to write a test class for a picklist (Salesforce) [duplicate]

I have this following picklist class for which I am trying to make a test class but I' stuck //Método picklist Origem do Lead public List<SelectOption> getOptions(){ //...
0
votes
0answers
28 views

I need to do a post method using json by rest api

Class: HttpRequest req = new HttpRequest(); HttpResponse res = new HttpResponse(); Http http = new Http(); req.setEndpoint('xxxx'); req.setMethod('POST'); String username = 'xxxx'; String password = '...
0
votes
1answer
23 views

How remove multiple spaces from old contacts?

I have a problem with integration when a contact have multiple spaces, I already did a validation rule to not save if has, but I desactivated and put on a trigger of before insert and update with a ...
9
votes
2answers
560 views

Field filter does not Work for Text Formula field used in SOQL

I have a simple SOQL query on Account which has a field Full_Address__c which is joint of Billing Street, City Zip. When I use this field as a filter it doesn't return the records: Example: String ...
0
votes
0answers
31 views

How to use external api using apex triggers

I want to trigger an event when a job is created. It should create this job in the livehire too. This is my class where I am getting access token public class _Token { @future(callout=true) ...
8
votes
1answer
115 views

Exeception line numbers are not reliable

I spent quite some time debugging an issue because the stack trace line numbers were not correct and wanted to share my findings. The problem seems to be 10 Years old and fixed, but under specific ...
0
votes
2answers
29 views

Attempting to use SLDS Examples: are they using JS on the back end?

Attempting to get this example to work on my own visualforce page. The example is pulled from this link: https://www.lightningdesignsystem.com/components/lookups/. Is Salesforce using a JavaScript ...
0
votes
0answers
8 views

Portal Self-Registration Questions for Existing Relationships

This is a bit of a two part question, so bear with me. We are using Salesforce combined with a Loan Origination platform (nCino). We recently started the roll out of our Online Application process ...
0
votes
1answer
11 views

Append SubKey to DE via Email Lookup

We are trying to figure out if this is feasible: A vendor has a product that triggers a journey, however in their payload, they can only send the email back and the payload is unable to be modified. ...
0
votes
0answers
15 views

Colspan and Parameters

I am trying to get my quote pdf "totals" and "Quote Currency" column (on the far right) to be centered in my pdf. I have used Colspan to achieve this but it doesn't seem to be ...
0
votes
1answer
53 views

Push a new field into an empty obj inside of a JSON payload that has been parsed

Trying to target the empty obj inside of my JSON payload I am parsing with my setter to add a field that my HTML can target to render "No activities" under the lightning-accordion inside of ...
-1
votes
0answers
6 views

Custom binding for a date widget

Hi I have a requirement where we need to show the the current year and previous year sales in the chart based on the date selected by the user in the date widget If a user selects a date for last 6 ...
1
vote
1answer
465 views

Remoting request invalid for your session

Any possible way to keep the remoting request still working. Let's say a guest user was on our visualforce page and open a new window and do the login. Out visualforce page is a single page ...
0
votes
0answers
20 views

Update queable apex with list iteration for loop to process 10 records at a time

I have an existing queuable apex class that is taking a collection of records from an autolaunched flow and passing them via the List recordIDs ivocable variable. There is an iteration for loop to ...
0
votes
0answers
14 views

How to report a crash in the SFMCSDK (iOS Marketing Cloud SDK version 8.0.1)?

I would like to report a crash that has started occurring after upgrading to Marketing Cloud iOS SDK version 8.0.1. Our volume of users is quite high on certain days of the month and we recorded a ...
-1
votes
0answers
21 views

Need create queues for product group

How create queue for product group! I have apex class with help i create new Lead and i have apex trigger and with him help i create product! But i don't know how create queue for product group. ...
6
votes
1answer
2k views

Trying to get SymbolTable of an Apex class and get null

I'm quering Apex classes using Tooling API QueryResult queryResult = toolingConnection.query("select Id, ApiVersion, Name, NamespacePrefix, SymbolTable, Body from ApexClass where NamespacePrefix = ...
0
votes
0answers
10 views

Blank Visualforce Iframe in a LWC in Mobile App

We're trying to render a Screen Flow programatically from a LWC. This is done by creating an aura app (with lighting:flow) in an a Visualforce page. This Visualforce page is then loaded in an iframe ...
0
votes
1answer
4k views

Attachment in Web-to-case using API

Already gone through many different links and even a same question which suggests to use REST/SOAP API, i did a lot of things, create VF page and publish it on Site, created API but still not able to ...
0
votes
0answers
27 views

How to add Date between filter top of List view in Standard/Custom object listview

I have a use case from client to keep same listview but to add Date between filter top of List view based on specific field of Standard/Custom object listview. Say client want to see date range of Opp ...
0
votes
1answer
10 views

Can we add the same remote site settings to two packages with the same namespace?

Is this possible to include the same remote site settings to two packages with the same namespace? I mean, won't this break the installation of these two package into the same org?
0
votes
0answers
8 views

How show external html header in Salesforce community/experience

I have to replace community header with AEM header(external html site) and based on dynamic AEM site header URL. CMS Connect does not support dynamic URL. We can only provide a fix header in CMS ...
0
votes
0answers
17 views

How can I debug the journey builder Hard error "This contact is missing a required attribute."

I have used DE as an Entry source in the journey and this error came up in b/w the journey, the email-01 sends were successful, after the wait duration of EM-01 this issue came up while sending EM-02 ...
1
vote
0answers
10 views

How to disable CRUD/FLS check from fflib domain layer for only some specific flows. By default it is enabled for all flows using base class

1- I am using fflib for my managed package. 2- By default CRUD/FLS are enabled for all domain/selector flows (Using Base class) 3- In a specific method which is used by site guest users, I want to ...
0
votes
2answers
38 views

Using the Marketing Cloud REST API, can a value in a row in a data extension be changed if the column is part of the primary key?

I am considering using this endpoint: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/putDataExtensionRowByKey.html to insert and update (UPSERT) values. Is it possible to use ...
1
vote
1answer
462 views

Automatic GA tagging breaks some urls

we asked Salesforce to activate the automatic tagging for our urls in mails for our business units. But after the activation of the feature (utm_medium, utm_source) some of the links coming from a ...
0
votes
0answers
18 views

Create trigger custom object [closed]

I have created a custom payment object, which has a master-detail field opportunity and an amount field, help me create a trigger that will change stage opportunity to closed won if the amount in ...
0
votes
1answer
18 views

"My Calendar" Create via flow or apex?

I contacted salesforce support but they just told me that it's possible. I would like to ask if there is a way to create "My Calendars" via flow or process builder. Because these are the ...
3
votes
2answers
3k views

How to make a Lightning modal window pop-up with a quick action?

I am new to LWC development, but I do know my Apex code and VF pages. What I am looking for: clicking a quick action on a standard Lightning record page should open a modal Lightning window (which I ...
-1
votes
0answers
27 views

I want to write validation formula which have 6 character, with one number one Upper case letter and one lower case letter [closed]

I want to have a field that will have prefixes as below and can be input in only the following way. Prefix needs to be #PNR- The number of digits after the prefix: 6 The digits at least have one ...
1
vote
1answer
24 views

How to refresh dependent dual listbox in LWC

The attached image is an LWC, in which Category is a controlling picklist (Combobox) and Sub Categ is the Dependent Picklist. Eg. Category 1: Sub Categ 1,2,3 Category 2: Sub Categ 2,3 I am storing ...
3
votes
1answer
15k views

CANNOT_EXECUTE_FLOW_TRIGGER Error

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be saved because it failed to trigger a flow. A flow trigger failed to ...

15 30 50 per page
1
2 3 4 5
2400