• Gabriel Wonders
  • NEWBIE
  • 15 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
I'm getting the following error: No such column 'NamespacePrefix' on entity 'Organization'. When trying to save a class with the following SOQL query.
Organization org = [SELECT NamespacePrefix FROM Organization];
But I am able to run this query in the Developer Console Query Editor just fine. What's the reasoning behind this?
Hi fellow developers!
Is there any way to retrive the Lead conversion map from apex code?
I mean the standard feature that can be configured from the Lead custom fields section:
User-added image
Thanks for your help!!
I'm getting the following error: No such column 'NamespacePrefix' on entity 'Organization'. When trying to save a class with the following SOQL query.
Organization org = [SELECT NamespacePrefix FROM Organization];
But I am able to run this query in the Developer Console Query Editor just fine. What's the reasoning behind this?

Hi,

 

Is there a way to get the namespace prefix of the organization in apex?  

 

Thanks in advance.

 

Regards,

Dipak

  • September 14, 2012
  • Like
  • 0