Quantcast
Channel: Neil Parkhurst's Groups Activities
Viewing all articles
Browse latest Browse all 1692

JavaScript – My Collection

$
0
0

I was searching round for a snippet of JavaScript the other day and wasted loads of time reviewing random posts.

I’m a functional consultant, so I don’t blog about JavaScript that often! But over the past few years I’ve completed multiple posts including tips on using JavaScript.

In this post, I will list them all to provide a single source for my JavaScript information. You never know doing this might also inspire me to write some more posts!

If you are new to using JavaScript in conjunction with Dynamics 365 / CRM, then this post will help you understand the basics.

LinkSummarySpecific TechnologyDate
Business DaysA function that can be used to return “n” working days from a date.Feb 2017
Editable GridsHow to add JavaScript code into editable grids.Dynamics 365Dec 2016
BPF – EventsHow to add stage OnChange and Selected events into business process flows.Business Process FlowsAug 2016
BPF – Header FieldsHow to reference fields held in the header of business process flows.Business Process FlowsAug 2016
Context ObjectHow to get user details, user roles, current client and organization name from the context.Aug 2016
Call USD eventsHow to call events with Unified Service Desk (USD) from CRM forms.Unified Service DeskJun 2016
Refresh FormsHow to refresh parent form when items had been added into a subgrid.May 2016
Window.IsUSDHow to tell if the form has been loaded from Unified Service Desk.Unified Service DeskApr 2016
RunXrmCommand to SetFocusUsing RunXrmCommand to set focus to a specific attribute.Unified Service DeskMar 2016
Set any valueOne function that can be used to a fields value regardless of its attribute type.Dec 2015
Control OptionSet ValuesHow to use adoption and removeOption to control what OptionSet values are presented.Dec 2015
getSaveModegetSaveMode can be used to see how the save was initiated. You could use this (for example) to prevent auto save events.CRM FormsDec 2015
Set Lookup DetailsGeneric function that can be used to set lookup fields.Dec 2015
getFormTypeHow to getFormType, to see if the form has been loaded in create mode, update, bulk edit etc.CRM FormsNov 2015
Prevent SaveHow to prevent onSave function.CRM FormsNov 2015
NotificationsHow to set the yellow notification bars on CRM forms.CRM FormsNov 2015
Return RolesYou can return the GUID for all a user’s roles from the context, this post shows how to query the role names.Nov 2015
Form NavigateHow to check the form name and change to another form when a form loads.CRM FormsNov 2015
BPF – Part 2How to get active stage, hide business process flow, expand / collapse business process flow, move to next stage and set active stageBusiness Process FlowsNov 2015
BPF – Part 1How to traverse the element of a business process flow.Business Process FlowsNov 2015
Random SnippetsSome random code snippets. Hopefully “stuff” that is commonly used.Nov 2015
Open FormsHow to trigger the opening of quick create or entity forms from JavaScriptCRM FormsOct 2015
Get Activity Party ListHow to get the members of an activity party list. (For example, the members of the “to” list for an email.)Oct 2015
Set Activity PartyHow to add someone to an activity party list.Oct 2015
Set OptionSet by nameHow to set the OptionSet value based on the name of the option.Oct 2015
Show ageHow to show someone’s age in the label of the date of birth fieldOct 2015
Get value for any controlA generic function to return the value of a control regardless of the attribute type.Oct 2015

Filed under: JavaScript Tagged: JavaScript

Viewing all articles
Browse latest Browse all 1692

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>