Account a = new Account(Name = 'Test'); Class_Name obj = new Class_Name(new ApexPages.StandardController(a)); here the controller is referred to a page where the standard controller is Account.
Licence in salesforce
A user license determines the baseline of features that the user can access. Every user must
have exactly one user license.
Salesforce offers these…Read More
Security in salesforce
1. Internal Security –
Profile
Permission set
OWD (Organization wide default)
User
Role
Sharing Rule
2. &nb…Read More
Child to Parent SOQL
Contact to Account (Child to Parent)
SOQL
Contact Parent Account, Account Parent Position
Select Name, Account.Name, Account.Industry, Accoun…Read More
Profile in salesforce
· Profiles define how users access objects and data, and what they can do within the application. When you create users, you assign a …Read More
Parent to Child SOQL
Account to Contact -Parent to Child
SOQL
Select id, Name,(Select Name,Birthdate,Email from Contacts) from Account where id=…Read More
0 comments:
Post a Comment