Category "apex"

In VF page popup modal should open first then content of vf page

I have one VF page. I want user should able to access that vf page after entering password in modal that open first when VF page loads. But currently when VF pa

Oracle Apex 21 looking for sample data for customer sample app

I have started using and learning APEX 21.2. It seems in previous version there was a sample database application that included sample data when installed. In 2

I want FeedItem/FeedComments to be Approved using Apex Salesforce how can we achieve it?

I am trying to approve feedItem/feedcomment using Apex but I am not able to create an Approval Process for them. So an idea of how we can submit feed records fo

How to make a httpsrequest 'Get' in apex and then update a record in Salesforce

Overview: We have a third party what hosts a text value at a given endpoint. Using a 'Get' request to a url where we also pass a key and parameters returns a

Docusign Template is no merging with APEX code

I send in the opportunity id into mySourceId into the routine and run through what should be the standard Docusign APEX API routines. We have a button that com

`UnencryptedCookieSessionFactoryConfig` error when importing Apex

I'm trying to use Apex and whenever I try to import it (or anything involving it) I get the following traceback: Traceback (most recent call last): File "<

execute logic beforedelete event trigger

Before deleting the record (Ex: Account obj record), I want to update the field on the account record and send it to content management, hold it for a few secon

how to get ID of inserted record

I can't seem to figure out how I can get access to the Id of inserted record for Case. I am not sure what I am doing wrong. Any help will be appreciated. for(I

How can I display JSON data in a Salesforce Visualforce Page?

EDIT : Here's what I was thinking for the callout : public class APISocieteCallout { String searchContent= //Content of the search String apiKey= 'XXXXXXXXXXXX

Create a dynamic SOQL Query using variable objects

I'm trying to execute a dynamic soql query using variable objects. In my visualforce page i have tow apex:selectlist, the first one contains a list of objects,

Calling Apex method with multiple signatures from LWC

I've noticed some interesting behavior in an LWC that I am building and haven't been able to find much info on the cause. Basically I have an Apex method declar

Is there a way to retrieve Salesforce picklist values for record types using apex?

I need to gather information about what picklist values are available for every record type. I know this can be achieved using either describeLayout or readMeta

How can I get subList of a List in Apex Salesforce?

I have got a list of SObjects having N number of items/sObjects SObject[] sList = [sobject1, sboject2, sboject3, ........ , sobjectN] How can I get just 10 it