|
| 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>performance</category> |
| 6 | + <conditions table="sys_user_preference">user.nameLIKErowcount^value<=50^EQ<item endquery="false" field="user.name" goto="false" newquery="false" operator="LIKE" or="false" value="rowcount"/> |
| 7 | + <item endquery="false" field="value" goto="false" newquery="false" operator="<=" or="false" value="50"/> |
| 8 | + <item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/> |
| 9 | + </conditions> |
| 10 | + <description>Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records.</description> |
| 11 | + <documentation_url/> |
| 12 | + <finding_type>scan_finding</finding_type> |
| 13 | + <name>Limit rowcount to 50 max for users</name> |
| 14 | + <priority>3</priority> |
| 15 | + <resolution_details>Restict the number of row counts ma x to 10,20,50 instaed of higher limit as 100 and 1000 to tune the performance on different table when user interact. This is increase the user experience and platform performance as well. Since it is exposed to potentially slower performance due to having query, process ACL and then render more records. |
| 16 | + |
| 17 | +Navigate to user preference <sys_user_preference> table and search by 'rowcount'. Set the value to 50 max. |
| 18 | +Also, can set the property 'glide.ui.per_page' sys property value to 10, 20, 50 only</resolution_details> |
| 19 | + <run_condition/> |
| 20 | + <score_max>100</score_max> |
| 21 | + <score_min>0</score_min> |
| 22 | + <score_scale>1</score_scale> |
| 23 | + <script><![CDATA[(function (engine) { |
| 24 | +
|
| 25 | + // Add your code here |
| 26 | +
|
| 27 | +})(engine);]]></script> |
| 28 | + <short_description>Restrict rowcount to 10,20,50 max from user preference table</short_description> |
| 29 | + <sys_class_name>scan_table_check</sys_class_name> |
| 30 | + <sys_created_by>a.pandey</sys_created_by> |
| 31 | + <sys_created_on>2023-10-27 20:15:19</sys_created_on> |
| 32 | + <sys_id>d3f47b4b97823110dd0178300153af08</sys_id> |
| 33 | + <sys_mod_count>0</sys_mod_count> |
| 34 | + <sys_name>Limit rowcount to 50 max for users</sys_name> |
| 35 | + <sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package> |
| 36 | + <sys_policy/> |
| 37 | + <sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope> |
| 38 | + <sys_update_name>scan_table_check_d3f47b4b97823110dd0178300153af08</sys_update_name> |
| 39 | + <sys_updated_by>a.pandey</sys_updated_by> |
| 40 | + <sys_updated_on>2023-10-27 20:15:19</sys_updated_on> |
| 41 | + <table>sys_user_preference</table> |
| 42 | + <use_manifest>false</use_manifest> |
| 43 | + </scan_table_check> |
| 44 | +</record_update> |
0 commit comments