• GANESH ALUGU 347
  • NEWBIE
  • 5 Points
  • Member since 2021
  • Salesforce Engineer
  • Capgemini


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I am getting this error while using vf component attribute for passing custom setting name, however i am not getting any error if I am hard coding values instead of component attribute, and it is showing me other custom settings field value.  
I am facing this error wile i am saving the class which implements webservicemock any help much appriciated
Hello,

I have a custom objects.
There are few rows created for this custom object.

How cna i know where all is this custom object used.
  • August 24, 2015
  • Like
  • 1

I want to use record Type to limit trigger action. 

 

Now I use querey to get it my code liks below

string Id = [SELECT id from RecordType where Name ='Someone'].Id;

 

I also found this page, we could use method to get the Record Type Id to avoid the query.

I still can't understand it.

 

Is there some simple and easy wayt to get the ID only by Record Type's Name?