Questions tagged [basics]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
340 views

Can we select server location of salesforce?

Is it possible for us to select specific location of Salesforce Sales cloud while purchase ? i.e. : Server should be at Ohio.
-1
votes
1answer
52 views

Salesforce Integration with Oracle

I need to Integrate Salesforce with Oracle Platform (Create Account in Salesforce when its created in Oracle platform). I researched and understood that It could be done by API Callout methods. Could ...
0
votes
2answers
198 views

How can I count number of “ !=null ” fields on a record?

My question is about challenge when Opportunity is created specific fields must be populated. How can I count the fields which are not null from specific fields? integer counter; integer oppValue; ...
0
votes
1answer
43 views

System.NullPointerException Question (Basic)

I am new in coding. Currently, working on a nullpointerexception challenge on Apex. Error: WarrantySummary: execution of BeforeInsert caused by: System.NullPointerException: Attempt to de-reference ...
2
votes
2answers
745 views

Spot the Difference: Can't complete challenge with my code. Platform Events Basics

This is the challenge: Subscribe to a Platform Event in an Apex Trigger Your Salesforce app uses a trigger to listen to events. Once your app receives the notification from the order system ...
0
votes
1answer
23 views

updating info on a custom setting from a response body, getting uncommitted work pending error

I am getting this error because I am upserting a custom setting after each callout. What approach should I take to not have this issue? The code below is a class with my @future callout method that I ...
9
votes
2answers
2k views

What is the $A object in lightning?

I'm starting to learn Lightning development. In the JS controller, out of curiosity, what exactly is the $A object? I see it is used in the context of $A.enqueueAction(...), $A.getCallback(), and $A....
3
votes
1answer
2k views

Simple JavaScript Not Working On Visualforce Page

Why does this javascript not work on my page? It works perfect in JSFiddle. I can see that the console is returning bananas. But I get no .innerHTML change what so ever. Any insight? <script> ...
1
vote
2answers
1k views

Upsert from a trigger? [duplicate]

I want to update records before insert if there is a match on a lookupkey rather than inserting a new record. I have viewed the related question but do not understand how to get the trigger list to ...
2
votes
2answers
78 views

Is it possible to use SOQL to query a list that was created in a trigger

Does a SOQL query have to access the database, or can it be used to search through a list (or map)? I think lists are easier to visualize, so I would have made a list in a FOR loop for each object ...
-3
votes
2answers
1k views

How to write a apex trigger before insert a data [closed]

How to write a apex trigger before,after insert a data! I am new to salesforce i want to know about apex trigger can any one give some guideness
1
vote
3answers
3k views

How to rename a trigger?

Does anyone know how to rename an Apex class or trigger in Salesforce? When I try to refactor it in the Force.com IDE, it tells me that renaming isn't supported via the IDE. In the wiki it says: ...