Question

Set value of a SharePoint 2013 BDC External Item Picker field using JQuery I want to fill customer name using jquery. How can fill this when page load? enter image description here

Était-ce utile?

La solution

I think you can achieve this by getting the ID of the this field via JavaScript and set its default value as the following :

  • Open you page > add script editor.
  • Add the following code with your control id and its default value

[Code]

<script>

_spBodyOnLoadFunctionNames.push("setbcs");
function setbcs() {
     var s = document.getElementById(ID of your control);
     s.value = "new value";
}

</script>

You can also check alternative methods at

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top