cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Date of Event in Sharepoint not coming through as a Date Value card

I have a date field in SharePoint but when I pull the field into my app, it is coming through as a text card.

 

buteaur_0-1598459048916.png

When I was pulling the same field from an OneDrive Excel document it came in as a DateCard.

 

Thoughts?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

I was able to solve this.

View solution in original post

3 REPLIES 3
VDS_Mantra
Resolver I
Resolver I

Hi, 

 

Kindly make sure you have date format in SharePoint also. Generally, In form view mode date show as text data care however when you will check its datatype from the field it will reflect as date and in edit mode also it will change in calendar form. 

 

Hope it will help. 

 

Anonymous
Not applicable

Thank you.  I have confirmed that my SharePoint data point is formatted as calendar date and time.

 

Here is what it doesn't like about my card:

DataSourceInfo([@DDD_List], DataSourceInfo.MaxLength, "Date_Of_Event")

 

It's telling me that "maxLength" isn't valid for my column name.

Anonymous
Not applicable

I was able to solve this.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,111)