You're listening to CRM Audio, the Microsoft Power Platform Business Applications podcast. I'm Joel Lindstrom, here with George Dubinsky and Sean Tabor. Gentlemen, how are you doing this morning? Popping my head to that sun. And I guess the lead story is we're still here. It's been a busy fall, busy fall, but we're still here for you.
So George, yes, Autumn, that's right. Because people don't fall in Australia. So George, I saw the tip of the day about the inline code editor for Power Automate. It got some questions for us. So what is this thing and why did you build it? I already got some flack from people about security for this thing that I built.
And the reason I built it, I was playing around with Logic Apps. I was testing something I needed to get into Logic Apps, and I found inline code in Logic Apps. So basically, you put in some JavaScript, and it runs. And I thought, oh, this is a really good idea. I thought, how we can do it in flows? So we ended up building a function, which is literally one line long. We ended up, well, the sophisticated version is like five lines. It's an Azure function, which just sits there, waits for you to send in line JavaScript code to it. The advantage, why would you want to do it? It's something trivial, like difference in months. I don't remember one of our little community members just put up some.
flow expression that calculates difference between two dates in months and like it's three lines expression and my eyes bleed right so um in javascript it's two lines very readable even by any citizen it just works things like adding business days regular expressions i don't recommend to write programs and using that approach right but small calculations uh that take few lines of code javascript code that is either complex or not possible to do in flow It's a perfect use. And you can pass parameters. I sort of, I go to the details. I don't go in YouTube video to the details, but we have on 365.training, we have, it's a three-part, small free training course that you can take. It's like about 15, 20 minutes per episode. And it's like three of them. So I do talk about security. Thanks to a couple of guys who pinged me on security and flagged it that sometimes it's just bad idea to pass parameters as is. So I work around that and kind of clean up a little bit. And the one thing that we kind of do better than Logic Apps.
is that we allow Node.js modules. So we support import statement and require statements inside the function. It means that you can, for example, bring... a module like if you want to do some financial calculations there's a good npm module called amortize right so if you want to calculate loan then you know interest and loan and things like that so you do like require amortize and after that you just do calculations uh on loan on interest on principal payments and what's not just typical stuff you do in excel uh you're taking excel for granted now you can do it it's kind of in two lines of code it's not a big deal i think citizens can do it uh it's much less complicated than expressions so That's about it. So I don't know if you guys see the use of it. But it's definitely out there. It's really easy to put together. The function is very, very short. As admin, you do have control. So you control what modules you're allowed to bring in. You can put data loss protection policies against the connector. You can wrap it as custom connector. That's what I do in those kind of three modules training, Azure Function, custom connector, and kind of putting it all together. So it does work. I already use it on a couple of projects. Makes my life so much simpler because there are some things that are just...
horribly complicated to do inside Power Automate. It's just not suited for that. Yeah, I would agree. And I think some kind of calculations or comparison operations where, I'll give you an example, the flow I built that said, what's your next birthday? Taking the birthday date and today's date and then comparing it, that took multiple steps, multiple composed steps to get the end answer. And what I'm thinking, George, tell me if I'm wrong here, but I could potentially take your inline code editor and create maybe one step using that function that could do JavaScript to get the end answer that I wanted in one step. Is that correct?
Absolutely. Given a birthday, for example, given a birthday, you can return when it's the next birthday, given today's date, right? Yeah, because you had to compare today's date to their birthday to make sure that it's this year, next year. No, you wouldn't even compare. There is a good library called Moment, which does all sort of date calculations. I'm sure there's a function there that would allow you to kind of to approximate and find in one statement, one line.
would return you the date when the next birthday is. At most, if it doesn't exist, then you would compare it and it's still like one, two lines of code. I'm sure it is. I'll tell you the reason I like that too is because each step in a flow is an API call. If it connects to CDS, each step in the flow is an API call, even if it's not touching CDS for that step. And so given the limits, you want to be as economical as possible. And it would also potentially make the flow faster by having fewer steps. It's still not probably likely faster. Yes, it will be faster in certain circumstances like looping. If you're doing looping and adding numbers, definitely it's going to be much faster in JavaScript than in flow. Saving money.
I'd be very careful about it because, remember, you're calling a function and you're paying for that function. So you may or may not save money. It could be a false economy. But the upside is you're not in the business bucket. That flow is. So you're not limited by number of runs. So your function, it's still going to be pennies. I'm not sure you're going to save any. Perhaps you're going to spend more. But you're going to pay only for what you use. So that's going to be your advantage. If you're using it, it costs you a bunch of money. Just send the bill to George.
I actually was thinking like publish this function as a freebie, but I haven't decided exactly these dilemmas. Like how do I restrict people? I would need to add some API key or something like this. How I would restrict people to a certain number of calls. So ask them to chip in a little bit, like pay me five bucks and use unlimited use of that function. But it's so simple, this function, that I don't particularly see any value in actually putting it up there.
But one thing this would do, so if someone who doesn't write script or code, while it would probably economize the steps, it would take that code kind of thing away. You do know that no code is a bit of a fallacy when it comes to those expressions. Difference in months. You're telling me, yes, it's no code, but the expression is three lines long. How's that no code? It's expression. Yes, technically it's not a code, it's expression, but it doesn't make it easy. The difference is someone like me could write one where I can't write JavaScript. What do you want me to bet you? That you will find that...
Writing this one-liner JavaScript to calculate difference in months, you'll find it much easier to read. And at some point, you will be comfortable in writing it rather than doing this expression. You are comfortable writing this expression only because someone digested it for you and gave it to you on a silver platter and said, this is the expression. I challenge you to write it yourself. Create it yourself. And I would say that...
Power automate expressions, not the dynamic references to fields, but the expressions where you get in, like get the first record from an array. It's no more complicated than JavaScript. I'm not a JavaScript expert, but I'm also not a flow expression expert either. I just got enough examples I can look back on and I've done certain ones enough. So the most common ones I come across, I know what to do. But yeah, I could definitely check that out. We'll put a link to the tip of the day. Yeah, look, what I've done.
Sean, what I've also done in one of the modules, in this training module, what I've done, I showed how to use Visual Studio Code, your local environment, to quickly create and test the script and then copy-paste it into a flow. When you're comfortable with what it does and the results, then you just copy-paste. And it will be like one or two lines, so it's not a big deal. And you can always ask, look, you've got plenty of people, you know plenty of people who do the code. So you can always ask, hey, look, guys, how to calculate difference in months. And I'm just typing a moment, JavaScript.
difference between dates in months. And months difference, stack overflow, blah, blah, blah, blah, blah. Here we go. It is one-liner, and it says moment, bracket, date, dot div, bracket, another date, comma, months, comma, true. I don't know what the third one is, but what's the true is. But it basically says, give me the difference in months. I'm sure you can calculate. Oh, true means give the fractional months.
False means rounded. That's it. It's like date1.div, date2, and then days, months, years, whatever the difference is. So it's easy. I'm sure it's much more readable, and I'm sure you can write with a little bit of practice. You can write. Keep in mind, I hate writing expressions.
I hate them. I'm lazy in general, though. But I will actually take a look. This is one of those things going back to our flow people versus app people episode. Power Apps expressions, in my opinion, are better with these types of calculations than Power Automate is. Power Automate is much more limited in the kind of math functions you can do.
Whereas Power Apps is more like the difference in dates and months. It's easier to get in a single line where you have to do multiple steps with Power Automate. But the point of taking away the no code aspect, I would view it kind of like it could be a citizen developer enablement thing. Because if you need the difference in dates and months and multiple flows, you have your George or Andrew Butenko or somebody like that create a child flow with that function in it that you then can call from your flows that the normal people are doing that they don't have to get into expressions. They can just call it child flow.
Absolutely. If you're doing these operations on a daily basis, it's so easy to create a specialized function. You use the function that I created as a template, and instead of executing random script, you execute a predefined script with predefined parameters. It takes literally half an hour for a dev to create a function, wrap it up, create a custom connector, and deliver it to you on a server platter. So, easy done. So use it as a template, and you're good.
Now, Joe, you've been poking around. I mean, Power Automate aside, you've been poking around, spending most of your life lately in Oakdale. Yeah, I have. How does it stack up against the mighty CDS? So the way that the background here is our team has been working with Microsoft to build the template apps that are released with Oakdale. So there's three of them now. There's additional ones coming. But as part of that, we've gotten deep into the ins and outs of Oakdale. And so it's been an interesting experience and having to adapt to the limitations in it. From the core maker experience, I love it.
There's no... let down in performance or capability from the core maker capability. Now, one thing is they do have new controls. They call them hero controls at Microsoft. I don't know. I think they just call them the controls, but they're designed to look and feel more like Teams so that if you build an app from the Teams maker experience, it automatically is responsive. It automatically recognizes the light mode or dark mode of Teams. There's parameters you can use to identify the channel and post tasks to the planner and things like that. So as far as the platform, I think it's rock solid. I've already talked to customers who've been using
SharePoint mainly because it's free or it's part of office, encouraging them to do that because, and I got into a Twitter discussion with someone who was talking about the no cliffs message and saying, yeah, there's a bunch of cliffs. You build all these apps on SharePoint and then you want to do something, or you build on CDS and like you said, you hit a wall and you need an Azure function to get around it. My argument was, well, isn't that good? There's a bridge on the cliff that you can use called an Azure function to extend it. Anyway, but the point being, if you use it for what it's good for, it's really good. And the ability to build these simple apps that grow into
This is where I think it's key is I can recommend people build on that because if they get to where they need more storage, more complex security, that type of thing, they don't have to start over. They can upgrade their Oakdale environment to a full CDS environment and keep on going. So yeah, I like it. There's limitations. Once you upgrade it, do you still have the access to those apps in Teams or does that go away? Yeah, because here's the thing is I can still put apps I built outside of Oakdale inside of Teams. And even you can use those Teams parameters. I mentioned you can use those in apps in the full maker experience.
bear with me like let's take a simple scenario what i'm trying to understand is kind of how you get over that bridge over that cliff so i start with something simple let's say time recording yeah so i just want to record you know time i spent on something so very simple like what i'm doing when i started when i ended different whatever right so very simple very flat scenario perfect right just just recording time the time goes by sort of it grew up uh people want more complexity people want sophistication so i can upgrade that to cds environment retain what i have great i can continue to develop it no limits that's fine but let's say a slightly different scenario let's say i already have i don't know psa installed and People notice and say, oh, this is a really cool app that you created to record time. Let's bridge it. Let's bring it into an existing environment. Is that a possibility? Yeah, there's not really a way to connect your Oakdale to a CDS environment. No, I didn't mean connecting. I meant to actually take the assets and kind of move it to a full environment. No, there isn't right now. That's going to continue to mature. That's the one thing that I would say is right now, there's no ALM story for me to take my...
my Oakdale app and move it, but it's still preview. So again, I don't know the timetable for when things are. That is a big ask that's coming in, I know. And that would be one thing that would hold me back from recommending for some apps. Other things are, you got to realize it has security, but it's simplified security. And anytime you get into scenarios where different groups need to be totally restricted from certain records, you basically have the owner of the team and the manager of the team. And you can leverage that in your app to say restrict the...
something to just the owners. But if you need something beyond that, you need to go full CDS. The other thing is the storage. It's two gigs, but Oakdale databases take up 500 megabytes of it. So you've got a gigabyte and a half of storage. And so that in itself is going to limit the types of apps. So if you see people putting this in and they're going to have 500,000 timesheets in a year, it's not a good fit for that.
How does it work between, let's say, within the teams between different – can you restrict it to a single channel or to a single team? How does publishing work between the teams? By default, it's per a single team. So if that database is per team. Now there's some other concepts that we're working on that will show some other things that aren't out yet. But, yeah, so right now, so if you have a channel, it doesn't work in a private channel. And I think there's – Nothing works in a private channel. Right, right. But what you can do – I don't work in private channels.
Right. So if you wanted to move it, though, say to have the app in a different channel, I can go to the maker experience, the Power Apps app inside of Teams, and can open it up and say, publish this to this other channel. And so you can move your app to a different channel. But yeah, that's something that I expect to see will be. The one thing that I don't see getting a lot of attention right now is there's also a PVA light that is built into Oakdale. And so if you want to use Power Virtual Agent for, say, internal help desk or something, but you haven't...
wanted to spend the money or could justify that. The only answer being computer says no. Yeah, so now you can do that and start using that as part of your team subscription. So that's something that I think once people realize that, that's going to really increase the capability. So now I can annoy you not only on Slack where I built the bot, I can annoy you on Teams as well. Brilliant. Now, the ultimate question is, so if Oakdale is simplified CDS or dumbed down CDS, whatever you call it, right? So citizen CDS.
And Microsoft Lists, a citizen version of SharePoint, does Oakdale work with Microsoft Lists? I don't know. I don't even have Lists in my environment. I'm on Ring One, so I've been wanting to look at them. And I've heard people say, why do we need both Microsoft Lists and Oakdale? And I'll tell you why. It's competition. You look at all these at Google's and Amazon's offerings, at Smartsheets and other things like that, which are basically, and Monday.com, those are Lists type of apps.
You know, so that's where they serve different purposes. And I think lists are a great choice for a simple app. I mean, I built one last week internally because, you know, it wasn't a good fit for Oakdale and we needed everybody to use it. And, you know, it worked great, but it didn't have the complexity of needing a relational database and needing some of the capabilities that Oakdale have at Listo. I mean, I think, and this is just my opinion, but if you look at Microsoft has had SharePoint lists for years, but they've been tied to a SharePoint site, then all these upstart smart sheets and other things come that are more list-based, and they realize, hey, we were doing this first, and so let's make this its own thing. So I think it's a good strategy.
And what I like about it is it gets people away from making apps in SharePoint because they have to, because that's the only thing they have. They have options now. And so I think it's great. And they talk to customers quite frequently who their citizens get started making apps and they realize, oh, crud, we have things built on SharePoint lists that have full visibility to everybody who uses them and they're storing secure data in them. So we really should do something different. So this gives them some other options. Yeah, go ahead. Let me ask one question. So with the storage limitation.
Is the way to get, I don't want to say around it, but if you have different teams that need to use this Oakdale app, is the way around the storage limitation to publish copies of the app in different teams to give them... Yeah, so if you're different teams or departments and you want this to be a departmental app and you didn't need the data all to come up together, then you could do that. But there is going to be the idea of cross-team apps or organization apps. So I wouldn't split it up into different silos. You know what's a good analogy I have for this? It's like, do you have supermarkets where you charge per bag? Oh, yeah. Yeah, you do, right?
It's equivalent of instead of paying for all the bags to take your grocery to your car, buying one bag and running with this one bag between the store and the car and offloading them into the boot, right? If you have more than one department that needs more than two gigs of data, seriously, it's so much easier to just upgrade to CDS, pay whatever, $15 a month, and don't live your life. I mean, people trying to save money where they shouldn't even consider that. I agree. I just wanted to know if there was an issue with that scenario and if that wasn't something that would even be possible. Is there an admin interface? I can go in and delete old records or something like this. What's the admin interface for CDS part? It's the same as regular CDS. If you go to the admin center, you see all your opial environments there too. You can monitor their storage. You can actually pull it up from the environment selector on Power Automate too.
Oh, great. I'm sure there will be limitations with the connectors, right? Yeah, I think it will still work with the COE starter kits and stuff like that, too. And it uses the same CDS connector. It uses the CDS current environment connector. No, no, I meant if you start using premium connectors, that's a no-go in detail, I believe. Yeah, I think you're right. I think it does open up a little bit more. Basically, any kind of API stuff is limited with the office license, but there are certain API-based things you can do.
The other connectors do work. You can connect to Salesforce. I know for a fact you can do that. You can connect to Planner. You can connect to third-party connectors. I like Planner. I actually do like Planner. That's good. I can do some fancy stuff. Excellent. You can find the Planner that's in the same channel as your team and make them work together.
Now we're talking. Now, tell me, did you create a wine collection sample? Unfortunately, no. I didn't do a CD collection either, so you'll have to build your own. At least tell me Nancy is still around. Yeah.
She's still around. Good. Now, we're all in agreement that nobody listens to our podcast, right? No, people still do. Joel, no one listens to our podcast. So now you can tell us what the real name is going to be. I think we're going to call it George. Everybody loves George.
The salutation George, when they call a person George, like with a small g, not capital G, not by name, but like a common name George. It was, I think it goes back to the trains in 19th century. Somehow they ended up, I don't remember the full story, but somehow they ended up calling conductors in carriages George. And sort of evolved into kind of salutation, kind of informal. I have never heard. Probably degraded. I don't know. I don't care. But some people may find it offensive. So here you go. So let's call it George. Well, you know, in the other, since no one listened to our podcast, the other thing that we have to call out is since our last episode, Joel has a beard. I think that has to be said. Yeah, me too. Yeah, going for it. Head start on November. Yeah. Very nice.
I started it three months ago. I just shave every now and then. The standards dropped. I think it's one of the... It's great. You can wear anything during business meetings now. Someone should come up with the app that puts your shaved face on top of your grumpy. I think they have that on Snapchat.
You're talking about dog's ears and tongues. No, you can make yourself look young. I know you can make yourself look old. It shows how old you're going to be when Oakdale gets a different name. But younger? Okay, so it's kind of buttocks, virtual buttocks. Okay, great. Fantastic. So we have the Power Platform virtual conference coming up next week. Am I the only one that's getting a little tired of virtual conferences? Yes.
I've done a bunch of it. I'm tired of it as well. Absolutely tired of it. I'm not tired because I'm not taking part in that. That's probably. I'm doing a CBS Saturday this week and I'm excited about it, but it just isn't the same as traveling somewhere and seeing people. It's just like doing a Zoom call. Well, you know, what I realized is there is a mechanic in my head that the actual preparing to leave for the trip is a reminder to complete all the decks and stuff for the session. And if you don't have that, well, at least to me.
I forget all about it. And then two days in two days time, there's a session and I'm like, Oh my God. So then I'm scrambling to get it done. And then you're saying, Hey Joel, can you do this for me? Yes, I do. Yes, I do. And you come through like a champ. Yeah, I think I'm just going to take a little break from them. I'm not saying I'll never do one again or anything, but I think I just need a little break from them just because I think, you know, I have spoken at a bunch of them. I can't focus on a virtual conference presentation because I can't legitimately say I'm away, right? I guess I can block time off and say I'm away at a conference, but nobody would believe me because nobody's traveling anywhere. Interesting that you mentioned one thought I had about this conference. I'm saying that people try.
And play the same format, but in virtual environment. And you got fed up with it. Sean got fed up with it. I didn't get fed up because I... Because I never participated in it. I got fed up on day one because I believe that it's the wrong format. So what needs to change is the delivery. Because as a presenter, I find it absolutely impossible for me to present on the same level of engagement as in real life. Because I don't see the audience. I don't talk to the audience. I can't communicate with the audience. Audience is not engaging. Like Joel said, audience is multitasking. They're doing something else. They're reading their emails. I cannot possibly engage with them. So that means I have to change the delivery.
Presentation, classic presentation, just not working. People get fed up with it. You're not getting the same engagement. People saying, oh, you know, I had like 16 people in my session and bragging about it. Yeah, sure. I had 150 people in my real life session. That's something I can talk about. But 16 people, really? I'm not spending my time to present to 16 people. You know, because it's just a waste of my time and a waste of time for those people because I'm not going to be to the same level of standards when I present in person. So I think we need to find.
the way to engage people in a different way. And I'm trying to kind of, I'm doing a couple of experiments with the video formats using non-SharePoint, sorry, SharePoint, not PowerPoint, but a different presentation software that allows me to navigate kind of in a different way. PowerPoint is linear. The other ways to present is kind of dive into topics. It's kind of linear, but with the branches.
So there's so many things we can do, but we need to find an alternative media. We need to find an alternative delivery. Yeah, I think there's certain things that I have seen people do that have been enjoyable and done it. One is Dux Raymond, one of the RDs. He turned me on this tool called Slido, which you may already know about, sli.do. And he uses it very, very interestingly to do a poll during his thing to have people share their thoughts and build a word cloud and make it more interactive. And I also think that, and again, this is something that we were experimenting with one of our internal groups is...
It is more engaging and feels more like a regular presentation if everybody turns their cameras on, if they can. Because then you see their faces and they're more involved. And some of my projects, they say, everybody has to turn their cameras on, which is kind of awkward for some people. But it does make a difference. For me, I'm just, you know, again, it's kind of like, oh, I'm speaking in Singapore on the Saturday. I'm going to speak in Sweden. Seriously, I'm speaking at the CDS Saturday for Sweden on Saturday. And, you know, it's great. It's going to be a fun time. And, you know, lots of good people are there.
create a new presentation for it and everything. So I'm looking forward to doing that. But yeah, I think you're right, George. I think we just need to do something different. To me, you know, a virtual conference versus, hey, I'm just going to, you know, if I said, hey, I'm going to be presenting about Oakdale next week or something. It really is the same thing, right? And it might be, you know, instead of saying, using the conference construct to say, okay, you're going to a conference. No, you're just watching a webcast, right? Let's be a little bit more.
But I think to me, the difference is my presentation style. I try to be more interactive with the audience that's there to, you know, engage them. And it's very difficult to engage them on a virtual event in my mind. I mean, in a manner that is. That can cross different types of participants. You can do surveys. You can do little kitschy games, those kind of things. But you're getting slices of that audience. Some people are just not going to respond to those kind of things. And then you have to balance it that you don't want to overload your presentation with all kinds of those things because then you're losing the spirit of the content. And that's not really different than what your wife and daughter do with their teaching these days when they're doing it remote.
Right. Right. I mean, they literally have to they literally have to come up with ways to separate. They can't talk all day. They have separated out into different ways to interact with the kids to keep them engaged. Like my wife and my daughter both have document cameras that they use so that they can have a little literal text presented on screen and be interacted with it. So I don't know. We just have we have to figure out we have to figure out a better way to convey the information.
I agree with George that the old way to do it just doesn't work virtually every time. The biggest problem is there's no swag with virtual conferences, and the majority of my clothes came from conferences. And so coming on to nine months almost since we've been, or whenever it's been, it's been six to eight months, but really since the last in-person conference was last year, November, that I went to. So a year out, I might have to actually buy some clothes. So basically, the truth comes out. The real reason why Joel doesn't like virtual conferences. Right.
But you don't need clothes on virtual conferences, so you don't have to. You don't need the swag. Well, you do need swag for your torso, right? But not below the belt, no. On that disturbing thought, let's wrap it up. All right. Thanks, gentlemen.