Skip to content

Commit

Permalink
new instance scan check to check for List Reports without any columns…
Browse files Browse the repository at this point in the history
… 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 <admin@example.com>
  • Loading branch information
bgrk005 and admin authored Oct 25, 2024
1 parent 04f4514 commit c37a6a8
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ As setWorkflow(false) method will stop the execution of business rules on that p

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

## Make sure columans are selected in list type reports

It is recommended to select columans in List type report to provide better user experence.

# Additional resources

Expand Down
2 changes: 1 addition & 1 deletion ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt
Original file line number Diff line number Diff line change
@@ -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
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 number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
<scan_table_check action="INSERT_OR_UPDATE">
<active>true</active>
<advanced>false</advanced>
<category>user_experience</category>
<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"/>
<item endquery="false" field="column" goto="false" newquery="false" operator="ISEMPTY" or="false" value=""/>
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
</conditions>
<description/>
<documentation_url/>
<finding_type>scan_finding</finding_type>
<name>List Reports without any columns selected</name>
<priority>4</priority>
<resolution_details/>
<run_condition/>
<score_max>100</score_max>
<score_min>0</score_min>
<score_scale>1</score_scale>
<script><![CDATA[(function (engine) {
// Add your code here
})(engine);]]></script>
<short_description>Select columns in list type reports</short_description>
<sys_class_name>scan_table_check</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-10-24 01:33:02</sys_created_on>
<sys_id>c4b11137c3511210eb11ba2ed4013189</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_name>List Reports without any columns selected</sys_name>
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
<sys_policy/>
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
<sys_update_name>scan_table_check_c4b11137c3511210eb11ba2ed4013189</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-10-25 01:02:36</sys_updated_on>
<table>sys_report</table>
<use_manifest>false</use_manifest>
</scan_table_check>
<sys_translated_text action="delete_multiple" query="documentkey=c4b11137c3511210eb11ba2ed4013189"/>
</record_update>

0 comments on commit c37a6a8

Please sign in to comment.