Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 33370

Questions relating to Apex, the native programming language for the Force.com platform. Use it for general questions on syntax, errors, constructs, and rules of use. Most questions should include a code *excerpt* to help answerers understand specifically what has gone wrong or why you need help.

0 votes
1 answer
30 views

conversion of JS button to Lightning salesforce

I have a JS button, which is calling a web service class method and doing some process. I am trying to convert that to call a VF page and make it lightning compatible. But I am stuck on an error while …
roni's user avatar
  • 98
0 votes
0 answers
208 views

Fetch Linked Contact details of Account

I am writing a batch, which essentially iterates over account records. following steps. iterate over account based on specific conditions if the account has a linked account to it(lookup to account), …
roni's user avatar
  • 98
-4 votes
1 answer
248 views

When I am trying to update the map values, getting Compile Error: DML requires SObject or SO...

public void cdperiod(){ List<Adchrg> lstRec = new List<Adchrg>(); if(MapSlctChg != null){ List<Adchrg> rec = MapSlctChg.get('Recurring'); for(Adchrg chg : re …
roni's user avatar
  • 98
1 vote
1 answer
144 views

convert 1:M to 1:1 relation salesforce

I have a MD relation between two custom objects. So, the scenario is, right now I am able to create many child records (i.e. 1:M relation), but I have to restrict it to only one record creation (i.e. …
roni's user avatar
  • 98
0 votes
1 answer
9k views

trigger on contentdocumentLink [closed]

can we create trigger on contentdocumentlink that fires on insert and checks if it's on account then mark a checkbox as checked?
roni's user avatar
  • 98