| Topic | Presenter | Summary | Duration |
| ----------------------------------------------------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------- | -------- |
| Identifying/Updating CEFConfigs and appSettings for the Dashboard | Jesse W. Christian P. | This video is from a working session that covers identifying/updating CEFConfigs and appSettings for the dashboard. | 15:02 |00:00:06.950 --> 00:00:09.886 The problem we have is on this local00:00:09.886 --> 00:00:12.200 in particular in stock alerts is00:00:12.200 --> 00:00:14.450 a feature being tested in stock.00:00:14.450 --> 00:00:16.700 Alerts are enabled for the dashboard,00:00:16.700 --> 00:00:17.825 therefore clearly the00:00:17.825 --> 00:00:19.325 feature itself is enabled.00:00:19.330 --> 00:00:21.200 No, I'm sorry they're not00:00:21.200 --> 00:00:22.696 enabled for the dashboard,00:00:22.700 --> 00:00:24.580 they're enabled for the catalog,00:00:24.580 --> 00:00:26.830 so therefore the feature is enabled.00:00:26.830 --> 00:00:29.448 We don't have the list of them,00:00:29.450 --> 00:00:31.700 that's usually available on the user00:00:31.700 --> 00:00:34.700 dashboard though, and in this version of CF.00:00:34.700 --> 00:00:37.160 2021 or 2020.3.00:00:37.160 --> 00:00:38.573 Uhm, every version,00:00:38.573 --> 00:00:40.457 every standard built-in dashboard00:00:40.457 --> 00:00:42.920 control does have an app setting00:00:42.920 --> 00:00:45.195 also related to it that it whether00:00:45.268 --> 00:00:47.660 it shows up on the dashboard or not.00:00:47.660 --> 00:00:49.910 The dashboard dot route app settings.00:00:49.910 --> 00:00:53.141 Now how to turn those on and how to00:00:53.141 --> 00:00:56.289 find what ones you want to turn on.00:00:56.290 --> 00:00:58.160 You want two files open.00:00:58.160 --> 00:01:00.035 You want the app settings00:01:00.035 --> 00:01:01.535 dot config of course.00:01:03.780 --> 00:01:06.580 And we would find that one could be00:01:06.580 --> 00:01:08.612 searched for it. Uh, yeah, yeah,00:01:08.612 --> 00:01:10.676 it's in the solution items folder,00:01:10.680 --> 00:01:12.064 but that might work.00:01:12.064 --> 00:01:13.448 These generally this generally00:01:13.448 --> 00:01:15.168 searches the contents of files.00:01:15.170 --> 00:01:17.578 The names of files so weirdly that's.00:01:17.580 --> 00:01:20.685 But to search for the name of a file,00:01:20.690 --> 00:01:23.098 there is another command you can run,00:01:23.100 --> 00:01:24.636 and it's actually I,00:01:24.636 --> 00:01:28.316 it's you'd be over here you click into the00:01:28.316 --> 00:01:31.340 content window and you press control T.00:01:31.340 --> 00:01:33.349 And then you delete that little hash00:01:33.349 --> 00:01:35.768 and now you can type in app settings.00:01:35.770 --> 00:01:38.062 Wow, cool like we go there00:01:38.062 --> 00:01:39.590 does Appsettings solution item.00:01:39.590 --> 00:01:42.982 So you want this file open and you00:01:42.982 --> 00:01:46.538 also want to go to a specific folder.00:01:46.540 --> 00:01:48.350 Uhm, you're in the workspace,00:01:48.350 --> 00:01:50.150 so it doesn't have this.00:01:50.150 --> 00:01:50.469 However,00:01:50.469 --> 00:01:53.021 I'm going to we can open it by00:01:53.021 --> 00:01:55.393 we can open it specifically by00:01:55.393 --> 00:01:57.368 going to file open file.00:02:00.400 --> 00:02:02.605 Open file K. Alright and you'll notice00:02:02.605 --> 00:02:04.978 that it puts you in solution items,00:02:04.980 --> 00:02:08.625 so you'll just go back one folder into self.00:02:08.630 --> 00:02:09.998 And it's up top.00:02:09.998 --> 00:02:13.391 It's gonna be one of the it's one of00:02:13.391 --> 00:02:15.893 the 00's it's 00 registry loader.00:02:15.900 --> 00:02:18.469 Locating and then in the sub folder.00:02:18.470 --> 00:02:21.406 JS Config's AE JS and then a boy.00:02:21.410 --> 00:02:24.322 Oh boy I tell you I don't know00:02:24.322 --> 00:02:26.868 which exact one of this which one00:02:26.868 --> 00:02:29.808 it is but go ahead and open all00:02:29.808 --> 00:02:32.412 four of these I'm out yeah and00:02:32.420 --> 00:02:34.616 in this one search for routes.00:02:38.230 --> 00:02:39.950 So there's extra catalog routes,00:02:39.950 --> 00:02:42.358 and it's so it's not this one,00:02:42.360 --> 00:02:44.080 so let's open up three.00:02:44.080 --> 00:02:46.138 We close this right same way,00:02:46.140 --> 00:02:47.516 so we open file.00:02:47.516 --> 00:02:49.236 Let's go back to Seth.00:02:49.240 --> 00:02:51.824 It would be in to do registry loader00:02:51.824 --> 00:02:54.266 JS CONFIG'S and then let's try three00:02:54.266 --> 00:02:56.460 room and then check routes again.00:02:56.460 --> 00:02:58.180 We gotta 130 or so.00:02:58.180 --> 00:03:00.828 I kind of feel like you're in the00:03:00.828 --> 00:03:03.181 right spot so and it's hopefully giving00:03:03.181 --> 00:03:06.229 you a bit of a highlight to wear.00:03:06.230 --> 00:03:08.575 These are all so at region routes.00:03:08.580 --> 00:03:09.552 That's pretty handy,00:03:09.552 --> 00:03:12.563 so let me scroll through here a little bit00:03:12.563 --> 00:03:14.936 just to make sure we're interact spot.00:03:14.940 --> 00:03:15.945 You're kind of.00:03:15.945 --> 00:03:17.955 You're seeing all kinds of routes,00:03:17.960 --> 00:03:18.628 request routes.00:03:18.628 --> 00:03:20.970 This is close, but it's I mean00:03:20.970 --> 00:03:22.645 I'm looking for dashboard routes.00:03:22.650 --> 00:03:26.530 Is the word dashboard in here at all?00:03:26.530 --> 00:03:28.338 Yes, all of them.00:03:28.338 --> 00:03:30.598 You're essentially looking for these,00:03:30.600 --> 00:03:30.931 UM.00:03:30.931 --> 00:03:32.917 That's great in this section that00:03:32.917 --> 00:03:34.847 talks about in these sections00:03:34.847 --> 00:03:36.587 that talk about dashboard.00:03:36.590 --> 00:03:38.894 Are there any of the talk about like00:03:38.894 --> 00:03:40.942 notify is not what you're looking00:03:40.942 --> 00:03:43.048 for in stock or notifying stock?00:03:43.050 --> 00:03:45.438 Yeah, so for stock.00:03:45.440 --> 00:03:47.786 OK or notify me maybe OK,00:03:47.790 --> 00:03:49.740 let's look for dashboard again.00:03:49.740 --> 00:03:52.086 These might not be the dashboard00:03:52.086 --> 00:03:52.868 routes themselves.00:03:52.870 --> 00:03:53.886 There's dashboard.00:03:53.886 --> 00:03:55.410 These are like.00:03:55.410 --> 00:03:57.516 Relative path and look up method.00:03:57.520 --> 00:04:00.733 This has to do with brands and like stores00:04:00.733 --> 00:04:03.889 and and multiple store fronts so maybe.00:04:03.890 --> 00:04:06.401 These are all of the like look up methods00:04:06.401 --> 00:04:08.917 and brands and like that kind of thing,00:04:08.920 --> 00:04:11.288 so maybe it's in the properties to file.00:04:11.290 --> 00:04:12.178 We're essentially looking00:04:12.178 --> 00:04:13.066 for dashboard routes.00:04:13.070 --> 00:04:14.840 It will do the same thing.00:04:14.840 --> 00:04:16.024 Let's kill this file.00:04:16.024 --> 00:04:17.208 Let's do it again,00:04:17.210 --> 00:04:17.506 right?00:04:17.506 --> 00:04:17.802 Yeah,00:04:17.802 --> 00:04:18.098 yeah.00:04:21.110 --> 00:04:22.970 Let's do that their part.00:04:25.130 --> 00:04:28.175 Try let's see. Yeah then lot of00:04:28.175 --> 00:04:30.680 dashboard stuff and this guy lot.00:04:30.680 --> 00:04:33.864 OK you know, I'm actually thinking this is00:04:33.864 --> 00:04:37.090 where we are so feature set dashboards.00:04:37.090 --> 00:04:39.580 That's cool, that's enabled and00:04:39.580 --> 00:04:42.649 right here these are basically the00:04:42.649 --> 00:04:45.139 settings were looking for dashboard00:04:45.139 --> 00:04:48.487 dot route dot whatever dot enabled so00:04:48.487 --> 00:04:51.462 in here you're looking for what again.00:04:51.470 --> 00:04:55.438 By our in stock alert let's let's look00:04:55.438 --> 00:04:59.499 for notified. Yeah, the searcher.00:04:59.500 --> 00:05:02.328 Oh here we go. This is it.00:05:02.330 --> 00:05:05.957 This is the exact app setting you want now,00:05:05.960 --> 00:05:08.655 no, uh, right here it's giving you00:05:08.655 --> 00:05:11.617 a little bit of a helpful summary.00:05:11.620 --> 00:05:13.978 It just indicates whether the route00:05:13.978 --> 00:05:16.451 itself is enabled and it's defaulted00:05:16.451 --> 00:05:19.300 to false. So check that out now.00:05:19.300 --> 00:05:21.718 It also depends on two things.00:05:21.720 --> 00:05:22.124 Specifically,00:05:22.124 --> 00:05:25.356 it has the my dashboard itself being enabled,00:05:25.360 --> 00:05:27.832 which it is because you're able00:05:27.832 --> 00:05:30.110 to view the dashboard itself.00:05:30.110 --> 00:05:32.438 Correct MMS and it also isn't.00:05:32.440 --> 00:05:34.988 It is dependent on this carts notify00:05:34.988 --> 00:05:38.260 me when in stock list that is enabled.00:05:38.260 --> 00:05:40.738 Now you're you're able to view that00:05:40.738 --> 00:05:43.542 you're able to click on in stock00:05:43.542 --> 00:05:45.627 notifications right on the catalog,00:05:45.630 --> 00:05:48.852 so this must also be enabled and we can00:05:48.852 --> 00:05:52.230 look in your app settings to verify that.00:05:52.230 --> 00:05:55.713 So what you'll do is grab that their value.00:05:55.720 --> 00:05:57.268 This this whole key.00:05:57.268 --> 00:05:58.816 Grab that whole thing.00:05:58.820 --> 00:06:01.060 No no the the key.00:06:01.060 --> 00:06:03.258 All the apps setting ski Lt yeah00:06:03.258 --> 00:06:05.732 I mean just that just from this00:06:05.732 --> 00:06:07.916 yes right there to that stream.00:06:07.920 --> 00:06:11.350 This is the key we want to copy that right?00:06:11.350 --> 00:06:13.891 Yep and you're gonna you want to00:06:13.891 --> 00:06:16.014 basically tell the app that this00:06:16.014 --> 00:06:18.254 is no longer false and you want00:06:18.331 --> 00:06:20.606 to do that in your app settings?00:06:20.610 --> 00:06:21.834 Dot killing fig file.00:06:21.834 --> 00:06:24.121 Let's find let's find in here something00:06:24.121 --> 00:06:26.437 about notify the cart notify thing.00:06:26.440 --> 00:06:28.498 Let's put it next to that.00:06:31.920 --> 00:06:34.356 If I want to stop right here,00:06:34.360 --> 00:06:37.040 so this right here is what is why00:06:37.040 --> 00:06:39.558 you're able to see notify me in00:06:39.558 --> 00:06:41.454 the catalog right? Notify cards.00:06:41.454 --> 00:06:44.373 Notify me when in stock dot enabled.00:06:44.380 --> 00:06:46.724 I think you should put your new thing00:06:46.724 --> 00:06:49.418 close to this guy or wherever you'd like,00:06:49.420 --> 00:06:51.574 but in the brackets? No, no, no,00:06:51.574 --> 00:06:54.780 not in direct as a new as a new thing.00:06:54.780 --> 00:06:56.040 New line yeah yeah.00:06:58.470 --> 00:07:00.552 And you want basically make this00:07:00.552 --> 00:07:03.468 inside of a whole cool thing like that,00:07:03.470 --> 00:07:06.674 wrap it in its whole add key equals right,00:07:06.680 --> 00:07:09.179 right, right? Oh, what did I do?00:07:09.180 --> 00:07:11.316 Some key combination to open settings?00:07:11.320 --> 00:07:12.672 It's a new tab,00:07:12.672 --> 00:07:15.610 so you'll probably be able to close that,00:07:15.610 --> 00:07:18.530 but you want to make it have a value of00:07:18.614 --> 00:07:21.393 true and have these cute little brackets00:07:21.393 --> 00:07:24.168 and all that good just like that.00:07:24.170 --> 00:07:26.669 And then we do value equals true?00:07:26.670 --> 00:07:29.758 Yeah sorry. I don't know why I watched00:07:29.758 --> 00:07:32.797 a bunch of country Western movies.00:07:32.800 --> 00:07:35.722 Does he feel in it? Yeah, uhm.00:07:35.722 --> 00:07:38.634 You sure you close your bracket correctly.00:07:38.640 --> 00:07:41.968 Did I do though? I gotta close it.00:07:41.970 --> 00:07:44.478 Yep, I see got it OK?00:07:44.480 --> 00:07:47.808 Oh no no, no man you gotta match.00:07:47.810 --> 00:07:51.563 Try and match everything so we gotta do this.00:07:51.570 --> 00:07:54.419 Slash yes yes very important backslash do00:07:54.419 --> 00:07:56.967 fired forward slash forward slash it's00:07:56.967 --> 00:07:59.907 it's shorthand for closing the entire thing.00:07:59.910 --> 00:08:01.990 Now this it in XML.00:08:01.990 --> 00:08:04.080 Basically the IT almost looks.00:08:04.080 --> 00:08:06.873 Imagine it looks.00:08:06.873 --> 00:08:10.597 Like HT HTML but.00:08:10.600 --> 00:08:12.959 This essentially would be the same thing00:08:12.959 --> 00:08:15.428 as that shorthand of closing it like that,00:08:15.430 --> 00:08:17.860 but but you know in keeping00:08:17.860 --> 00:08:20.040 with the rest of this.00:08:20.040 --> 00:08:20.393 Right,00:08:20.393 --> 00:08:23.570 so you have your dashboard dot route dot in00:08:23.648 --> 00:08:26.756 stock alerts enabled just for sanity's sake.00:08:26.760 --> 00:08:30.256 Why don't you make sure that this is00:08:30.256 --> 00:08:33.660 the only instance of this in your?00:08:33.660 --> 00:08:34.911 In your thing.00:08:34.911 --> 00:08:36.579 OK, well it's not.00:08:36.580 --> 00:08:37.531 Look at that.00:08:37.531 --> 00:08:39.433 Look at that look so specifically00:08:39.433 --> 00:08:41.720 you you said so in in your00:08:41.720 --> 00:08:43.397 settings for whatever reason it00:08:43.397 --> 00:08:45.107 says specifically disable it and00:08:45.107 --> 00:08:47.470 that was just there before we did00:08:47.470 --> 00:08:49.450 anything you haven't enabled up here,00:08:49.450 --> 00:08:51.466 but down lower you have a disabled00:08:51.466 --> 00:08:53.739 so you gotta either change through.00:08:53.740 --> 00:08:55.720 Either change that to true and00:08:55.720 --> 00:08:58.028 erase the one we did up there,00:08:58.030 --> 00:09:01.528 or just delete this line whatever.00:09:01.530 --> 00:09:02.160 It itself.00:09:02.160 --> 00:09:04.365 Yeah, you could delete this entire line.00:09:04.370 --> 00:09:05.898 This is the same thing, right?00:09:05.898 --> 00:09:06.614 It is,00:09:06.614 --> 00:09:09.500 except it's telling it to be false now.00:09:09.500 --> 00:09:10.036 God, it's,00:09:10.036 --> 00:09:11.644 so let's just highlight the whole00:09:11.644 --> 00:09:13.446 thing right? Yeah? And then.00:09:13.446 --> 00:09:15.134 Get a good night.00:09:18.220 --> 00:09:21.975 Now we save this file right? You do OK.00:09:21.975 --> 00:09:26.446 OK, now this is a front end, a config change.00:09:26.446 --> 00:09:29.710 So that means that is a cache thing.00:09:29.710 --> 00:09:32.918 So go to your admin for your website.00:09:37.080 --> 00:09:39.230 Whatever darn website this is.00:11:15.950 --> 00:11:18.288 Now that you're here in the admin,00:11:18.290 --> 00:11:20.271 the goal why we wanted to come00:11:20.271 --> 00:11:22.743 here is to clear the JS config00:11:22.743 --> 00:11:24.295 cache and you're correct.00:11:24.300 --> 00:11:25.636 It is insight maintenance,00:11:25.636 --> 00:11:27.640 and it's not on this tab,00:11:27.640 --> 00:11:30.080 it's on the other tasks and you'll go00:11:30.080 --> 00:11:32.975 in and clear your JS config cache down.00:11:32.980 --> 00:11:34.316 At the bottom there.00:11:34.316 --> 00:11:35.986 Now that you've done that,00:11:35.990 --> 00:11:37.856 you need to restart both the00:11:37.856 --> 00:11:40.239 app pools for DNN and for API00:11:40.239 --> 00:11:41.667 dash storefront for this.00:11:43.800 --> 00:11:46.290 I have this website correct,00:11:46.290 --> 00:11:50.598 let's go where my app pools.00:11:50.600 --> 00:11:54.080 That disclose that it years so which ones00:11:54.080 --> 00:11:57.829 you said we're going to stop the DNN one,00:11:57.830 --> 00:12:00.380 and the API dash storefront one.00:12:00.380 --> 00:12:01.655 Both of those.00:12:01.655 --> 00:12:03.780 And once you restart those,00:12:03.780 --> 00:12:06.630 you'll be able to go.00:12:06.630 --> 00:12:11.616 To your front end dashboard again and we are00:12:11.616 --> 00:12:15.558 expecting to see the darn thing turned on.00:12:15.560 --> 00:12:17.555 Nice so we wanna go from here.00:12:17.560 --> 00:12:19.848 Back to the store front are back on.00:12:19.850 --> 00:12:22.109 We do so you literally just stop them and00:12:22.109 --> 00:12:24.429 you turn them back on immediately right?00:12:24.430 --> 00:12:26.620 Yeah yeah, I mean right here00:12:26.620 --> 00:12:28.880 to see your essentially so it00:12:28.880 --> 00:12:30.685 looks like it's still running.00:12:30.690 --> 00:12:33.050 Probably is gonna take some time to stop,00:12:33.050 --> 00:12:34.186 uh, and we can.00:12:34.186 --> 00:12:35.606 We could speed up that00:12:35.606 --> 00:12:36.888 process of stopping it.00:12:36.890 --> 00:12:39.176 Or we can just wait it out to speed00:12:39.176 --> 00:12:41.307 up the process of starting it.00:12:41.310 --> 00:12:44.414 You probably just want to go into the00:12:44.414 --> 00:12:47.519 task manager and kill that actual process.00:12:47.520 --> 00:12:49.452 It's it's all gonna be under00:12:49.452 --> 00:12:51.864 details tab and it will always be00:12:51.864 --> 00:12:53.964 the process name are always going00:12:53.964 --> 00:12:56.503 to be W three WP 3 Yep I remember.00:12:56.510 --> 00:12:58.598 So it's it's yeah and if you want00:12:58.598 --> 00:13:01.139 to know what specific one it is you00:13:01.139 --> 00:13:03.231 can expand your command line tab00:13:03.231 --> 00:13:05.409 and in even further expanded even00:13:05.409 --> 00:13:08.060 further 'cause you kind of you got it,00:13:08.060 --> 00:13:09.986 they're all named the same thing.00:13:09.990 --> 00:13:12.879 You kind of got to get the name of,00:13:12.880 --> 00:13:14.485 so we're essentially looking at00:13:14.485 --> 00:13:16.090 this one API storefront core.00:13:16.090 --> 00:13:17.760 That's the one you wanted.00:13:17.760 --> 00:13:18.136 Kill.00:13:18.136 --> 00:13:20.768 Looks like it's losing its losing memory.00:13:20.770 --> 00:13:22.870 It was going down but wasn't starting.00:13:22.870 --> 00:13:24.370 It wasn't killing very fast,00:13:24.370 --> 00:13:24.934 was it?00:13:24.934 --> 00:13:26.626 So now you should be able00:13:26.626 --> 00:13:27.969 to restart those both.00:13:34.460 --> 00:13:36.732 Nice look at that.00:13:36.732 --> 00:13:39.674 Alright dude, now you should be00:13:39.674 --> 00:13:43.071 able to go back to your slash00:13:43.071 --> 00:13:46.557 dashboard page and see the tab.00:13:46.560 --> 00:13:48.068 Four in stock alerts.00:13:50.120 --> 00:13:52.220 If you can dig that. Well,00:13:52.220 --> 00:13:54.880 I can slip this thing spin up.00:13:59.730 --> 00:14:00.758 Can you dig it?00:14:04.300 --> 00:14:05.408 So I can get.00:14:09.020 --> 00:14:10.540 It takes awhile to spin.00:14:10.540 --> 00:14:12.346 Yeah, you know, restarting the app,00:14:12.350 --> 00:14:14.665 it's gotta load some stuff00:14:14.665 --> 00:14:17.250 into its memory or. Something.00:14:22.640 --> 00:14:23.948 Tell mom buddy.00:14:27.070 --> 00:14:28.326 Really appreciate you Jesse.00:14:28.326 --> 00:14:30.570 This has been a very informative video.