Questions tagged [documentation]
The documentation tag has no usage guidance.
129 questions
1
vote
2
answers
85
views
Salesforce: Batch Apex: State
I need to know something about a class that implements the batchable-interface.
If I have a constructor defined, that initialize a non static member variable:
Will the constructor be invoked for every ...
0
votes
0
answers
111
views
React Native Marketing Cloud SDK Kotlin initialization
I'm currently in the process of adding the Salesforce Marketing Cloud SDK to our React Native app, following the instructions posted in the README here: https://github.com/salesforce-marketingcloud/...
3
votes
0
answers
72
views
Salesforce database providers and infrastructure [closed]
I've heard from some architects (in person) that Salesforce database on classic instances runs on Oracle infrastructure, while Hyperforce runs on PostreSQL.
I tried to find some official Salesforce ...
0
votes
0
answers
30
views
Seeking Insight into iparse.io Functionality Within Salesforce
Could someone kindly explain to me how iparse.io operates internally within Salesforce, or provide a reference to documentation? I have reviewed the documentation available at the following link (...
2
votes
0
answers
22
views
Official feedback mechanism for Developer Preview and Beta Features?
There are several new features in Spring '24 that are in Developer Preview or Beta. In the past, I thought the release notes included information on how to provide feedback on such features, but I ...
0
votes
1
answer
76
views
Where to report Salesforce documentation mistake/typo?
Reading through Salesforce documentation, I've found several mistakes and typos. Where to report them?
0
votes
0
answers
30
views
Is there a way to pull a list of fields needing read-only (for lookups) and edit (for create/update) access in order to run a specific flow?
As we transition from profiles to permission sets, I'm being asked to provide a listing of all fields needed in order to run a few certain flows to ensure we have all the permissions we need, and not ...
1
vote
1
answer
174
views
Understanding Salesforce Developer Docs
Where can I find resources that explain the layout of Salesforce docs. Like what the different detail subtitles are and mean. For example, what does properties mean and what is the full list of values?...
5
votes
3
answers
2k
views
Is there a *public-facing* list of GACK codes?
While Salesforce's internal processes are somewhat shrouded in mystery, we have been allowed a high-level look at the GACK process.
What our team is noticing is that certain GACK IDs are consistent : ...
1
vote
3
answers
133
views
When should a developer use doc1 over doc2 re: data table development in LWC
I'm curious why such rich documentation for data tables exists in two locations.
Are both intended for LWC developers? Why are there 2 doc endpoints about similar topics?
Doc1: developer.salesforce....
10
votes
2
answers
790
views
Async SOQL retirement
I see the note Asyc SOQL is scheduled for retirement in all Salesforce orgs as of Spring ’22 on SOQL and SOSL Reference.
Is this a glitch in the documentation?
0
votes
1
answer
379
views
Salesforce Marketing Cloud - SOAP API - Python - Usable Properties For Data Extension Object Type
Is there documentation outlining all usable fields to pass into your SOAP packet when retrieving information on the DataExtension Object Type? I thought the below link was outlining usable fields with ...
0
votes
0
answers
135
views
Tool to extract custom objects including field names, descriptions and types into documentation?
I want to create HTML documentation pages like this for 50+ custom objects containing 1000+ fields.
I'm aware that there are APIs for this information and that I could write my own tool (and did so ...
7
votes
3
answers
3k
views
List of all Salesforce Implementation guides
Is there a directory / list of all Salesforce implementation guides? I find the content in those guides go deeper than trailhead, and I prefer those.
4
votes
0
answers
425
views
Deactivating a user related to Service Resource
This help article states
Deactivating a user deactivates the related service resource.
while this one states
Deactivating a user doesn’t deactivate the related service resource.
With summer '22 ...
9
votes
2
answers
1k
views
How to document LWC Salesforce components public variables with JSDoc?
JSDoc skips my public LWC variables.
Here is an example:
/**
* SomePublicVarName mode - default is false.
*
* @type {boolean}
*/
@api
somePublicVarName = false;
If I ...
0
votes
0
answers
142
views
RN Documentation for Troubleshooting MobilePush
For my question ref to push notification not received, Bill mentioned that I may have
failed to follow the multiple push provider implementation instructions (ref. https://salesforce-marketingcloud....
2
votes
1
answer
850
views
Lightning: Need help understanding @AuraEnabled(cacheable=true)
Going through the Developer Guide I found this statement.
To set cacheable=true, a method must only get data. It can’t mutate data.
Does data mutation only refer to DML operations?
I have a method ...
1
vote
1
answer
1k
views
Android 12: Mutable or immutable PendingIntent
As per your “How to Customize Notification Handling” documentation, one can pass a PendingIntent to SFMCSdk.configure (or MarketingCloudSdk.init) in order to open an Activity of choice from the ...
1
vote
1
answer
214
views
Pardot API docs contain typo in the URL Endpoint
I tried sending calls to the URL's listed on this page and it returned a login page html or a 404 depending on the client I am using (python vs postman)
https://developer.salesforce.com/docs/marketing/...
-2
votes
1
answer
208
views
Getting data for Enhanced Profiles via API query
First of all, I want to say I'm not a Salesforce user, so I apologize if I misunderstand any of the basic concepts of this system.
I'm writing an integration with the Salesforce API. I have been asked ...
0
votes
1
answer
154
views
Documentation for Singleton in Salesforce has incorrect information
I was reading through the documentation in salesforce for using a singleton pattern and it is mentioned.
Limiting Impact of Governor Limits - certain system objects and methods, such as Apex ...
0
votes
2
answers
848
views
What is the best, easiest and most automated way to document a Salesforce org?
As the title suggests, what is the easiest way to document a Salesforce environment, in particular Apex Code and Flows. I've been looking at ApexDoc, but this has not been maintained for the last few ...
1
vote
3
answers
3k
views
How are stored percentage fields ? They don't always return the same value
I have a field of type Percent(3,2) named Sector__c.VatRate__c.
I initialized it with anonymous apex withe values like 5.5, 10, 20, etc. The code looks like that :
sec.VatRate__c = 10;
update sec;
...
0
votes
1
answer
280
views
What is a probe query?
Recently, I've found an unknown origin value in ReportEvent logs. The documentation is inexhaustive on the subject.
According to all Salesforce documentations, the ProbeQuery event report type origin ...
5
votes
1
answer
2k
views
Apex compiler claims that "ShippingStateCode" does not exist, but the documentation says it is always present
Variable does not exist: ShippingStateCode
While trying to compile a code with the following variable defined, I'm getting the error above.
private static Map<String, Schema.SObjectField> ...
3
votes
1
answer
1k
views
Is there any OpenAPI or Swagger definitions for Marketing Cloud?
I would like to know if there are any OpenAPI or Swagger definitions available for Marketing Cloud API either REST or SOAP.
Thanks
3
votes
0
answers
357
views
How do I apply formatting to method descriptions in Apex / VSCode?
VSCode, when showing a tool-tip for an Apex method, will show the description of that method as defined in the fairly standard format:
/**
* States that the next method definition is expected to be ...
0
votes
0
answers
73
views
Is there Salesforce documentation on RestResource Object?
I'm following a design pattern set by one of our devs.
RestResource.RequestBody requestBody = RestResource.getRequestBody();
I'm trying to find documentation on this object, but I can't seem to ...
1
vote
0
answers
905
views
Self documenting LWC components [closed]
I would like our lightning web components to self document on confluence. Kind of like javadocs for LWC. One idea I was thinking about was to have a nightly job that runs and uses JSDoc (https://jsdoc....
0
votes
1
answer
447
views
SFMC Journey Builder Custom Activity Failed event without any error message
I created a Custom Activity for SFMC Journey Builder and every time a contact reaches it a "Failed" event is logged and there isn't any more information than that.
I can see the execute call being ...
7
votes
2
answers
3k
views
How to document Lightning Web Components (LWCs)?
Aura Component bundles can include a .auradoc file that in itself is well documented. For Lightning Web Components, the bundle is stripped down to less files which is a good thing. And the overall ...
0
votes
2
answers
864
views
REST Api Contracts and Documentation
I'm integrating with an external system, they will be able to send a POST request through REST API and create records of a custom object I've created in my org.
I need to send to the client the ...
1
vote
1
answer
512
views
Question on Child-Parent SOQL Limits
I'm reading the documentation on SOQL limits in prep for my Salesforce Dev 1 cert. I'm not sure I understand the description of the limit on child-parent relationships for custom objects.
It states: ...
2
votes
1
answer
170
views
Component Library - Managed Package Components
It used to be that Managed Package global Aura components were viewable at <org_url>/docs/component-library/overview/components. Does anyone know what happened with this, or is anyone else also ...
0
votes
1
answer
60
views
Marketing Cloud Data Views status and documentation [closed]
What is the current status of Data Views on Salesforce Marketing Cloud?
The official documentation at here returns a 404 error.
Is the functionality being phased out? Or is that an error on SF ...
3
votes
0
answers
937
views
Using Salesforce API Explorer for documenting Apex REST services
Is there a way to use the Salesforce REST API Explorer with an org to have documentation on custom Apex REST classes show up?
Perhaps there is something similar to Lightning Components that have the "...
3
votes
1
answer
8k
views
Disable Lightning Combobox in LWC based on FLS
I know there is a way to check if the object/field is updateable, then only it will allow the user to read or update the field like below apex :
if(!Schema.SObjectType.Account.fields.Type....
2
votes
1
answer
384
views
XSS in the content assets in SFCC
There is the following section in the SFCC documentation:
Salesforce B2C Commerce 19.10 > Merchandising Your Site > Content Assets > Content Assets for Developers > Content Best Practices....
0
votes
1
answer
580
views
Marketing Cloud - IP Addresses Warming
I'm trying to Warm Up one IP, in Marketing Cloud docs I see the "IP Addresses Warming Recommendation" Table
But It's not so clear if the Sends in this table is:
1) Total amount in the period. For ...
4
votes
0
answers
283
views
How to query the Lightning Sync Error records
Once Lightning Sync is enabled a new report type can be created, selecting LightningSyncError as the primary object.
I would need to query this object in order to get the list of sync errors through ...
7
votes
1
answer
392
views
When and why to use $A.reportError?
In the documentation Using JavaScript Promises it is mentioned
To show an error message in a catch() method, use $A.reportError()
Why would I want to use $A.reportError that at all? I could use ...
1
vote
0
answers
574
views
Bulk Job Status - Failed vs Not Processed?
What are the use cases for setting a Bulk (version 1) job to a status of Failed vs Not Processed?
Salesforce documentation gives the same description for both
The batch failed to process the full ...
0
votes
1
answer
378
views
Is there a developer API for Agile Accelerator? [closed]
I'd like to integrate into a Node.js app and from my research it seems there's no dev support for this Salesforce feature but wanted to make sure.
1
vote
1
answer
869
views
Lightning Web Component Base Component Documentation
I have been googling and digging around in documentation for about 30 minutes. I'm trying to find documentation on the base components for LWC.
This is the closest thing I found: https://developer....
1
vote
0
answers
194
views
UnsavedChanges component - what parameters can be specified in options?
Spring 19 introduced new lightning:unsavedChanges component, which works very nicely. However, I would need to manage buttons on modal that is shown when user is trying to navigate to some other page ...
2
votes
1
answer
62
views
Shouldn't NetworkAffinity be insertable?
To simplify tests with community users, I am trying to configure the default community for a specific profile.
Running this in Anonymous Apex, or trying to save my class containing the code:
insert ...
12
votes
3
answers
5k
views
Where is the Lightning Web Component developer guide?
Initially Lightning Web Components was announced with a blog post.
There is also a trailhead project and sample apps.
But I don't see anything in the developer documentation portal if I just want ...
0
votes
0
answers
78
views
Is there an API for the Quick Find functionality in the Setup Menu?
I've been looking through the API docs, and see APIs for most things except Quick Find. Is there any documented or undocumented API for it?
7
votes
1
answer
553
views
What is the cmp.addValueProvider() feature designed for?
To implement something like a public ValueProvider I implemented a component combining the features out there to have static values available in js and markup. Now I'm having trouble using the ...