-
Notifications
You must be signed in to change notification settings - Fork 10
/
MediaLibraryBreakingChanges.xml
146 lines (140 loc) · 14.6 KB
/
MediaLibraryBreakingChanges.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2017-04-13 13:37:58">
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Media Library">3458a92c518a32007f446637134c6055</application>
<application_name>Media Library</application_name>
<application_scope>x_snc_media_librar</application_scope>
<application_version>1.0.0</application_version>
<collisions/>
<commit_date/>
<deleted/>
<description>Automatically created by the system</description>
<inserted/>
<name>Breaking Changes</name>
<origin_sys_id/>
<release_date/>
<remote_sys_id>380328e2390e32007f442464d20c4a79</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-04-13 13:37:58</sys_created_on>
<sys_id>145aa866390e32007f442464d20c4ac7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-13 13:37:58</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Media Library">3458a92c518a32007f446637134c6055</application>
<category>customer</category>
<comments/>
<name>sys_ui_action_9600062451ca32007f446637134c60ef</name>
<payload><?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_ui_action"><sys_ui_action action="INSERT_OR_UPDATE"><action_name>Loan Copy</action_name><active>true</active><client>false</client><comments/><condition/><form_action>true</form_action><form_button>true</form_button><form_context_menu>false</form_context_menu><form_link>false</form_link><hint/><list_action>false</list_action><list_banner_button>false</list_banner_button><list_button>false</list_button><list_choice>false</list_choice><list_context_menu>false</list_context_menu><list_link>false</list_link><list_save_with_form_button>false</list_save_with_form_button><name>Loan Copy</name><onclick/><order>100</order><script><![CDATA[(function loanCopy(current) {
var copyID = current.sys_id;
var gr = new GlideRecord("x_snc_media_librar_loan");
gr.setValue('loaned_item', copyID);
// What if this isn't here? gr.insert();
action.setRedirectURL(gr);
})(current);]]></script><show_insert>true</show_insert><show_multiple_update>false</show_multiple_update><show_query>false</show_query><show_update>true</show_update><sys_class_name>sys_ui_action</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2017-04-07 14:45:19</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>9600062451ca32007f446637134c60ef</sys_id><sys_mod_count>2</sys_mod_count><sys_name>Loan Copy</sys_name><sys_overrides/><sys_package display_value="Media Library" source="x_snc_media_librar">3458a92c518a32007f446637134c6055</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Media Library">3458a92c518a32007f446637134c6055</sys_scope><sys_update_name>sys_ui_action_9600062451ca32007f446637134c60ef</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2017-04-13 13:29:47</sys_updated_on><table>x_snc_media_librar_copy</table><ui11_compatible>true</ui11_compatible><ui16_compatible>false</ui16_compatible></sys_ui_action></record_update></payload>
<remote_update_set display_value="Breaking Changes">145aa866390e32007f442464d20c4ac7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-04-13 13:37:58</sys_created_on>
<sys_id>145aa866390e32007f442464d20c4ac8</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-13 13:37:58</sys_updated_on>
<table>x_snc_media_librar_copy</table>
<target_name>Loan Copy</target_name>
<type>UI Action</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Media Library">3458a92c518a32007f446637134c6055</application>
<category>customer</category>
<comments/>
<name>sys_script_caadf9e051ca32007f446637134c6059</name>
<payload><?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_script"><sys_script action="INSERT_OR_UPDATE"><abort_action>true</abort_action><access>package_private</access><action_delete>false</action_delete><action_insert>true</action_insert><action_query>false</action_query><action_update>false</action_update><active>false</active><add_message>true</add_message><advanced>false</advanced><change_fields>false</change_fields><client_callable>false</client_callable><collection>x_snc_media_librar_loan</collection><condition/><description/><execute_function>false</execute_function><filter_condition table="x_snc_media_librar_loan">loaned_item.status=Loaned^EQ<item endquery="false" field="loaned_item.status" goto="false" newquery="false" operator="=" or="false" value="Loaned"/><item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/></filter_condition><is_rest>false</is_rest><message><![CDATA[<p>This item is already loaned</p>]]></message><name>Abort Duplicate Loan</name><order>100</order><priority>100</priority><rest_method/><rest_method_text/><rest_service/><rest_service_text/><rest_variables/><role_conditions/><script><![CDATA[(function executeRule(current, previous /*null when async*/) {
// Add your code here
})(current, previous);]]></script><sys_class_name>sys_script</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2017-04-07 14:41:58</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>caadf9e051ca32007f446637134c6059</sys_id><sys_mod_count>2</sys_mod_count><sys_name>Abort Duplicate Loan</sys_name><sys_overrides/><sys_package display_value="Media Library" source="x_snc_media_librar">3458a92c518a32007f446637134c6055</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Media Library">3458a92c518a32007f446637134c6055</sys_scope><sys_update_name>sys_script_caadf9e051ca32007f446637134c6059</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2017-04-13 13:37:04</sys_updated_on><template/><when>before</when></sys_script><sys_translated_text action="delete_multiple" query="documentkey=caadf9e051ca32007f446637134c6059"/></record_update></payload>
<remote_update_set display_value="Breaking Changes">145aa866390e32007f442464d20c4ac7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-04-13 13:37:58</sys_created_on>
<sys_id>505aa866390e32007f442464d20c4ac8</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-13 13:37:58</sys_updated_on>
<table>x_snc_media_librar_loan</table>
<target_name>Abort Duplicate Loan</target_name>
<type>Business Rule</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Media Library">3458a92c518a32007f446637134c6055</application>
<category>customer</category>
<comments/>
<name>sys_script_c70db5e051ca32007f446637134c6075</name>
<payload><?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_script"><sys_script action="INSERT_OR_UPDATE"><abort_action>false</abort_action><access>package_private</access><action_delete>false</action_delete><action_insert>true</action_insert><action_query>false</action_query><action_update>true</action_update><active>true</active><add_message>false</add_message><advanced>true</advanced><change_fields>false</change_fields><client_callable>false</client_callable><collection>x_snc_media_librar_loan</collection><condition/><description/><execute_function>false</execute_function><filter_condition/><is_rest>false</is_rest><message/><name>Update Copy Status on Loan</name><order>100</order><priority>100</priority><rest_method/><rest_method_text/><rest_service/><rest_service_text/><rest_variables/><role_conditions/><script><![CDATA[(function executeRule(current, previous /*null when async*/) {
if (current.active.changes()) {
// do we really need this line? var copyID = current.getValue('loaned_item');
var copy = new GlideRecord('x_snc_media_librar_copy');
copy.get(copyID);
if (current.active) {
copy.setValue('status', 'Loaned');
} else {
copy.setValue('status','Available');
}
copy.update();
}
})(current, previous);]]></script><sys_class_name>sys_script</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2017-04-07 14:33:02</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>c70db5e051ca32007f446637134c6075</sys_id><sys_mod_count>1</sys_mod_count><sys_name>Update Copy Status on Loan</sys_name><sys_overrides/><sys_package display_value="Media Library" source="x_snc_media_librar">3458a92c518a32007f446637134c6055</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Media Library">3458a92c518a32007f446637134c6055</sys_scope><sys_update_name>sys_script_c70db5e051ca32007f446637134c6075</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2017-04-13 13:30:34</sys_updated_on><template/><when>after</when></sys_script><sys_translated_text action="delete_multiple" query="documentkey=c70db5e051ca32007f446637134c6075"/></record_update></payload>
<remote_update_set display_value="Breaking Changes">145aa866390e32007f442464d20c4ac7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-04-13 13:37:58</sys_created_on>
<sys_id>9c5aa866390e32007f442464d20c4ac7</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-13 13:37:58</sys_updated_on>
<table>x_snc_media_librar_loan</table>
<target_name>Update Copy Status on Loan</target_name>
<type>Business Rule</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Media Library">3458a92c518a32007f446637134c6055</application>
<category>customer</category>
<comments/>
<name>sys_ui_policy_74cbfda051ca32007f446637134c603b</name>
<payload><?xml version="1.0" encoding="UTF-8"?><record_update sys_domain="global" table="sys_ui_policy"><sys_ui_policy action="INSERT_OR_UPDATE"><active>false</active><conditions/><description/><global>true</global><inherit>false</inherit><model_id/><model_table/><on_load>true</on_load><order>100</order><reverse_if_false>true</reverse_if_false><run_scripts>false</run_scripts><script_false><![CDATA[function onCondition() {
}]]></script_false><script_true><![CDATA[function onCondition() {
}]]></script_true><set_values/><short_description>Make Title Mandatory</short_description><sys_class_name>sys_ui_policy</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2017-04-07 14:26:53</sys_created_on><sys_customer_update>true</sys_customer_update><sys_domain>global</sys_domain><sys_domain_path>/</sys_domain_path><sys_id>74cbfda051ca32007f446637134c603b</sys_id><sys_mod_count>2</sys_mod_count><sys_name>Make Title Mandatory</sys_name><sys_overrides/><sys_package display_value="Media Library" source="x_snc_media_librar">3458a92c518a32007f446637134c6055</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="Media Library">3458a92c518a32007f446637134c6055</sys_scope><sys_update_name>sys_ui_policy_74cbfda051ca32007f446637134c603b</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2017-04-13 13:24:41</sys_updated_on><table>x_snc_media_librar_media</table><ui_type>0</ui_type><view/></sys_ui_policy></record_update></payload>
<remote_update_set display_value="Breaking Changes">145aa866390e32007f442464d20c4ac7</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2017-04-13 13:37:58</sys_created_on>
<sys_id>d45aa866390e32007f442464d20c4ac8</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2017-04-13 13:37:58</sys_updated_on>
<table>x_snc_media_librar_media</table>
<target_name>Make Title Mandatory</target_name>
<type>UI Policy</type>
<update_domain>global</update_domain>
<update_set display_value=""/>
<view/>
</sys_update_xml>
</unload>