多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內(nèi)最全IT社區(qū)平臺 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁 > 互聯(lián)網(wǎng) > Xrm.Page.data.entity Properties and Methods

Xrm.Page.data.entity Properties and Methods

來源:程序員人生   發(fā)布時間:2014-09-16 09:01:42 閱讀次數(shù):2893次

Xrm.Page.data.entity Properties and Methods

Xrm.Page.data.entity 屬性和方法

attributes

   The collection of attributes for the entity.
   實體entity的屬性的集合
 
getDataXml

   Returns a string representing the xml that will be sent to the server when the record is saved
   當(dāng)一個記錄被保存的時候,返回將要發(fā)生到服務(wù)器的xml數(shù)據(jù)
  
getEntityName

   Returns a string representing the logical name of the entity for the record
   返回string類型,實體entity的邏輯名稱
 
getId

   Returns a string representing the GUID id value for the record
   返回string類型,返回當(dāng)前記錄的guid
  
getIsDirty

   Returns a Boolean value that indicates if any fields in the form have been modified
   返回bool類型,如果在窗體上面的任何字段發(fā)生的更改,就返回bool
  
OnSave

   Use the addOnSave and removeOnSave methods to add or remove event handlers to the save event
   使用addOnSave和removeOnSave事件,當(dāng)發(fā)生保存的時候,執(zhí)行操作
  
getPrimaryAttributeValue

   Gets a string for the value of the primary attribute of the entity
   返回string類型,實體的主字段名稱
  
save

   Saves the record with the options to close the form or open a new form after the save is completed
   保存記錄,有關(guān)閉窗體和打開新建記錄的選擇方式
  
 
 
Lookup control methods and events
查找字段的方法和事件

Xrm.Page.getControl(arg).addCustomFilter(filter, entityLogicaName)

Use add additional filters to the results displayed in the lookup.
Each filter will be combined with any previously added filters as an ‘AND’ condition.
添加查詢條件,添加的條件用and連接

例子:
<filter type="and">
 <condition attribute="address1_city" operator="eq" value="Redmond" />
</filter>

Xrm.Page.getControl(arg).addCustomView(viewId, entityName, viewDisplayName, fetchXml, layoutXml, isDefault)

Adds a new view for the lookup dialog box
添加一個新的查詢窗體

Xrm.Page.getControl(arg).getDefaultView()

Returns the Id value of the default lookup dialog view
返回默認視圖的guid

Xrm.Page.getControl(arg).setDefaultView(viewGuid)

Sets the default view for the lookup control dialog
設(shè)置查找控件的默認視圖

Xrm.Page.getControl(arg).addPreSearch(handler)

Use this method to apply changes to lookups based on values current just as the user is about to view results for the lookup
添加查詢事件之前的方法


Xrm.Page.getControl(arg).removePreSearch(handler)

Use this method to remove event handler functions that have previously been set for the PreSearch event
刪除用PreSearch添加的操作
 

生活不易,碼農(nóng)辛苦
如果您覺得本網(wǎng)站對您的學(xué)習(xí)有所幫助,可以手機掃描二維碼進行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: 国产精品极品美女自在线看免费一区二区 | 亚洲动漫在线观看 | xxxx69欧美hdxxxhd xxxxhd欧美精品 | 亚洲精品国产福利在线观看 | 日韩中文字幕精品免费一区 | 久久77777| 国产精品久久久久久久久夜色 | 日本成人免费在线视频 | 亚洲婷婷综合中文字幕第一页 | 欧美一级毛片高清免费观看 | 又污又黄又无遮挡网站 | 另类图片 亚洲 校园 小说区 | 日韩亚洲欧美一区 | 久久一区不卡中文字幕 | 伊人快播 | 亚洲黄色一区二区 | 国产日产欧产精品精品推荐在线 | 福利在线看片 | 亚洲色图小说 | 国产精品极品美女免费观看 | 国产肥老妇 | 性黑人| 国内精品久久久久久久亚洲 | 岛国一区二区 | 欧美性猛交xxxxbbb | 国产精品毛片 | 亚洲精品亚洲人成毛片不卡 | 手机在线中文字幕乱码免费 | 一级毛片在线视频 | 国产一区亚洲二区三区毛片 | 九九精品久久久久久久久 | 色亚洲成人 | 欧美孕妇乱大交xxxx | 久久精品免费全国观看国产 | 亚洲最大的视频网站 | 久久久久久久综合日本亚洲 | free性video18 | 久久xx| 91亚洲国产成人久久精品网站 | 久久福利院 | 亚洲精品欧美精品 |