Dynamics 365 CE/model-driven app: the form script unexpected discovery
Something I won’t expect to discover. Yet, here I am! It’s all started with a very “simple” requirement to populate a read-only form field on change of another form field, Method. The fancy way it set up is when you select the field to change it pops up the window asking you if it was a client decision or not to change the field. If you answer Yes it sets the MethodSetBy field to a “Client”…...
PowerLabs – AI Dog – Face API – YouTube
Learn how to set up Azure Cognitive Services – Face API for your Azure subscription. Learn about a test API console and discover something new about Thanos. source
Power Automate: PARSE JSON action with value or null
Power automate is endless fun! Today we are going to explore a very “simple” issue which are 2 issues actually: how to define “allow null” in a schema to avoid annoying errorshow to get away with the 1. without the painful consequences Let’s start from the beginning! PARSE JSON is a very useful action and we use it a lot in Power Automate.In my case I parse the response from a… Continue Reading...
Power Apps Portal Maintenance: The curious incident of the naughty user.
In the last article here I proposed the design for the custom Maintenance functionality: Power Apps Portal: Summon the Custom Error Page to test a custom layout There is an article in Microsoft docs on how to set up the Custom Error page for the Power Apps portal. You can read about enabling here: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/view-portal-error-log#enable-custom-error And about setting up your custom...
PowerLabs – AI Dog – Demo – YouTube
Demo of the AI Dog emotion recognition app with the app set up, Power Automate set up and links to GitHub to explore code: https://github.com/alena-grischenko/ai_dog_emotions source
Power Apps Portal: Summon the Custom Error Page to test a custom layout
There is an article in Microsoft docs on how to set up the Custom Error page for the Power Apps portal. You can read about enabling here: Viewing portal error logs and storing them in Azure Blob storage – Power Apps As a portal administrator or developer, you can use Power Apps portals to create a website for your customers. One common task for a developer is to debug issues while developing the portal. To help debug, you can...
Power Automate for CDS: “what was it before we run the update?” or “bye,bye, no-code!”
The requirement: for Account(Property in our case) if related Contact(Tenant) is “un-linked”, create a Note. No-code solution: none. Why? These are triggers available for CDS(current environment): CDS current environment triggers We choose Update trigger for Contact filtering by parentcustomerid … and this is it. This is where our no-code journey ends. When Update… Continue Reading Olena Grischenko’s...
Power Portal: a custom maintenance page
Well, there is one: https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/enable-maintenance-mode If OOB one works for you don’t bother reading any further. Didn’t work for us because we wanted some flexibility for the dev team and testers to be able to login, check, clear cache etc So the requirement was to display a maintenance page to portal users and make the whole portal look… Continue Reading Olena...
PowerLabs – AI Dog – Intro – YouTube
Build a Power App with AI dog recognising your emotions and reacting accordingly with Power Automate and Azure Cognitive Services Face API. source
CDS current connector: Filter expression. My Flow doesn’t trigger!”
I thought you will love this one. It’s that type of “Help! My Flow hasn’t get triggered” thing which we all love. How to reproduce For the CDS entity which has some existing records then a new optionset field has got created. As a result some records may not have this field populated. If you use Filter expression “[your_attribute] ne [some_value]” it won’t trigger for records where…...
PowerLabs – Bulls and Cows 6. The result Flow – YouTube
The last video of the series. The result Flow overview and GitHub source code for you to check. source
CDS current environment connector : “The following filtering attributes are not valid:…”
Life is pain… “The following filtering attributes are not valid:…” { “error”: { “code”: “0x80040203”, “message”: “The following filtering attributes are not valid: lastname” }} Fix the trigger …error Remove the white space between the comma and the next attribute! A white space between filtering attributes causing the error. No white...
Pass “reference” data from a parent Flow to a child Flow
If you ever wonder how to do this is the exact time to figure it out together. These are types of user inputs you can pass to a child flow: Child Flow user input types: Text, Yes/No, File, Number, Date. What I was doing previously is passing a record ID as a Text input parameter then I was querying data using this ID. Like this: Query record in a child Flow to workaround a pass… Continue Reading Olena Grischenko’s Article...
PowerLabs – Bulls and Cows – 5. Generate a secret Code with Power Automate, – YouTube
We need to generate a 4-digit code for the game. With a twist. All digits in the code have to be unique. Let’s do it with Power Automate! Learning: variables, do-until loop, length(…), rand(…), contains(…) functions. source
Populating Word template with the CDS image field content via Flow (Power Automate)
This is a great video which helped me on a way: https://www.youtube.com/watch?v=-1jsBllmr-w However, in this video it takes image from OneDrive but I want to populate it from CDS image field. Add image control to a Word template. Watch video I referred above showing how to add controls step by step then come back for the image adding part. Image control inside Word template. 2…. Continue Reading Olena Grischenko’s Article...
CDS current environment connector: Filtering attributes for the record created
Let’s say I want trigger some logic when the particular field has been modified on a record. In this example, I modify a contact Email field and create a Note when it’s been modified. I picked up a trigger for Create or Update because you can enter Email for a new record or you can just update. It’s obvious if you’ve ever created any plug-in in your previous life that Filtering… Continue Reading Olena...
PowerLabs – Bulls and Cows – 4. Post Adaptive Card to Microsoft Teams – YouTube
Learn with us how to create a new Microsoft Teams channel then build Power Automate to create Adaptive Card and post it to a Microsoft Teams channel. Capture user information with the card then send back a response with the details captured. source
Braintree payments PCF component (Power Apps)
(The below has been described and tested for Canvas Power Apps. This has not yet been tested and adapted for Model-driven apps. As for the Power App Portal app, another integration pattern is appropriate, to be discussed later) This package for import in your CDS environment and source code of the control are packaged here: https://github.com/andrew-grischenko/BraintreePaymentsPCF This is a… Continue Reading Olena...
Setting up Office 365 E3 trial (video)
I started my YouTube channel last week. This particular video I am going to leave here. If you want to explore new features, test how things work or just do training setting up your playground environment would be a very good idea. If you don’t know where to start, watch this video: Continue Reading Olena Grischenko’s Article on their blog Setting up Office 365 E3 trial (video) I started my YouTube channel last week. This...
PowerLabs – Bulls and Cows – 3 Set up Office 365 E3 Trial – YouTube
This video to help you to set up your Office 365 E3 trial for the learning and training purposes. Also, it show how to integrate Microsoft Flow with Power Automate. source
PowerLabs – Bulls and Cows – 2 – YouTube
This is the second video of the “Bulls and Cows” series. In the video you will watch a teaser for the complete game and how it runs withing Microsoft Teams. source
Renaming Child Flow: the magic didn’t happen
Oops, I did it again! I renamed my child Flow action from “Run Child Flow” into “Generate Code”. I was counting on the intelligence of the engine to figure things out for me. Wouldn’t it expect me to re-add all my references to the Flow? Or would it? I was pleasantly surprised seeing the “Generate_Code” reference instead of “Run_Child_Flow” but it was too soon. After the first run...
PowerLabs – Bulls and Cows – Intro – YouTube
This the first video in the series of PowerLabs “Bulls and Cows” game tutorials. Building is the best way to learn. Watch the whole series to learn more about Microsoft Teams, Adaptive Cards and Power Automate. source
Locking Out setting for Power Apps Portal for confused developers
It came back to me from PROD saying it didn’t pass some last minute tests. After 5 attempts to login to the system user account was locked as it was expected but remained locked for much longer which was an unpleasant surprise to me. I remember setting login attempts to 1000 on the request from business on UAT and accidentally moving it to PROD like this. Our portal isn’t live yet so I… Continue Reading Olena...
“Stripe” payments PCF component (Power Apps)
There is an article my partner published on our company website. We’ve spent some time working with custom connectors and experimenting with different types of integrations with Dynamics 365, CDS and Power Platform. If you are interested to learn more about PCF controls and how to combine all above together in a working solution it will be a good reading for you. (The below has been… Continue Reading Olena...