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
  • 相关阅读:
    爬取校园新闻首页的新闻
    网络爬虫基础练习
    综合练习:词频统计
    免费的论文查重网站
    Hadoop综合大作业
    理解MapReduce
    熟悉常用的HBase操作
    熟悉常用的HDFS操作
    爬虫大作业
    数据结构化与保存
  • 原文地址:https://www.cnblogs.com/forrestlyu/p/2344720.html
Copyright © 2011-2022 走看看