History File "Createdby" Not Useable

  • 1
  • Problem
  • Updated 3 years ago
  • (Edited)
I have created a model on a history object to be viewed in a table.  When I drag in a field from the CreatedBy record called "View Name"

I get the following error:
1. An error occurred while attempting to perform the following SOQL query: SELECT Parent.Name,Parent.Id,Field,NewValue,OldValue,CreatedBy.Name,CreatedById,CreatedDate,CreatedBy.View_Name__c,Id FROM Member_DNA__History WHERE (Parent.Id in ('a0gj00000010mgSAAQ'))AND(Field != 'Created') LIMIT 21 Error:No such column 'View_Name__c' on entity 'Name'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

Then if I remove any reference to "CreatedBy" I still get the same error.  I have to completely remove the object and start over to see the error go away.
Photo of Bill Fox

Bill Fox

  • 7,954 Points 5k badge 2x thumb

Posted 3 years ago

  • 1

Be the first to post a reply!