Look at leveraging the sys_user_preference table to store various SNICH Configurations..
Functionality to add
Add a new class to "Get and Save Preferences"
Get Preference
Should be a query that gets the "users" preference OR System preference, ordered descending by "User" (this way User Preference is first in order)
Create Preference
Should create the preference, setting the user_id, etc. To set UserID we may need to retrieve the users sys_id first.. store in memory for vscode session for continued use (This way we reduce rest calls as they're being made)
naming should be (where applicable) SNICH__${app_scope}^${preference_name}
Current Item(s) to Save
TableConfig
Make sure we flatten the JSON before saving (only 65k characters of room)
Upon completing code for New Record Templates, store those as well.
Break these up by table_name into the preferences table so we reduce risk of field length issues.
Look at leveraging the sys_user_preference table to store various SNICH Configurations..
Functionality to add
Add a new class to "Get and Save Preferences"
Get Preference
Create Preference
Current Item(s) to Save