View SetLabel.js
| Xrm.Page.getControl("name").setLabel("Company Name"); |
View 0_reuse_code.js
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
View karma.conf.js
| module.exports = function (config) { | |
| var client_dir = ''; | |
| config.set({ | |
| basePath: '', | |
| browsers: ['PhantomJS2'], | |
| frameworks: ['mocha', 'chai', 'sinon'], | |
| files: [ | |
| './src/example.js', | |
| './test/example.spec.js', |
View src\sample.js
| function onload() { | |
| console.log(Xrm.Page.getAttribute('name').getValue()); | |
| } |
View gist:b0ba00ecd9ff75657732
| ### Keybase proof | |
| I hereby claim: | |
| * I am con-ssc on github. | |
| * I am con_ssc (https://keybase.io/con_ssc) on keybase. | |
| * I have a public key whose fingerprint is AAD9 33D8 79BB 8DC6 AEDD 3F6B AE2B 23FE 8E77 65FA | |
| To claim this, I am signing this object: |