我需要有权访问潜在客户记录的用户,但无法访问与潜在客户关联的联系人,以便能够查看某些联系信息。所以我需要做的是以某种方式解决用户无法访问底层联系人的事实。
假冒似乎符合要求,但我能找到的只是关于如何冒充插件和银光的信息。
我希望能够以某种方式模仿在潜在客户表单上使用HTML网络资源。这可能吗?
答案 0 :(得分:0)
虽然不建议这样做,因为它可能会带来安全威胁,而且我以前从未尝试过;您可以尝试使用SOAP端点。我相信它不适用于REST端点。
尝试使用以下SOAP标头,您可以在其中放入要模拟的用户的GUID:
<soap:Header>
<CrmAuthenticationToken xmlns="http://schemas.microsoft.com/crm/2007/WebServices">
<AuthenticationType xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">
0
</AuthenticationType>
<OrganizationName xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">
AdventureWorksCycle
</OrganizationName>
<CallerId xmlns="http://schemas.microsoft.com/crm/2007/CoreTypes">
00000000-0000-0000-0000-000000000000
</CallerId>
</CrmAuthenticationToken>
</soap:Header>
请查看此链接以获取可能的解决方案 - http://www.datazx.cn/Forums/en-US/cc172c24-0478-4016-9656-ccddffdd7988/action?threadDisplayName=crm4-javascript-impersonation&forum=crmdevelopment