Slaesforce FAQ

can we deduct reputation points using apex in salesforce

by Kristina Rowe Published 2 years ago Updated 2 years ago

When should I use Salesforce apex?

When Should I Use Apex? The Salesforce prebuilt applications provide powerful CRM functionality. In addition, Salesforce provides the ability to customize the prebuilt applications to fit your organization. However, your organization may have complex business processes that are unsupported by the existing functionality.

What is a unit test in Salesforce apex?

Apex provides built-in support for unit test creation and execution. It includes test results that indicate how much code is covered, and which parts of your code could be more efficient. Salesforce ensures that all custom Apex code works as expected by executing all unit tests prior to any platform upgrades.

What are checkpoints in Salesforce?

Salesforce has a concept called “checkpoints”. With checkpoints, you can “investigate the objects in memory at a specific point of execution and see the other objects with references to them.” You can get a dump of variable information at the time of that checkpoint.

What can you do with apex?

Use Apex if you want to: Create Web services. Create email services. Perform complex validation over multiple objects. Create complex business processes that are not supported by workflow. Create custom transactional logic (logic that occurs over the entire transaction, not just with a single record or object).

Who controls Apex?

Apex is interpreted, executed, and controlled entirely by the Lightning Platform.

What is Apex used for?

Apex is designed to thread together multiple query and DML statements into a single unit of work on the Salesforce server. Developers use database stored procedures to thread together multiple transaction statements on a database server in a similar way. Like other database stored procedures, Apex does not attempt to provide general support for rendering elements in the user interface.

What is a warning in Apex?

Warnings and errors issued when a user tries to edit or delete a custom object or field that is referenced by Apex

Can you save Apex code?

You can save your Apex code against different versions of the API. This enables you to maintain behavior.

Is Apex a multitenant?

Hosted. Apex is interpreted, executed, and controlled entirely by the Lightning Platform. Multitenant aware. Like the rest of the Lightning Platform, Apex runs in a multitenant environment. So, the Apex runtime engine is designed to guard closely against runaway code, preventing it from monopolizing shared resources.

What is Salesforce prebuilt?

The Salesforce prebuilt applications provide powerful CRM functionality. In addition, Salesforce provides the ability to customize the prebuilt applications to fit your organization. However, your organization may have complex business processes that are unsupported by the existing functionality. In this case, Lightning Platform provides various ways for advanced administrators and developers to build custom functionality.

Does Salesforce have prebuilt applications?

In addition, Salesforce provides the ability to customize the prebuilt applications to fit your organization. However, your organization may have complex business processes that are unsupported by the existing functionality.

What is a checkpoint in Salesforce?

Salesforce has a concept called “checkpoints”. With checkpoints, you can “investigate the objects in memory at a specific point of execution and see the other objects with references to them.”. You can get a dump of variable information at the time of that checkpoint.

What is Salesforce debugging?

A major part of any Salesforce developer’s job is debugging. Because Salesforce has a multitenant architecture, debugging on the platform is a bit different than it might be in other development environments (e.g., you can’t breakpoint your code or do live debugging) though it is useful nonetheless. “90% of coding is debugging.

What is in Salesforce log?

A typical Salesforce log contains a number of things: code execution, debug statements, timestamps and any governor limits you may be running into.

How many MB is Salesforce log?

Salesforce logs are capped at 2MB so you may need to tinker a bit with your log levels to make sure you stay under that limit.

What is a trace flag in Salesforce?

Next, setup a new Trace Flag. A Trace Flag tells Salesforce to log any activity caused by a particular user.

What is the first line of Apex code?

The first line is the Header. It provides version info and the log levels we set for the various logging categories. It’s here that you can see that your Apex Code log level is set to Finest while Validation is set to Info.

How many checkpoints can you use at once?

You can set up to 5 checkpoints at once. Using multiple checkpoints can help you figure out where exactly variable information changes. Heap information is also available on checkpoints.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9