SharePoint 2013 마크 업 코드는 자리 삭제 내부에서 작동하지만 WebPart (EmbeddedFormField)에 코드가 포함되지 않았습니다.

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/80883

문제

스파 2013 목록 바인딩을위한 사용자 정의 마크 업 코드를 배포하려고

마크 업 코드는 SPD VS를 통해 자주 히크램에 배치 할 때 WebPart (EmbeddedformField)

이 코드는 SPD 2013을 사용하고 SPD 2013을 사용하여 자리 삭여에 위치 할 때 완벽하게 작동합니다. 그러나 SPO 편집 페이지 삽입 코드를 사용하면 드롭 다운 컨트롤에 데이터를 바인딩하지 않습니다.통제권에서 아무것도 얻지 못한다.

<div id="uploadDiv">
   <label id="fileSelectorLabel">Select a file: </label>
   <input id="uploadInput" type="file"/>
   <script id="selection-options" type="text/x-jsrender">
    <option value="{{>#data.get_item('Name')}}#{{>#data.get_item('Title')}}#{{>#data.get_item('Department')}}">
      {{>#data.get_item('Name')}} 
    </option>
   </script>
   <select id="FacultyLookup">
   </select>
   <input id="clearUploadFormButton" type="button" value="Reset"/>
   <input id="uploadFileButton" type="button" value="Upload"/>
</div>
<div id="message">

</div>
.

또는 임베디드 스 니펫에서 jQuery 파일을 호출 할 수없는 문제입니다.

도움이 되었습니까?

해결책

One technique you might try is using a Content Editor Web Part. To ensure SharePoint doesn't mess with the code, you could add the code in a text file to the site. Then in the properties of the CEWP, reference the URL to the text file. This will render the contents of the text file in the web part.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top