Skip to content

Helps you to write JavaScript functions easier way for Dynamics 365.

License

Notifications You must be signed in to change notification settings

mihirkadam/FormScriptGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Form Script Generator for Dynamics CRM 2016 and above.

ghit.me

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.

Releases

Following are some screen capture

Alt text Alt text Alt text Alt text

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

Compatibility Matrix

CRM Online

2016 Update 1
2016
2016 Update 1
2016 Update 1
Dynamics 365
Dynamics 365
v8.0 v8.1 v8.2

Browsers

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera

Phones

Android
Android
iOS
iOS
Windows
Windows
v6 v10 v10

Tablets

Android
Android
iOS
iOS
Windows
Windows
v6 v10 v10

Features

Following are SDK functions are supported by latest release

Version: 1.0

  • Date: 1 Nov, 2016

    * Field Properties
    
                     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
    
    * Form Properties
    
                     1. close
                     2. getFormType
                     3. clearFormNotification
                     4. setFormNotification
                     5. getViewPortHeight
                     6. getViewPortWidth
                     7. refreshRibbon
                     8. getCurrentControl
    
    * Entity Properties
    
                     1. getEntityName
                     2. getId
                     3. getIsDirty
                     4. allAttributes
                     5. getDataXml
                     6. getPrimaryAttributeValue
    
    * Context Properties
    
                     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
                     
    * Tab Properties
    
                     1. getDisplayState
                     2. setDisplayState
                     3. getLabel
                     4. setLabel
                     5. setFocus
                     6. getVisible
                     7. setVisible
                     8. getParent
                     9. getName
     
     * Section Properties
    
                     1. getLabel
                     2. setLabel
                     3. getVisible
                     4. setVisible
                     5. getParent
                     6. getName
    

What’s coming in Next Release

  1. Utility functions from Dynamics CRM SDK.
  2. 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


© 2017, Mihir Kadam (mihirkadam16@gmail.com)

About

Helps you to write JavaScript functions easier way for Dynamics 365.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages