Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client scripts module #130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Generated files
This repository contains generated files and a checksum.

**Do not edit the files in this repository outside of an instance of ServiceNow.**

If you find yourself unable to import your repository due to the presence of files edited outside an instance of ServiceNow, merge commits that mix files from different revisions, or other data that does not match the checksum, you may recover using either of the following techniques:
* Remove the problem commits:
1. Clone your repository to a personal computer with the git command line tools installed and open a git command prompt in the repository root
Expand All @@ -18,3 +16,12 @@ If you find yourself unable to import your repository due to the presence of fil
4. Run `git add -A`
5. Run `git commit`
6. Run `git push`

**Notes on dependencies**
1. Dependencies will not show up in the list of changes but will be exported/imported
2. It is your responsibility to resolve the dependencies before installing an application. ServiceNow source control will not manage these for you. In case you installed an application before installing its dependencies:
2.1 Delete the application
2.2 Activate/install all required dependencies
2.3 Re-import the application from source control
Currently listed dependencies:
* Task table schema
2 changes: 1 addition & 1 deletion checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
osx-M5xvnph5ZrBHI1_4NwyuL8woLjbJdFPMvkfmwWRQfhJB8-NMmrcxN6AGHOHBihp4WHt118750r6YoA4kVgoZ11s505a0fXMA8g-2xrzCsv1w_47kiX5s38-fSRLAn9ysY6vcxE-bfW-_p7EF5FE-_tpPC3bsR6H1L_EjI0ub9_00R7wI2vW6g-3LF9wZvo3WC5OTduUt_XlLmr4rtzqUFNHgct0RfdCWotQekC3in2O5i9ihtNLjytB1qjTO5unKCw2tIA5XfZNj-VWxYwoTd--uCPg2psNGNrGzM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es: 18 additions & 15 deletions dictionary/x_58872_needit_needit.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<database>
<element audit="true" extends="task" label="NeedIt" max_length="40" name="x_58872_needit_needit" type="collection">
<element label="New field 1" max_length="40" name="new_field_1" type="string"/>
<?xml version="1.0" encoding="UTF-8"?><database>
<element audit="true" db_object_id="3f28972b839a1610285d66d0deaad33b" extends="task" label="NeedIt" max_length="40" name="x_58872_needit_needit" type="collection">
<element label="Requested for" mandatory="true" max_length="32" name="u_requested_for" reference="sys_user" type="reference"/>
<element attributes="edge_encryption_enabled=true" label="Other" max_length="40" name="u_other" type="string"/>
<element attributes="edge_encryption_enabled=true" choice="3" default="legal" label="Request type" mandatory="true" max_length="40" name="u_request_type" type="string">
<choice>
<element label="Human Resources" sequence="0" value="hr"/>
<element label="Facilities" sequence="1" value="facilities"/>
<element label="Legal" sequence="2" value="legal"/>
<element inactive_on_update="false" label="Human Resources" sequence="0" value="hr"/>
<element inactive_on_update="false" label="Facilities" sequence="1" value="facilities"/>
<element inactive_on_update="false" label="Legal" sequence="2" value="legal"/>
<element inactive="true" inactive_on_update="true" label="Developer Enablement" sequence="0" value="dev_enable"/>
</choice>
</element>
<element attributes="edge_encryption_enabled=true" choice="3" default="hr1" label="What needed" mandatory="true" max_length="40" name="u_what_needed" type="string">
<element attributes="edge_encryption_enabled=true" choice="3" default="legal1" label="What needed" mandatory="true" max_length="40" name="u_what_needed" type="string">
<choice>
<element label="Human Resources 1" sequence="0" value="hr1"/>
<element label="Human Resources 2" sequence="1" value="hr2"/>
<element label="Facilities 1" sequence="2" value="facilities1"/>
<element label="Facilities 2" sequence="3" value="facilities2"/>
<element label="Legal 1" sequence="4" value="legal1"/>
<element label="Legal 2" sequence="5" value="legal2"/>
<element label="Other" sequence="6" value="other"/>
<element inactive_on_update="false" label="Legal 1" sequence="4" value="legal1"/>
<element inactive_on_update="false" label="Other" sequence="6" value="other"/>
<element inactive_on_update="false" label="Human Resources 2" sequence="1" value="hr2"/>
<element inactive_on_update="false" label="Human Resources 1" sequence="0" value="hr1"/>
<element inactive_on_update="false" label="Legal 2" sequence="5" value="legal2"/>
<element inactive_on_update="false" label="Facilities 1" sequence="2" value="facilities1"/>
<element inactive="true" inactive_on_update="true" label="Your Department Choice 1" sequence="0" value="your_choice1"/>
<element inactive_on_update="false" label="Facilities 2" sequence="3" value="facilities2"/>
<element inactive="true" inactive_on_update="true" label="Your Department Choice 2" sequence="1" value="your_choice2"/>
</choice>
</element>
<element label="When needed" mandatory="true" max_length="40" name="u_when_needed" type="glide_date_time"/>
<element label="New field 1" max_length="40" name="new_field_1" type="string"/>
</element>
</database>
10 changes: 10 additions & 0 deletions sn_source_control.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#############################################################
# This ServiceNow-created file contains the path to the app in this repo
# path=<path to app content in your repo>
# For example, if the app content resides in a folder named x_my_custom_app, the path value would be:
# path=/x_my_custom_app
# Update the path value when you move the app to a new repo location.
############################################################
#
#Thu Dec 12 05:31:54 PST 2024
path=
2 changes: 1 addition & 1 deletion update/sys_choice_x_58872_needit_needit_state.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 20:14:39</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>189999549f013200bde5f79ff57fcf2a</sys_id>
<sys_id>afb2cde70f1632000d030dbce1050e4d</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>state</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand Down
2 changes: 1 addition & 1 deletion update/sys_choice_x_58872_needit_needit_u_request_type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:28:14</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>dc9999549f013200bde5f79ff57fcf3c</sys_id>
<sys_id>ebb2cde70f1632000d030dbce1050e5d</sys_id>
<sys_mod_count>3</sys_mod_count>
<sys_name>u_request_type</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand Down
2 changes: 1 addition & 1 deletion update/sys_choice_x_58872_needit_needit_u_what_needed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:39:58</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>d89999549f013200bde5f79ff57fcf53</sys_id>
<sys_id>63b2cde70f1632000d030dbce1050e70</sys_id>
<sys_mod_count>3</sys_mod_count>
<sys_name>u_what_needed</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand Down
2 changes: 1 addition & 1 deletion update/sys_db_object_45007fcd0fa83200cd674f8ce1050ebc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<number_ref display_value="NI">1e427f010fe83200cd674f8ce1050e8b</number_ref>
<provider_class/>
<read_access>true</read_access>
<super_class display_value="Task" name="task">8283f3b59f222200bde5f79ff57fcfe0</super_class>
<super_class display_value="Task" name="task">5da4c2856110320092c0b8181e2a7aa0</super_class>
<sys_class_name>sys_db_object</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-24 22:46:33</sys_created_on>
Expand Down
4 changes: 2 additions & 2 deletions update/sys_dictionary_x_58872_needit_needit_new_field_1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 00:53:29</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>b38959549f013200bde5f79ff57fcf8d</sys_id>
<sys_id>fab28de70f1632000d030dbce1050ea1</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>New field 1</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand All @@ -62,7 +62,7 @@
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_new_field_1</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:16</sys_updated_on>
<sys_updated_on>2017-04-29 04:14:17</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
4 changes: 2 additions & 2 deletions update/sys_dictionary_x_58872_needit_needit_null.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-24 22:46:34</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>778959549f013200bde5f79ff57fcf7a</sys_id>
<sys_id>f2b28de70f1632000d030dbce1050e74</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>x_58872_needit_needit</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand All @@ -62,7 +62,7 @@
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_NULL</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:16</sys_updated_on>
<sys_updated_on>2017-04-29 04:14:17</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
69 changes: 69 additions & 0 deletions update/sys_dictionary_x_58872_needit_needit_u_other.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?><record_update>
<sys_dictionary action="INSERT_OR_UPDATE" element="u_other" table="x_58872_needit_needit">
<active>true</active>
<array>false</array>
<attributes>edge_encryption_enabled=true</attributes>
<audit>false</audit>
<calculation/>
<choice>0</choice>
<choice_field/>
<choice_table/>
<column_label>Other</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>u_other</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>40</max_length>
<name>x_58872_needit_needit</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-12-12 13:04:24</sys_created_on>
<sys_name>Other</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
<sys_policy/>
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_u_other</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-12-12 13:04:24</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>
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:28:12</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>bf8959549f013200bde5f79ff57fcf92</sys_id>
<sys_id>fab28de70f1632000d030dbce1050e89</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Request type</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand All @@ -57,7 +57,7 @@
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_u_request_type</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:16</sys_updated_on>
<sys_updated_on>2017-04-29 04:14:17</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:28:12</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>338959549f013200bde5f79ff57fcf90</sys_id>
<sys_id>7eb28de70f1632000d030dbce1050e86</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Requested for</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand All @@ -57,7 +57,7 @@
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_u_requested_for</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:16</sys_updated_on>
<sys_updated_on>2017-04-29 04:14:17</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
12 changes: 6 additions & 6 deletions update/sys_dictionary_x_58872_needit_needit_u_what_needed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<column_label>What needed</column_label>
<comments/>
<create_roles/>
<default_value>hr1</default_value>
<default_value>legal1</default_value>
<defaultsort/>
<delete_roles/>
<dependent/>
Expand Down Expand Up @@ -47,17 +47,17 @@
<sys_class_name>sys_dictionary</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:39:57</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>3b8959549f013200bde5f79ff57fcf96</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_customer_update>true</sys_customer_update>
<sys_id>76b28de70f1632000d030dbce1050e8d</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>What needed</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
<sys_policy/>
<sys_replace_on_upgrade>false</sys_replace_on_upgrade>
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_u_what_needed</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:16</sys_updated_on>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-29 04:15:17</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
4 changes: 2 additions & 2 deletions update/sys_dictionary_x_58872_needit_needit_u_when_needed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-01-26 19:08:23</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_id>bf8959549f013200bde5f79ff57fcf9a</sys_id>
<sys_id>b2b28de70f1632000d030dbce1050e9e</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>When needed</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
Expand All @@ -57,7 +57,7 @@
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_dictionary_x_58872_needit_needit_u_when_needed</sys_update_name>
<sys_updated_by>system</sys_updated_by>
<sys_updated_on>2017-02-16 00:15:17</sys_updated_on>
<sys_updated_on>2017-04-29 04:14:18</sys_updated_on>
<table_reference>false</table_reference>
<text_index>false</text_index>
<unique>false</unique>
Expand Down
26 changes: 26 additions & 0 deletions update/sys_documentation_x_58872_needit_needit_u_other_en.xml
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="u_other" label="Other" language="en" table="x_58872_needit_needit">
<sys_documentation action="INSERT_OR_UPDATE">
<element>u_other</element>
<help/>
<hint/>
<label>Other</label>
<language>en</language>
<name>x_58872_needit_needit</name>
<plural>Others</plural>
<sys_class_name>sys_documentation</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-12-12 13:04:24</sys_created_on>
<sys_mod_count>0</sys_mod_count>
<sys_name>Other</sys_name>
<sys_package display_value="NeedIt" source="x_58872_needit">6ead8e780f603200cd674f8ce1050ed1</sys_package>
<sys_policy/>
<sys_scope display_value="NeedIt">6ead8e780f603200cd674f8ce1050ed1</sys_scope>
<sys_update_name>sys_documentation_x_58872_needit_needit_u_other_en</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-12-12 13:04:24</sys_updated_on>
<url/>
<url_target/>
</sys_documentation>
</sys_documentation>
</record_update>
Loading