Much of the configuration of insights+ is stored in an App Configuration instance within Azure. This can be used to set up beta users, enable/disable certain features, set version number, etc.
Below is an example of this configuration (stored in JSON) with the following properties:
- betaUsers: email list of users designated as beta users.
- offline: setting to 1 will show the offline message and prevent access to the site.
- offlineMessage: this is the message that will be shown when the site is offline (see offline above)
- version: version number to display in the footer. If not found, it will display the version from package.json in the project.
- notice: notice to show at the top of the homepage. Must be used in conjunction with the Show Notice feature flag.
- features: list of features and their state:
- 0: Disabled
- 1: Available for beta users (with appropriate permissions/roles)
- 2: Available for all users (with appropriate permissions/roles)
- outcomes: list of outcomes and their state (same as features above)
- CustomPopulations: the stages where custom populations are available within the outcomes
- products and stages: Available Products (outcomes) and stages (not currently used)
- roles: a list of roles that can be assigned by external administrators.
{
"betaUsers": [
"useremail@somewhere.com"
],
"offline": 0,
"offlineMessage":"insights+ is undergoing maintenance. Availability will be limited until 8pm.",
"version":"1.14.4",
"notice":"insights+ will be undergoing maintenance from 8am - 8pm on 4/13/2025.",
"features": {
"SpecialReports": 0,
"Headlines": 0,
"DataRequest": 0,
"Uploads": 2,
"Messaging": 2,
"Outcomes": 2,
"Products": 2,
"FocusMode":2,
"FeedbackForm":2,
"Themes":0,
"Certifications":2,
"FileAdmin":2,
"Export": 2,
"Files": 2,
"Analyze": 2,
"ProfileImage": 2,
"Widgets": 2
},
"outcomes": {
"college-going": 2,
"high-school-graduation": 2,
"postsecondary-persistence": 2,
"postsecondary-graduation": 2,
"employment-gap": 2,
"time-to-employment": 2,
"employment-location": 2,
"industry-placement": 2
},
"CustomPopulations": {
"college-going": ["scorecard","explore","explain","describe"],
"high-school-graduation": ["scorecard","explore","explain","describe"],
"postsecondary-persistence": ["scorecard","explore","predict","explain","describe","predict"],
"postsecondary-graduation": ["scorecard","explore","explain","describe","predict"],
"employment-gap": [],
"time-to-employment": ["scorecard","explore","predict","explain","describe"],
"employment-location": ["scorecard","explore","explain","describe"],
"industry-placement": ["scorecard","explore","explain","describe", "predict"]
},
"products":{
"college-going": {},
"high-school-graduation": {},
"postsecondary-persistence": {},
"postsecondary-graduation": {},
"employment-gap": {},
"time-to-employment": {},
"employment-location": {},
"industry-placement": {}
},
"roles": ["Analyzer","Data Certifier","Data Manager","External Administrator","Legal Counsel","Message User","Product User","Researcher"]
}
Leave a Reply