-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new LoggerSettings__c fields StartTime__c and EndTime__c (#495)
* Added new LoggerSettings__c fields StartTime__c and EndTime__c to prove the ability to schedule & expire settings records * Incorporated new fields StartTime__c and EndTime__c into loggerSettings lwc * Also cleaned up some legacy code used for displaying the fields in the 'General Settings' section of the loggerSettings lwc - all fields are now controlled by loggerSettingsPageLayout.js * Fixed some ESLint violations * Updated pwsh script to automatically updated the package version ID for the unlocked package's sfdx install command in README.md
- Loading branch information
Showing
18 changed files
with
466 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...logger/core/main/configuration/objects/LoggerSettings__c/fields/EndTime__c.field-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>EndTime__c</fullName> | ||
<externalId>false</externalId> | ||
<inlineHelpText>Optional - when set, the LoggerSettings__c record is only used when EndTime__c >= System.now()</inlineHelpText> | ||
<label>End Time</label> | ||
<required>false</required> | ||
<type>DateTime</type> | ||
</CustomField> |
10 changes: 10 additions & 0 deletions
10
...gger/core/main/configuration/objects/LoggerSettings__c/fields/StartTime__c.field-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>StartTime__c</fullName> | ||
<externalId>false</externalId> | ||
<inlineHelpText>Optional - when set, the LoggerSettings__c record is only used when StartTime__c <= System.now()</inlineHelpText> | ||
<label>Start Time</label> | ||
<required>false</required> | ||
<trackTrending>false</trackTrending> | ||
<type>DateTime</type> | ||
</CustomField> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.