Skip to content

Commit 5e716ec

Browse files
committed
2118882
1 parent d6623f9 commit 5e716ec

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

powerapps-docs/maker/canvas-apps/use-native-cds-connector.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You may also want to enable the **Explicit Column Selection** feature:
5454

5555
> [!NOTE]
5656
> - **Improve data source experience and Common Data Service views** is not supported on [Power Apps for Windows](https://www.microsoft.com/p/power-apps/9nblggh5z8f3). You must turn this feature *Off* when using Power Apps for Windows.
57-
> - When this feature is *Off*, you'll see the following message. You can ignore this message when using Power Apps mobile app for Windows platform, .
57+
> - When this feature is *Off*, you'll see the following message. You can ignore this message when using Power Apps mobile app for Windows platform.
5858
> <br> `This app is using a connector for the Common Data Service or Dynamics 365 that will not be supported past Oct 1, 2020.`
5959
6060
### *Relational data, option sets and other new features for Common Data Service* is Off:
@@ -94,7 +94,7 @@ Check *Deprecated features* section under *Advanced settings*. If set to *Off*,
9494
It’s possible to have errors at this stage if you're using an option set field or hard-coded GUID text values. <br><br>
9595

9696
- *Option Set values*: If you're using an option set field with a text identifier for the option set value, use the dot notation instead to reference the option set value. For example, change `Patch(Accounts, OptionSet1 = “12345”)` to `Patch(Accounts, OptionSet.Item1)` where `Item1` corresponds to the `12345` value. <br>
97-
See the [Detailed Examples](#detailed-examples) section for more information.
97+
More information: [Detailed Examples](#detailed-examples).
9898
- *GUIDs*: If you're using a static GUID string such as `015e45e1044e49f388115be07f2ee116`, convert it to a function that returns a GUID object; for example `GUID(“015e45e1044e49f388115be07f2ee116”)`.
9999
- *Lookups*: If you're using Lookup functions to get first-level lookup values such as `Lookup(Contacts, ‘contactID’ = ThisItem.ContactID”)`, consider using `ThisItem.PrimaryContacts` (where PrimaryContacts is the name of the entity) instead.
100100

@@ -128,14 +128,14 @@ To convert your app that uses the Dynamics 365 connector, you'll need to remove
128128

129129
*Possible errors and suggestions*:
130130

131-
It’s possible to have errors as you convert if: you aren't using Display Names, if you are using GUID strings, or if you are using an option set field.
131+
It’s possible to have errors as you convert if: you aren't using Display Names, if you're using GUID strings, or if you're using an option set field.
132132

133133
- If control name conflicts, change the name of the control to be different and unique.
134134
- For field and entity display name conflicts, you may see a formula that is expecting an entity but is resolving to a more locally scoped field name. Use the square bracket with an *@* symbol to indicate a global scope so it resolves to the entity; for example, **[@entityName]**.
135-
- *Option Set values*: If you are using an option set field with a text identifier for the option set value, use the dot notation instead to reference the option set value. For example, change `Patch(Accounts, OptionSet1 = “12345”)` to `Patch(Accounts, OptionSet.Item1)` where `Item1` corresponds to the `12345` value. <br>
136-
See the [Detailed Examples](#detailed-examples) section for more information.
137-
- *GUIDs*: If you are using a static GUID string such as `015e45e1044e49f388115be07f2ee116`, convert it to a function that returns a GUID object; for example `GUID(“015e45e1044e49f388115be07f2ee116”)`.
138-
- *Lookups*: If you are using Lookup functions to get first-level lookup values such as `Lookup(Contacts, ‘contactID’ = ThisItem.ContactID”)`, consider using `ThisItem.PrimaryContacts` (where PrimaryContacts is the name of the entity) instead.
135+
- *Option Set values*: If you're using an option set field with a text identifier for the option set value, use the dot notation instead to reference the option set value. For example, change `Patch(Accounts, OptionSet1 = “12345”)` to `Patch(Accounts, OptionSet.Item1)` where `Item1` corresponds to the `12345` value. <br>
136+
More information: [Detailed Examples](#detailed-examples).
137+
- *GUIDs*: If you're using a static GUID string such as `015e45e1044e49f388115be07f2ee116`, convert it to a function that returns a GUID object; for example `GUID(“015e45e1044e49f388115be07f2ee116”)`.
138+
- *Lookups*: If you're using Lookup functions to get first-level lookup values such as `Lookup(Contacts, ‘contactID’ = ThisItem.ContactID”)`, consider using `ThisItem.PrimaryContacts` (where PrimaryContacts is the name of the entity) instead.
139139
- For any Polymorphic references, refer to the Detailed Examples section below.
140140

141141
## Detailed Examples
@@ -144,11 +144,11 @@ Converting your app to use the new **Option sets** and **Two options** data type
144144

145145
### Option Sets
146146

147-
Separate `_myfield` and `_myfield_label` fields were used for an Option set earlier. Now, there is a single `myfield` that can be used both for locale-independent comparisons and to obtain the locale-specific label.
147+
Separate `_myfield` and `_myfield_label` fields were used for an Option set earlier. Now, there's a single `myfield` that can be used both for locale-independent comparisons and to obtain the locale-specific label.
148148

149149
#### Removing and adding Option set Data cards
150150

151-
It's recommended to remove existing data cards and add them back to work with your Option set. For example, if you are working with the Account entity and the Category Option set, you'll see that the *DataField* property of the data card was set to `_accountcategorycode_label`. In the field list you can see that the data card has a type of *String*:
151+
It's recommended to remove existing data cards and add them back to work with your Option set. For example, if you're working with the Account entity and the Category Option set, you'll see that the *DataField* property of the data card was set to `_accountcategorycode_label`. In the field list you can see that the data card has a type of *String*:
152152

153153
![OptionSet with old style name](./media/use-native-cds-connector/OptionSet-with-old-style-name.png)
154154

@@ -164,7 +164,7 @@ Previously, if you wanted to use an Option Set value in a Filter expression you
164164
Filter(Account,'Category Value' = "1")
165165
```
166166

167-
You'll need to edit this formula. Option set text identifer is no longer used for the value. This expression should be updated to look the following:
167+
You'll need to edit this formula. Option set text identifer is no longer used for the value. This expression should be updated to:
168168

169169
```powerapps-dot
170170
Filter(Account, Category= ‘Category (Accounts)’.’Preferred Customer’)
@@ -198,7 +198,7 @@ Filter(Accounts, 'Category Code' = [@’Category Code’].'Preferred Customer')
198198

199199
#### Removing and adding Two Option set Data cards
200200

201-
You should remove existing data cards and add them back to work with your Two Option set. The data types were earlier recognized as simple boolean - such as true/on and false/off with no labels:
201+
Remove existing data cards and add them back to work with your Two Option set. The data types were earlier recognized as simple boolean - such as true/on and false/off with no labels:
202202

203203
![Two Option Set - old style](./media/use-native-cds-connector/TwoOptionSet-Old.png)
204204

@@ -225,7 +225,7 @@ Using the [Patch](./functions/function-patch.md) function with Two option should
225225

226226
### Polymorphic lookups
227227

228-
Following guidelines help to upgrade your application if it referenced [polymorphic](working-with-references.md) fields. Polymorphic lookups, from the same field, support references to a restricted set of multiple entities. Similar to references in other languages, a record reference is a pointer to a specific record in a specific entity. A record reference carries with it the entity information allowing it to point to a record in several different other entities, which differs from a normal lookup that can only point to records in one entity.
228+
Following guidelines help to upgrade your application if it referenced [polymorphic](working-with-references.md) fields. Polymorphic lookups, from the same field, support references to a restricted set of multiple entities. Similar to references in other languages, a record reference is a pointer to a specific record in a specific entity. A record reference carries the entity information allowing it to point to a record in several different other entities, which differs from a normal lookup that can only point to records in one entity.
229229

230230
#### Access, Set, and Filter on the Owner field of a record
231231

0 commit comments

Comments
 (0)