Then we will set up a Microsoft Flow which makes a call to the API and creates a record of the entity. In order to do that we need to create an entity in which we can store these pictures/videos. So we want to store these pictures in the CDS. You can get an API key for free, just by signing up at. All you need to know in order to utilize it is summarized in the picture below. You can find all the details about it here. This endpoint structures the APOD imagery and associated metadata so that it can be repurposed for other applications. Nasa’sĪccording to Nasa one of the most popular websites at Nasa is the Astronomy Picture of the Day. However, I thought I might as well share my version of the Microsoft Flow which creates the CDS records. My version did not have a date field though, it had a button and a Microsoft Flow behind that button which made a call to the API and returned the photo of today back to the Canvas App. No need for me to demonstrate the same when it comes to the Canvas App. The Astronomy Picture of the Day API sure seams to be very popular. This morning I got a bit surprised when my Twitter feed said that there was a blog post about updating a SharePoint document library from this same API with a Microsoft Flow as well as a comment that someone else had created a video about utilizing the API in a PowerApp using Microsoft Flow. However something got me to sit down and do just that. This blog post will let you in on how I set up the flow which creates CDS records and how to display the records in a Model-Driven App.Īctually, I had no plans for writing this blog post. Before I set up the flow I created an entity to hold this information. As a separate thing I also created a Microsoft Flow which I scheduled to run each day, it gets me the picture of today and saves it as a record in the Common Data Service. I made a Canvas App which displayed the picture of today (with a Microsoft Flow in the background). For about a week ago I had some fun exploring one of Nasa’s Open APIs, Astronomy Picture of the Day.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |