Questions tagged [apex]

Apex is a strongly typed, OOP language that allows to execute flow and transaction control statements on the Force.com platform server in conjunction with calls to the Force.com​ API. Not to be confused with Oracle Application Express (APEX) - use tag [oracle-apex] for Oracle APEX questions

Apex is a strongly typed, OOP language that allows to execute flow and transaction control statements on the Force.com platform server in conjunction with calls to the Force.com​ API.

There is synonym for this tag - .

Useful Links:

Apex Intro/Quick Start

2528 questions
0
votes
1 answer

Oracle APEX side navigation menu - expanding sub navigation menu items

I have a nav menu item (Nav Item 1) that has three sub items under it. No page is directly tied to Nav Item 1. To expand it, you must click the down carat. However, is there a way to make it so that the user can just click anywhere on the entire nav…
KJS1192
  • 93
  • 1
  • 11
0
votes
1 answer

Uncrustify - whats adding space between 'assert' and '('

No matter how I update the config file I seem to always end up with a space System.assert(true); becomes System.assert (true); This is only when the function is called assert The following both format without a space before the…
Amelia
  • 1
  • 1
0
votes
1 answer

Apex - How can use identify Apex classes that haven't been executed for a while

I am looking for a way to identity Apex classes/VF Pages that haven't been used for a while to clean up. Any potential ideas are welcome.
0
votes
1 answer

I am not able to call a @Future method

I understand that I cannot directly call a future method from a batch class. But from many other answers, I can see that it is possible to do so by creating a helper class and calling the future method there. But it is not working for me. Please…
Faiza Iqbal
  • 191
  • 2
  • 11
0
votes
1 answer

Uncrustify - How to not add space between =>

In apex we use => when defining maps. It is invalid syntax to have a space in between such as = >. I have tried the following settings all of which result in a space between. sp_compare = ignore sp_inside_angle = ignore sp_assign =…
Amelia
  • 1
  • 1
0
votes
1 answer

How to start an UiPath Process from Salesforce interface

How I can Start an UiPath Process on UiPath Robot from the Salesforce interface? I know that Salesforce can send REST API commands to other software.
0
votes
1 answer

Can we add trigger on a Queue

I want to add a run a apex code when a user is entered/remove in any queue. Basically I want to have a trigger point after insert and after update on a Queue
Malik
  • 121
  • 1
  • 1
  • 17
0
votes
1 answer

Create an Apex trigger for Account that matches Shipping Address Postal Code with Billing Address Postal Code based on a custom field

I want to create a trigger that, before insert or update, checks for a checkbox, and if the checkbox field is true, sets the Shipping Postal Code (whose API name is ShippingPostalCode) to be the same as the Billing Postal Code…
Carolyn Cordeiro
  • 1,525
  • 3
  • 11
  • 26
0
votes
2 answers

Cannot modify a collection while it is being iterated.- Apex class

I am calling an apex class from flow. Inside the apex class, I am trying to activate the user. But I am getting the "Cannot modify a collection while it is being iterated." Here is my apex code: public class ActivateUsers { @InvocableMethod public…
Anonymous
  • 3
  • 1
  • 4
0
votes
0 answers

& replace the string in apex string.unescapeHTML4() is not working

This code is storing the stage name in string format but one of the value contain & and because of it it showing & by replacing the string value string stages = ''; //string type stages variable for (string s :stagenames ){ //loop stages =…
0
votes
1 answer

Creating string from Custom label

I have a custom label in CSV format called Test having value abc, xyz and I want to create a string in the form 'abc','xyz'. How would we do that? Code Written so far String str = System.Label.Test; // next steps
0
votes
1 answer

Modifying body tag in Oracle

Is there a way to edit the tag in Apex 4.1 and make it display the following: ??
matt1966
  • 1
  • 3
0
votes
1 answer

Generate Azure Blob SAS token with APEX

I want to generate SAS Token, as per the Azure Doc following is the example for BLOB. I am still getting error. Can you please identify what is the mistake I am doing. StringToSign = signedpermissions + "\n" + signedstart + "\n" + …
Zain
  • 21
  • 5
0
votes
1 answer

i am facing error about apex images loading

There is a problem with your environment because the Application Express files have not been loaded. Please verify that you have copied the images directory to your application server as instructed in the Installation Guide. In addition, please…
M IMRAN KHAN
  • 1
  • 1
  • 1
1 2 3
99
100