zoukankan      html  css  js  c++  java
  • Sample for Integration G2 To MSCRM

    Theory

    G2 support API(web service). We can call these API to use the workflow engine of G2.

    Then, MSCRM is customizable by Javascript. So, I used Javascript to call API of G2.

    Implement

    1) Code the Javascript

    Define a Function to call API of G2

    clip_image001

    Get data from the entity of MSCRM and save to variable

    clip_image002

    Spell a XML by entity data

    clip_image004

    Call the API of G2 by the URL of G2 and the XML

    clip_image005

    Save the Javascript file.

    2) Customize the MSCRM

    Open a Form(Example is a form of Quote)

    clip_image007

    Choose the customize tab

    clip_image009

    Click the “Form” Button

    clip_image010

    Click the “Form Properties” Button

    clip_image012

    In the “Form Properties” page, click add to add a web resource

    clip_image013

    Input a name and choose the Jscript type, click the “Text Editor” button

    clip_image015

    Copy the code of Javascript to the page and save.

    clip_image017

    Assign the event handler for the form

    clip_image019

    Publish the Customization

    clip_image021

    作者:forrestlyu
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.
    dotnet core精英交流QQ群欢迎大家的加入: 476097512
  • 相关阅读:
    HDU-4035 Maze
    poj 3744 Scout YYF I
    HDU 4911 Inversion
    HDU-3001 Travelling
    HDU 4539 郑厂长系列故事——排兵布阵
    poj 3311 Hie with the Pie
    poj-1185 炮兵阵地
    位运算
    HDU-1438 钥匙计数之一
    poj 3254 Corn Fields
  • 原文地址:https://www.cnblogs.com/forrestlyu/p/2344720.html
Copyright © 2011-2022 走看看