How are fields added to the 'Custom Preferences' s...
# ask-stanley-ai
l
How are fields added to the 'Custom Preferences' sublist in 'Setup > Company > Preferences > General Preferences'?
c
AI generated answer (using internal Slack threads):
To add fields to the 'Custom Preferences' sublist in 'Setup > Company > Preferences > General Preferences', you need to create a script parameter and set its level to 'Company'. This can be done with most script types, such as User Event, Map/Reduce, Client, etc. Here are the steps to do this: 1. Create a new script or use an existing one. 2. In the script record, go to the 'Parameters' tab. 3. Click 'New Parameter' to add a new parameter. 4. Set the 'Preference Level' of the parameter to 'Company'. 5. Save the script. Once you've done this, the parameter will be displayed in the 'Custom Preferences' sublist under 'General Preferences'. Please note that the parameters are grouped under a 'GENERAL' label by default. If you want to group them under a different label, you would need to create a bundle. Also, you can use the
N/config
module to load general preferences, including custom preferences from bundles you've installed. You can define script parameters as having either company or user preferences. Setting a script parameter to user allows end users to override the default (company) script behavior by going to Home > Set Preferences and clicking the 'Custom Preferences' tab. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837427914
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827249885
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826805472
Please provide your feedback on this answer.