建立实体表格网址 [英] Build Entity Form Url

查看:59
本文介绍了建立实体表格网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft CRM 2011问题。给定以下参数:

a Microsoft CRM 2011 question. Given the following parameters:

  • An entity schema name (i.e. opportunity, new_customentity)
  • An entity guid
  • A CRM organization base url (i.e. http://myhost.com/ORGNAME/)

如何构建指向该记录的主要(或默认)形式的网址?

How can I build an url to point to the main (or "default") form of that record?

我可以在形式url中分辨出一个模式,但是某些查询字符串参数非常模糊,我不知道如何将其用于其他任何类型的实体。此外,版本4.0具有用于系统实体的特定URL(/ sfa /等)。似乎不再是这种情况了。

I can tell a pattern in form urls, but some querystring params are pretty obscure and I wouldn't know how to reuse them for any other kind of entity. In addition, version 4.0 had specific URLs (/sfa/, etc) for system entities. It doesn't seem to be the case anymore.

任何帮助将不胜感激-谢谢。

Any help would be appreciated - thanks.

(欢迎使用其他标签,我无法添加它们。)

(additional tags welcome, I cannot add them.)

推荐答案

根据 MSDN ,格式为:

http://myhost.com/ORGNAME/main.aspx?etn={ENTITYNAME}&pagetype=entityrecord&id={ENTITYGUID}

用您的值替换 {ENTITYNAME} {ENTITYGUID}

这篇关于建立实体表格网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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