Skip to content

Commit 46d546f

Browse files
committed
Tweaks
1 parent 45d243d commit 46d546f

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

powerapps-docs/maker/canvas-apps/formula-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Other elements include:
276276

277277
**[Rand](functions/function-rand.md)** – Returns a pseudo-random number.
278278

279-
**[ReadNFC](Functions/function-readnfc.md)** – Reads a Near Field Communication (NFC) tag.
279+
**[ReadNFC](functions/function-readnfc.md)** – Reads a Near Field Communication (NFC) tag.
280280

281281
**[Refresh](functions/function-refresh.md)** – Refreshes the records of a data source.
282282

powerapps-docs/maker/canvas-apps/functions/function-readnfc.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,39 @@ search.app:
1515
- PowerApps
1616
---
1717
# ReadNFC function in Power Apps
18+
1819
Reads a Near Field Communication (NFC) tag.
1920

2021
## Description
21-
Use **ReadNFC** to read an NFC tag that is in close proximity to your device. When invoked, the screen will display instructions for scanning an NFC tag, and will only return after a tag has been scanned or a timeout expires.
2222

23-
**ReadNFC** returns a record of information about the tag that has been read. The record contains:
23+
Use **ReadNFC** function to read an NFC tag that is close to your device. When invoked, the screen displays instructions for scanning an NFC tag, and only returns after the tag has been scanned or a timeout expires.
24+
25+
**ReadNFC** returns a record of information about the tag that has been read. The record contains:
2426

25-
| Field | Type | Description |
27+
| Column | Type | Description |
2628
|----|----|----|
27-
| **RTD** | Text | The tag's Record Type Definition (RTD). Only RTD_TEXT and RTD_URI are supported at this time. |
28-
| **TNF** | Number | The tag's Type Name Format (TNF). Only TNF_WELL_KNOWN is supported at this time. |
29-
| **Text** | Text | The text payload of the NFC tag if RTD is RTD_TEXT, *blank* otherwise. |
30-
| **URI** | Hyperlink | The URI payload of the NFC tag if RTD is RTD_URI, *blank* otherwise. |
29+
| **RTD** | Text | The tag's Record Type Definition (RTD). Only *RTD_TEXT* and *RTD_URI* are supported at this time. |
30+
| **TNF** | Number | The tag's Type Name Format (TNF). Only *TNF_WELL_KNOWN* is supported at this time. |
31+
| **Text** | Text | The text payload of the NFC tag if RTD is *RTD_TEXT*, *blank* otherwise. |
32+
| **URI** | Hyperlink | The URI payload of the NFC tag if RTD is *RTD_URI*, *blank* otherwise. |
3133

32-
If the tag is not supported, for example the TNF is not TNF_WELL_KNOWN, or the scan timed out, then the record itself will be *blank* (and all fields will be *blank* too).
34+
If the tag is not supported, for example, the TNF is not *TNF_WELL_KNOWN*, or the scan timed out, then the record itself will be *blank* (and all the columns will be *blank* too).
3335

3436
Always check the payload value for *blank* using the [**IsBlank**](function-isblank-isempty.md) function before using it. You do not need to check the **RTD** and **TNF** values yourself as they must be the correct values for **Text** and **URI** to have a non *blank* value.
3537

36-
Additional **RTD** and **TNF** values may be supported in the future. If more values are supported, additional payload fields will also be added. The raw **RTD** and **TNF** values are provided for informational purposes. Information about these values and their use is available through the [NFC Forum](https://nfc-forum.org) and many other books and articles on NFC.
38+
Additional **RTD** and **TNF** values may be supported in the future. If more values are supported, additional payload columns will also be added. The raw **RTD** and **TNF** values are provided for informational purposes. More information about these values and their use is available through the [NFC Forum](https://nfc-forum.org) and many other books and articles on NFC.
3739

3840
If NFC is not supported on the device, a message will be shown to the user and the function will return a *blank* record.
3941

4042
**ReadNFC** can only be used in [behavior formulas](../working-with-formulas-in-depth.md).
4143

4244
## Syntax
45+
4346
**ReadNFC**()
4447

4548
## Examples
4649

47-
Reads an NFC tag and displays the result. If the result is Text or URI, displays that value to the user. The [**With**](function-with.md) function is used to make the fields of the return record easily accessible.
50+
Reads an NFC tag and displays the result. If the result is Text or URI, displays that value to the user. The [**With**](function-with.md) function is used to make the columns of the return record easily accessible.
4851

4952
```powerapps-dot
5053
With( ReadNFC(),

0 commit comments

Comments
 (0)