English 中文(简体)
根据实体类型重新定位于CRM4.0中的另一种形式
原标题:Redirecting to another form in CRM 4.0 based on entity type

在CRM4.0中,我如何能够在视网记录上(当它以代谢形式开放时)重复点击记录,通过一个称为“ID”的共享身份识别特征,核对记录类型特征,并转向另一个实体的编辑网页(视类型而定)。

这是我试图完成的工作——我有一个称为“交易”的主要实体,但这种实体具有抽象的类型,其本身不是不容置疑的——就像在客户关系中的活动。 有一些具体的类型的交易实体,例如客户定价——这些实体的调频平台(如在活动中称为传真或电子邮件的实体)。 称为“交易”的实体具有其次类的若干共同属性,包括称为“文件识别”。 当交易记录上出现双轨时,我需要将用户转至相应的实体的编辑网页。

最佳回答

如果我能正确理解这一点,你可以通过一些手法来做到这一点。

My understanding:

  • User clicks on Transaction entity Entity form loads
  • On the screen for that entity there are two fields:
    • one field called Document ID which holds the Id of the sub type
    • another field called Document ID Type which holds the ObjectTypeCode of the sub type

我的CRM4是一个模棱两可的 ha,因为我最近一直在与CRM2011合作,但这样做会奏效。

function OnLoad {
    //let s look for the type field
    var typeValue = crmForm.all.new_documentid.Value;
    var typeObjectTypeCode = crmForm.all.new_documentidtypecode.Value;
    var url = window.location.protocol +  //  + window.location.host +  / ;
    url = url +  userdefined/edit.aspx?etc=  + typeObjectTypecode +  &id=  + typeValue;

    var newWindowHandle = window.open(url);

    //optionally close this window
    window.top.close();
}

http://msdn.microsoft.com/en-us/library/cc150850.aspx“rel=“nofollow”>here

问题回答

暂无回答




相关问题
The given key was not present in the dictionary

I am trying to make a simple plugin for MS Dynamics CRM 4.0 where send data of a salesorder in a SOAP message on the update of the order. The strange thing is that I get this error every other time i ...

Creating a PDF of a Dynamics CRM 4.0 report programmatically

We are currently in the midst of upgrading our CRM 3.0 installation to CRM 4.0. One of the things we were doing from our external web site is pulling a PDF of a report using the ReportViewer control ...

"required field EntityId is missing" error

No matter what i attempt i keep getting the following exception being thrown by MSCRM 4.0 Invalid format of input XML for request SetStateITG_glcode: required field EntityId is missing here is ...

热门标签