Questions tagged [sfdc]

A Platform-as-a-Service development environment created by Salesforce.com, which underlies the core Salesforce CRM functionality and is available as a platform via database.com, as well as via Heroku, a Ruby-on-Rails environment.

Force.com is a cloud based Platform-as-a-Service available for developers to applications hosted in a multi-tenant, cloud based environment with a combination of declarative development as well as through using the native Apex programming language.

Apex is based on Java and can be used to generate custom pages via the Visualforce markup language and components. The platform supports both SOAP and REST APIs for communications with other systems, and provides a database managed entirely through an web based UI, which leverages a query language called SOQL, which is heavily based on SQL.

There is synonym for this tag - .

Stackoverflow Force.com documentation.

118 questions
0
votes
0 answers

The formula expression is invalid: Incorrect parameter type for function 'MONTH()'. Expected Date, received DateTime

I am creating a formula field in Flow to capture the last date in the Quarter considering the task createdDate. When I try to use the below formula field, I am facing this issue. "The formula expression is invalid: Incorrect parameter type for…
0
votes
1 answer

APEX Salesforce Random days have business hours less than 24 hours

Business Hour Setup IMGI'm trying to calculate business hours between two days. However for some reason random days are showing up with less than 24 hours or less than 86400000 seconds in between on full day. DateTime startDate = 2023-03-20…
0
votes
0 answers

How to handle Salesforce Standard Application Events (not custom created) in Aura?

In the chatter publisher, there is a Upcoming and Overdue tasks section in which a checkbox is shown in front of task, when I check it the task status will change to Completed. I need to do some steps after I click on that checkbox, Since it is…
heeat
  • 128
  • 2
  • 9
0
votes
1 answer

How to perform a batch update using apex to do uplifts?

Firstly sorry as I am new to Apex and not sure where to start and what I need to do. My background is from Java and although it looks familiar I am unsure of what to do or how to start it. I am trying to do a batch apex job that: If uplift start…
0
votes
1 answer

What Object or Table in SFDC starts with and Id prefix of 0EM? Knowledge Articles and Attachments

What Object or Table in SFDC starts with and Id prefix of 0EM? I have uploaded an image into a Knowledge__kav object in Salesforce, which is basically the knowledge article page. And when I open the link to the image, it gives an Id starting with…
R2D2
  • 75
  • 1
  • 9
0
votes
1 answer

How can we write test class for negative scenario in salesforce?

Below is the code of negative scenario: public void onAddExistingGuest(){ selectedGroups = new Set(); ApexPages.Message msg; msg = new ApexPages.Message(ApexPages.Severity.Error, System.Label.Value_Here); …
Tarique Shamsi
  • 331
  • 1
  • 2
  • 8
0
votes
1 answer

Fields retrieved by the REST API do not correspond to fields in the object manager

I need all the data backup storage on a regular basis on Salesforce to local database, so I wrote a program that calls the REST API /services/data/v53.0/sobjects access to all the sobjects, Then respectively according to their name call…
Heidi
  • 1
  • 1
0
votes
1 answer

If I am having any random accountId then How to find its ultimate parent account - looking for best optimized solution (for multiple level hierarchy)

If I am having any random accountId then How to find its ultimate parent account - looking for best-optimized solution (for multiple level hierarchy) except 10 levels of formula field solution
0
votes
1 answer

How can I delete nested rows in Salesforce LWC

How can I delete nested rows in LWC