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

salesforce: Absolute path in the request URI

Trying to apply abs_path from RFC2616 (https://www.rfc-editor.org/rfc/rfc2616#section-5.1.2) but receiving callout exception 'System.CalloutException: no protocol: /animals'. End point url trying in following example :…
user2200278
  • 95
  • 1
  • 4
  • 10
0
votes
1 answer

How many users can access Apex sales force at same time in same Org?

Did anybody know how many users can access Apex developer console at the same time for one Org?
Manoj M
  • 19
  • 4
0
votes
1 answer

Salesforce How to update a roll-up summary field on parent table from inside method that gets triggered when child is persisted

I created a Commission object with field called commission_amount__c, This object has a master detail relationship with Contact. Contact Has a sum up field called Total_Commission__c which sums up all commission amounts from Commissions related to…
Philip
  • 67
  • 7
0
votes
1 answer

Apex, SOQL, add results from database to the List, error

I would like to add results from database to the List. But there is a bug. String str = '\'AOC\',\'BPD\',\'CRE\''; List lstString = str.split(','); List productList = new List(); Integer i = 0; for (String…
Elo
  • 226
  • 5
  • 19
0
votes
2 answers

Automatically calculate the date oracle APEX

how can the date be calculated depending on the input of a user? That is, depending on what the user enters, 3 months will be added to the current date or 5, etc. I tried to add a computation to the date pickers: SUBMISSION_DATE displays only the…
user111
  • 137
  • 1
  • 15
0
votes
1 answer

Overall Code Coverage classes not showing

I have written apex class but it is not showing in overall code coverage column in developer console. Apex class format : public without sharing class Service { public class ServiceGet { public String sourceSystem; public Customer…
0
votes
1 answer

Salesforce Static Resource Limit 250MB

I am trying to install a managed package on a Salesforce org. But I get the Error Unable to install the Managed package due exceeding of Static resource limit. Our org's static resource has reached around 350MB. But as per the Salesforce…
0
votes
1 answer

Issue with SELECT LIST LOV in Tabular Form

I am facing issue with Select List LOV having values more than 450. It works fine when I limit the value by ROWNUM <= 400 or by using POP-UP LOV. I am trying to find a solution where I don't have to do any deployment or change app from back end.
Anshul Ayushya
  • 131
  • 5
  • 21
0
votes
1 answer

Process Tracking with Oracle APEX

Is it possible to visualize process tracking with Oracle APEX? For example for the process "application". Assuming it is a process with many steps. In this case i would like to divide the process. Accordingly, the process would be divided into…
user111
  • 137
  • 1
  • 15
0
votes
1 answer

Edit button not redirecting on Salesforce mobile app

On Account page, I have a Button which opens a VF page which creates Task record. When I click Edit button on the Task record to update it and click Save, it's redirecting to the Task record page on Desktop in both classic and lightning mode.…
sameer
  • 1
0
votes
1 answer

MetadataAPI: Could not resolve list view column: First_Name FIELD_INTEGRITY_EXCEPTION

I am using Salesforce metadata api to create a contacts list view with one filter. The filter should contain First Name. metadata = [{ fullName: 'Contact.listViewName1', label: listViewName1, filterScope: 'Everything', …
ChanChow
  • 1,346
  • 7
  • 28
  • 57
0
votes
2 answers

Apexcharts blink when hovering over legend

When I create a donut chart and populate it with many entries, text in legend gets closer together and therefore the mouseover and mouseout effects happen a lot faster than with less entries. I recorded this behavior - the outcome looks like…
Vladimir Marton
  • 569
  • 4
  • 31
0
votes
0 answers

Apex Code to get input value from opp using before insert trigger

Hi Everyone help me to get output. WHERE shipDate__c >= :startDate AND return_date__c <= :endDate In the above code startDate & endDate retrives the data (already Inserted Record) from db. for eg: startDate = 20-03-2021 endDate = 16-04-2021 WHERE…
0
votes
1 answer

Salesforce, select from database and add to the list of Contacts

I would like select query from SOQL, and add to the list of Contacts and return it. public class ContactSearch { public static List searchForContacts(String sLastName, String sMailingPostalCode) { List listFromDatabase…
Elo
  • 226
  • 5
  • 19
0
votes
1 answer

How to create List collection with different SOQLs in APEX

I have an APEX trigger which trigers after insert. It is suppose to select opportunities via SOQL and assign it to List collection. But List and SOQL depends on another variable Vehicle_Type__c. Below code is not working, I get error…