Produced by Araxis Merge on 2/1/2017 2:56:58 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\JS\RESTEndpoint\JavaScriptRESTAssociateDisassociate\JavaScriptRESTAssociateDisassociate | JavaScriptRESTAssociateDisassociate.htm | Tue Dec 20 19:51:48 2016 UTC |
| 2 | Wed Feb 1 19:56:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 102 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <!DOCTYPE html> | |||||
| 2 | <!-- | |||||
| 3 | This file is part of the Micro soft Dynam ics CRM SD K code sam ples. | |||||
| 4 | ||||||
| 5 | Copyright (C) Micros oft Corpor ation. Al l rights r eserved. | |||||
| 6 | ||||||
| 7 | This sourc e code is intended o nly as a s upplement to Microso ft | |||||
| 8 | Developmen t Tools an d/or on-li ne documen tation. S ee these o ther | |||||
| 9 | materials for detail ed informa tion regar ding Micro soft code samples. | |||||
| 10 | ||||||
| 11 | THIS CODE AND INFORM ATION ARE PROVIDED " AS IS" WIT HOUT WARRA NTY OF ANY | |||||
| 12 | KIND, EITH ER EXPRESS ED OR IMPL IED, INCLU DING BUT N OT LIMITED TO THE | |||||
| 13 | IMPLIED WA RRANTIES O F MERCHANT ABILITY AN D/OR FITNE SS FOR A | |||||
| 14 | PARTICULAR PURPOSE. | |||||
| 15 | --> | |||||
| 16 | <!--<snipp etJavaScri ptRESTAsso ciateDisas sociateHTM L>--> | |||||
| 17 | <html lang ="en-US"> | |||||
| 18 | <head> | |||||
| 19 | <meta htt p-equiv="X -UA-Compat ible" cont ent="IE=ed ge" /> | |||||
| 20 | <title>Ja vaScript R EST Associ ate and Di sassociate Sample</t itle> | |||||
| 21 | <script s rc="../Cli entGlobalC ontext.js. aspx" type ="text/jav ascript">< /script> | |||||
| 22 | <script s rc="Script s/SDK.REST .js" type= "text/java script"></ script> | |||||
| 23 | <script s rc="Script s/JavaScri ptRESTAsso ciateDisas sociate.js " type="te xt/javascr ipt"></scr ipt> | |||||
| 24 | </head> | |||||
| 25 | <body styl e="backgro und-color: White; fo nt-family: Segoe UI; font-size : small;"> | |||||
| 26 | <h1 style ="font-siz e: small;" > | |||||
| 27 | Associat ing and Di sassociati ng Records using Jav aScript an d the REST Endpoint for Web Re sources</h 1> | |||||
| 28 | <p> | |||||
| 29 | This pag e requires JavaScrip t and will update dy namically. </p> | |||||
| 30 | <p> | |||||
| 31 | <input i d="dispale rt" name=" dispalert" type="che ckbox" val ue="alert" /><label for="dispa lert">Disp lay alert window whe n data cha nges.</lab el></p> | |||||
| 32 | <table wi dth="100%" summary=" This table displays 2 samples which will demonstra te associa ting recor ds using J avaScript and the RE ST Endpoin t for Web Resources. "> | |||||
| 33 | <thead> | |||||
| 34 | <tr> | |||||
| 35 | <th sc ope="col"> | |||||
| 36 | Assoc iate Accou nts Sample | |||||
| 37 | </th> | |||||
| 38 | <th sc ope="col"> | |||||
| 39 | Assoc iate Accou nt to Emai l as Activ ityParty S ample | |||||
| 40 | </th> | |||||
| 41 | </tr> | |||||
| 42 | </thead> | |||||
| 43 | <tr> | |||||
| 44 | <td> | |||||
| 45 | <p> | |||||
| 46 | <labe l for="btn StartAssoc iateAccoun ts"> | |||||
| 47 | Clic k the <b>S tart Assoc iate Accou nts Sample </b> butto n to start the sampl e showing how to ass ociate two account r ecords.</l abel></p> | |||||
| 48 | <butto n id="btnS tartAssoci ateAccount s" title=" Start the Associate Accounts S ample"> | |||||
| 49 | Start Associate Accounts Sample</bu tton><br / > | |||||
| 50 | <p> | |||||
| 51 | This sample wil l:</p> | |||||
| 52 | <ol> | |||||
| 53 | <li>C reate a ne w account record nam ed "Parent Account". </li> | |||||
| 54 | <li>C reate a ne w account record nam ed "Child Account".< /li> | |||||
| 55 | <li>A ssociate t he records setting t he "Parent Account" as the Par ent Accoun t of the " Child Acco unt".</li> | |||||
| 56 | <li>D isplay lin ks to allo w you to v erify that the assoc iation was done.</li > | |||||
| 57 | <li>D isplay a b utton to a llow you t o disassoc iate the r ecords. | |||||
| 58 | <ul> | |||||
| 59 | <li >If you ch oose this option the sample wi ll display links to allow you to verify that the r ecords are no longer associate d.</li> | |||||
| 60 | </ul > | |||||
| 61 | </li> | |||||
| 62 | <li>D isplay a b utton to a llow you t o delete t he records . | |||||
| 63 | <ul> | |||||
| 64 | <li >If you ch oose this option the sample wi ll display a message when the records ar e deleted. </li> | |||||
| 65 | </ul > | |||||
| 66 | </li> | |||||
| 67 | </ol> | |||||
| 68 | </td> | |||||
| 69 | <td val ign="top" style="bor der-left: 1px solid black; pad ding-left: 5px;"> | |||||
| 70 | <p> | |||||
| 71 | Click the <b>St art Associ ate Accoun t to Email as Activi tyParty Sa mple</b> b utton to s tart the s ample show ing how to associate an accoun t record t o an activ ity using ActivityPa rty.</p> | |||||
| 72 | <butto n id="btnS tartAssoci ateAccount ToEmail" t itle="Star t the Asso ciate Acco unt to Ema il as Acti vityParty sample."> | |||||
| 73 | Start Associate Account t o Email as ActivityP arty Sampl e</button> | |||||
| 74 | <p> | |||||
| 75 | This sample wil l:</p> | |||||
| 76 | <ol> | |||||
| 77 | <li>C reate a ne w account record nam ed "Email Sender Acc ount".</li > | |||||
| 78 | <li>C reate a ne w email ac tivity rec ord named "Email Act ivity".</l i> | |||||
| 79 | <li>C reate a ne w activity party rec ord that a ssociates the "Email Sender Ac count" to the <b>Fro m:</b> fie ld of the "Email Act ivity".</l i> | |||||
| 80 | <li>D isplay lin ks to allo w you to v erify that the assoc iation was done.</li > | |||||
| 81 | <li>D isplay a b utton to a llow you t o delete t he records . | |||||
| 82 | <ul> | |||||
| 83 | <li >If you ch oose this option the sample wi ll display a message when the records ar e deleted. </li> | |||||
| 84 | </ul > | |||||
| 85 | </li> | |||||
| 86 | </ol> | |||||
| 87 | </td> | |||||
| 88 | </tr> | |||||
| 89 | </table> | |||||
| 90 | <p> | |||||
| 91 | <label f or="btnRes etSample"> | |||||
| 92 | After r unning one of the sa mples, cli ck the <b> Reset Samp le</b> but ton to res et the sam ple.</labe l></p> | |||||
| 93 | <button i d="btnRese tSample" t itle="Rese t the samp le" disabl ed="disabl ed"> | |||||
| 94 | Reset Sa mple</butt on> | |||||
| 95 | <h2 style ="font-siz e: small;" > | |||||
| 96 | Results: </h2> | |||||
| 97 | <hr /> | |||||
| 98 | <ol id="o utput"> | |||||
| 99 | </ol> | |||||
| 100 | </body> | |||||
| 101 | </html> | |||||
| 102 | <!--</snip petJavaScr iptRESTAss ociateDisa ssociateHT ML>--> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.