Skip to content

Commit 5063063

Browse files
authored
Merge branch 'live' into shubham1172/time-zone-entities
2 parents 127b318 + aeda638 commit 5063063

File tree

107 files changed

+1243
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1243
-342
lines changed

powerapps-docs/developer/common-data-service/behavior-format-date-time-attribute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If you have users and offices around the world, it is important to properly repr
3434
|Member name and value|Description|
3535
|---------------------------|-----------------|
3636
|`UserLocal`|- Stores the date and time value as UTC value in the system.<br />- The retrieve operation returns the UTC value.<br />- The update operation converts the UTC value to the current user’s time zone value, and then stores the updated value as is or as the equivalent UTC value depending on the kind ([DateTimeKind](https://msdn.microsoft.com/library/shx7s921.aspx)) of the value specified for update. If the specified value is of UTC kind, it’s stored as is. Otherwise, the UTC-equivalent value is stored.<br />- Retrieving the formatted value converts from UTC to the user’s current time zone based on the time zone and locale setting of the user.<br />- For the Web API, the attribute is exposed as DateTimeOffset.<br />- This behavior is used for system attributes like `CreatedOn` and `ModifiedOn`, and cannot be changed. You should use this behavior for custom attributes where you want to store date and time values with the time zone information.|
37-
|`DateOnly`|- Stores the actual date value with the time value as 12:00 AM (00:00:00) in the system.<br />- For the retrieve and update operations, no time zone conversion is performed, and the time value is always 12 AM (00:00:00).<br />- Retrieving the formatted value displays the date value without any time zone conversion.<br />- For the Web API, the attribute is exposed as DateTimeOffset.<br />- This behavior should be used for custom attributes that store birthdays and anniversaries, where the time information is not required.|
37+
|`DateOnly`|- Stores the actual date value with no time value.<br />- Retrieving the formatted value displays the date value.<br />- For the Web API, the attribute is exposed as Date.<br />- This behavior should be used for custom attributes that store birthdays and anniversaries, where the time information is not required.|
3838
|`TimeZoneIndependent`|- Stores the actual date and time values in the system regardless of the user time zone.<br />- For the retrieve and update operations, no time zone conversion is performed, and actual date and time values are returned and updated respectively in the system regardless of the user time zone.<br />- Retrieving the formatted value displays the date and time value (without any time zone conversion) based on the format as specified by the current user’s time zone and locale setting.<br />- For the Web API, the attribute is exposed as DateTimeOffset.<br />- This behavior should be used for attributes that store information such as check in and check out time for hotels.|
3939

4040
The following sample code demonstrates how to set a `UserLocal` behavior for a new date time attribute:

powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-ui-tabs/setDisplayState.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "setDisplayState (Client API reference) in model-driven apps| MicrosoftDocs"
3-
ms.date: 10/31/2018
3+
ms.date: 08/27/2020
44
ms.service: powerapps
55
ms.topic: "reference"
66
applies_to: "Dynamics 365 (online)"
@@ -16,7 +16,8 @@ search.app:
1616
---
1717
# setDisplayState (Client API reference)
1818

19-
19+
> [!IMPORTANT]
20+
> The setDisplayState method will be deprecated with the Release Wave One 2021 (April 2021). Use [setFocus](setfocus.md) method in the Unified Interface to ensure the correct tab is opened on a form.
2021
2122
[!INCLUDE[./includes/setDisplayState-description.md](./includes/setDisplayState-description.md)]
2223

powerapps-docs/maker/TOC.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,17 +1792,23 @@
17921792
- name: Overview
17931793
href: ../sample-apps/return-to-workplace/overview.md
17941794
- name: Deploy the solution
1795-
href: ../sample-apps/return-to-workplace/deploy.md
1795+
href: ../sample-apps/return-to-workplace/deploy.md
1796+
- name: Upgrade the solution
1797+
href: ../sample-apps/return-to-workplace/upgrade.md
17961798
- name: Configure the solution
17971799
href: ../sample-apps/return-to-workplace/configure.md
17981800
- name: Location Readiness dashboard
17991801
href: ../sample-apps/return-to-workplace/dashboard-for-executive-leadership.md
1802+
- name: Workplace Care Management dashboard
1803+
href: ../sample-apps/return-to-workplace/dashboard-case-management.md
18001804
- name: Facility Safety Management app
18011805
href: ../sample-apps/return-to-workplace/app-for-facility-manager.md
18021806
- name: Workplace Care Management app
18031807
href: ../sample-apps/return-to-workplace/app-for-health-and-safety-lead.md
18041808
- name: Employee Return to the Workplace app
18051809
href: ../sample-apps/return-to-workplace/app-for-employee.md
1810+
- name: Extend the solutions
1811+
href: ../sample-apps/return-to-workplace/extend.md
18061812
- name: Learn from others
18071813
items:
18081814
- name: Blog

0 commit comments

Comments
 (0)