New answers tagged

0

Because this is a managed metadata (taxonomy) field a change event will not be triggered due to the way the field is implemented. Therefore one way to solve the issue is to create a function to listen for changes. I found a listener function and added it to your code. It seems to have the desired result, every time the metadata field is updated the ...


0

The Status HTML element most likely has no id value 'Status' So $('#Status') will always return undefined var statusField = SPUtility.GetSPField('Status'); probably does some magic in the SPUtility to get the element reference. Since you allready have the reference (provided SPUtility returns a proper DOM element) You can do statusField....


0

You can do this as below $(statusField.Dropdown).on('change', function() { alert('Changed'); });


0

Simply, check if properties.BeforeUrl contains a dot (dots are not allowed in folder names): string url = properties.BeforeUrl; if (url .Contains(".")) //it is a file * not a folder { //To do }



Top 50 recent answers are included