• Sagar Nagvekar 29
  • 5 Points
  • Member since 2021

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 2

Can anyone give the  fundamental difference between Standard List Controller & Std Set Controller?

Hi Friends,


I need to know how to the query the records from custom label object. Is it possible to query the data from this object? As we do the same from other objects like Account, Contact, ......

We can use labels in our controller, like Label.<Label_Name>.


while i am trying to query the data from customLabel, it is throwing error like :


"line 1, column 20: sObject type 'CustomLabel' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names."


Please help me in this, how to use this object in apex controller.


Thanks in advance.