[Rt-commit] rt branch 5.0/document-config-userassetextrainfo created. rt-5.0.2-60-g24d0d6ec27

BPS Git Server git at git.bestpractical.com
Mon Feb 14 18:08:21 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/document-config-userassetextrainfo has been created
        at  24d0d6ec2710d833d7649e9c66a659f7ae9d5cb7 (commit)

- Log -----------------------------------------------------------------
commit 24d0d6ec2710d833d7649e9c66a659f7ae9d5cb7
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Feb 4 16:57:07 2022 -0500

    Set the widget for display on web config page

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 6286872212..45d66d2244 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -2030,6 +2030,9 @@ our %META;
     MoreAboutRequestorTicketListFormat => {
         Widget => '/Widgets/Form/MultilineString',
     },
+    UserAssetExtraInfo => {
+        Widget => '/Widgets/Form/MultilineString',
+    },
     UserDataResultFormat => {
         Widget => '/Widgets/Form/MultilineString',
     },

commit cb26918eeb80c1703863ddb3da9572c3b67902ea
Author: Brad Embree <brad at bestpractical.com>
Date:   Wed Jan 26 13:04:00 2022 -0800

    Document UserAssetExtraInfo

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index b0b0c5cc65..c583c45b92 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -3258,6 +3258,20 @@ set on any assets, RT's behavior may be inconsistent.
 
 Set($AssetMultipleOwner, 0);
 
+=item C<$UserAssetExtraInfo>
+
+By default the People portlet on the asset display page shows the Name field
+for each user. Set this value with additional fields from the user record to
+show more information about the users. The value is a Format string of user
+attributes or custom fields. For example, to show the user's email, city, state,
+zip, and the user custom field Primary Office:
+
+    Set($UserAssetExtraInfo, 'EmailAddress, City, State, Zip, "CF.{Primary Office}"');
+
+=cut
+
+Set($UserAssetExtraInfo, '');
+
 =back
 
 =head2 Message box properties

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list