-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Slacker script include to retrieve pronouns value from the us…
…er profile. (#459) Added pronouns field to Slacker users table Added pronouns to Slacker user form Co-authored-by: admin <[email protected]>
- Loading branch information
1 parent
c6ded54
commit 46bdd92
Showing
6 changed files
with
123 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
X1NRvjwxs0od9dl7o8x8TJKGDW-1XcvrtaWNPJtN8j7xtRw17VMdAn_h3-53esZH05QfV-tD9S6cbLBezbHzOlkyDDGmvWoJGQNi571Y6tIII0MBhyjKBxCeIq-cpx0jXyNZ_yer-jbs4VsLDuUc45qJj0XS8w4T7KpHUpaZhAgenqgQDeBkP-i_tnFT8zBWk3Bx0MNmfca4yhS8NnDkn-CiJ-KFA44guyfnLDQc3f2AIMmK5L_tfkJskeAzhHlVWVXXfV59MWByMS6XWjxmKRjkr8OhEi-agClzlza1Ka8PHpAOTqSgTkm4tMw29ND7Fr4jr8bGYtpuSpLd6WiurWHSDo8pCCpm65_EQTHCezqgokX0mWU4pHhMSJcIWc5J-CLDCf93gQnlM6qlfKw8LyyExPpQjGlfJrCHarh5YxjZbd_qFNsFt4AcRy0DQNbd9m1AGspNl1QuH7SDjw3oCysmaNZa3Tk1hQ2T4uzL4wDqOaVMHf1EHVqI-YQIv-5MPtOlP1DvK6daMjxhJ7lip1cTOxMG5J-AQEDWQIHsbTwEwK67su9-V1m9HIgv1fxNBNsnUuUG3QErGx36xxIfn90vUHN3vfa8u5n83SsKKcs8Pl6Md2zthr9LYUACKH-yzjXwctv-JyG5n6Ap1tSwiI_CeV_bWYrJt-Ok4wEroDs | ||
FMnDKTnj29fo7iD7UYS-j9oTOC9uOUZMzH7pdgqrpZlwybDRakyvFFtYDU2x-diGkBhb-u0ra_PQAKbCmw4z5v1QQKQRd3JnIJUmsD2xGIvHNSaPXusgnhRsHiwukXErp6JS442uoQlacx0vvr6qFN1arcEVAkaf5785evXIBe0cy--L8pearIgGD3funyWQDUNyyXs1sENqQFZP3Q3Mv1T1KCPNQiNf3_sQ3Zi9LrF_F2f8mEKImMd0UbSzmSHu5LBqDcXZMe_fYqoxv24VSGlUjTKiE4lHuNH2Wdr_T3ULFHsErPvH-xb3IbyYE9F2CrAh3oNGIMRZIn7xMV3ZnD1PzYE3L7hKElI3fabgQSU9Y8p2MB_EopbzNZCeS_pKafjtXUefvCo1FfFCQc9DLzqjKhAdDPoxf9hkYZDgp3DEFwmIa7rxjyQCEApwHGK_vikKhJVOMUsXkc4Pe593TJ-nVWMDdCSUXRrwLOOJLRSsJy2zF1PCd8tAv8JW2v-jtAYqQZ26huFKKJIoF0AlFjeTCC5ajVOOAT3ndoQa__routNl2yk2x8hB-tUvHFKtbPE6f5dlnmcwwlZzzBwmeJ0JbKNOipTRwfCaclYo6LJK3NHMF2wR5pYt4TPm5qIoyj0mtJHKk9H88b6Qza0yx12mXp3W_S7HjtVCG7SVg2Q |
7 changes: 4 additions & 3 deletions
7
b02cf9e61b861d10d806dc23b24bcb3f/dictionary/x_snc_slackerbot_user.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><database> | ||
<element db_object_id="56bc752a1b861d10d806dc23b24bcbc3" label="User" max_length="40" name="x_snc_slackerbot_user" type="collection"> | ||
<element label="Admin information" max_length="1000" name="admin_info" type="string"/> | ||
<element display="true" label="Name" max_length="128" name="name" type="string"/> | ||
<element default="javascript: new GlideDateTime();" label="Name updated" max_length="40" name="name_updated" type="glide_date_time"/> | ||
<element label="User ID" max_length="40" name="user_id" read_only="true" type="string"/> | ||
<element label="Pronouns" max_length="128" name="pronouns" type="string"/> | ||
<element display="true" label="Name" max_length="128" name="name" type="string"/> | ||
<element label="User information" max_length="1000" name="user_info" type="string"/> | ||
<element default="javascript: new GlideDateTime();" label="Name updated" max_length="40" name="name_updated" type="glide_date_time"/> | ||
<element label="Identity verified" max_length="40" name="verified" type="boolean"/> | ||
<element label="Admin information" max_length="1000" name="admin_info" type="string"/> | ||
</element> | ||
</database> |
74 changes: 74 additions & 0 deletions
74
b02cf9e61b861d10d806dc23b24bcb3f/update/sys_dictionary_x_snc_slackerbot_user_pronouns.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,74 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><record_update> | ||
<sys_dictionary action="INSERT_OR_UPDATE" element="pronouns" table="x_snc_slackerbot_user"> | ||
<active>true</active> | ||
<array>false</array> | ||
<attributes/> | ||
<audit>false</audit> | ||
<calculation><![CDATA[(function calculatedFieldValue(current) { | ||
// Add your code here | ||
return ''; // return the calculated value | ||
})(current);]]></calculation> | ||
<choice/> | ||
<choice_field/> | ||
<choice_table/> | ||
<column_label>Pronouns</column_label> | ||
<comments/> | ||
<create_roles/> | ||
<default_value/> | ||
<defaultsort/> | ||
<delete_roles/> | ||
<dependent/> | ||
<dependent_on_field/> | ||
<display>false</display> | ||
<dynamic_creation>false</dynamic_creation> | ||
<dynamic_creation_script/> | ||
<dynamic_default_value/> | ||
<dynamic_ref_qual/> | ||
<element>pronouns</element> | ||
<element_reference>false</element_reference> | ||
<foreign_database/> | ||
<formula/> | ||
<function_definition/> | ||
<function_field>false</function_field> | ||
<internal_type display_value="String">string</internal_type> | ||
<mandatory>false</mandatory> | ||
<max_length>128</max_length> | ||
<name>x_snc_slackerbot_user</name> | ||
<next_element/> | ||
<primary>false</primary> | ||
<read_only>false</read_only> | ||
<read_roles/> | ||
<reference/> | ||
<reference_cascade_rule/> | ||
<reference_floats>false</reference_floats> | ||
<reference_key/> | ||
<reference_qual/> | ||
<reference_qual_condition/> | ||
<reference_type/> | ||
<spell_check>false</spell_check> | ||
<staged>false</staged> | ||
<sys_class_name>sys_dictionary</sys_class_name> | ||
<sys_created_by>admin</sys_created_by> | ||
<sys_created_on>2024-11-01 02:13:23</sys_created_on> | ||
<sys_name>Pronouns</sys_name> | ||
<sys_package display_value="SlackerBot" source="x_snc_slackerbot">b02cf9e61b861d10d806dc23b24bcb3f</sys_package> | ||
<sys_policy/> | ||
<sys_scope display_value="SlackerBot">b02cf9e61b861d10d806dc23b24bcb3f</sys_scope> | ||
<sys_update_name>sys_dictionary_x_snc_slackerbot_user_pronouns</sys_update_name> | ||
<sys_updated_by>admin</sys_updated_by> | ||
<sys_updated_on>2024-11-01 02:13:54</sys_updated_on> | ||
<table_reference>false</table_reference> | ||
<text_index>false</text_index> | ||
<unique>false</unique> | ||
<use_dependent_field>false</use_dependent_field> | ||
<use_dynamic_default>false</use_dynamic_default> | ||
<use_reference_qualifier>simple</use_reference_qualifier> | ||
<virtual>false</virtual> | ||
<virtual_type>script</virtual_type> | ||
<widget/> | ||
<write_roles/> | ||
<xml_view>false</xml_view> | ||
</sys_dictionary> | ||
</record_update> |
26 changes: 26 additions & 0 deletions
26
...e61b861d10d806dc23b24bcb3f/update/sys_documentation_x_snc_slackerbot_user_pronouns_en.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,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><record_update> | ||
<sys_documentation element="pronouns" label="Pronouns" language="en" table="x_snc_slackerbot_user"> | ||
<sys_documentation action="INSERT_OR_UPDATE"> | ||
<element>pronouns</element> | ||
<help/> | ||
<hint/> | ||
<label>Pronouns</label> | ||
<language>en</language> | ||
<name>x_snc_slackerbot_user</name> | ||
<plural>Pronouns</plural> | ||
<sys_class_name>sys_documentation</sys_class_name> | ||
<sys_created_by>admin</sys_created_by> | ||
<sys_created_on>2024-11-01 02:13:23</sys_created_on> | ||
<sys_mod_count>0</sys_mod_count> | ||
<sys_name>Pronouns</sys_name> | ||
<sys_package display_value="SlackerBot" source="x_snc_slackerbot">b02cf9e61b861d10d806dc23b24bcb3f</sys_package> | ||
<sys_policy/> | ||
<sys_scope display_value="SlackerBot">b02cf9e61b861d10d806dc23b24bcb3f</sys_scope> | ||
<sys_update_name>sys_documentation_x_snc_slackerbot_user_pronouns_en</sys_update_name> | ||
<sys_updated_by>admin</sys_updated_by> | ||
<sys_updated_on>2024-11-01 02:13:23</sys_updated_on> | ||
<url/> | ||
<url_target/> | ||
</sys_documentation> | ||
</sys_documentation> | ||
</record_update> |
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