Now that we have the screens we need, it’s time to add some logic. In order to do that we have to make a view in Dataverse to use. We offload this logic to Dataverse instead of creating the query in the Power App. Once we have the view we need we start to build out more logic. We add logic to update the visit record, logic to relate dogs that play together. Then we add new post records for our newsletter and then we finish with the relationship between all the pets and the stories we’ve made.