Form Script Generator for Dynamics CRM 2016 and above.
Helps you to write Dynamics CRM form scripts in more efficient and easy way with the help of VS IntelliSense.
✨ 💥
The Library is designed for
- An easy and faster way to write Form Scripts for Dynamics CRM.
- Visual Studio IntelliSense for Dynamics CRM functions.
- Field validations.
Following are some screen capture
Example:
///set value to name field
MK.FSGEntity.field.name.value = "Form Script Generator Example";
//get value from name field
var nameValue = MK.FSGEntity.field.name.value;
Some interesting features
- No need to remember the logical name of the field.
- Field properties will be filtered by data type.
- Auto field validation if selected field is not present the form.
- Access tabs and sections present in the form.
Get started
The wiki has a great section on how to get started
- Documentation: Github wiki
- Feedback: Open an issue
Compatibility Matrix
CRM Online
![]() 2016 |
![]() 2016 Update 1 |
![]() Dynamics 365 |
|---|---|---|
| v8.0 | v8.1 | v8.2 |
Browsers
![]() Edge |
![]() Firefox |
![]() Chrome |
![]() Safari |
![]() Opera |
|---|
Phones
![]() Android |
![]() iOS |
![]() Windows |
|---|---|---|
| v6 | v10 | v10 |
Tablets
![]() Android |
![]() iOS |
![]() Windows |
|---|---|---|
| v6 | v10 | v10 |
Features
Following are SDK functions are supported by latest release
Version: 1.0
-
Date: 1 June, 2017
-
1. setValue 2. getValue 3. getAttributeType 4. getFormat 5. getIsDirty 6. getIsPartyList 7. getMaxLength 8. getName 9. getUserPrivilege 10. getMax 11. getMin 12. getPrecision 13. getRequiredLevel 14. setRequiredLevel 15. getSubmitMode 16. setSubmitMode 17. getDisabled 18. setDisabled 19. getLabel 20. setLabel 21. setFocus 22. getVisible 23. setVisible 24. fireOnChange 25. addCustomView 26. getDefaultView 27. setDefaultView 28. setNotification 29. clearNotification 30. addPreSearch 31. removePreSearch 32. addCustomFilter 33. getInitialValue 34. getSelectedOption 35. getOptions 36. getText 37. getShowTime 38. setShowTime 39. addOnKeyPress 40. removeOnKeyPress 41. fireOnKeyPress 42. showAutoComplete 43. hideAutoComplete 44. getAttribute -
1. close 2. getFormType 3. clearFormNotification 4. setFormNotification 5. getViewPortHeight 6. getViewPortWidth 7. refreshRibbon 8. getCurrentControl -
1. getEntityName 2. getId 3. getIsDirty 4. allAttributes 5. getDataXml 6. getPrimaryAttributeValue -
1. getClientUrl 2. getUserId 3. getUserName 4. getUserLcid 5. getUserRoles 6. getClient 7. getClientState 8. getFormFactor 9. getIsAutoSaveEnabled 10. getOrgLcid 11. getOrgUniqueName 12. getQueryStringParameters 13. getTimeZoneOffsetMinutes -
1. getDisplayState 2. setDisplayState 3. getLabel 4. setLabel 5. setFocus 6. getVisible 7. setVisible 8. getParent 9. getName -
1. getLabel 2. setLabel 3. getVisible 4. setVisible 5. getParent 6. getName
-
What’s coming in Next Release
- Utility functions from Dynamics CRM SDK.
- Access business process fields.
Planned Features
- Access grid , web resources and iFrame.
Feature Request
Take charge and add your idea or vote on your favorite feature to be implemented:
Minimum Software Requirement
- Visual Studio.
License
MIT - see MIT licence information








