小编Hai*_*ian的帖子

初始化Cordova时出错:Windows Phone 8.1中缺少命令错误

我正在使用cordova处理Windows通用应用程序.我已经将cordova.js从3.2.0更新到3.6.3,当我在windows phone模拟器中运行应用程序时,我收到此错误:

Error initializing cordova:missing command error
Run Code Online (Sandbox Code Playgroud)

你能指导我如何解决这个错误吗?

提前致谢,

阿贾伊

cordova windows-phone-8.1 win-universal-app

7
推荐指数
1
解决办法
6449
查看次数

& 导致 XML 代码错误的符号

我有以下 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)

xml filter dynamics-crm-2013

3
推荐指数
1
解决办法
3152
查看次数