Dynamics-客戶端開發(fā)常用參照
| executionContext.getFormContext() | getAttribute("") |
獲取:getValue() 設(shè)置:setValue() 是否必填:setRequiredLevel();//none、required、recommended 添加:addOnChange 移除:removeOnChange 提交:setSubmitMode("always");//always,never,dirty 精確度:setPrecision() 腳本添加onchange:addOnChange 腳本移除onchange:removeOnChange 主動(dòng)觸發(fā)onchange:fireOnChange 是否有為保存修改:getIsDirty |
||||||
| getControl("") |
顯隱:setVisible();//true、false 獲取:getVisible 鎖定:setDisabled();////true、false 獲取:getDisabled 選項(xiàng)集選項(xiàng)清空:clearOptions() 選項(xiàng)集選項(xiàng)添加:addOption() 選項(xiàng)集選項(xiàng)移除:removeOption() 查找字段篩選:addPreSearch配合addCustomFilter 移除篩選:removePreSearch |
|||||||
| ui |
表單狀態(tài):getFormType() 表單onload添加:addOnLoad 表單onload移除:removeOnLoad
窗體信息:formSelector.getCurrectItem().getLabel() |
|||||||
| data |
業(yè)務(wù)流程數(shù)據(jù)交互:process
|
|||||||
| Xrm | Navigation |
彈窗:openAlertDialog 是否:openConfirmDialog 錯(cuò)誤:openErrorDialog 打開表單:openForm web資源:openWebResource |
||||||
| Utility.getGlobalContext() |
應(yīng)用程序的基本URL:getClientUrl() 進(jìn)度框:showProgressIndicator
|

以上信息僅用于學(xué)習(xí)交流,如有錯(cuò)誤歡迎指正;大佬勿噴,謝謝;
浙公網(wǎng)安備 33010602011771號(hào)