簡體   English   中英

SFDC中的參數列表后缺少)

[英]Missing ) after argument list in SFDC

我收到以下錯誤

“缺少參數列表后的”)

單擊SFDC中的自定義按鈕時。 該按鈕的目的是在我們的內部和社區環境中啟動特定案例類型。

任何幫助表示贊賞!

{!REQUIRESCRIPT("/soap/ajax/28.0/connection.js")} 
{!REQUIRESCRIPT("/soap/ajax/28.0/apex.js")} 

if('{!$Site.Prefix}'!=''){ window.open('{!$Site.Prefix}/500/e?retURL=%2F500%2Fo&RecordType=0121b0000004IKZ,'_parent'); 
}else{window.open('500/e?retURL=%2F500%2Fo&RecordType=0121b0000004IKZ,'_parent');} 

var qr = sforce.connection.query("select Id from recordType where (name= 'Device Request') and sObjecttype = 'Case'");

嘗試這個:

{
    !REQUIRESCRIPT("/soap/ajax/28.0/connection.js")
} {
    !REQUIRESCRIPT("/soap/ajax/28.0/apex.js")
}

if ('{!$Site.Prefix}' != '') {
    window.open('{!$Site.Prefix}/500/e?retURL=%2F500%2Fo&RecordType=0121b0000004IKZ','_parent'); 
}else{
    window.open('500 / e ? retURL = % 2 F500 % 2 Fo & RecordType = 0121 b0000004IKZ', '_parent');
}

var qr = sforce.connection.query("select Id from recordType where (name= 'Device Request') and sObjecttype = 'Case'");

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM