All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
69 views

Decryption returns different value than was encrypted

I am tring to do a simply encryption and decryption. The encrypted blob is encoded to a base64 string so that it can be used as a parameter on a URL. It seems however that changing the encrypted blob ...
Dane's user avatar
  • 145
0 votes
0 answers
25 views

How to set the values for Permissions-Policy for custom Force.com site

How to set the values or enable Permissions-Policy for custom Force.com site ? We have one custom page build on force.com platform, upon doing the penetration testing we are getting below result ...
neel saha's user avatar
1 vote
1 answer
79 views

Does Salesforce Pro Suite allows you to do apex?

I have been looking for this answer, but can't find it. Do you guys know if you can create apex classes or triggers in salesforce Pro-Suite?.
RProgrammer's user avatar
0 votes
1 answer
56 views

Test Class for the Apex Class? In above I am calculating time spent by record in each stage? I tried writing test class but unable do test coverage?

In the below, I am calculating time spent by the record in each stage. I tried writing test classes but was unable to do test coverage. trigger Approval_Agreement on Approval_Agreement__c (before ...
sfdcram's user avatar
-1 votes
0 answers
18 views

The button "Connect to Amazon DynamoDB" is invisible

Trying to figure out to Configure External Data Source for Amazon DynamoDB in Salesforce. According to tutorials there must be a button: I've found a statement which says: "Available for an ...
pt_5858's user avatar
  • 73
0 votes
0 answers
52 views

GraphQL - WHERE clause with a set of elements

How can we pass the values Dynamically in graphql from UIAPI similar to apex by storing the values in collection element similar to the below apex in soql Apex: Set<String> Departments = new ...
Saikumar's user avatar
  • 167
1 vote
0 answers
28 views

Experience Cloud site - Well-Known URIs

I want to create three pages whose URL path will look like this: siteBase URL + /.well-known/security.txt siteBase URL + /security.txt siteBase URL + /pgp-key.txt Salesforce won't let me use dots in ...
Piotr W's user avatar
  • 11
3 votes
1 answer
70 views

Dynamically Find if Object Support Batch

I'm building a dynamic batch to get all objects and to loop through them (pet project/inquiring minds thing more than anything), but for some objects I hit the error below: FATAL_ERROR System....
Girbot's user avatar
  • 5,530
0 votes
0 answers
21 views

Split "Related Lists" component into multiple "Dynamic Related List - Single" components

I am now working on refactoring of Lightning Record Pages in an org where we used to use Page layouts. Of course moving fields was a piece of cake - thanks Salesforce for the upgrade button! But now I ...
Novarg's user avatar
  • 5,284
0 votes
1 answer
26 views

How Deep is Implicit Sharing?

When raising a Case and: Case.Account = Account Coke Case.Contact = Related to/Member of Account Pepsi Then, Case.Contact will have read access to Account Coke, right? I will now introduce a custom ...
Arvin's user avatar
  • 3
0 votes
1 answer
20 views

VisualForce page data not displaying after adding to 'Notes and Attachments'

As the below given, there is a quick action in Account page, which enters Contact details and on saving, it redirects to the Contact page where a pdf is attached in the 'Notes and Attachments' of ...
Suvankar Roy Chowdhury's user avatar
0 votes
0 answers
20 views

Collect pagelayout names per object in apex does not work for custom objects

Using this method to collect PageLayout names per object public static List<String> getLayoutNames(String objectName) { String sql = EncodingUtil.urlEncode('SELECT Name FROM Layout ...
wim van Beek's user avatar
0 votes
1 answer
46 views

Querying number field not displaying correct decimal values

I have defined the field type as currency(16,2) with 2 decimal places, but when Querying in developer console or workbench getting different value like 2.0 for 2.00 or 2 or 2.0 as input value i want ...
Pavan Kumar Hechu's user avatar
0 votes
0 answers
51 views

Named Credential - Refresh access token when not 401?

I'm trying to connect to an external system using legacy Named Credential and a custom Auth. Provider (with AuthProviderPlugin class). I'm able successfully call the endpoints when the access token is ...
sfdcnewbie's user avatar
-1 votes
0 answers
22 views

How to upload binary files like png , jpg etc to box.com using apex

I have tried to upload file to box but only txt is uploading <section role="dialog" tabindex="-1" aria-labelledby="modal-heading-01" aria-modal="true" aria-...
Ganesh Pachauri's user avatar
0 votes
1 answer
29 views

Package Upload Error Due to Low Test Coverage Despite High Org Code Coverage

I’m facing a challenging issue while trying to upload a managed package in Salesforce. Despite having an overall organisation code coverage of 85%, I receive an error stating that the average test ...
Pavan's user avatar
  • 3
-2 votes
0 answers
19 views

Report not showing complete information

Just wondering what could be the possible reason why some of the data in my report don't show some values. When I tried to run a report for 1 record only, it shows the values we needed to see but for ...
Eddd's user avatar
  • 27
0 votes
1 answer
41 views

create an LWC to display hyperlinked Record Name

It is a fresh follow up of my previous post, since i have tried few things other that sfdcfox's suggestion on my previous post. I basically need a very simple component. It should display the value of ...
user2957592's user avatar
0 votes
0 answers
12 views

What are the main use case differences of LMS's `releaseMessageContext(messageContext)` & `unsubscribe(subscription)`

Does it mean that using releaseMessageContext(messageContext) on the context messageContext would release the need to manually iterate on all LMS subscriptions? For example: I could register 10 ...
Искрен Станиславов's user avatar
0 votes
0 answers
40 views

Lightning Web Security breaks LWC code

I have custom LWC that send array data from LWC to apex controller. When LWS is turned OFF everything goes fine, but when LWS is turned ON the code stop at the line where call the apex controller. ...
Adimas Wisnu Wardana Dimdim's user avatar
0 votes
1 answer
30 views

LWC component is not storing values in screen flow

I have a LWC which stores the URL Parameters in local storage [this works] I wanted to retrieve the values on a specific screen flow. Using a display text function I tried to see the values if they ...
Dharmin's user avatar
0 votes
0 answers
22 views

In-App Messaging Conversation Status

I'm implementing the In-App Messaging SDK for both Android and iOS apps. I see that iOS provides conversation statuses(SMIConversationStatus) such as UNKNOWN, OPEN, and CLOSED. Does the Android SDK ...
Nirzari Thaker's user avatar
0 votes
0 answers
12 views

LWC screen flow component to display a blank grid for data entry

I have created an LWC in one of our sandboxes that will allow data entry in the grid and save it to a variable to be used in the flow. A blank grid is displayed containing 5 columns and 15 rows. Data ...
randy.williams's user avatar
1 vote
1 answer
49 views

POSTMAN form-data in APEX

I have a problem, I have a call in postman to add a document in base64 with some information that works fine: data and dataExp are a series of metadata to classify the document and in content64 is ...
Banzoni's user avatar
  • 31
0 votes
0 answers
30 views

LWC - Reactivity with Object and Array not working as expected

Let me preface this by saying Reactivity in LWC tends to stump me to no end. If there is something I'm obviously missing I'll take it. I'm currently experiencing an issue where I can't get properties ...
E.Hirsch's user avatar
0 votes
1 answer
41 views

Post login screen with access code

I have a requirement that user should land on post login screen when i click on link from external application. I have access token of salesforce. Is it possible to land on post login screen. When i ...
S B's user avatar
  • 543
0 votes
1 answer
63 views

Avoid parent record locking

Our customer are using the standards apis to insert record of different types that have the same parent record. UPDATE : Two of these records are the detail record of a MDR while the others are linked ...
Fabien Braconnier's user avatar
0 votes
1 answer
19 views

Colspan not working in SLDS lightning Salesforce LWC

paste the below code in w3 school HTML code. I want the same UI using SLDS lightning but the rowspan is not working as it works using plain HTML tags. I tried all possibilities but they were not ...
Adarsh Srinivasan's user avatar
0 votes
1 answer
37 views

System.JSONException: was expecting double-quote to start field name at [line:2, column:5] (System Code)

This is my request body in json format: { “Client65_ID": "0006HD24K6", “Company76_Code": "87C”, “Role65": "Project Manager" } My Apex code: @...
Thatnotsosmartgeek's user avatar
-2 votes
0 answers
30 views

Marketing Cloud - Journey Builder email sends are not being delivered

I have a newsletter journey that sends a Newsletter email. At 11:45 am and 11:58 am I ran versions of the journey and everyone received the emails. But at 12:18 pm and 12:33 pm I ran againg and no one ...
Luiza Linardi's user avatar
0 votes
0 answers
15 views

I'm unable to map the email with the activity using send email action in screen flow

I am creating an email activity using Screen Flow. My task is to select multiple accounts in the "Related To" component in the flow and send emails to them when I click the "Next" ...
Sridhar's user avatar
  • 61
0 votes
1 answer
55 views

Pass collection variable from LWC back to Flow

I have my own LWC component in my flow. The LWC component returns an array at the end with several entries of the type "Requested_Spare_Part__c". I have also configured the meta.xml as ...
q-jack's user avatar
  • 192
0 votes
2 answers
47 views

How to Determine when LWC ForEach Loops has completed

I'm tying to process logic in nested ForEach Loops and when completed set a loading flag to false. however the this.isLoading = false; code is being hit before the For Loops complete. I wondered if ...
RedQueries's user avatar
-1 votes
1 answer
33 views

Best way to limit visibility of contacts

I am looking for the best way to limit the visibility of the "Contacts" object for some users. We are a secondment company that constantly has a flow of new contacts, but also contacts who ...
Tushar Jadav's user avatar
  • 2,148
-1 votes
0 answers
19 views

Weird Debug Statement Output String not getting equal

I have this debug statement that is really weird . Question is why did it became false? I tried doing a simple code using string x and y having the same value and doing a system debug but I can ...
aSimpleRegularApexDev's user avatar
0 votes
1 answer
27 views

Best way to check completion of AsyncApexJob

I am trying to run apex test class using below code which run the test classes asynchronously ApexTestQueueItem[] queueItems = new List<ApexTestQueueItem>(); for (ApexClass cls : testClasses) { ...
Return0's user avatar
  • 317
-1 votes
0 answers
26 views

DML operation error handling in record trigger flow

I have created a record trigger flow on the account object. my requirement is when a specific filed is update on the account record then all related custom object record status goes change. Now, on ...
Gaurav Dholakiya's user avatar
0 votes
0 answers
36 views

Poppins font is not displaying on mobile devices, its overwriting sans-serif/Times new roman in SFMC email

I want to display my email with Poppins font but on mobile device its overriding either sans-serif or times new roman. Tried many things but same issue <html xmlns="http://www.w3.org/1999/...
Yul's user avatar
  • 7
0 votes
1 answer
20 views

How to verify a custom metadata type relationship field's datatype

I have a CMDT SObject called MyCmdt__mdt It has two fields Field Name Field Type SObjectType__c Metadata Relationship (Entity Definition) SObjectField__c Metadata Relationship (Field Definition) I ...
cropredy's user avatar
  • 72.1k
0 votes
0 answers
21 views

Data Cloud Google and Meta Ads Connector Objects

I need to advise a client on what data is available via the Google Ads and Meta Ads connectors in Salesforce Data Cloud. I've been searching for documentation on the objects and fields. Does anyone ...
Zack's user avatar
  • 53
0 votes
0 answers
19 views

How to Preserve Formatting in Long Text Field Input for Screen Flows

I have a screen flow that takes in input through a long text field and then inputs it into a text template used for an email. The formatting from the long text field is not preserved for some reason ...
Ethantium's user avatar
1 vote
1 answer
64 views

LWC equivalent of lightning:unsavedChanges?

I have an LWC component that maintains state for changes the user is doing, without immediately updating those changes into the underlying records. I therefore run the risk of the user "...
Phil W's user avatar
  • 37k
0 votes
0 answers
22 views

Journey is not taking the most updated Details of Subscriber

Requirement - Journey should pick up the most recent details of the subscriber while the subscriber is in the Journey. Workaround - I have created a DE with one field as SubscriberKey (relates to ...
Umang Dwivedi's user avatar
0 votes
0 answers
21 views

Including a Suppression List in your API Call for MobileConnect

I want to be able to send an SMS via API in MobileConnect. However, I want to include a suppression list. I see how you can do this via JourneyBuilder or Scheduled send, but not via API. Would I just ...
chorlesbarkley7's user avatar
0 votes
0 answers
26 views

CSS couldn't be used inside Lightning Component

So I have been learning Lightning Component for a while and I know we have styling hooks to style lightning components like lightning-card, lightning-badge, etc. However, whenever I got, let say, a ...
Hieu Hoang's user avatar
-1 votes
0 answers
39 views

I want to bypass the login credential part in experience cloud site when accessing it through LWC component

I am displaying an Experience cloud site (from another org) in an LWC component, but every time it wants login username and password. So I want to hardcode it in my code. I did what I could, but still ...
Arijit Debnath 's user avatar
2 votes
1 answer
19 views

Resolving ApexXSSFromURLParam scanner issues while preserving reasonable values

I'm doing some proactive code cleanup based on scanner results and trying to find a way to remove ApexXSSFromURLParam issues while maintaining proper functionality. Consider the code... String testMe =...
Ken's user avatar
  • 430
0 votes
1 answer
21 views

Error when installing salesforce code scanner

I am trying to install salesforce code scanner with sf plugins install @salesforce/sfdx-scanner but I am getting an error: NpmError: Failed to find @salesforce/sfdx-scanner@latest in the registry sf ...
jani_r's user avatar
  • 123
0 votes
1 answer
42 views

How to set rules in vscode salesforce security scanner

I'd like to be able to set what rules run when running the Salesforce Security Scanner from within VSCode. There are times when I'm solely interested in security issues and I want to filter out noise,...
Ken's user avatar
  • 430
1 vote
1 answer
25 views

How to display error message conditionally in omniscript based on remote action response

I have a remote action that calls Apex class from OmniScript after 'Next' click. The logic in apex class is complex and might result in a situation where user can not move ahead in the omniscript flow ...
Sarang's user avatar
  • 2,618

15 30 50 per page