Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

REST Query results different response for different geographic location

$
0
0

Hello SharePoint Gurus - I have a custom webpart where I querying Announcements list using REST

/_api/lists/getByTitle('Announcements')/items?$select=ID,Title,PostDate,Category,Expires&$top=15&$orderBy=PostDate%20desc&$filter=OData__ModerationStatus%20eq%20'0'%20and%20Expires%20gt%20'2016-07-01T00:00:00-05:00'%20and%20PostDate%20le%20'2016-07-01T00:00:00-05:00'

At the Central office location, the response is coming absolutely fine. West coast and East coast office location users couldn't get proper response. They see the announcements till yesterday (1 back day). They don't see the announcements which is posted to appear today.

So, if the announcement was posted to appear on June 29th. Central location users see those announcements on Jun29th but not the west and east coast users. They see this announcement on Jun 30th.

Is anything wrong in my REST query? Is this because Wet/East coast user's computers are set for their time zone? The SharePoint web application is set to Central time zone.

Could anybody please throw some light on this? 

Thanks & Regards,


Khushi


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>