All Projects → dynamicscode → XrmPortalJS

dynamicscode / XrmPortalJS

Licence: GPL-3.0 license
A JavaScript library for Microsoft CRM Portals

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to XrmPortalJS

easevalidation
javascript validation library
Stars: ✭ 14 (-51.72%)
Mutual labels:  javascript-library
GifWriter.js
GIF (version 89a) Encoder written in TypeScript
Stars: ✭ 41 (+41.38%)
Mutual labels:  javascript-library
v-bucket
📦 Fast, Simple, and Lightweight State Manager for Vue 3.0 built with composition API, inspired by Vuex.
Stars: ✭ 42 (+44.83%)
Mutual labels:  javascript-library
sqlweb
SqlWeb is an extension of JsStore which allows to use sql query for performing database operation in IndexedDB.
Stars: ✭ 38 (+31.03%)
Mutual labels:  javascript-library
ionic-image-upload
Ionic Plugin for Uploading Images to Amazon S3
Stars: ✭ 26 (-10.34%)
Mutual labels:  javascript-library
nojs
Library that helps minimize js you have to write
Stars: ✭ 118 (+306.9%)
Mutual labels:  javascript-library
xrm-mock
📚 A fake implementation of the Xrm object model. Written in TypeScript against @types/xrm definitions.
Stars: ✭ 64 (+120.69%)
Mutual labels:  microsoft-dynamics-365
personal-skill-tree
Create your own RPG-like talent tree
Stars: ✭ 29 (+0%)
Mutual labels:  javascript-library
ethairballoons
A strictly typed ORM library for Ethereum blockchain.
Stars: ✭ 27 (-6.9%)
Mutual labels:  javascript-library
DreamForgerJS
Interactive Fiction JS library
Stars: ✭ 14 (-51.72%)
Mutual labels:  javascript-library
oojs-ui
OOUI is a modern JavaScript UI library with strong cross-browser support. It is the standard library for MediaWiki and Wikipedia. This is a mirror from https://gerrit.wikimedia.org. Main website:
Stars: ✭ 45 (+55.17%)
Mutual labels:  javascript-library
aws-amplify-react-custom-ui
Building a Custom UI Authentication For AWS Amplify
Stars: ✭ 21 (-27.59%)
Mutual labels:  javascript-library
MojoJS-Query
A pure javascript CSS Selector engine.
Stars: ✭ 22 (-24.14%)
Mutual labels:  javascript-library
ImagerJs
A JavaScript library for uploading images using drag & drop. Crop, rotate, resize, or shrink your image before uploading.
Stars: ✭ 101 (+248.28%)
Mutual labels:  javascript-library
rel-events
The relevant React Events Library.
Stars: ✭ 20 (-31.03%)
Mutual labels:  javascript-library
Glize
📚 Glize is a clean and robust pure Javascript library.
Stars: ✭ 16 (-44.83%)
Mutual labels:  javascript-library
safe-touch
⛓ Runtime optional chaining for JS
Stars: ✭ 71 (+144.83%)
Mutual labels:  javascript-library
web-animation-club
CSS controlled animations with transitionEnd, onTransitionEnd, animationend, onAnimationEnd events and frame throwing. Tiny javascript library with cross-browser methods to handle css animation/transition callbacks and event loop frame throwing. 📚🖥️📱
Stars: ✭ 52 (+79.31%)
Mutual labels:  javascript-library
Ripple.js
Proper Material Design ripple effect for the web, that wouldn't interfere your elements' DOM.
Stars: ✭ 18 (-37.93%)
Mutual labels:  javascript-library
Android-Activity-Tracker-for-Dynamics-CRM
An app for accessing contacts in Dynamics CRM and managing contact activities. This sample app demonstrates how to access the CRM web services from an Android app.
Stars: ✭ 20 (-31.03%)
Mutual labels:  microsoft-dynamics-crm

Overview

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 a field

Xrm.Portal.Form.get(fieldName).getValue();

Set value of a field

Xrm.Portal.Form.get(fieldName).setValue(object);
Xrm.Portal.Form.get(fieldName).setValue(id, name, entityLogicalName); //For lookup

Show/hide a field

Xrm.Portal.Form.get(fieldName).setVisible(bool);

Disable/enable a field

Xrm.Portal.Form.get(fieldName).setDisable(bool);

Set required of a field

Xrm.Portal.Form.get(fieldName).setRequired(bool); //Default - a default validation and a default message
Xrm.Portal.Form.get(fieldName).setRequired(bool, function, message); //A custom validation and a custom message

Attach/Remove OnChange event of a field

Xrm.Portal.Form.get(fieldName).attachOnChange(callback);
Xrm.Portal.Form.get(fieldName).removeOnChange();

Configure DateTimePicker options

Xrm.Portal.Form.get(dateTimeFieldName).getData().options({options});
Xrm.Portal.Form.get(dateTimeFieldName).getData().options({ sideBySide: true}); //To show date component and time component side by side
Xrm.Portal.Form.get(dateTimeFieldName).getData().minDate(new Date()); //To disable selecting past date

Refer to more options here

Get a row count from current page of the sub-grid

Xrm.Portal.Form.get(subGridName).getRowCountFromCurrentPage();

Enable a lookup to display its modal dialog on clicking anywhere in the lookup control

Xrm.Portal.Form.get(lookupName).enableOneClick();

Quick View

Get JSON data from a quick view

Xrm.Portal.Form.get(quickViewName).getValue();

Render as an AdaptiveCard

Xrm.Portal.Form.get(quickViewName).renderAdaptiveCard(lookupName, adaptiveCardJSON, dataInJSON);

Method chaining

Xrm.Portal.Form.get(fieldName).setValue(object).setVisible(bool).setRequired(bool);

Validations

Regular Expressions

Xrm.Portal.Form.Validation.assertRegex(fieldName, RegEx, message, [isRequired])

Block past date

Xrm.Portal.Form.Validation.denyPastDate(fieldName, message, [isRequired])

Block future date

Xrm.Portal.Form.Validation.denyFutureDate(fieldName, message, [isRequired])

Compare main and sub. Main must be later than sub.

Xrm.Portal.Form.Validation.compareDates(mainFieldName, subFieldName, message, [isRequired])

Set range to number

Xrm.Portal.Form.Validation.setNumberRange(fieldName, min, max, message, [isRequired])

User

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();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].