-
-
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 formula fields display the logging user's username as text (#…
…567) * Added new formula fields Log__c.LoggedByUsernameText__c and LogEntry__c.LoggedByUsernameText__c * Updated the report LogEntrySummary to use the new field Log__c.LoggedByUsernameText__c field, instead of the existing field Log__c.LoggedByUsernameLink__c
- Loading branch information
Showing
8 changed files
with
76 additions
and
10 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
14 changes: 14 additions & 0 deletions
14
...ore/main/log-management/objects/LogEntry__c/fields/LoggedByUsernameText__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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>LoggedByUsernameText__c</fullName> | ||
<businessStatus>Active</businessStatus> | ||
<complianceGroup>PII;GDPR;CCPA</complianceGroup> | ||
<externalId>false</externalId> | ||
<formula>Log__r.LoggedByUsernameText__c</formula> | ||
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> | ||
<label>Username</label> | ||
<securityClassification>Confidential</securityClassification> | ||
<trackTrending>false</trackTrending> | ||
<type>Text</type> | ||
<unique>false</unique> | ||
</CustomField> |
21 changes: 21 additions & 0 deletions
21
...ger/core/main/log-management/objects/Log__c/fields/LoggedByUsernameText__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,21 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>LoggedByUsernameText__c</fullName> | ||
<businessStatus>Active</businessStatus> | ||
<complianceGroup>PII;HIPAA;CCPA</complianceGroup> | ||
<externalId>false</externalId> | ||
<formula>IF(ISBLANK(LoggedBy__c), | ||
'Anonymous', | ||
IF(ISPICKVAL(UserType__c, 'AutomatedProcess'), | ||
TRIM(LoggedBy__r.FirstName + ' ' + LoggedBy__r.LastName), | ||
LoggedByUsername__c) | ||
)</formula> | ||
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> | ||
<label>Username</label> | ||
<required>false</required> | ||
<securityClassification>Confidential</securityClassification> | ||
<trackHistory>false</trackHistory> | ||
<trackTrending>false</trackTrending> | ||
<type>Text</type> | ||
<unique>false</unique> | ||
</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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,6 +156,7 @@ | |
"Nebula Logger - [email protected]()": "04t5Y000001HZfGQAW", | ||
"Nebula Logger - Core@4.11.7-bugfix-for-tags-not-saving-for-save-method-synchronous_dml": "04t5Y000001HZfaQAG", | ||
"Nebula Logger - [email protected]__c.httpresponseheaders__c": "04t5Y000001Oig9QAC", | ||
"Nebula Logger - [email protected]__c.loggedbyusernametext__c-and-logentry__c.loggedbyusernametext__c": "04t5Y000001OigJQAS", | ||
"Nebula Logger - Core Plugin - Async Failure Additions": "0Ho5Y000000blO4SAI", | ||
"Nebula Logger - Core Plugin - Async Failure [email protected]": "04t5Y0000015lhiQAA", | ||
"Nebula Logger - Core Plugin - Async Failure [email protected]": "04t5Y0000015lhsQAA", | ||
|