| Topic | Presenter | Summary | Duration |
| -------------------------- | ------------------ | ---------------------------------------------------------------------------------- | -------- |
| Canadian Dollar Conversion | James G. & Greg D. | This video is from an office hours session that covers Canadian Dollar Conversion. | 52:16 |00:00:07.070 --> 00:00:10.602 OK, uhm. And where we left
00:00:10.602 --> 00:00:11.792 off was we while you,
00:00:11.800 --> 00:00:13.930 I guess, figure it out that
00:00:13.930 --> 00:00:16.538 we need to see the high key.
00:00:16.540 --> 00:00:17.884 Existing version would make
00:00:17.884 --> 00:00:19.228 the conversion actually work.
00:00:23.950 --> 00:00:24.420 Yeah.
00:00:26.750 --> 00:00:28.926 That that's pretty much where we left off.
00:00:28.930 --> 00:00:30.848 Thank God the API key right now.
00:00:30.850 --> 00:00:33.298 Where am I adding this API key in here?
00:00:35.630 --> 00:00:36.813 Well, we needed to make a setting
00:00:36.813 --> 00:00:38.048 for it 'cause it didn't have one.
00:01:56.660 --> 00:01:59.530 But yeah, go into the.
00:01:59.530 --> 00:02:04.160 Go into the. Currency provider.
00:02:04.160 --> 00:02:05.940 Uhm, then just one second.
00:02:05.940 --> 00:02:08.070 Once it's finished it's file processing.
00:02:11.620 --> 00:02:12.490 Or ever.
00:04:21.120 --> 00:04:22.035 Did you just install re
00:04:22.035 --> 00:04:22.950 server for the first time?
00:04:25.080 --> 00:04:27.416 No, no, I I when I went to
00:04:27.416 --> 00:04:30.048 the UM set up I installed it.
00:04:30.050 --> 00:04:32.849 I don't know why this time don't kill kill
00:04:32.849 --> 00:04:35.170 Visual Studio 'cause we need to change
00:04:35.170 --> 00:04:37.610 a setting before we can turn that on.
00:04:37.610 --> 00:04:39.402 Really just did actually.
00:04:39.402 --> 00:04:42.959 Me telling it from there is not the
00:04:42.959 --> 00:04:45.682 same as killing in the details view
00:04:45.682 --> 00:04:48.820 so click the go to the details. No.
00:04:53.240 --> 00:04:57.026 OK then right click it there.
00:04:57.030 --> 00:04:58.458 And do the end task there.
00:05:04.190 --> 00:05:06.470 Yeah, OK, now make your hold
00:05:06.470 --> 00:05:08.470 on before you close that.
00:05:08.470 --> 00:05:09.855 Shrink the status column that
00:05:09.855 --> 00:05:11.240 is taking all that space.
00:05:15.510 --> 00:05:17.360 What am I shrinking here?
00:05:17.360 --> 00:05:19.200 The status column AH OK.
00:05:22.860 --> 00:05:24.570 OK, now right click the header.
00:05:27.010 --> 00:05:31.240 And select columns. And then
00:05:31.240 --> 00:05:34.060 go and check a command line.
00:05:34.060 --> 00:05:35.210 It's down on this summer.
00:05:38.600 --> 00:05:39.170 Grand line.
00:05:41.420 --> 00:05:43.373 OK, and then that one you can make whiter.
00:05:45.530 --> 00:05:46.355 That's UAC virtualization.
00:05:46.355 --> 00:05:48.008 You want differently. There you go.
00:05:50.130 --> 00:05:51.738 OK, now you can close your task manager.
00:05:54.090 --> 00:05:56.750 Hey play minimize teams.
00:05:59.710 --> 00:06:01.290 Open Visual Studio by itself
00:06:01.290 --> 00:06:02.238 without the solution.
00:06:27.260 --> 00:06:28.580 Go to the extensions menu.
00:06:33.620 --> 00:06:38.450 And then. Go to Resharper options.
00:06:43.420 --> 00:06:45.526 Click on the products and features.
00:06:48.950 --> 00:06:53.438 Uncheck JavaScript and TypeScript.
00:06:53.440 --> 00:06:54.448 Scroll the bottom.
00:06:57.550 --> 00:06:59.029 Uncheck web languages.
00:07:02.210 --> 00:07:03.240 Stephen restart.
00:07:05.490 --> 00:07:07.814 That there was a saving research button,
00:07:07.820 --> 00:07:10.214 but. Oh OK, yeah, just close
00:07:10.214 --> 00:07:13.390 it and open it again by itself.
00:07:46.050 --> 00:07:48.382 Thanks for the extensions
00:07:48.382 --> 00:07:51.120 menu again. Resharper options
00:07:56.640 --> 00:07:58.070 go to the performance guide.
00:08:04.550 --> 00:08:06.647 On the ones that had the snails on him
00:08:06.647 --> 00:08:08.719 are all things that you need to fix,
00:08:08.720 --> 00:08:10.666 so click on him and then you
00:08:10.666 --> 00:08:12.407 can say change him to like
00:08:12.407 --> 00:08:14.087 fix silently or you can do.
00:08:14.090 --> 00:08:17.616 Uhm? So I go to the next one,
00:08:17.620 --> 00:08:18.760 skip that one for the moment,
00:08:18.760 --> 00:08:19.700 go to the next one.
00:08:19.700 --> 00:08:20.650 OK, on the notified me,
00:08:20.650 --> 00:08:22.870 change it to fix silently.
00:08:22.870 --> 00:08:23.872 And then do that to each
00:08:23.872 --> 00:08:24.540 of those other ones.
00:08:31.140 --> 00:08:36.030 K Now hit save. And then go back in.
00:08:45.670 --> 00:08:48.280 Now. If you're not using Git
00:08:48.280 --> 00:08:50.020 from Inside Visual Studio,
00:08:50.020 --> 00:08:52.126 it does add overhead to visual
00:08:52.126 --> 00:08:53.530 studios usage on stuff.
00:08:53.530 --> 00:08:55.636 You can turn it off there,
00:08:55.640 --> 00:08:57.390 but that's like a personal
00:08:57.390 --> 00:08:58.440 decision for yourself,
00:08:58.440 --> 00:09:00.897 so I'm not gonna make you that.
00:09:03.050 --> 00:09:05.065 Uh, you change that setting
00:09:05.065 --> 00:09:07.542 to ignore if you want to
00:09:07.542 --> 00:09:09.798 keep this sort of control on.
00:09:09.800 --> 00:09:12.560 Oh which one this one? Yeah.
00:09:15.190 --> 00:09:16.290 And then just save.
00:09:21.350 --> 00:09:23.294 OK, now a good idea would be to close
00:09:23.294 --> 00:09:24.834 Visual Studio and open it one more
00:09:24.834 --> 00:09:26.819 time so that it cements those changes.
00:09:28.950 --> 00:09:29.400 OK.
00:09:36.570 --> 00:09:38.100 Hey, now open your solution.
00:09:46.510 --> 00:09:47.917 It might be in your recent list,
00:09:47.920 --> 00:09:49.729 so you probably don't have to hunt for it.
00:09:53.460 --> 00:09:54.138 Where's the bottom?
00:09:56.380 --> 00:09:58.837 The bottom of the oh down here.
00:09:58.840 --> 00:09:59.524 Recent projects.
00:09:59.524 --> 00:10:01.576 And then there's your Ruby QA.
00:10:56.900 --> 00:10:57.350 OK.
00:11:00.070 --> 00:11:00.640 Eric.
00:11:27.760 --> 00:11:29.615 OK, now go back to the convert
00:11:29.615 --> 00:11:30.410 sticker version provider.
00:11:32.500 --> 00:11:36.196 Which was spiders one with a red
00:11:36.196 --> 00:11:39.079 check on it. Expand fixer IO.
00:11:41.270 --> 00:11:42.358 Go to the config.
00:11:46.380 --> 00:11:47.906 Hey we need to add a setting.
00:11:49.990 --> 00:11:53.026 To this so that you can.
00:11:53.030 --> 00:11:54.608 Uh, had that sitting right in
00:11:54.608 --> 00:11:56.336 there to get an example of
00:11:56.336 --> 00:11:58.178 what a setting would look like.
00:11:58.180 --> 00:12:00.340 Let's go over to.
00:12:00.340 --> 00:12:03.058 The shipping providers.
00:12:12.540 --> 00:12:16.626 Look at, uh. The FedEx one.
00:12:18.750 --> 00:12:20.258 FedEx shipping provider config.
00:12:24.050 --> 00:12:25.390 That's that's fine. OK right?
00:12:25.390 --> 00:12:26.998 Click the tab on that one.
00:12:29.120 --> 00:12:31.810 Like like this. Yes.
00:12:34.430 --> 00:12:36.235 New vertical tab group new
00:12:36.235 --> 00:12:37.318 vertical document group.
00:12:43.640 --> 00:12:45.602 Hey, so that way you can see the flavor
00:12:45.602 --> 00:12:47.553 side and you can zoom out like a notch,
00:12:47.560 --> 00:12:50.969 assuming that you can still see that.
00:12:50.970 --> 00:12:55.550 'cause I can? You can still see it.
00:12:55.550 --> 00:12:57.400 Like yeah, if if you want to zoom out a
00:12:57.454 --> 00:12:59.324 notch, I would still be able to read it.
00:13:01.430 --> 00:13:04.629 Uhm, how do I do that? Control mouse wheel.
00:13:11.040 --> 00:13:12.220 OK, there you go.
00:13:15.560 --> 00:13:18.368 OK, so like account number there.
00:13:18.370 --> 00:13:19.662 On the right side,
00:13:19.662 --> 00:13:21.277 millimeter copy that whole thing.
00:13:27.050 --> 00:13:28.895 Then paste it in there above the is valid.
00:13:32.740 --> 00:13:35.698 Above which where?
00:13:35.700 --> 00:13:37.404 Right above here the only function
00:13:37.404 --> 00:13:38.920 that's there is is valid,
00:13:38.920 --> 00:13:40.690 so the above that would be
00:13:40.690 --> 00:13:42.439 the only thing above that no,
00:13:42.440 --> 00:13:44.715 not not not between its
00:13:44.715 --> 00:13:45.625 documentation text.
00:13:45.630 --> 00:13:46.668 Right up here.
00:13:49.370 --> 00:13:53.314 Check for a blank line in between them.
00:13:53.320 --> 00:13:55.432 There you go. OK. Now instead of that
00:13:55.432 --> 00:13:57.029 account number it would be API key.
00:14:03.980 --> 00:14:06.620 And then the ****. The name of the
00:14:06.620 --> 00:14:09.008 setting would be clarity dot currency.
00:14:13.600 --> 00:14:15.499 Got fixer IO.
00:14:17.890 --> 00:14:20.320 God. API key.
00:14:25.390 --> 00:14:27.685 Right and then we have to modify the is
00:14:27.685 --> 00:14:29.698 valid slightly so that it requires that
00:14:29.698 --> 00:14:32.197 you have the API key for it to see that.
00:14:32.200 --> 00:14:34.880 Scroll down on the right of the FedEx one so
00:14:34.942 --> 00:14:37.432 we see there is a lot of debt down there.
00:14:40.250 --> 00:14:42.866 See how it's got the and contract Calcese,
00:14:42.870 --> 00:14:44.190 account number, username,
00:14:44.190 --> 00:14:45.950 password, blah blah blah.
00:14:45.950 --> 00:14:47.094 Uhm this right here?
00:14:47.094 --> 00:14:49.008 Yep, yeah we basically need
00:14:49.008 --> 00:14:51.043 that part of that line.
00:14:51.050 --> 00:14:53.780 And then you're gonna add to line
00:14:53.780 --> 00:14:56.640 19 on the other side. Sucker.
00:14:59.910 --> 00:15:01.471 So grab that first part in in
00:15:01.471 --> 00:15:03.146 parentheses so that it sits in or on
00:15:03.146 --> 00:15:04.700 just the thing inside the parentheses,
00:15:04.700 --> 00:15:08.710 and then end to that. So.
00:15:11.060 --> 00:15:12.248 At the end out,
00:15:12.248 --> 00:15:14.030 here is what you're telling me.
00:15:14.030 --> 00:15:16.190 Hey, straight now.
00:15:16.190 --> 00:15:19.400 Which occurs in the right spot.
00:15:19.400 --> 00:15:22.744 Hey. Hold on a second hit escape
00:15:22.744 --> 00:15:25.557 so that we get off that little menu.
00:15:25.560 --> 00:15:26.960 Hey, put a parentheses around
00:15:26.960 --> 00:15:28.741 the parts of the first line
00:15:28.741 --> 00:15:30.356 that are providing a condition.
00:15:36.870 --> 00:15:40.516 So this. Not not right there.
00:15:40.516 --> 00:15:42.446 It would be the end of the line and
00:15:42.446 --> 00:15:43.808 near the beginning of the line.
00:15:53.830 --> 00:15:54.380 Yes.
00:15:56.420 --> 00:15:58.219 That's a Boolean value. That's a Boolean,
00:15:58.220 --> 00:16:00.276 and then at the end of the line.
00:16:03.250 --> 00:16:05.618 Sit down here. No, the end of the
00:16:05.618 --> 00:16:08.217 end of the line that you were on.
00:16:08.220 --> 00:16:09.410 This one you're trying to.
00:16:09.410 --> 00:16:11.102 You're trying to wrap this condition
00:16:11.102 --> 00:16:13.654 so that it's an or on the 1st or the
00:16:13.654 --> 00:16:15.380 2nd argument there of the condition.
00:16:15.380 --> 00:16:17.132 OK, if you're going to end
00:16:17.132 --> 00:16:18.929 the second part line on there,
00:16:18.930 --> 00:16:21.480 so don't put the end there.
00:16:21.480 --> 00:16:23.016 It would be the beginning of
00:16:23.016 --> 00:16:24.050 the next line, K.
00:16:28.720 --> 00:16:29.935 And then indent that one
00:16:29.935 --> 00:16:31.150 because it's too far over.
00:16:34.670 --> 00:16:36.872 Hey now you need to add
00:16:36.872 --> 00:16:38.340 a using clear utilities.
00:16:40.870 --> 00:16:43.426 So you're using a full file.
00:16:43.430 --> 00:16:47.330 Down below this. No, the using
00:16:47.330 --> 00:16:49.660 section of the file. Line 7.
00:16:51.750 --> 00:16:55.646 OK, I need to add you using utilities.
00:16:58.440 --> 00:17:00.190 That gives us our contract and then
00:17:00.190 --> 00:17:01.776 replace account number with API key and
00:17:01.776 --> 00:17:03.270 then you can remove the other three.
00:17:27.300 --> 00:17:29.996 OK, now you have it where it will
00:17:29.996 --> 00:17:32.980 require an API key to be set inside the.
00:17:32.980 --> 00:17:36.244 The. Settings file. So let's go
00:17:36.244 --> 00:17:39.450 make that setting key in there.
00:17:39.450 --> 00:17:43.560 OK, I mean yeah, app settings. Yes.
00:17:58.030 --> 00:18:00.018 OK, where where should I add this?
00:18:02.370 --> 00:18:04.876 In the less commonly changed section like
00:18:04.876 --> 00:18:07.900 where we enable the multicurrency true. OK.
00:18:26.790 --> 00:18:28.326 Yeah, you want the name that we put
00:18:28.326 --> 00:18:30.014 into that other file, so if you want
00:18:30.014 --> 00:18:31.460 to just new vertical tag group this.
00:18:34.430 --> 00:18:34.800 It's cool.
00:18:40.290 --> 00:18:42.978 Copy that setting.
00:18:42.980 --> 00:18:44.430 That's not the setting name.
00:18:46.880 --> 00:18:48.698 It's the spring on line 14.
00:18:51.810 --> 00:18:56.019 That stream online 14. There you go.
00:19:05.100 --> 00:19:06.768 A value for it.
00:19:17.050 --> 00:19:17.918 Is it not working?
00:19:21.730 --> 00:19:23.305 And then you want to paste the
00:19:23.305 --> 00:19:24.740 API key that's inside the text
00:19:24.740 --> 00:19:26.385 of what I pasted into the chat.
00:19:26.390 --> 00:19:29.800 OK right here. Yes.
00:19:36.090 --> 00:19:36.819 Here we go.
00:19:43.440 --> 00:19:44.730 Hey, I said that file.
00:19:48.230 --> 00:19:49.730 Save your FedEx config or
00:19:49.730 --> 00:19:51.230 your fixer IO config, sorry.
00:19:53.460 --> 00:19:56.316 And I go to this fixer IO a.
00:19:58.960 --> 00:20:00.775 Main copper, the classic collapse
00:20:00.775 --> 00:20:03.022 shipping one because you don't need
00:20:03.022 --> 00:20:05.318 the shipping anymore. No, it's not.
00:20:05.318 --> 00:20:06.902 Collapse the shipping project
00:20:06.902 --> 00:20:09.130 in the solution explorer, OK?
00:20:11.560 --> 00:20:13.527 And go to the FedEx or IO
00:20:13.527 --> 00:20:14.370 currency conversions provider.
00:20:24.020 --> 00:20:26.300 Right now, according to the stuff in there,
00:20:26.300 --> 00:20:28.148 that was like the Fixer we need
00:20:28.148 --> 00:20:30.009 to set the fixture API key.
00:20:30.010 --> 00:20:31.666 So at the beginning of this
00:20:31.666 --> 00:20:33.140 function here for convert async.
00:20:37.260 --> 00:20:40.921 We need to act like this before
00:20:40.921 --> 00:20:44.000 the now. And set the API key.
00:20:48.560 --> 00:20:51.278 Above here right before the now
00:20:51.278 --> 00:20:54.358 he said line fixer Dot said ABI.
00:20:56.900 --> 00:20:59.476 OK, you're gonna have to say that
00:20:59.476 --> 00:21:01.920 again. Fixer Dot set API key.
00:21:04.400 --> 00:21:07.340 No no, no var. Miller
00:21:34.540 --> 00:21:36.129 and I'm going to put in the
00:21:36.129 --> 00:21:37.165 value that you're getting
00:21:37.165 --> 00:21:38.680 from your your static class.
00:21:38.680 --> 00:21:39.975 So fixer IO currency conversion
00:21:39.975 --> 00:21:41.270 providers config dot API key.
00:21:44.730 --> 00:21:46.426 No, you're not gonna copy it from there.
00:21:59.750 --> 00:22:01.878 But you have a static class fixer
00:22:01.878 --> 00:22:03.160 IO principle version provider
00:22:03.160 --> 00:22:05.330 config that has a property API key.
00:22:05.330 --> 00:22:08.626 That's what you need to pass into it.
00:22:08.630 --> 00:22:11.020 OK, so just right here.
00:22:13.930 --> 00:22:16.182 That's where you would be typing it, yes,
00:22:16.182 --> 00:22:18.438 but you would start with the word AP.
00:22:18.440 --> 00:22:21.250 It would be fixer IO, currency conversions,
00:22:21.250 --> 00:22:24.798 provider config. OK Dot API key.
00:22:28.810 --> 00:22:29.200 There.
00:22:37.340 --> 00:22:38.930 OK, now the online 42.
00:22:38.930 --> 00:22:40.520 You have a green squiggle,
00:22:40.520 --> 00:22:42.555 probably because it wants to
00:22:42.555 --> 00:22:44.590 switch to the async version.
00:22:44.590 --> 00:22:45.478 So click on that.
00:22:48.060 --> 00:22:49.140 Then use the light bulb.
00:22:54.030 --> 00:22:55.864 Not that one because it's Visual Studio
00:22:55.864 --> 00:22:57.289 and Visual chooses not to do it.
00:22:57.290 --> 00:22:58.914 So here to escape off of that.
00:23:01.800 --> 00:23:04.082 They use the re sharper light bulb
00:23:04.082 --> 00:23:06.238 which is the one on the left.
00:23:06.240 --> 00:23:07.812 You look a little like there's
00:23:07.812 --> 00:23:08.860 three server light bulbs,
00:23:08.860 --> 00:23:12.178 so click on that. Use async overload.
00:23:15.640 --> 00:23:16.575 Hey and then add the
00:23:16.575 --> 00:23:17.510 configure wait at the end.
00:23:20.500 --> 00:23:23.216 Time to listen. Yes, false.
00:23:23.216 --> 00:23:24.944 And then get rid of the
00:23:24.944 --> 00:23:26.718 yellow bar because it's just.
00:23:26.720 --> 00:23:28.610 It's a stupid thing that
00:23:28.610 --> 00:23:30.560 needs to go away. Yeah.
00:23:34.430 --> 00:23:35.805 Yeah, so now it's gonna
00:23:35.805 --> 00:23:36.905 asynchronously make that call,
00:23:36.910 --> 00:23:38.772 which will be nice and it will
00:23:38.772 --> 00:23:40.479 throw that stuff into the table.
00:23:40.480 --> 00:23:42.510 Come looking at this from line 45
00:23:42.510 --> 00:23:45.393 to 55 that needs to be indented one
00:23:45.393 --> 00:23:47.338 'cause it's not intended properly.
00:23:47.340 --> 00:23:49.132 The select all of that and just
00:23:49.132 --> 00:23:53.560 intend that one. 55 yeah. Sure.
00:23:56.370 --> 00:24:00.018 OK, right click on the uh.
00:24:00.020 --> 00:24:01.550 Slightly greyed out text that's
00:24:01.550 --> 00:24:02.774 inside the configure await.
00:24:05.690 --> 00:24:06.986 And they hide for this method.
00:24:09.140 --> 00:24:10.456 It's just giving you extra crap you
00:24:10.456 --> 00:24:11.870 don't need it's pushing on the screen.
00:24:14.070 --> 00:24:15.588 OK and then.
00:24:19.240 --> 00:24:20.700 Scroll down a smidge.
00:24:23.150 --> 00:24:23.970 There's this other function
00:24:23.970 --> 00:24:24.790 doing the same thing.
00:24:24.790 --> 00:24:26.670 We need to make sure that we have
00:24:26.670 --> 00:24:28.776 the same fixer set API key at the
00:24:28.776 --> 00:24:30.708 beginning and you want to switch that
00:24:30.708 --> 00:24:32.626 one to the async overload as well.
00:24:32.630 --> 00:24:34.958 OK so six or API key from the
00:24:34.958 --> 00:24:36.738 first one did over there.
00:24:39.140 --> 00:24:42.236 Down in this, this one right at home,
00:24:42.240 --> 00:24:45.172 this one right here. Yeah,
00:24:45.172 --> 00:24:46.656 you put it again in the function.
00:24:50.490 --> 00:24:52.800 OK, and then make this up.
00:24:59.470 --> 00:25:00.850 This needs.
00:25:02.900 --> 00:25:05.210 What is it like you know?
00:25:11.490 --> 00:25:11.970 Down here.
00:25:59.550 --> 00:26:01.662 OK, so you've got to figure a way
00:26:01.662 --> 00:26:03.601 you've got the other things. Uhm?
00:26:03.601 --> 00:26:07.430 The 81 to 91 is also needing to be indented,
00:26:07.430 --> 00:26:09.630 so you go ahead and get that part.
00:26:14.470 --> 00:26:16.058 Uh, 91 as well.
00:26:19.050 --> 00:26:20.058 You don't have to select it.
00:26:20.060 --> 00:26:22.084 You could just put your cursor at the
00:26:22.084 --> 00:26:23.859 beginning of line and it will indent.
00:26:23.860 --> 00:26:25.120 Uhm, Scroll down. Let's see.
00:26:25.120 --> 00:26:27.220 There's another function there.
00:26:27.220 --> 00:26:27.990 That one is not implemented,
00:26:27.990 --> 00:26:30.120 so I'm not worried about it. K.
00:26:35.120 --> 00:26:38.720 Right, so save that now.
00:26:38.720 --> 00:26:39.870 You would need to build
00:26:39.870 --> 00:26:41.400 this and set it out there,
00:26:41.400 --> 00:26:42.870 but since we're modifying a provider,
00:26:42.870 --> 00:26:45.090 you have to turn the the app pulls off in
00:26:45.146 --> 00:26:47.258 IIS before you can do the build safely,
00:26:47.260 --> 00:26:48.236 'cause it won't otherwise.
00:26:48.236 --> 00:26:49.456 They're locked in and stuff,
00:26:49.460 --> 00:26:51.063 so using the tool to do that
00:26:51.063 --> 00:26:52.868 you would go turn the app pools,
00:26:52.870 --> 00:26:55.430 offer your local Ubi. Uhm?
00:27:02.580 --> 00:27:06.804 Yep, so then stop him. Hey now,
00:27:06.804 --> 00:27:08.358 now you can go over to Visual
00:27:08.358 --> 00:27:10.009 Studio and just do a regular build.
00:27:10.010 --> 00:27:10.918 It should be fine.
00:27:57.020 --> 00:27:59.670 OK, go ahead and start the app pool. Yep.
00:29:20.420 --> 00:29:23.400 OK, uhm. I think you have to
00:29:23.400 --> 00:29:24.467 like get over to like the catalog
00:29:24.467 --> 00:29:25.547 or something so that we have
00:29:25.547 --> 00:29:26.499 something that has prices on it.
00:29:32.590 --> 00:29:34.810 Gum. Do I need to?
00:29:34.810 --> 00:29:37.834 I need to sign in for that or no?
00:29:37.840 --> 00:29:39.120 You shouldn't have been.
00:29:39.120 --> 00:29:40.720 Just go to the products
00:29:40.720 --> 00:29:42.000 where the catalog is.
00:29:46.830 --> 00:29:47.260 Yep.
00:29:52.770 --> 00:29:53.170 What?
00:30:05.590 --> 00:30:06.580 Wait, hold on.
00:30:08.650 --> 00:30:09.328 Do it now.
00:30:31.060 --> 00:30:33.030 Control, yeah.
00:30:59.310 --> 00:31:01.058 Uh, bring up IS.
00:31:06.290 --> 00:31:11.228 Emma. My mouse is being fairly weird.
00:31:13.950 --> 00:31:15.810 Why is it doing this?
00:31:25.590 --> 00:31:26.140 Band.
00:31:29.230 --> 00:31:29.760 And.
00:31:32.650 --> 00:31:33.418 Look on eBay.
00:31:36.740 --> 00:31:37.748 Click on bindings.
00:31:41.410 --> 00:31:42.010 Add.
00:31:45.450 --> 00:31:48.630 Ruby-localclarityclient.com
00:31:53.840 --> 00:32:00.672 OK. Lowe's do you mind? That's why
00:32:00.672 --> 00:32:02.254 I wouldn't load 'cause you were not.
00:32:02.260 --> 00:32:04.556 You were not in HTTPS and it wasn't
00:32:04.556 --> 00:32:07.189 set to allow a non HTTPS connection.
00:32:07.190 --> 00:32:10.599 On your websites. OK no it is.
00:32:25.090 --> 00:32:28.130 Careful here you got prices,
00:32:28.130 --> 00:32:31.310 so 499 ninety 495-2499.
00:32:31.310 --> 00:32:34.490 I'm guessing we're in.
00:32:34.490 --> 00:32:38.400 There is a huge delay right now. Because.
00:33:03.860 --> 00:33:06.020 Click on the application tab.
00:33:06.020 --> 00:33:07.048 In the dev tools.
00:33:09.270 --> 00:33:10.242 Yeah, your currency there
00:33:10.242 --> 00:33:11.700 is USD change set to CD.
00:33:16.410 --> 00:33:18.934 Then refresh the page.
00:33:18.934 --> 00:33:21.190 Hard refresh. Regular refresh.
00:33:38.560 --> 00:33:39.750 Rebecca ES.
00:33:44.340 --> 00:33:46.630 Uhm, go to application pools.
00:33:50.010 --> 00:33:51.216 Right click in the white space.
00:33:54.600 --> 00:33:56.427 Of the main part of the view
00:33:56.427 --> 00:33:57.750 set application pool defaults.
00:33:59.910 --> 00:34:01.070 Make the window full height.
00:34:08.210 --> 00:34:09.680 Change the start mode from
00:34:09.680 --> 00:34:10.856 Ondemand to always running.
00:34:15.740 --> 00:34:16.808 It's near the top.
00:34:19.330 --> 00:34:20.420 Step out.
00:34:23.650 --> 00:34:25.930 Change the idle timeout for
00:34:25.930 --> 00:34:28.490 in minutes from 20 to 0.
00:34:35.380 --> 00:34:37.310 And change the irregular time
00:34:37.310 --> 00:34:39.240 interval minutes 1740 to 0.
00:34:43.250 --> 00:34:43.979 And hit OK.
00:34:47.130 --> 00:34:49.110 Then minimize IS.
00:34:52.180 --> 00:34:56.080 Hey see how the prices changed.
00:34:56.080 --> 00:35:01.359 Do K so that worked. Click on network.
00:35:05.020 --> 00:35:06.825 Legacy there it's filling the
00:35:06.825 --> 00:35:08.630 USC to see 80 conversions.
00:35:08.630 --> 00:35:11.384 So there's all the numbers you know for now.
00:35:11.390 --> 00:35:13.918 It does cache those values into the database
00:35:13.918 --> 00:35:16.609 for as long as they're on the same day.
00:35:16.610 --> 00:35:19.066 It doesn't ask for that same number again,
00:35:19.070 --> 00:35:21.518 so it'll it'll like it'll ask your server,
00:35:21.520 --> 00:35:22.995 but your server won't ask
00:35:22.995 --> 00:35:24.900 Fixer IO over and over again,
00:35:24.900 --> 00:35:27.049 so the picture banner be used up.
00:35:27.050 --> 00:35:28.882 All our API hits.
00:35:28.882 --> 00:35:32.060 OK Hun, make sense.
00:35:32.060 --> 00:35:33.887 And again, that's for the same day.
00:35:33.890 --> 00:35:34.772 So like tomorrow,
00:35:34.772 --> 00:35:36.242 those currency values would change
00:35:36.242 --> 00:35:37.532 because that's just how the
00:35:37.532 --> 00:35:38.846 market works in the universe so.
00:35:41.230 --> 00:35:42.678 It'll it'll make those
00:35:42.678 --> 00:35:44.488 conversions over and over again.
00:35:44.490 --> 00:35:48.440 Uh, as that stuff changes, UM.
00:35:48.440 --> 00:35:50.330 But even if it's a separate user coming in
00:35:50.330 --> 00:35:52.314 and they have something that shows up 972,
00:35:52.320 --> 00:35:53.562 it's still going to do that
00:35:53.562 --> 00:35:54.820 same one for the heading.
00:35:54.820 --> 00:35:56.644 It's not gonna ask them separately for them,
00:35:56.650 --> 00:35:58.687 so it's it's across the board that
00:35:58.687 --> 00:36:00.592 we're keeping it. Safer that way.
00:36:00.592 --> 00:36:02.411 OK, OK, OK, that means.
00:36:02.411 --> 00:36:06.079 So the next thing is we need to enforce.
00:36:06.080 --> 00:36:09.790 The. Uhm?
00:36:09.790 --> 00:36:13.102 Need to enforce the correct currency
00:36:13.102 --> 00:36:17.229 for the user at the server level.
00:36:17.230 --> 00:36:20.728 Uh. So if we minimize this.
00:36:20.730 --> 00:36:23.530 I'm gonna go back to Visual Studio.
00:36:23.530 --> 00:36:27.260 Let's close. That config here.
00:36:27.260 --> 00:36:30.324 This one right here.
00:36:30.324 --> 00:36:31.090 Yes.
00:36:31.090 --> 00:36:33.706 I'm close that could provider because
00:36:33.706 --> 00:36:36.550 we do this outside the provider.
00:36:36.550 --> 00:36:37.860 Go to the app settings.
00:36:40.060 --> 00:36:40.960 Add a new app setting.
00:36:40.960 --> 00:36:42.736 Here we're gonna make this up
00:36:42.736 --> 00:36:44.890 as we go. So on the next line.
00:36:49.260 --> 00:36:50.436 Next line from where you're at
00:36:50.436 --> 00:36:51.540 right now with your cursor.
00:36:53.840 --> 00:36:58.630 Deadline 44 and 40 occurs blinking 44.
00:36:58.630 --> 00:37:02.380 There you go, newline. Adcy
00:37:06.280 --> 00:37:12.120 party dot currency dot. Uh. Enforce.
00:37:15.050 --> 00:37:19.656 A enforced currency by region by country.
00:37:22.450 --> 00:37:23.320 Dot enabled.
00:37:25.520 --> 00:37:27.320 Then the value would be true.
00:37:37.750 --> 00:37:39.003 And if you're blind it up like
00:37:39.003 --> 00:37:40.180 the other ones that say true
00:37:40.180 --> 00:37:41.128 false, that would be great.
00:37:46.390 --> 00:37:48.120 The space before the slash.
00:37:54.150 --> 00:37:58.598 There you go OK. Now copy that key.
00:37:58.600 --> 00:38:00.600 They can just move.
00:38:00.600 --> 00:38:02.791 Can you go put it into a
00:38:02.791 --> 00:38:04.360 setting over in inside,
00:38:04.360 --> 00:38:06.070 copy that to your clipboard?
00:38:06.070 --> 00:38:08.835 OK, then go to set config property
00:38:08.835 --> 00:38:12.428 two and the multicurrency section here.
00:38:12.430 --> 00:38:14.229 OK and then just paste the key
00:38:14.229 --> 00:38:16.289 like make a comment on a new
00:38:16.289 --> 00:38:18.125 line in between 12:50 seven 1258.
00:38:20.300 --> 00:38:22.316 He sat there 'cause you needed you to
00:38:22.316 --> 00:38:24.636 keep it OK and then copy that other
00:38:24.636 --> 00:38:26.310 setting the entire other setting.
00:38:28.320 --> 00:38:29.511 Documentation at all
00:38:29.511 --> 00:38:31.099 missing the closing brace.
00:38:34.770 --> 00:38:36.210 Copy that. And then make a
00:38:36.210 --> 00:38:37.754 new line and paste it below
00:38:37.754 --> 00:38:39.320 the new comment you just made.
00:38:42.170 --> 00:38:43.927 K Now put the key that you
00:38:43.927 --> 00:38:45.840 had to paste there into there.
00:38:48.350 --> 00:38:49.916 Not all of that, just the.
00:38:54.040 --> 00:38:56.158 Can I put that and then
00:38:56.158 --> 00:38:58.520 paste it over the over that?
00:38:58.520 --> 00:39:02.060 And my mouse is incredibly delayed, so.
00:39:02.060 --> 00:39:03.910 Uh, and then you're gonna
00:39:03.910 --> 00:39:05.390 name the setting like.
00:39:05.390 --> 00:39:09.210 Multicurrency enforced by country enabled.
00:39:09.210 --> 00:39:10.302 So just add the enforced by
00:39:10.302 --> 00:39:11.280 country into the middle there.
00:39:13.970 --> 00:39:16.256 They don't need to select over the. Yeah,
00:39:16.256 --> 00:39:18.258 they go just type enforcement country there.
00:39:22.570 --> 00:39:23.860 Not enforcement country 'cause that's
00:39:23.860 --> 00:39:25.809 makes it sound like we're doing anything.
00:39:25.810 --> 00:39:28.930 We're just enforced by country. Oh, OK.
00:39:35.570 --> 00:39:37.390 Hey, and the default value is false,
00:39:37.390 --> 00:39:39.470 so that's fine and it's a Boolean value.
00:39:39.470 --> 00:39:41.438 OK, now get rid of the comment on
00:39:41.438 --> 00:39:43.369 12:50 and make that up blank line.
00:39:50.270 --> 00:39:51.334 Get rid of the spaces on that
00:39:51.334 --> 00:39:52.499 line to see how they turn red.
00:39:56.240 --> 00:39:58.536 Good morning, blank line,
00:39:58.536 --> 00:40:01.980 yet they go OK now up.
00:40:01.980 --> 00:40:04.796 So on their cut on the summary here,
00:40:04.800 --> 00:40:07.257 like after the word multicurrency is enabled,
00:40:07.260 --> 00:40:09.020 say multicurrency enforced by country.
00:40:14.270 --> 00:40:19.835 Not that. Not that. Put that back.
00:40:19.835 --> 00:40:22.145 So just undo and you could
00:40:22.145 --> 00:40:24.159 use control Z to undo.
00:40:24.160 --> 00:40:25.987 Part of them going and clicking the
00:40:25.987 --> 00:40:28.726 button so on line above that where it says
00:40:28.726 --> 00:40:30.480 whether the multicurrency is enabled,
00:40:30.480 --> 00:40:31.684 say whether the currency
00:40:31.684 --> 00:40:33.189 enforced by country is enabled.
00:40:33.190 --> 00:40:35.899 You don't need to select the is enabled part,
00:40:35.900 --> 00:40:37.867 you just need to add and force
00:40:37.867 --> 00:40:39.809 my country into the middle there.
00:40:44.450 --> 00:40:44.990 Nope.
00:40:48.160 --> 00:40:49.880 A little bit more one more word to the left.
00:40:53.030 --> 00:40:55.020 Their ad enforced by country.
00:40:59.620 --> 00:41:03.449 Hey and then on the next line.
00:41:03.450 --> 00:41:05.598 You have these true at multicurrency
00:41:05.598 --> 00:41:07.388 enabled, so between currency and
00:41:07.388 --> 00:41:09.173 enabled put enforced by country.
00:41:18.860 --> 00:41:19.230 K.
00:41:24.520 --> 00:41:26.795 OK, now you have your setting and
00:41:26.795 --> 00:41:29.199 so we're going to use this setting.
00:41:29.200 --> 00:41:32.190 Uh. Somewhere else,
00:41:32.190 --> 00:41:35.515 probably in the global asax.
00:41:35.520 --> 00:41:38.130 So copy that setting name.
00:41:38.130 --> 00:41:39.789 Then you can double not the entire
00:41:39.789 --> 00:41:40.990 setting, just the setting name.
00:41:43.190 --> 00:41:45.458 This right here or this right here?
00:41:45.460 --> 00:41:47.080 The name of the property.
00:41:49.130 --> 00:41:52.350 There you go, so copy that. K.
00:41:58.030 --> 00:42:00.570 OK, now we need to go to the global asax
00:42:00.642 --> 00:42:03.258 file, which is in the storefront project.
00:42:03.260 --> 00:42:06.170 So collapse providers expand services.
00:42:08.530 --> 00:42:09.878 Stand the storefront one.
00:42:14.560 --> 00:42:15.499 That store admin.
00:42:21.740 --> 00:42:25.348 Uh, expand the global asax and open that one.
00:42:27.970 --> 00:42:31.490 OK, and then, uh, do control end 'cause
00:42:31.490 --> 00:42:35.550 it's gonna be near the bottom. Control end.
00:42:42.160 --> 00:42:45.350 And not in. So proud.
00:42:47.810 --> 00:42:49.814 Hey, there's the currency
00:42:49.814 --> 00:42:52.319 request filter right there 769.
00:42:52.320 --> 00:42:54.100 See how it's loading a
00:42:54.100 --> 00:42:55.880 currency key from the cookie.
00:42:55.880 --> 00:42:59.018 We're gonna add a setting here.
00:42:59.020 --> 00:43:01.410 That's. We're gonna add the
00:43:01.410 --> 00:43:02.549 setting in here so that it does
00:43:02.549 --> 00:43:03.357 a different thing instead.
00:43:05.490 --> 00:43:07.980 OK so yeah my mouse again.
00:43:07.980 --> 00:43:10.470 It's super delayed so millimeter, UM.
00:43:22.800 --> 00:43:25.180 Between 777 and 778.
00:43:29.230 --> 00:43:29.870 If.
00:43:32.680 --> 00:43:35.270 Parentheses, Self config dictionary dot.
00:43:40.170 --> 00:43:41.381 Paste the value. The piece of the
00:43:41.381 --> 00:43:42.588 thing you have in your clipboard.
00:43:45.270 --> 00:43:48.838 OK. And then braces.
00:43:48.840 --> 00:43:50.574 Outside this parentheses.
00:43:50.574 --> 00:43:52.308 Add square brackets.
00:43:56.990 --> 00:44:00.375 Hey new line. There you go. Uh.
00:44:00.375 --> 00:44:05.085 For the moment, do a return.
00:44:05.090 --> 00:44:07.080 A return task completed task.
00:44:13.390 --> 00:44:14.872 OK, so this is gonna be
00:44:14.872 --> 00:44:16.360 basically at the bare minimum.
00:44:16.360 --> 00:44:18.076 It's skipping this other action here
00:44:18.076 --> 00:44:20.091 where it's trying to set the cookie
00:44:20.091 --> 00:44:21.717 and everything with the OR like
00:44:21.717 --> 00:44:23.491 getting it and setting it from the
00:44:23.491 --> 00:44:25.136 other side inside the if statement
00:44:25.136 --> 00:44:27.502 before the return is where you need
00:44:27.502 --> 00:44:30.028 to start implementing the logic of.
00:44:30.030 --> 00:44:33.430 Who they are and and what they uhm.
00:44:35.560 --> 00:44:37.724 Uh. What currency they're
00:44:37.724 --> 00:44:40.429 supposed to be set to?
00:44:40.430 --> 00:44:44.718 Here on line 786 you've got a username.
00:44:44.720 --> 00:44:46.508 That so they can see the
00:44:46.508 --> 00:44:47.402 session that username.
00:44:47.410 --> 00:44:49.210 That way you can look at.
00:44:49.210 --> 00:44:50.414 There is and then.
00:44:50.414 --> 00:44:52.790 From there you need to figure out the,
00:44:52.790 --> 00:44:54.290 uh, the country they're in,
00:44:54.290 --> 00:44:56.770 which is probably. Uhm?
00:44:59.740 --> 00:45:00.932 Is this like aesthetically
00:45:00.932 --> 00:45:03.062 enforced thing on the user or is
00:45:03.062 --> 00:45:04.784 this like we're just supposed to
00:45:04.784 --> 00:45:06.448 read their address book to do it?
00:45:06.450 --> 00:45:07.633 Uh might have to go back to
00:45:07.633 --> 00:45:08.940 the IW and look at that one.
00:45:11.170 --> 00:45:12.020 Yes.
00:45:18.160 --> 00:45:22.070 Uhm? But just put it to do there.
00:45:29.130 --> 00:45:29.540 Yeah.
00:45:35.480 --> 00:45:37.300 Second
00:45:39.830 --> 00:45:40.390 OK.
00:45:42.890 --> 00:45:46.090 That's usually a comment.
00:45:46.090 --> 00:45:49.594 Just send those. And you wanna
00:45:49.594 --> 00:45:52.580 space at the beginning? Of comments.
00:45:55.060 --> 00:45:57.535 Yep, do and uh, I'm gonna teach you this
00:45:57.535 --> 00:46:00.078 part 'cause you probably don't know this.
00:46:00.080 --> 00:46:04.780 But and at symbol at the end of the to do.
00:46:04.780 --> 00:46:06.285 And then you could put your initials.
00:46:09.020 --> 00:46:10.358 And then I normally don't wrap
00:46:10.358 --> 00:46:11.660 that have spaces in between.
00:46:11.660 --> 00:46:14.060 This is just to do at you don't be OK.
00:46:17.030 --> 00:46:18.600 The other space as well.
00:46:22.650 --> 00:46:24.575 Removing the space before the at sign.
00:46:28.430 --> 00:46:30.840 Hey girl colon.
00:46:33.130 --> 00:46:34.015 Then and then your space
00:46:34.015 --> 00:46:34.900 which you do have one.
00:46:34.900 --> 00:46:36.139 So just hit the right arrow key.
00:46:36.140 --> 00:46:38.710 There you go. To do.
00:46:38.710 --> 00:46:41.538 At Dot Co in space you're welcome.
00:46:41.540 --> 00:46:42.749 Type it again,
00:46:42.749 --> 00:46:45.230 I'm just reiterating what's there, OK?
00:46:45.230 --> 00:46:49.370 Hey now the actual content of the to do.
00:46:49.370 --> 00:46:53.190 Uh, read the users country,
00:46:53.190 --> 00:46:56.238 then assign correct cookie,
00:46:56.238 --> 00:47:00.048 then up certain elected currency.
00:47:09.400 --> 00:47:11.800 This country from the cookie.
00:47:11.800 --> 00:47:14.200 No, not in the OK.
00:47:14.200 --> 00:47:17.668 'cause you're trying to override it.
00:47:17.670 --> 00:47:19.847 So maybe just country from the user.
00:47:23.370 --> 00:47:24.880 And forced the correct current.
00:47:24.880 --> 00:47:26.792 The correct currency for
00:47:26.792 --> 00:47:28.704 where the users country.
00:47:28.710 --> 00:47:31.098 Like a Switch statement or something.
00:47:31.100 --> 00:47:34.320 And then. Apply that to the cookie.
00:47:45.710 --> 00:47:47.726 Oh dear God, why is it doing that?
00:47:50.990 --> 00:47:53.374 Why is it doing what? I don't know.
00:47:53.374 --> 00:47:54.566 It's capitalizing that L.
00:47:57.210 --> 00:48:00.370 That L is not capital right now, so.
00:48:00.370 --> 00:48:01.938 No, it's not OK. I thought it was.
00:48:04.420 --> 00:48:06.450 Hey, you have the space at the end of line.
00:48:09.250 --> 00:48:13.138 OK, OK, so now you have it to do.
00:48:13.140 --> 00:48:16.028 Now if you go to the extensions menu.
00:48:19.190 --> 00:48:23.140 Resharper a windows.
00:48:25.550 --> 00:48:27.758 TODO Explorer, it's the 4th one.
00:48:30.270 --> 00:48:31.452 And you can merge this with
00:48:31.452 --> 00:48:32.500 your same one down here.
00:48:32.500 --> 00:48:33.520 That's like your output panel.
00:48:37.040 --> 00:48:39.504 Nope, Nope. Nope. Or bring it down,
00:48:39.510 --> 00:48:40.722 bring it down and then get
00:48:40.722 --> 00:48:41.800 it under the middle part.
00:48:44.410 --> 00:48:47.353 Hey girl, OK, now if you make it simpler
00:48:47.353 --> 00:48:50.509 you could see if you expand Services API.
00:48:53.280 --> 00:48:54.288 And the storefront.
00:48:57.270 --> 00:48:58.310 Play sax.
00:49:00.370 --> 00:49:03.058 OK. So see, it's got your.
00:49:03.060 --> 00:49:04.902 It's even got The Who it's
00:49:04.902 --> 00:49:06.620 doing going to on there.
00:49:06.620 --> 00:49:08.230 OK, just got the nystul.
00:49:08.230 --> 00:49:11.450 Yes, the idea of like you being able to like.
00:49:11.450 --> 00:49:14.012 Look for your like in the search
00:49:14.012 --> 00:49:16.465 box by putting in GPD and seeing
00:49:16.465 --> 00:49:18.850 all your to do's in the code.
00:49:18.850 --> 00:49:21.700 Right now it's very good.
00:49:21.700 --> 00:49:23.870 OK, uh, that makes that makes sense.
00:49:23.870 --> 00:49:26.670 It's very convenient, actually.
00:49:26.670 --> 00:49:28.350 And then like you could put
00:49:28.350 --> 00:49:29.470 tattoos to other people.
00:49:29.470 --> 00:49:31.367 So like if you're doing the back
00:49:31.367 --> 00:49:33.428 end work and you're trying to tell
00:49:33.428 --> 00:49:35.630 the front end or like where to go,
00:49:35.630 --> 00:49:37.055 put something like in your
00:49:37.055 --> 00:49:38.710 PR as you're putting it up,
00:49:38.710 --> 00:49:40.670 you could put the to do at.
00:49:40.670 --> 00:49:42.630 You know JW for Jessie Webb and
00:49:42.630 --> 00:49:44.125 TypeScript files like where he
00:49:44.125 --> 00:49:45.931 needs to read something you could
00:49:45.931 --> 00:49:47.827 be instructing him like this is the
00:49:47.827 --> 00:49:49.348 thing that you're going to like.
00:49:49.348 --> 00:49:49.904 You know.
00:49:49.904 --> 00:49:52.464 Do this here and then he will go do
00:49:52.464 --> 00:49:54.382 his part of the tasks or whatever.
00:49:54.390 --> 00:49:54.966 OK, OK.
00:49:54.966 --> 00:49:57.560 Or if you need to like push this in.
00:49:57.560 --> 00:49:59.584 And say like to do at JG when
00:49:59.584 --> 00:50:00.659 converting this to court.
00:50:00.660 --> 00:50:02.370 Take this piece out or something
00:50:02.370 --> 00:50:04.638 up kind of thing so that I know
00:50:04.638 --> 00:50:06.240 when you're putting it in there
00:50:06.305 --> 00:50:08.186 that when I go to take it back I
00:50:08.186 --> 00:50:09.680 can see the direct comment from
00:50:09.680 --> 00:50:11.794 you saying that I need to make sure
00:50:11.794 --> 00:50:13.099 that this gets handled properly
00:50:13.099 --> 00:50:14.848 when I bring it back to court.
00:50:14.850 --> 00:50:17.680 OK, it's like I want to be able to bring up.
00:50:17.680 --> 00:50:19.395 This is a setting that I should
00:50:19.395 --> 00:50:21.299 be able to bring back to core,
00:50:21.300 --> 00:50:24.464 but then the internal piece of this.
00:50:24.470 --> 00:50:25.830 Are you enforced my country?
00:50:25.830 --> 00:50:27.468 I might go because you don't have
00:50:27.468 --> 00:50:29.619 to do as part of your requirement.
00:50:29.620 --> 00:50:31.335 I might go for the corner add
00:50:31.335 --> 00:50:32.723 like table something that says
00:50:32.723 --> 00:50:34.228 to enforce currencies by country,
00:50:34.230 --> 00:50:36.398 so that way they could set that stuff
00:50:36.398 --> 00:50:37.750 dynamically. It's hard coding it.
00:50:37.750 --> 00:50:38.291 OK, yeah,
00:50:38.291 --> 00:50:40.188 so like I might extend that further,
00:50:40.190 --> 00:50:43.298 but you don't need to do that
00:50:43.298 --> 00:50:44.630 for your client.
00:50:44.630 --> 00:50:47.282 That would be a thing that would happen, uhm?
00:50:47.282 --> 00:50:48.890 But there you go.
00:50:48.890 --> 00:50:51.950 OK, now you need to find out how the.
00:50:51.950 --> 00:50:53.532 How the you can users country is
00:50:53.532 --> 00:50:55.418 supposed to be set for the thing that
00:50:55.418 --> 00:50:57.010 you're supposed to use to read it.
00:50:57.010 --> 00:50:58.160 'cause there's more than one
00:50:58.160 --> 00:50:59.310 way it could be happening.
00:51:01.590 --> 00:51:03.725 So when you know what that is,
00:51:03.730 --> 00:51:07.429 do that code in here so you would call.
00:51:07.430 --> 00:51:08.876 Like there's a user workflow here,
00:51:08.880 --> 00:51:10.332 so you can actually call and
00:51:10.332 --> 00:51:11.545 read the entire user, UM,
00:51:11.545 --> 00:51:13.260 which can include getting the account off
00:51:13.260 --> 00:51:15.318 the user to read the address book, sort of.
00:51:15.318 --> 00:51:17.840 And if you need to add a an account workflow,
00:51:17.840 --> 00:51:19.768 go to the definition of this user workflow,
00:51:19.770 --> 00:51:22.400 which is at the top of the file and add
00:51:22.477 --> 00:51:25.098 an account workflow. If you need it.
00:51:25.098 --> 00:51:27.984 So just follow the examples that are in the
00:51:27.984 --> 00:51:30.380 thing for what you're trying to get at,
00:51:30.380 --> 00:51:32.546 like adding the workflows to excuse
00:51:32.546 --> 00:51:35.590 me to add that stuff as you need it.
00:51:35.590 --> 00:51:39.559 OK, in there, uhm. And it's almost.
00:51:39.560 --> 00:51:40.760 It's almost the hour up.
00:51:40.760 --> 00:51:42.276 So let's just let's,
00:51:42.276 --> 00:51:44.550 let's call it there for right
00:51:44.629 --> 00:51:46.069 now on the meeting.
00:51:46.070 --> 00:51:47.410 Do that part and then,
00:51:47.410 --> 00:51:48.740 UM, you know the meeting.
00:51:48.740 --> 00:51:50.080 Then get another hour scheduled,
00:51:50.080 --> 00:51:52.144 but I would hope that you be able
00:51:52.144 --> 00:51:53.549 to take it from here.
00:51:53.550 --> 00:51:55.377 Forgetting the last part of the figuring
00:51:55.377 --> 00:51:57.278 that part out 'cause it's right now.
00:51:57.280 --> 00:51:58.348 It's just, you know,
00:51:58.348 --> 00:51:59.950 making a Switch statement and assigning.
00:51:59.950 --> 00:52:00.217 Yeah,
00:52:00.217 --> 00:52:02.086 once you know what the country is.