有没有更好/官方的方法,如何在 JavaScript 中比较 CRM 2011 GUID
2e9565c4-fc5b-e211-993c-000c29208ee5=={2E9565C4-FC5B-E211-993C-000C29208EE5}
不使用.replace()
and .toLowerCase()
?
第一个是通过 XMLHttpRequest/JSON 获得的:
JSON.parse(r.responseText).d.results[0].id
第二个来自表单:
Xrm.Page.getAttribute("field").getValue()[0].id