v4.14.6 - Custom Field Mappings Support for Lightning Components #750
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Core Unlocked Package Changes
Resolved #718 by adding the ability to set custom fields on a log entry in JavaScript (lightning components), using a new function
setField()
inlogEntryBuilder.js
. This is the JavaScript equivalent to the Apex method overloadssetField()
inLogEntryEventBuilder.cls
that were introduced in releasev4.13.14
.To use the new
setField()
function, pass an object as the function's single parameter. The object should contain the custom fields onLogEntryEvent__e
that you want to set, along with their corresponding values. For example:{ SomeField__c": "some value", "AnotherField__c": "another value" }
Note
The code above only highlights the new functionality that is now available when logging in lightning components. For more info on how to fully set up custom field mappings, see this section in README.md.
Recipes Metadata Changes
LogEntry__c
. This provides a quick & easy way to verify that the functionality works for lightning components.Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.14.5...v4.14.6
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y0000015oRhQAI
sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y0000015oRhQAI
This discussion was created from the release Custom Field Mappings Support for Lightning Components.
Beta Was this translation helpful? Give feedback.
All reactions