Skip to content

Added new field Log__c.HasComments__c

Compare
Choose a tag to compare
@jongpie jongpie released this 30 Nov 16:16
· 86 commits to main since this release
f735959

Core Unlocked Package Changes

  • Added new Boolean field Log__c.HasComments__c that's automatically set in the LogHandler class, based on if the field Log__c.Comments__c is populated. Since the field Log__c.Comments__c is a long textarea field, it can't be filter in SOQL, list views, etc. which makes it very difficult to find log records where someone has entered comments. The new Boolean field is set BEFORE_INSERT and BEFORE_UPDATE - existing records (in orgs that are upgrading) will need to be re-saved in order to have the new field correctly populated.