Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamicscode authored Jul 19, 2020
1 parent 65c361c commit b132c8e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Overview
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.
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.

# Command samples
## Get value of an attribute
Expand Down Expand Up @@ -62,3 +62,9 @@ Xrm.Portal.Form.Validation.setNumberRange(attributename, min, max, message, [isR
```
Xrm.Portal.User.getAsync() => promise
```

## Transform text fields to canvas
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.
```
Xrm.Portal.Form.get(fieldName).transformToCanvas();
```

0 comments on commit b132c8e

Please sign in to comment.