{"id":596,"date":"2023-06-15T00:44:00","date_gmt":"2023-06-15T00:44:00","guid":{"rendered":"https:\/\/automatethemundane.com\/index.php\/2023\/06\/07\/hours-tracker-part-5-model-driven-app\/"},"modified":"2023-07-07T23:59:58","modified_gmt":"2023-07-07T23:59:58","slug":"hours-tracker-part-5-model-driven-app","status":"publish","type":"post","link":"https:\/\/automatethemundane.com\/index.php\/2023\/06\/15\/hours-tracker-part-5-model-driven-app\/","title":{"rendered":"Hours Tracker Part 5-Model Driven App"},"content":{"rendered":"\n<p class=\"has-text-color\" style=\"color:rgba(120, 119, 116, 1)\">6\/30\/2023<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h1 class=\"wp-block-heading\">The Why<\/h1>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">This part of the app will have us build a  Business Process Flow and a Model Driven app for our hours tracker. <\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:rgb(241, 241, 239)\">\ud83d\udca1 Note: The MDA is intended solely for backend management; it is not designed for user input. While it is possible to use it this way, users require a simpler method for entering and editing data.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">The How<\/h1>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">From the solution create a new MDA called Hours tracker backend<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-17-1024x503.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgba(120, 119, 116, 1)\">Select Add Page then Dataverse table<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-18-1024x431.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Add the User, Table, Project, and Hours table<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">All the hard work from the previous guide will now be showcased in the MDA<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-19-1024x444.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Save and Publish the application<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">On the left hand pane create a new business process flow called Hours Worked. Then align it to the hours table. <\/p>\n\n\n\n<p class=\"has-background\" style=\"background-color:rgb(241, 241, 239)\">\ud83d\udca1 This BPF is not \u201crequired\u201d but I always like to create a BPF for any application I make. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-20-1024x658.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Add two steps to the BPF<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Input Hours\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-21.png\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data Step #1 Hours\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-22-1024x362.png\" alt=\"\"\/><\/figure>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Approve Hours\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-23.png\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data Step #1 Lead Verified<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/07\/untitled-24-1024x351.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Save and Activate the BPF. <\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>6\/30\/2023 The Why This part of the app will have us build a Business Process Flow and a Model Driven app for our hours tracker. \ud83d\udca1 Note: The MDA is intended solely for backend management; it is not designed for user input. While it is possible to use it this way, users require a simpler [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":322,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[25,31,4,5,40],"class_list":["post-596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-model-driven-app","tag-dataverse","tag-forms","tag-mda","tag-power-apps","tag-views","entry","has-media"],"jetpack_featured_media_url":"https:\/\/automatethemundane.com\/wp-content\/uploads\/2023\/06\/cover-12-scaled.jpg","_links":{"self":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/comments?post=596"}],"version-history":[{"count":1,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/596\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/posts\/596\/revisions\/597"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media\/322"}],"wp:attachment":[{"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/categories?post=596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/automatethemundane.com\/index.php\/wp-json\/wp\/v2\/tags?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}