All Questions

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

How to get logs in Salesforce using Mobile SDK for react native app for android when you use the syncUp metthod provided by mobilesync

We are creating an android app using mobile sdk development for react native app using MobileSyncExplorerReactNative template. As per it syncUp method is used to sync the code in offline and online ...
1
vote
1answer
22 views

How to find a sobject used in which apex class

How to find which object is used in which apex class or trigger.Ex I want to find apex classes where account object is used.
0
votes
0answers
19 views

How to make communities public which has no VF pages/custom code

I have a community where I want to display few Einstien Analytics dashboards which I want public to access without logging in. I found that we can make Community Public using vf pages in public access ...
2
votes
1answer
24 views

How to read/parse an X9.37 file via Apex?

Background X9.37 is a standard format used in electronic check exchange (when a depository institution sends an image cash letter file as a deposit to the Federal Reserve Bank, or when the Federal ...
0
votes
0answers
24 views

List view button in Lightning

I know this is not a new thing but wanted to put some more focus on it to get working solution I need to create a "List View Button" using pure Lighting (No VF Page at all). Till now I have tried ...
0
votes
0answers
24 views

Unable to convert the lead [closed]

Could somebody help me with the conversion of the lead. Below are the things that are happening when converting the lead. When converting the lead we are creating the reference check records for the ...
0
votes
0answers
9 views

Flow Get Records doesn't show Comments field in filter

I have a custom object with a custom field "Comments". In a flow, I am creating records with a certain comment value. In another scheduled flow, I'm trying to get all records with the specific ...
0
votes
0answers
21 views

how to create fields dynamically in Lightning Web Component [closed]

I want to create some Input fields dynamically in LWC. When I select a particular value in the picklist field I want to display couple of input fields. How to achieve this in LWC.
0
votes
0answers
11 views

SSO Service Down when pulling code via Haoide

guys, any idea about this error? I cannot pull code from Salesforce now. Thanks!
0
votes
0answers
29 views

Excel-like data entry in Salesforce [closed]

I have users that want to be able to easily update Salesforce campaign member record fields as if they were in rows/columns in an Excel spreadsheet. They don't like needing to click on links in ...
0
votes
0answers
6 views

Salesforce Marketing Cloud Unsubs

If person A's email address is marked as a hard bounce and is captured in all subs, Nothing is updated in CRM. But if person A updates his email address through a custom subscription center which is ...
0
votes
0answers
7 views

How to burn empty rows in excel generated by conga composer [closed]

I have used multiple conga queries in one single excel sheet, but if the query returns 0 rows, then in the generated excel sheet contains empty rows. How to remove these empty rows. Please help
0
votes
1answer
21 views

Flow Apex Action - return multiple elements?

I have a flow and due to the complexity of the logic, I moved some of the logic into apex (However I need to use minimum apex). I'm looping through some records and finding related records (I need ...
2
votes
3answers
81 views

AuraEnabled Method Causes Internal Server Error for non-Admin Profile

I have an Aura Enabled method in my class that accepts a Case record and a list of a related object records and inserts both of them. The code works fine when I'm logged in as the admin, but the ...
0
votes
1answer
21 views

Accessing query result fields

I am trying to pull values from a query result I'm performing on the Product2 sObject and am trying to save the values from the query into individual variables. My query result: |DEBUG|...
0
votes
0answers
18 views

Trigger Not Firing When Condition is Based on Custom Event Picklist Field

I am trying to update a custom date field on the Account object when an event of a specific type is created. The Event UI includes a custom type field called Type__c, and the picklist value from this ...
0
votes
0answers
19 views

Never left if condition

I've got a tricky question, my code doesn't work - suprise. I would like to return only a list of 'filtred' data but my code never leav a if condition. So when if condition return true and my script ...
0
votes
0answers
27 views

how to update field in Lightning Web Component?

In my Lightning Web Component, I have a picklist field called Applicant_attendance__C according to the value of the picklist field the Stage__c field should get updated. Stage field is a read-only ...
0
votes
1answer
14 views

I get empty spaces where the components should been located

code <aura:component controller="ProductController" implements="force:appHostable,flexipage:availableForAllPageTypes" access="global"> <aura:attribute name="soqlRequest" type="String" ...
1
vote
2answers
39 views

How to check if user has permissions to create specific object

Given User.Id, how do I check with SOAP if this user has permission to create Contact or Lead? Update: So far I've discovered only this solution: SELECT ProfileId FROM User WHERE Id='...
0
votes
1answer
14 views

Metadata API CRUD - Create Custom Object SOAP

I am trying to create a CustomObject using the WSDL metadata API. I'm getting this error Element {http://soap.sforce.com/2006/04/metadata}type invalid at this location in type CustomObject when I run ...
0
votes
1answer
13 views

Apex Specialist Superbadge Null Reference on Challenge 4

Been spinning my wheels on this for awhile. Frustrating thing about these Trailheads is no point of reference for what tests are failing on Salesforce's end that might be producing this error. Here ...
-2
votes
0answers
21 views

Getting following error [closed]

First error: Invalid integer: java.util.GregorianCalendar[time=-3,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,...
1
vote
1answer
20 views

Developer Console Overwhelmed by Logs

So my developer console is overwhelmed by logs. I have a fair amount of regularly running (light) processes that overwhelm the web Sockets. It makes it very difficult in production to look into issues....
0
votes
1answer
33 views

You have uncommitted work pending. Please commit or rollback before calling out even if we put DML in future method

I know as per documentation, we cannot perform DML and then callouts from apex class. In my scenario, I have a callout then I am performing a DML which is placed inside a future method and again ...
0
votes
1answer
27 views
+50

Global Search Bar component not available in Build Your Own community template

I have configured a Lightning Community using the Build Your Own template. I wish to add a global search box like the ones in the headers of most of the built in templates, to allow my users to search ...
0
votes
1answer
19 views

APEX Trigger Not updating numbers on Custom filed Callable_Contacts__c on Account after addition or deletion

My trigger is as follows: trigger AccountCallableContact on Contact (after insert, after delete) { SET<ID> contId = new SET<ID>(); LIST<Account> accountPhonePopulated = ...
1
vote
1answer
27 views

How get a product with a certain UnitPrice?(can I do this in a single request?)

SOQl [SELECT Name,Rating__c,(SELECT Product2Id,UnitPrice FROM PricebookEntries WHERE UnitPrice =: certainUnitPrice) FROM Product2 LIMIT 4] It return all product with some empty UnitPrice
1
vote
2answers
95 views

Is it fine to create a custom exception class that has the same name as a built in one in apex?

I need to throw exceptions within my apex classes here and there, as most of us do. In fact, we can't throw built-in exceptions so we have to create a custom one that extends from the main exception ...
0
votes
0answers
32 views

Error: Field is not writeable — for lookup relationship

I created formula field and is automatically populated the value and its working properly,please find the below formula field code IF( ISBLANK(Community__c), Name, Community__r.Name & " >...
-1
votes
1answer
27 views

Rest API response to deserialise in to map to compare the data with other object.Value is not comparing and hence campaign data is not updating [closed]

http request : My intention here to compare the resopnse data with campaign object data and then update the campaign Http http = new Http(); HttpRequest httpReq = new HttpRequest(); ...
0
votes
1answer
24 views

For:each loop is not rendering the values as per the sequence after updating the list items [closed]

I have an LWC requirement where I have to show all tasks of a record in reverse chronological order. There is one Hide Call Tasks checkbox, on click of which, I need to hide/show Email Tasks. For this ...
0
votes
0answers
27 views

What are the considerations when deleting the All Subscribers list and only adding contacts when emailing them?

I'm in the process of cleaning up our MC database to save on costs and improve efficiencies. My question: Considering our setup below, what would the downsides be if we were to delete our All ...
0
votes
0answers
20 views

How can I Authorize an existing Project in VS Code

I am new to VSCode and and trying to switch from Eclipse and this is becoming already painful.My end goal is to reconnect an existing project I already created with an existing Sandbox. I already ...
0
votes
0answers
23 views

Measure based on an email sent in journey builder where entry is a salesforce campaign

I have a journey where the client would like to add subscribers via sales cloud (no problem), And based on their tracking we are gonna do x amount of actions. Normally I would create a filter based on ...
0
votes
0answers
25 views

how to handle platform events from flow when received as a batch at once

I am creating a flow that uses an Apex action that calls multiple future methods in quick succession and publishes platform events for each of them when they are done. There is also another flow with ...
0
votes
1answer
28 views

Accessing Token Introspection end points in a PKCE Web Server Flow

When using PKCE flow, I generate a code verifier and code challenge pair - appending the latter to the authorization request and the former to any subsequent calls to the token endpoint. But what ...
0
votes
0answers
18 views

Redirect in LWC using in Visual-force [closed]

I have a custom Login Page in LWC using in Visual-force. If the Login credentials is successfully validate we need to show the user information in another page. I have the Login page, But not sure it'...
0
votes
1answer
22 views

Get contacts created by lead conversion

I was stuck at a point where I need to get the contacts created by lead conversion. Can someone tell me how to query those contacts when a lead is converted... I am new to salesforce so please help me ...
0
votes
0answers
12 views

How to disable the debug logs from managed package

I am getting lots of debug logs whenever I am opening developer console window my own executed script gets vanished due to the bulk managed package debugs
0
votes
0answers
17 views

Salesforce removing line breaks when importing data from CSV

We're currently busy with a migration of data from our old system to our brand new Salesforce system. As part of this migration, we're migrating data fields that contain flat text with line breaks, ...
-1
votes
1answer
25 views

writing a program for Transferring ownership owner to owner for all objects

I'm writing a program for transferring ownership dynamically. But It has to work for all objects. Public Class TransferOwnership{ @AuraEnabled public static string tranferRecordOwnership(String obj,...
0
votes
1answer
26 views

Can the same number be used for two different types of SMS?

Is it possible to use the same number for two different types of SMS in MobileConnect? For instance, I'd like to have an outbound message and a text response message, both with the same number. Can ...
0
votes
0answers
13 views

Adding select field to Datatable

I have a datatable that is using columns created in my controller. Here is part of the code for the component that creates the columns: onAccountsLoaded: function( component, event, helper ) { ...
-1
votes
1answer
37 views

How to throw an error using trigger, if an opportunity already having a quote and agreement, and agreement status = in Effect?

when I create a quote (using a button on opportunity object), I want to throw an error when Status Category = 'in effect' and there already exists a primary quote i.e Primary Quote Is Checked. ...
0
votes
0answers
35 views

How to access a properties' get accessor of another instance within its class?

I have a simple class with a property and a parent that is of the same type. public class BasicProperty { private BasicProperty parentProp; private Integer myCounter = 0; public Integer ...
0
votes
3answers
28 views

Inline Content Block in Template

For SFMC Email Studio, i have create a Template-Based Email, I have also create a Content Block which uses the placeholder %%firstname%% to return the text True if it is not empty and False if it is ...
0
votes
1answer
10 views

Campaign Member on Contact Related list

how can I add "Campaign Member" to the Related list on the Contact object? The Campaign Member has a lookup relationship to Contact and it seems to be fine. The only object where can I show Campain ...
0
votes
1answer
9 views

Standard Lead Convert Action on custom Lightning Component

Is there a way to call the existing standard action of Lead Convert inside a custom lighting component? I need to show a modal with some validations and if it seems correct by the user, click inside ...
0
votes
2answers
27 views

Can I update a DE that has no primary key using SJSS? What if there is truly a unique value it's just that no primary key was set originally?

My business partners want an Anniversary journey (based on when a consumer came into our Welcome journey). The welcome journey is based on campaign data from SF since we do have the MC connector. ...

15 30 50 per page
1
3 4
5
6 7
2033