我正在使用cordova处理Windows通用应用程序.我已经将cordova.js从3.2.0更新到3.6.3,当我在windows phone模拟器中运行应用程序时,我收到此错误:
Error initializing cordova:missing command error
Run Code Online (Sandbox Code Playgroud)
你能指导我如何解决这个错误吗?
提前致谢,
阿贾伊
我有以下 XML 代码在我的 Crm Dynamics 表单中过滤我的查找字段。过滤器在输入到帐户字段的数据之后使用。但是,帐户字段可以包含&符号,当它包含时,会发生错误,指出 XML 格式不正确。
有没有人有任何解决问题的方法?
function accountcontact()
{
Xrm.Page.getControl("new_contactlookup").addPreSearch(function () { addcontactlookup(); });
function addcontactlookup()
{
var accountID = Xrm.Page.getAttribute("new_companylookup");
var AccountIDObj= accountID.getValue();
if (AccountIDObj != null)
{
var fetchFilter1 = "<filter type='and'><condition attribute='parentcustomerid' uitype='" + AccountIDObj[0].entityType + "' operator='eq' value='" + AccountIDObj[0].id + "' uiname='" + AccountIDObj[0].name + "' /></filter>";
Xrm.Page.getControl("new_contactlookup").addCustomFilter(fetchFilter1);
}
}
}
Run Code Online (Sandbox Code Playgroud)