CRM 2013 Javascript Special Functions http://shanewcunningham.blogspot.com.tr/2014/04/crm-2013-javascript-special-functions.html •Xrm.Page.context.client.getClient() – Returns client type i.e. outlook, web or mobile. • Xrm.Page.context.client.getClientState() – Returns client state i.e. online or offline. •Xrm.Page.data.refresh() – This is one interesting as it refreshes the data on the form without even reloading the page. This also enables developers to pass a callback method. •Xrm.Page.data.save() – Save the form • Xrm.Page.data.getIsValid() – Returns true is form is valid for save else false • Xrm.Page.data.setFormDirty() – Sets the form dirty for force save. • Xrm.Page.data.entity.getPrimaryAttributeValue() – Returns the value of primary attribute •Xrm.Page.ui.setFormNotification(message,level,uniqueId) – Sets the notification on top of the form. •Xrm.Page.ui.clearFormNotification() – Clears the form notification •Xrm.Page.ui.refreshRibbon() – Refreshes the ribbo...
Yorumlar
Yorum Gönder