Skip to content

Commit b132c8e

Browse files
authored
Update README.md
1 parent 65c361c commit b132c8e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Overview
2-
A JavaScript library for Microsoft CRM Portals. To write basic functions like show and hide in Microsoft CRM Portals, we need to rely on jQuery for extensive manipuliation of DOM. The library provides these functionality in simple, clear and readable syntaxes. The library will help developers who are familar with Dynamics 365 Client Script.
2+
A JavaScript library for Power Apps portals (previously Microsoft CRM Portals). To write basic functions like show and hide in Power Apps portals, we need to rely on jQuery for extensive manipuliation of DOM. The library provides these functionality in simple, clear and readable syntaxes. The library will help developers who are familar with Power Apps client script.
33

44
# Command samples
55
## Get value of an attribute
@@ -62,3 +62,9 @@ Xrm.Portal.Form.Validation.setNumberRange(attributename, min, max, message, [isR
6262
```
6363
Xrm.Portal.User.getAsync() => promise
6464
```
65+
66+
## Transform text fields to canvas
67+
The method transforms a text field into a canvas, allowing users to draw lines or sign. Base64 string of canvas will be set to the underlying text field.
68+
```
69+
Xrm.Portal.Form.get(fieldName).transformToCanvas();
70+
```

0 commit comments

Comments
 (0)