Тёмный
No video :(

Power Automate JSON Arrays: Fun, Practical Challenges to Boost Your Skills 

DamoBird365
Подписаться 13 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

4 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@GarryWatson111
@GarryWatson111 14 часов назад
Thank you Damien, clear, swift and concise. Keep it up.
@PhilPhilUtube
@PhilPhilUtube Год назад
This tutorial is gold! If you consolidate such powerful techniques into an Udemy course, I will immediately enrol it without thinking twice. Thank you so much Damien for bringing us the insights about the Power Automate array
@DamoBird365
@DamoBird365 Год назад
Thank you very much Phil. I would love to - got me thinking for sure.
@tomr9969
@tomr9969 День назад
Well done!
@DamoBird365
@DamoBird365 День назад
@@tomr9969 cheers 👋
@emmanuelmaceda2475
@emmanuelmaceda2475 2 года назад
Thanks for sharing! Love your vids/blog posts on applying/use of expressions in Power Automate. Simply much more efficient and faster. Cheers!
@DamoBird365
@DamoBird365 2 года назад
Thank you Emmanuel. Brilliant to hear you’re making use of these tips. 👍
@robofski
@robofski 2 года назад
Great video, love real world examples of how you can use Power Automate to overcome real challenges!
@DamoBird365
@DamoBird365 2 года назад
Cheers Dan. Can you think of any other challenges you would like to see?
@robofski
@robofski 2 года назад
@@DamoBird365 nothing specific but keeping the examples real makes a huge difference!
@sprreddy
@sprreddy Год назад
Thank you. Greatly appreciate the video. Very helpful!
@dougydoe
@dougydoe 2 года назад
Great Stuff! This was extremely insightful. Learnt some new techniques I could use. Thanks for sharing.
@navarrocloud
@navarrocloud 2 года назад
Great content. Love using xpath and didn't know you can add a property using a Select 🤯.
@GregDolan
@GregDolan 2 года назад
Great video - love the challenges concept. Thanks for explaining everything and breaking it down so clearly 🔥
@DamoBird365
@DamoBird365 2 года назад
You didn’t hang about Greg 😂 thanks for watching. My first video in a while. I hope you learned something.
@kayfax672
@kayfax672 2 года назад
@@DamoBird365 basically here to second what Greg said. Also, I really appreciate you focusing on Automate, which I still find much more of a challenge than Apps. The many possibilities I discovered through your concepts are really valuable!
@DamoBird365
@DamoBird365 2 года назад
@@kayfax672 thanks Kay, really appreciated. If you’ve got any tricky automate ideas, feel free to drop them my way 👍
@prajaktaagte8382
@prajaktaagte8382 2 месяца назад
amazing video :) A great help
@GaryCarmen
@GaryCarmen Год назад
Only just seen this video, but really useful techniques. As always, some great insights that you share Damien
@tylerkolota
@tylerkolota 2 года назад
Thanks Damien, I’m really liking these more intermediate & advance level videos. Also, one more challenge that many might have is converting a stringified JSON array into a proper JSON array. For example, when pulling in data from a Power App, it will be a string instead of an array of JSON objects. Currently I use a Select action with From set to… Split( Replace( Replace( Replace( triggerBody()?['text_7'], '[{', '{' ), '}]', '}' ), '},{', '}|#|{' ), '|#|' ) And the single box input set to… JSON(item()) So it preps the string, replaces the stringified object delimiters to avoid in-data comma errors, then splits the string so each array item is a single stringified JSON object, then converts each stringified JSON to regular JSON in the Select. I’d be interested to see if you or anyone else have a more polished way to do this. Thanks,
@DamoBird365
@DamoBird365 2 года назад
Cheers Tyler. I’ve not seen that problem. Power Apps to Power Automate? Do you get an error if you use json() in Power Automate? There’s a similar json() expression in Power Apps too but it won’t parse in Power Apps as far as I recall.
@tylerkolota
@tylerkolota 2 года назад
@@DamoBird365 It’s been a year or so, but the last time I used the JSON( ) expression in Power Automate on a JSON array string, it only returned the 1st JSON object. But the Power Apps JSON( ) expression is able to convert an entire collection at once. It’s just the Power Apps connector to flow doesn’t allow an array, so I have to send it as a string.
@tylerkolota
@tylerkolota 2 года назад
@@DamoBird365 Huh, Power Automate now converts the entire JSON array properly. I don’t know why I didn’t get that to work when I was first using it a while back. I’ll have to update some templates.
@DamoBird365
@DamoBird365 2 года назад
Everyday is a learning day! Just think if you hadn’t mentioned it, you might never have known. I’ve had Power Automate json to Power Apps woes before, opposite of your problem. Seems you have to use the http response action. But I’m sure I’ve read native support is coming to the default respond to apps/automate.
@tylerkolota
@tylerkolota 2 года назад
@@DamoBird365 In the meantime, here is an example Power Apps expression Regex that can convert a string output from a standard Power Apps flow action back into JSON: //Put in the double quotes "" before & after each string value in each Regex key value pair, but do not use those double quotes "" with any non-string datatypes. //So if one of the middle key value pairs was "Test2": "AbcString", then use the Regex ""Test2"":""(?[^""]*)"" but if it was "Test2": 123, then use Regex ""Test2"":(?[^""]*) //Also the 1st key value pair includes the starting object curly bracket with the escape backslash \{ and the last key value pair includes the ending object curly bracket with the escape backslash \} ClearCollect(Collection2,MatchAll(DataOutput,"\{""ID"":(?[^""]*),""Comment"":""(?[^""]*)"",""Col2"":""(?[^""]*)""\}")) Video on this method from April Dunham: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2xWiFkBf294.html
@yannis18
@yannis18 2 года назад
Great Great content and brilliant presentation. Suddenly, arrays do not seem that intimidating
@mjmann2402
@mjmann2402 6 месяцев назад
This is excellent. Thank you!
@TheCarter117Gaming
@TheCarter117Gaming Год назад
I need some videos on how to deal with nested arrays within a object…. Like a list of servers that has their hostname, ip address, location, and array of installed software.
@DamoBird365
@DamoBird365 Год назад
If you can send me a meaningful example, damien@damobird365.com, I can take a look at this. Sometimes I know the solution but I don't know the problem.
@Inno94709
@Inno94709 4 месяца назад
Thanks! More great stuff. I still haven't solved that odata returns a header, then a body with sev fields and a "value": which this is the array of objects that I'm really trying to get to. :-)
@DamoBird365
@DamoBird365 4 месяца назад
Have you shared it on the forum? powerusers.microsoft.com/ I’m not understanding your issue but glad my videos are getting you closer 👍
@StephanOnisick
@StephanOnisick Год назад
Nice Job! I've got some more work to duplicate them to make sure I understand. One question how do you differentiate the "Select" action from the "Filter Array" action. It seems the "Filter Array" doesn't do much formatting and provides a more robust filter condition whereas, the "Select" doesn't really filter--it gives you more of a view of just the data you want to see. However, you've shown the "Select" can combine data from other tables or objects.
@DamoBird365
@DamoBird365 Год назад
Exactly that. Select allows you to rebuild an array. A filter, let’s you filter the data source if it can’t be done via the source itself.
@SeanAstro
@SeanAstro Год назад
I never considered using XPath! Suggestion and a Question - I think throwing into the video title key words like "...Object Techniques - Sum, Max, Min" may increase viewer count cause those terms would've caught my eye. I'm actually trying to find a good GroupBy with a Count without using ApplyToEach. My data looks like this: [{Title: "Sorcerers Stone"}, {Title: "Chamber of Secrets"}, {Title: "Sorcerers Stone"}] And I want a print out like this: [{Title: "Sorcerers Stone", Count: 2}, {Title: "Chamber of Secrets", Count: 1} ] Any ideas? The old dataverse connector let you group by but the new one doesn't.
@DamoBird365
@DamoBird365 Год назад
Thanks for that suggestion. I’ve got a video on xpath, albeit not sure if I’ve done summing. You will have seen the filter array and length method based on the male/female count? Get the distinct titles with union, loop through them, filter on each current item, use length and output each loop as an object to a new array.
@SeanAstro
@SeanAstro Год назад
@@DamoBird365 when you say "loop through them" do you mean "apply to each"? Xpath is super helpful but in this case I can just use the length method.
@DamoBird365
@DamoBird365 Год назад
@@SeanAstro yes, sorry. An apply to each.
@DamoBird365
@DamoBird365 Год назад
I’ve added the additional tags, will see what comes of it. Thanks
@moyura2
@moyura2 7 месяцев назад
Was able to answer only q1 & q2.
@DamoBird365
@DamoBird365 7 месяцев назад
Hopefully you learned something new 👍
Далее
A Minecraft Movie | Teaser
01:20
Просмотров 16 млн
Cristiano Ronaldo Surpassed Me! #shorts
00:17
Просмотров 8 млн
Easily Avoid Apply to Each Loops | Power Automate
10:20
Power Automate Tutorial - Expressions 101
30:53
Просмотров 37 тыс.
JSON Intro for Microsoft 365 People
20:57
Просмотров 28 тыс.
A Minecraft Movie | Teaser
01:20
Просмотров 16 млн