Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top