• Mangesh Honale 1
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 1
    Replies
I am executing following soql query on SOAP API "SELECT NamespacePrefix FROM PackageLicense WHERE NamespacePrefix = 'scyc' LIMIT 1". But it returns "sObject type 'PackageLicense' is not supported." as error message. It was working just fine few days before. I don't understand what has changed? I have tried API v22 to API v39 but nothing worked. Please advise.

I have set up a community on sandbox environment. I had created some pages from community builder and added some lightning components to them. Builder was showing pages and I was able to edit them till yesterday. But today if I select any of the pages in page editor, it just shows blank page and nothing is visible. I can not modify it. In preview also it just shows blank page. 

Now when I created a new community and created new pages, the builder of new community works just fine. It shows page contents in page editor and I can modify them. 

Why is this happening? Am I missing anything here? Does anybody has any suggestions to avoid such issues in future?

I am working with EmailMessage object. I have a batch apex and in execute method I need to query EmailMessage records. But query does not return any records. When I put the same query in a normal class (not batch apex class) it gives results. Here is execute method implementation:

public void execute(Database.BatchableContext BC, List < string > reportRowsList){
//some code
List<EmailMessage> eMsgList = [Select Id, ToAddress from EmailMessage];
system.debug('Size: ' + eMsgList.size());
//some code again
}

What is going wrong?

I am executing following soql query on SOAP API "SELECT NamespacePrefix FROM PackageLicense WHERE NamespacePrefix = 'scyc' LIMIT 1". But it returns "sObject type 'PackageLicense' is not supported." as error message. It was working just fine few days before. I don't understand what has changed? I have tried API v22 to API v39 but nothing worked. Please advise.