Skip to content

Commit c37a6a8

Browse files
bgrk005admin
and
admin
authored
new instance scan check to check for List Reports without any columns selected (#166)
* Instance scan check for List Reports without any columns selected * Update README.md added Inscance scan check to check for List Reports without any columns selected --------- Co-authored-by: admin <[email protected]>
1 parent 04f4514 commit c37a6a8

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ As setWorkflow(false) method will stop the execution of business rules on that p
352352

353353
The isLoading flag is the simplest way to prevent unnecessary code from taking up browser time. The isLoading flag should be used at the beginning of any script which is not required to run when the form is loading. There is no need to run this script on a form load because the logic would have already run when the field was last changed
354354

355+
## Make sure columans are selected in list type reports
356+
357+
It is recommended to select columans in List type report to provide better user experence.
355358

356359
# Additional resources
357360

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SIimSwi8LzQnS5LhIIj-XdO-QaCcGn5Jyh8x1APgrXnqe99bHWEBglL1nTfJZWg4wZI-vci2WX4Ql-BPSNvOfWNJomzFs5_KJLah3CO14TDx5LI-8ckrPGChk_NrqE5i-E6qPCLObgWT6otMr0x7fJVc9IAPsYbLorckDuKOp9kFnOc8y9jTdOr4Xo_8UiC0Kcb7bqEWj6gIQdSmSwj9Jp79FgGRVPM1BiTwSPzNm2JLqDthMfIbTDrJ6KXiVanCWUVjgGfI-_y0BmY8PzsLr3rvrBLPTfWCuekMhpb5herR-M3zm2a2z5cUyUvPdq7tvCB9AK3zfVLfh79MpQ1KaKa4chuy4oXECtf6m8xrIoOsBG8GHBg6tQKZo6bVGCW0wpHmOTYxK-RZo9fnnj02XQ11IzpqiQARQ-tq8mnTh4KNdoii8tAPmgycuSXT_LSINvSQweonzdlWhre9Wuq9e34I8tNtcYfwPUMwX14qrWxYE0kicR8j1ymk0q_HhZVXbkAFle4D8qoYPBJGm0C4UiYZsi2OwhVFFvHwLf6fBxC80GpEC6n_x7piCpx1N-oWGeD3ZBBl-e8OLP2jnp3uOmELb9_Vx9VFX7SbXi4Sk1zW-q-0-CXDarOb1ClVrbnWVBWEuxzxBcfWDRnfcoA4AIe-Pmo5FekB_9szCaMRdqE
1+
4d6lPrUkCVTDgWYn5zU7vu4stzuS-TziCS-zwvUKtV6pl_XMX5Tj-ebHSo_WkFHOKdmi0Ujiy319GF9bCMGVC16bo9b_IO79Y7WPQlkZLCbMBK-_DQKiWEybC9f1ZalcFWo7V4GrtTCBA8jzgVuih9sHYUU8pBeYGaWqFnKL2bd8IAq9VhtmJM_TuEc1kBvs7Nxkz9ixLDGIH4y4hVzMNOJX9_YneP-MN3X1LH88mDVggqTGcAspNfEjeFwlnSdVyaLuzARhoyNhQmW-02eoXtCCio1Yhf5vjbuvWQrxxeRp-jl52NUBETQaNpvlHpVGHl8yAn5H-JI4yHLuJRrw0okqbBWyMgfP3M6LrWJEwR4YjL0aAVVdk9KL3bq9ylh1sEncKCGHZrzpBqXgF_6qJ_C4L6kZl3k-QxXTBEPuWScooyFBJpntmKF19xhnJtQn4LIfF9vWhm9K5PVSzGF2ZGophrvIZvrktw_u4Lnn1Ousm0kEtkYSELmujsAUbXLDOt0_A2KfGpCQmw-1Av5eHfEhzIHwIEk9wjE6BdaExpaZqL_8QIGMHuU4N09_l9uJ_whnwDLeaPRCJjzkwaxLTuetU9mwMVvW8PTJsZQgvnJ6DNr2LAog737M0_LjoIeO10FEwgwNRSCA_nar42g3jwPPWgcpVaMt-ImskANvhys
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
2+
<scan_table_check action="INSERT_OR_UPDATE">
3+
<active>true</active>
4+
<advanced>false</advanced>
5+
<category>user_experience</category>
6+
<conditions table="sys_report">type=list^columnISEMPTY^EQ<item display_value="List" endquery="false" field="type" goto="false" newquery="false" operator="=" or="false" value="list"/>
7+
<item endquery="false" field="column" goto="false" newquery="false" operator="ISEMPTY" or="false" value=""/>
8+
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
9+
</conditions>
10+
<description/>
11+
<documentation_url/>
12+
<finding_type>scan_finding</finding_type>
13+
<name>List Reports without any columns selected</name>
14+
<priority>4</priority>
15+
<resolution_details/>
16+
<run_condition/>
17+
<score_max>100</score_max>
18+
<score_min>0</score_min>
19+
<score_scale>1</score_scale>
20+
<script><![CDATA[(function (engine) {
21+
22+
// Add your code here
23+
24+
})(engine);]]></script>
25+
<short_description>Select columns in list type reports</short_description>
26+
<sys_class_name>scan_table_check</sys_class_name>
27+
<sys_created_by>admin</sys_created_by>
28+
<sys_created_on>2024-10-24 01:33:02</sys_created_on>
29+
<sys_id>c4b11137c3511210eb11ba2ed4013189</sys_id>
30+
<sys_mod_count>1</sys_mod_count>
31+
<sys_name>List Reports without any columns selected</sys_name>
32+
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
33+
<sys_policy/>
34+
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
35+
<sys_update_name>scan_table_check_c4b11137c3511210eb11ba2ed4013189</sys_update_name>
36+
<sys_updated_by>admin</sys_updated_by>
37+
<sys_updated_on>2024-10-25 01:02:36</sys_updated_on>
38+
<table>sys_report</table>
39+
<use_manifest>false</use_manifest>
40+
</scan_table_check>
41+
<sys_translated_text action="delete_multiple" query="documentkey=c4b11137c3511210eb11ba2ed4013189"/>
42+
</record_update>

0 commit comments

Comments
 (0)