[英]Server-side(python) and client-side(javascript) design and interaction
[英]Custom JavaScript and Server-Side Code Interaction in Microsoft Dynamics 365 (On-Premises)
我是 Microsoft Dynamics 的新手。 我需要在 Microsoft Dynamics 365 On-Premises 表單中構建一項功能,允許用戶:
第一部分看起來像簡單的 HTML 和 JavaScript:
<h3>Select files to upload:</h3>
<input type=“file” itemId=“myFiles” multiple />
<p>Choose files to upload and then click “Send” to send the files to the remote DB.</p>
<button onclick=“uploadButtonClick()”>Upload</button>
<script>
function uploadButtonClick(){
// Gather file names, then prepare for SQL Server upload magic
}
</script>
第二部分是我卡住的地方,因為我不知道如何將上傳文件名傳遞給服務器端代碼,然后將這些文件發送到遠程 SQL Server 數據庫。 我可以在 Dynamics 之外的單獨 .NET C# 項目中自己編寫 C#,但我不知道它是如何通過 Dynamics 365 中的最佳實踐完成的。自定義插件? 網絡API? 還有什么?
在 Dynamics 365 中執行上述操作是否有經過驗證的方法?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.