Forum Discussion
Flow on SharePoint list
Hi Oskar, sorry it's taken me a couple of days to get back to you. Were you able to solve this?
Just in case, yes I hard coded the dates into the query, however you will be able to use expressions instead to pull out and format the date as required. See my screenshot as to where I've used it. The expression looks like this:
formatDateTime(utcNow(),'yyyy-MM-dd')
Hi
Thanks for your reply.
No so far i have not solved this.
I tried this setup and got the following error
{
"status": 400,
"message": "Kolumnen starttid finns inte. Den kan ha tagits bort av en annan användare.\r\nclientRequestId: 0c5623f7-909f-488c-bb89-ef684d79683f\r\nserviceRequestId: ab1c8d9e-4023-0000-202a-36848dfe84d1"
}
screenshot: http://prntscr.com/ksf2k0
The error is in swedish, but translated it says "column starttid does not exist. It can have been removed by another user....
But if i go to my calendar
I clearly see the column is there and it got the correct name.
screenshot: http://prntscr.com/ksf3cz
- Alan MarshallSep 09, 2018Steel ContributorYou need to use the internal column name, if it is different to startid. To find this, go to list settings and select the column, you will see in the URL at the end the column internal name.
- Matt WestonSep 09, 2018Iron Contributor
Hi Oskar Kuus, just to add some additional clarity to Alan Marshall I've taken a screenshot. The biggest thing that catches people out is the difference between the SharePoint internal name and the display name. I've attached a screenshot that will show where you can check that.
- Oskar KuusSep 10, 2018Iron Contributor
Thank you very much. This made everything work perfectly.
- Oskar KuusSep 12, 2018Iron ContributorMatt Weston
I hope you can help me with a thing.
You provided me with this formula to extract "todays" events from a calendar.
EventDate ge datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T00:00:00' and EventDate le datetime'@{formatDateTime(utcNow(),'yyyy-MM-dd')}T23:59:59'
How would i change this one to make it extract all events from todays date and 5 days ahead.
So if it is monday morning. I want to extract all events from Monday, Tuesday, Wednesday, Thursday and Friday (5 days).- Matt WestonSep 16, 2018Iron Contributor
Hi Oskar Kuus sorry for not replying before now.
There are a long list of expressions that you can combine, just like you would in Excel. To figure out what 5 days are from today, you can use something like this:
addDays(utcNow(),5,'yyyy-MM-dd')