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 7537

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.

2 votes
1 answer
1k views

Reducing the encrypted data field length size in salesforce

I am working on simple encryption using the crypto class to encrypt some data fields in salesforce. The encryption class works fine for text data with max size 255. however i need to reduce the encryp …
chops's user avatar
  • 87
-2 votes
1 answer
5k views

Constructor not defined error in batch class

I am testing the scheduled batch class in salesforce, during which i am getting the below error : " Error: Compile Error: Constructor not defined: [LicenseOptimizer_BatchClass].(String) at line …
chops's user avatar
  • 87
1 vote
1 answer
376 views

Future call inside schedule batch

I am working on case where a scheduled batch calling a future method/class. As salesforce restricts the future call from batch , i am looking for any other alternative or workaround for this . I nee …
chops's user avatar
  • 87
0 votes
0 answers
34 views

categorizing data of different formats with in same datatype

I am trying to achieve a strange case where i can see rows of different formats of data in an object . Eg if i select phone number field on account, i need to get view of all the records which are st …
chops's user avatar
  • 87
0 votes
2 answers
1k views

Multiselection parameter for picklist datatype soql

In my vf page the date is presented based on only one value of the status picklist for the opportunists object. Now i need to extend my search criteria in such as way that rather than selecting only …
chops's user avatar
  • 87
2 votes
2 answers
525 views

soql for total license used in SFDC

I am looking for soql which could fetch me all the license used for all inactive and active users in one shot. similar to displaying company license information in native SFDC environment. I am work …
chops's user avatar
  • 87