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
2
votes
1 answer

Error Message when rendering Lightning Web Component in Salesforce

I have recently been working on embedding power bi into a salesforce LWC, as outlined here: https://github.com/PowerBiDevCamp/SalesforceAppOwnsDataEmbedding. Pretty cool stuff, but the particular use case may be beside the point. I am having some…
Luke Sharon
  • 140
  • 1
  • 7
  • 22
2
votes
0 answers

Apex Test - Instantiate new Controller

I am trying to instantiate a new controller. But every syntax I have tried shows an error. Here is my code: Class: public class MyNewCaseController { public string filterId {get; set;} public…
2
votes
0 answers

Map with optional variables as Keys and multiple if elseif condition

Need your help because I'm overthinking a bit. :P I'm doing a development in apex where we build a Map based on certain keys. Those keys are a mix of multiple variables and so when building a map we have something like: for(rule){ key =…
kryptt
  • 21
  • 4
2
votes
0 answers

Zip file is not Downloading it is reading a file in oracle apex using wpg_docload.download_file(v_blob);

ERRORS MASSAGE IN APEX OUTPUT we are try to download zip file it is in blob datatype but we are facing some errors
2
votes
0 answers

Error retrieving query using ccrz.cc_CallContext ERROR Returned tmpVar1 Salesforce APEX

Having troubles figuring out why the query isn't returning the related Account for the Cart object. The original query was referencing the cart Encrypted ID and the current user Encrypted ID to query the related account for the cart. We have…
2
votes
0 answers

Update the Case inside onInitDefaults method of QuickActionDefaultsHandler

Am trying to update the case inside the onInitDefaults of QuickAction.QuickActionDefaultsHandler interface. Am trying to update the Case object field,however it's not updating the same any reason or limitations for the DML operation on same case…
2
votes
1 answer

Salesforce - Conga Merge Template Excel

I want to use an excel template for report purpose on Salesforce and i use conga Composer. I need to add some photos coming from salesforce on that excel template. I am able to to do that easily on Word. What is the IMAGE prefixe Excel Conga…
Girbson BIJOU
  • 475
  • 1
  • 4
  • 9
2
votes
1 answer

Salesforce apex not passing validation

I have two apex classes that I am trying to push to production from a sandbox. When I go to validate the change set, it fails on the code coverage part saying that the code coverage is 50% and needs to be 75%. Both of the classes have well above 75%…
Trout
  • 23
  • 9
2
votes
1 answer

Restrict access of a connected app (Salesforce)

What is the best way to restrict the scope of a connected app to a set of objects? My current solution is to use the Manage user data via APIs scope but that still grants more access than required. A solution I see frequently is to create a user…
Moriarty
  • 515
  • 3
  • 17
2
votes
2 answers

login page of the Oracle Apex admin

How to display only the login page of the Oracle Apex admin section for management? If you enter the login address of the Oracle Apex management department, they will encounter an error Sorry, this page isn't available oracle apex
Motaf
  • 21
  • 2
2
votes
0 answers

is it possible to disable other checkboxes in setimeout if specific checkbox checked in apex-repeat?

i have a program that can update multiple value, i wanted to give settimeout 2 second after click on spesific checkbox. when settimeout is loading the other checkbox in apex-repeat is disabled and when the settimeout is over the other checkbox will…
2
votes
1 answer

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 declared with multiple signatures: // myMethod with 2 param signature @AuraEnabled public…
Tyler Edwards
  • 184
  • 2
  • 9
2
votes
1 answer

The XML you provided was not well-formed or did not validate against our published schema: while calling S3 bucket from Salesforce

Folks, A total newbie here when it comes to making end-to-end integrations. I am trying to "put" my salesforce data to the s3 bucket but receiving: The XML you provided was not well-formed or did not validate against our published schema Here's what…
2
votes
2 answers

Flow Error 'Number of Iterations Exceeded' in Salesforce

I have a record triggered flow in salesforce which performs operations of updating Reports To field in all the Employees of an Organization. The flow is triggered whenever an Organization ReportsTo field is updated. It fetches all the employees of…
Jimesh
  • 479
  • 5
  • 17
2
votes
0 answers

Oracle Apex hide table structure on Inspect Properties

Is there a way to hide the column specs whenever a user access the Inspect Properties? Apex version: 21.1.6
NoOneDer
  • 59
  • 8