Author: bernierainerguy

Tel. 01489 666383

Hiding the Time in the Calendar View in SharePoint

Here are the steps Open SharePoint Designer Open the site that contains the list that you’d like to modify Open the list view Locate the asp:content with ID PlaceHolderAdditionalPageHead and add the following in CSS and save <style type=”text/css”> .ms-acal-time {display:none} .ms-acal-sdiv, .ms-acal-mdiv {text-indent:-9999em;} .ms-acal-sdiv a, .ms-acal-mdiv a, .ms-acal-ddiv a {text-indent:0;top:0;display:block;position:absolute;} </style>


25th April 2018 0

Retrieve the GUID of an Entity record

Xrm.Page.data.save().then(function(){ var id = Xrm.Page.data.entity.getId(); }, function(){ alert(“Error”); // not wise but good for testing? });


4th April 2018 0

enable / disable section/tab/form v9+

// Section Disable function sectiondisable (sectionname, disablestatus) { var ctrlName = Xrm.Page.ui.controls.get(); for(var i in ctrlName) { var ctrl = ctrlName[i]; var ctrlSection = ctrl.getParent().getName(); if (ctrlSection == sectionname) { ctrl.setDisabled(disablestatus); } } } // sectiondisable   // TAB Disable function tabdisable (tabname, disablestatus) { var tab = Xrm.Page.ui.tabs.get(tabname); if (tab == null) alert(“Error: The…
Read more


14th March 2018 0

Enable / Disable a field in Dynamics

Xrm.Page.getControl(“fieldname”).setDisabled(false);


14th March 2018 0