国产精品,日韩av,hdsexvideos中国少妇,xxxxx性bbbbb欧美熟妇,波多野结衣乳巨码无在线,国产成人亚洲精品乱码

自定義函數(shù)-Fx.tag

2020-12-29 10:15:39 1476 本站

      Fx.tag:處理標(biāo)簽函數(shù)

1、查詢tag定義-Fx.tag.findTagDefine

     定義:Fx.tag.findTagDefine(<String objectAPI>)

參數(shù)說明
objectAPI對(duì)象API名稱

     返回值類型:queryResult

     返回標(biāo)簽信息:標(biāo)簽id,標(biāo)簽名稱,標(biāo)簽API名稱,標(biāo)簽描述,標(biāo)簽分組

     例:

def (Boolean error,QueryResult data,String errorMessage)  = Fx.tag.findTagDefine("object_76is3__c")
log.info(data)

2、查找數(shù)據(jù)的標(biāo)簽-Fx.tag.findTagById

     定義:Fx.tag.update(<String objectAPI>,<String recordId>)

參數(shù)說明
objectAPI對(duì)象API名稱
recordId更新標(biāo)簽的數(shù)據(jù)id

     返回值類型:queryResult

    返回標(biāo)簽信息:標(biāo)簽id,標(biāo)簽名稱

     例:

def (Boolean error,List data,String errorMessage) = Fx.tag.findTagById( "NewOpportunityObj", "5f62c3f577187e0001d4a845")
log.info(data)

3、更新數(shù)據(jù)的標(biāo)簽-Fx.tag.update

     定義:Fx.tag.update(<String objectAPI>,<String recordId>,<List tagIds>)

參數(shù)說明
objectAPI對(duì)象API名稱
recordId更新標(biāo)簽的數(shù)據(jù)id
tagIds更新到數(shù)據(jù)的標(biāo)簽id(覆蓋更新)

     返回值類型:map(成功后data返回加標(biāo)簽成功的數(shù)據(jù)id)

     例:

def (Boolean error,String data,String errorMessage) = Fx.tag.add("object_76is3__c", "5f4dc0100c0ab60001724e74", ["5eb4ce6378c8c000018f67a3"])
log.info(data)



部分內(nèi)容來源于互聯(lián)網(wǎng),如有侵權(quán),請聯(lián)系客服刪除處理。
在線咨詢 撥打電話