以实体形式显示不相关记录的网格 [英] Display a grid of unrelated records on the form of an entity

查看:99
本文介绍了以实体形式显示不相关记录的网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有3个CRM实体:A,B和C。
A和A之间存在1:N的关系。 B.
我有一个自定义活动D.
B与D之间存在1:N关系

I have 3 CRM entities: A, B and C. There is a 1:N relationship between A & B. I have a custom activity D. There is a 1:N relation between B and D

在创建D实例时,它是设置为C实例的关于字段。
C并不通过任何直接关系直接与A或B相关。

On creation of an instance of D, it's "Regarding" field set to an instance of C. C is not related to A or B directly via any direct relationship.

问题:
在C的表单中,是否有办法以某种方式获取A实例的ID(通过C和D之间的关于字段,例如C-> D-> B-> A),并使用A的ID在表格上显示B的相关记录的网格。

The question: In the form for C, is there a way to somehow get to the ID of the instance Of A(via the "Regarding" field between C & D such as C --> D --> B --> A) and use that ID of A to display a grid of related records of B on the form.

我猜测这将涉及IFrame& javascript?

I'm guessing that this would involve an IFrame & javascript?

推荐答案

我知道两种方法。


  1. James在@Dynamics CRM绿色圣经上有一篇不错的博客文章,内容涉及如何操作现有的子网格以显示 FetchXml 需要。此方法不涉及IFRAME。

  1. James has a good blog post @ The Dynamics CRM Green Bible about how to manipulate existing subgrids to display the FetchXml you need. This approach doesn't involve an IFRAME.

在IFRAME中使用高级查找视图达到类似的效果(为Dynamics CRM 4编写,但很容易适应CRM 2011)。

Chandan shares a way to use the Advanced Find view in an IFRAME that accomplishes a similar effect (written for Dynamics CRM 4, but easily adapted to CRM 2011).

这篇关于以实体形式显示不相关记录的网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆