tag:blogger.com,1999:blog-45658001004107099012024-03-15T00:20:34.602-07:00Dynamics AX 2012 Integration using AIFAlex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.comBlogger48125tag:blogger.com,1999:blog-4565800100410709901.post-26658034386563500052015-06-01T23:20:00.001-07:002015-06-01T23:23:49.197-07:00Microsoft Dynamics AX 2012 Class Libraries (DLLs)<div class="WordSection1">
<div align="center" class="MsoNormal" style="text-align: center;">
<b>Microsoft Dynamics AX 2012 Class Libraries (DLLs)<o:p></o:p></b></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to illustrate how to work with class libraries in the context of Microsoft Dynamics AX 2012.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> For the purposes of POC, integration project or development project you may need to consume Microsoft Dynamics AX 2012 Web Services from external class libraries or call external Web Services from Microsoft Dynamics AX 2012 managed code assemblies.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> In this walkthrough I'm going to highlight number of ways you can consume Microsoft Dynamics AX 2012 Web Services from external class library using configuration settings in application config file or handled in the application code. Also I will highlight how develop Microsoft Dynamics AX 2012 managed code assemblies and then call external Web Services from there.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Calling Microsoft Dynamics AX 2012 Web Service from external Class Library (DLL) <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First of all I will expose Microsoft Dynamics AX 2012 Web Services via Inbound ports using NET.TCP and HTTP adapters<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound port (NET.TCP)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-kbVFRjTAHZElZ1PCvekklSEk76IzsAGQwMPvl2VGekOww-Rj5zvyhbtxvpe-uag1azkJltYk_0btSvffQayU0F5QyNcti1-WJ-QhuoMen1q3CQyhgRs81r-Dx31dZwiW49CRDpvlKL5w/s1600/image001-749946.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659016106150466" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-kbVFRjTAHZElZ1PCvekklSEk76IzsAGQwMPvl2VGekOww-Rj5zvyhbtxvpe-uag1azkJltYk_0btSvffQayU0F5QyNcti1-WJ-QhuoMen1q3CQyhgRs81r-Dx31dZwiW49CRDpvlKL5w/s320/image001-749946.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound port (HTTP)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lg0q6h_ovhcUNjuk4_qsqf2cEjWL-31RQ9WfDGdgaiNwQQefx9zjMC3VZVUD22tnBqpjxAJhkRrblidOp7G74MyaHVxtCTClEYF6Bjtk7DsdOinnll4OiPSGA4NOeQa_DvhOuz3Q9pkP/s1600/image002-752446.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659027326697586" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1lg0q6h_ovhcUNjuk4_qsqf2cEjWL-31RQ9WfDGdgaiNwQQefx9zjMC3VZVUD22tnBqpjxAJhkRrblidOp7G74MyaHVxtCTClEYF6Bjtk7DsdOinnll4OiPSGA4NOeQa_DvhOuz3Q9pkP/s320/image002-752446.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMx-meXTwqcC1NPifutWgu44zg8Ms8z0y8iVe6mBwhHYXkBBBIBUBAv0Zbl5N4Tkd9zo-nObK4FrP8crh7azlnl7AOUktoeOb-vrDynpOL7ZAhzrnxx4JoHfGn-K7vZunrGCuUeEVGNrO3/s1600/image003-754972.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659037480766962" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMx-meXTwqcC1NPifutWgu44zg8Ms8z0y8iVe6mBwhHYXkBBBIBUBAv0Zbl5N4Tkd9zo-nObK4FrP8crh7azlnl7AOUktoeOb-vrDynpOL7ZAhzrnxx4JoHfGn-K7vZunrGCuUeEVGNrO3/s320/image003-754972.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After Web Services have been exposed through Inbound ports in your client application you can Add Service Reference using WSDL URI as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference (NET.TCP)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX2dziKMiZMUqPY_lOzBRstvnb-en-YXziI6AyJmZvezAK03XH4xZFrK3V9dAoRr2-WSMcUogE3L11vOzNYtHNVNe5voZ677hdw7BqzcM-FEs82y8jKFCNlU8217FtkUe6zcylvLbC5mAZ/s1600/image004-757734.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659049438465138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhX2dziKMiZMUqPY_lOzBRstvnb-en-YXziI6AyJmZvezAK03XH4xZFrK3V9dAoRr2-WSMcUogE3L11vOzNYtHNVNe5voZ677hdw7BqzcM-FEs82y8jKFCNlU8217FtkUe6zcylvLbC5mAZ/s320/image004-757734.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference (HTTP)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyJOm2plkQKqPcWb4nQWcXlgRNygB7nbGLWR8cpxWpf04ZaKxidFP3p316b1jH5x2IbGlt9VrCR-lg0pB3BhlCqklcvGRkzDV54MlZpwiof-awwwqrlg6h2_9b3YEgZ0hjGBBD1vX-bKH_/s1600/image005-762187.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659066236275666" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyJOm2plkQKqPcWb4nQWcXlgRNygB7nbGLWR8cpxWpf04ZaKxidFP3p316b1jH5x2IbGlt9VrCR-lg0pB3BhlCqklcvGRkzDV54MlZpwiof-awwwqrlg6h2_9b3YEgZ0hjGBBD1vX-bKH_/s320/image005-762187.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Added Service Reference will show up in your project as below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer (Console App) <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmeWvTQZU3HzZRv0ymQBkjtTDcz45ZCIz-Yk-4d7rdCAQfTP5BrO_A1lwcX2zQDrmHauLkiWjQEzl0SnmAeqGtJaHI_BOva9EU3reSaGxFT0LiCS7j-uTvwlxJtykJyyaC-u1p8F87M7ue/s1600/image006-764511.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659079245656386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmeWvTQZU3HzZRv0ymQBkjtTDcz45ZCIz-Yk-4d7rdCAQfTP5BrO_A1lwcX2zQDrmHauLkiWjQEzl0SnmAeqGtJaHI_BOva9EU3reSaGxFT0LiCS7j-uTvwlxJtykJyyaC-u1p8F87M7ue/s320/image006-764511.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that corresponding Endpoint and Binding details will be added to App.config after you added Service Reference <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App.config</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTable15Grid1LightAccent1" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid rgb(189, 214, 238); padding: 0in 5.4pt; width: 6.5in;" valign="top" width="780"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><?</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">xml</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">version</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">1.0</span>"<span style="color: blue;"> </span><span style="color: red;">encoding</span><span style="color: blue;">=</span>"<span style="color: blue;">utf-8</span>"<span style="color: blue;"> ?></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">configuration</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">startup</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">> </span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">supportedRuntime</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">version</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">v4.0</span>"<span style="color: blue;"> </span><span style="color: red;">sku</span><span style="color: blue;">=</span>"<span style="color: blue;">.NETFramework,Version=v4.5</span>"<span style="color: blue;"> /></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">startup</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">system.serviceModel</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">bindings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">netTcpBinding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">binding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">name</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"<span style="color: blue;"> /></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">netTcpBinding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">bindings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">client</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">endpoint</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">address</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">net.tcp://ax2012r2a:8201/DynamicsAx/Services/AlexServices</span>"</span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: red; font-family: Consolas; font-size: 9.5pt;">binding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">netTcpBinding</span>"<span style="color: blue;"> </span><span style="color: red;">bindingConfiguration</span><span style="color: blue;">=</span>"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"</span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: red; font-family: Consolas; font-size: 9.5pt;">contract</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">ServiceReference1.AdvancedLedgerEntryService</span>"<span style="color: blue;"> </span><span style="color: red;">name</span><span style="color: blue;">=</span>"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"<span style="color: blue;">></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">identity</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">userPrincipalName</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><b><span style="font-family: Consolas; font-size: 9.5pt;"><a href="mailto:value=%22admin@Contoso.com"><span style="color: red; font-weight: normal;">value</span><span style="color: blue; font-weight: normal;">=</span><span style="font-weight: normal;">"</span><span style="color: blue; font-weight: normal;">admin@Contoso.com</span></a></span></b><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;"> /></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">identity</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">endpoint</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">client</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">system.serviceModel</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">configuration</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now I’ll create a class library project and Add Service Reference too<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer (Class Library) <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDq_nPN8yozO4ACXnkLHWNSTGGwXIBjWqYcdNQmn-90Kgxtp-1lM5WXMjF7BZ8F0WtajloSb0an_ZjDO6ljjzc6Wjxd7CISQHgVZkLRGVvai5SU_Orm0i9C80CdjdH2zqYK9z7Cs0OT4bm/s1600/image007-767245.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659089187549682" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDq_nPN8yozO4ACXnkLHWNSTGGwXIBjWqYcdNQmn-90Kgxtp-1lM5WXMjF7BZ8F0WtajloSb0an_ZjDO6ljjzc6Wjxd7CISQHgVZkLRGVvai5SU_Orm0i9C80CdjdH2zqYK9z7Cs0OT4bm/s320/image007-767245.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly to above corresponding Endpoint and Binding details will be added to App.config <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App.config</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTable15Grid1LightAccent1" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid rgb(189, 214, 238); padding: 0in 5.4pt; width: 6.5in;" valign="top" width="780"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><?</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">xml</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">version</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">1.0</span>"<span style="color: blue;"> </span><span style="color: red;">encoding</span><span style="color: blue;">=</span>"<span style="color: blue;">utf-8</span>"<span style="color: blue;"> ?></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">configuration</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">system.serviceModel</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">bindings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">netTcpBinding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">binding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">name</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"<span style="color: blue;"> /></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">netTcpBinding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">bindings</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">client</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">endpoint</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><span style="color: red; font-family: Consolas; font-size: 9.5pt;">address</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">net.tcp://ax2012r2a:8201/DynamicsAx/Services/AlexServices</span>"</span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: red; font-family: Consolas; font-size: 9.5pt;">binding</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">netTcpBinding</span>"<span style="color: blue;"> </span><span style="color: red;">bindingConfiguration</span><span style="color: blue;">=</span>"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"</span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: red; font-family: Consolas; font-size: 9.5pt;">contract</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">=</span><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;">ServiceReference1.AdvancedLedgerEntryService</span>"<span style="color: blue;"> </span><span style="color: red;">name</span><span style="color: blue;">=</span>"<span style="color: blue;">NetTcpBinding_AdvancedLedgerEntryService</span>"<span style="color: blue;">></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">identity</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> <</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">userPrincipalName</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </span><b><span style="font-family: Consolas; font-size: 9.5pt;"><a href="mailto:value=%22admin@Contoso.com"><span style="color: red; font-weight: normal;">value</span><span style="color: blue; font-weight: normal;">=</span><span style="font-weight: normal;">"</span><span style="color: blue; font-weight: normal;">admin@Contoso.com</span></a></span></b><span style="font-family: Consolas; font-size: 9.5pt;">"<span style="color: blue;"> /></span></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">identity</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">endpoint</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">client</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> </</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">system.serviceModel</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><span style="font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"></</span><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt;">configuration</span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;">></span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In fact when leveraging business logic from class library you have to use client application config file instead of original DLL config file. That’s why I will copy Endpoint and Binding details from DLL config file over to client app config file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Client application Config file</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><?</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">xml</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">version</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1.0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">?></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">netTcpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">NetTcpBinding_AlexService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">netTcpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">address</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">net.tcp://ax2012r2a:8201/DynamicsAx/Services/AlexServices</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">netTcpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindingConfiguration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">NetTcpBinding_AlexService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">contract</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AXServiceReference.AlexService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">NetTcpBinding_AlexService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">identity</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">userPrincipalName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">admin@Contoso.com</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">identity</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now my client application will be well aware about Endpoint and Binding details for Microsoft Dynamics AX 2012 Web Service<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Alternatively you can handle Endpoint and Binding details for Microsoft Dynamics AX 2012 Web Service directly in client application code as shown below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Client application Code</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> binding = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding.Security.Mode = </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpSecurityMode</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.TransportCredentialOnly;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding.Security.Transport.ClientCredentialType = </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HttpClientCredentialType</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Windows;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EndpointAddress</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> address = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EndpointAddress</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"http://ax2012r2a.contoso.com/MicrosoftDynamicsAXAif60/AlexWebServices/xppservice.svc"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(binding, address);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"usmf"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"contoso"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Admin"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"pass@word1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.method1(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<i><o:p> </o:p></i></div>
<div class="MsoNormal">
<i>Call external Web Service from Microsoft Dynamics AX 2012 Class Library (DLL)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In the second part of the walkthrough I’m going to wrap a business logic calling external Web Service with Microsoft Dynamics AX 2012 managed code assembly<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off I’ll create Class Library project with minimalistic implementation for a single class and method which mimic calling external Web Service<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Class Library <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX_fMU67RUkXtCLHPOEw__mQD9RcsXe9aKCvgU2pKLZpzUOkiVYQdtNaFsJXU4DKcADZw0aGWyvoZQu07TobJCi_HeEHdrLaeTSKqoD-xOwK7Ef1a87kg91EcMvSAdKSkafWln_RZcXoh8/s1600/image008-769457.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659100403876898" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX_fMU67RUkXtCLHPOEw__mQD9RcsXe9aKCvgU2pKLZpzUOkiVYQdtNaFsJXU4DKcADZw0aGWyvoZQu07TobJCi_HeEHdrLaeTSKqoD-xOwK7Ef1a87kg91EcMvSAdKSkafWln_RZcXoh8/s320/image008-769457.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As coding is complete I’ll add Class Library project directly into Microsoft Dynamics AX 2012 AOT. Please note that I have Microsoft Dynamics AX 2012 Visual Studio Tools installed to accomplish this: <a href="https://technet.microsoft.com/en-us/library/dd309576.aspx">https://technet.microsoft.com/en-us/library/dd309576.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
My project now will change its icon to Microsoft Dynamics specific one, after that I’ll be able to select auto-deployment options in Project Properties. Specifically I will choose to deploy assembly to Microsoft Dynamics AX 2012 Client (Yes) and Server (Yes)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Class Library (Deployment)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE4nhyLVrBYHTkQEDzLrEtztRdnaGGIZV3eUVbb5AqqwIn-Lejdj1S0kfovsJi_bUdyNaonhXxmns4o3B_eP9tD2GLLoP9xJNUmRQmZr8wSLimeXcFHMiQxXRwwpBpV7FPs04AT2Vm9wMm/s1600/image009-773678.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659118015816722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE4nhyLVrBYHTkQEDzLrEtztRdnaGGIZV3eUVbb5AqqwIn-Lejdj1S0kfovsJi_bUdyNaonhXxmns4o3B_eP9tD2GLLoP9xJNUmRQmZr8wSLimeXcFHMiQxXRwwpBpV7FPs04AT2Vm9wMm/s320/image009-773678.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After successful deployment my project will show up in Microsoft Dynamics AX 2012 AOT<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AOT – C Sharp Projects <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHavxoOo_S3oc00kQ0EQLhl3rQy1WOXhvxa_QXVw5rlIvLej-SrOXPn0luY15cRZKktJMS_D8TGc7Suo9v2fKyvE78jSXWoIy_A4ME114YOUY7pz7HfQEUdEonHiILPAmky4378OCqjOYf/s1600/image010-776186.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659126603275282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHavxoOo_S3oc00kQ0EQLhl3rQy1WOXhvxa_QXVw5rlIvLej-SrOXPn0luY15cRZKktJMS_D8TGc7Suo9v2fKyvE78jSXWoIy_A4ME114YOUY7pz7HfQEUdEonHiILPAmky4378OCqjOYf/s320/image010-776186.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here’s the implementation of class and method which mimic calling external Web Service from within Microsoft Dynamics AX 2012 managed code assembly<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTable15Grid1LightAccent1" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid rgb(189, 214, 238); padding: 0in 5.4pt; width: 6.5in;" valign="top" width="780"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">using</span><span style="font-family: Consolas; font-size: 9.5pt;"> System;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">using</span><span style="font-family: Consolas; font-size: 9.5pt;"> System.Collections.Generic;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">using</span><span style="font-family: Consolas; font-size: 9.5pt;"> System.Linq;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">using</span><span style="font-family: Consolas; font-size: 9.5pt;"> System.Text;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">using</span><span style="font-family: Consolas; font-size: 9.5pt;"> System.Threading.Tasks;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;">namespace</span><span style="font-family: Consolas; font-size: 9.5pt;"> AlexDLL</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;">{</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> public</span><span style="font-family: Consolas; font-size: 9.5pt;"> <span style="color: blue;">class</span> <span style="color: #2b91af;">Class1</span></span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> {</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> public</span><span style="font-family: Consolas; font-size: 9.5pt;"> <span style="color: blue;">string</span> method1()</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> {</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt;"> return</span><span style="font-family: Consolas; font-size: 9.5pt;"> <span style="color: #a31515;">"External Web Service call"</span>;</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> }</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> }</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;">}</span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Generally it would be a good idea to encapsulate business logic calling external Web Service in a single method in managed code assembly, this way you can simply call a single method in X++ to consume Web Service and obtain the result<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When deploying assemblies from within Visual Studio you may need to make sure that “Enable the hot-swapping of assemblies for each development session” setting is selected in Microsoft Dynamics AX 2012 Server Configuration Utility in order to avoid deployment errors<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 Server Configuration Utility<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq044E5-pyTFCmyesCa-zP5_5p4WqLuYiKa2Z0ZjQVlFQ-F2-0ZETmW9kvNLYUe4I3Z5wqOfxLl8N8cUTKEJ1j_rOkP415C_5LccFmmumZ3AN_US6ziFWU7mgNdT52XZOmzrQ2xG17qc7l/s1600/image011-778838.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659140675853330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq044E5-pyTFCmyesCa-zP5_5p4WqLuYiKa2Z0ZjQVlFQ-F2-0ZETmW9kvNLYUe4I3Z5wqOfxLl8N8cUTKEJ1j_rOkP415C_5LccFmmumZ3AN_US6ziFWU7mgNdT52XZOmzrQ2xG17qc7l/s320/image011-778838.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Before you deploy you will need to Sign the assembly in Project Properties > Signing<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create Strong Name Key<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjTtzXNARuTTOGLKGK12YsQunwYhdlAsxRH9aA7OxA7VZRv-NhsDz-kOYn6xg31o8ZiQylU8H5RMt87mTKpFSJD-NHWfzbmt8tyai_TcAxomGPiOZzwPVr3_Eu4OzvvcuWqvJ3ngSQCj1p/s1600/image012-781165.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659149788852418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjTtzXNARuTTOGLKGK12YsQunwYhdlAsxRH9aA7OxA7VZRv-NhsDz-kOYn6xg31o8ZiQylU8H5RMt87mTKpFSJD-NHWfzbmt8tyai_TcAxomGPiOZzwPVr3_Eu4OzvvcuWqvJ3ngSQCj1p/s320/image012-781165.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we are ready to deploy the assembly<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Deploy<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihb8ahyphenhyphenOZijeA_XWG91vKFuEWSObEf0zQ50OcxmFMl1DCyGg7BMFFltnrj7fZ9G2pYYvzIRGfpptsqjESvISPIUfBZTJuwtUq0XatQ60S4gwFYs1ek6aZH54tCe_msrs6gMmSzmlL_13N7/s1600/image013-784584.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659163839860386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihb8ahyphenhyphenOZijeA_XWG91vKFuEWSObEf0zQ50OcxmFMl1DCyGg7BMFFltnrj7fZ9G2pYYvzIRGfpptsqjESvISPIUfBZTJuwtUq0XatQ60S4gwFYs1ek6aZH54tCe_msrs6gMmSzmlL_13N7/s320/image013-784584.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Upon successful deployment you will be able to use IntelliSense in X++ and consume elements of managed code assembly namespace just the way you consume native X++ business logic classes <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ code</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTable15Grid1LightAccent1" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid rgb(189, 214, 238); padding: 0in 5.4pt; width: 6.5in;" valign="top" width="780"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="color: darkblue; font-family: Consolas; font-size: 9.5pt;">static</span><span style="font-family: Consolas; font-size: 9.5pt;"> <span style="color: darkblue;">void</span> DLL(Args _args)</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;">{</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> AlexDLL.Class1 class1 = <span style="color: darkblue;"> new</span> AlexDLL.Class1();</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;"> info(class1.method1());</span><b><span style="font-size: 9.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt;">}</span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The result will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgviHWurBAPMBiTS2SKLr5SjFk5hOMN_DpW8eigUUWSUrF3bV2aJqzaOAkCq7By6vRGJV_h9kPmRZsE6fkYVRSUnSozXtuPQMNYaJSg3vLBsDik-ZUhAlKdrUWc_QOLCK5_B0dqbkCbIs0y/s1600/image014-787920.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_6155659179432817250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgviHWurBAPMBiTS2SKLr5SjFk5hOMN_DpW8eigUUWSUrF3bV2aJqzaOAkCq7By6vRGJV_h9kPmRZsE6fkYVRSUnSozXtuPQMNYaJSg3vLBsDik-ZUhAlKdrUWc_QOLCK5_B0dqbkCbIs0y/s320/image014-787920.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please learn more about Deploying Managed Code Assemblies here: <a href="https://msdn.microsoft.com/en-us/library/gg889192.aspx">https://msdn.microsoft.com/en-us/library/gg889192.aspx</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> In this walkthrough I illustrated how to call Microsoft Dynamics AX 2012 SOAP Web Services from Windows 8 application using JavaScript and shed some light into what's happening behind the scenes when you call Web Service, how request and response look like and what you have to do to successfully call Microsoft Dynamics AX 2012 SOAP-based Web Services.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics AX 2012, Custom Web Services, X++, C#.NET, HTTP, NET.TCP, Config file, Class library, DLL, Endpoint, Binding. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com64tag:blogger.com,1999:blog-4565800100410709901.post-84408565741434964992015-05-06T17:58:00.001-07:002015-05-06T18:02:29.064-07:00Microsoft Dynamics AX 2012 – Calling SOAP Web Services from JavaScript<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – Calling SOAP Web Services from JavaScript</strong> </div>
<div align="center" class="MsoTitle" style="text-align: center;">
<o:p></o:p></div>
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Purpose:</b> The purpose of this document is to illustrate how to call Microsoft Dynamics AX 2012 SOAP Web Services from Windows 8 application using JavaScript.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Challenge</b>: <span lang="EN">Application Integration Framework (AIF) supports Web services for Windows Communication Foundation (WCF). In AIF, each document is represented by a service that can be exposed from an integration port. To consume services over the Internet, you must host services on Internet Information Services (IIS). AIF uses standard WCF processing to receive and process SOAP requests.</span> Please find more info on AIF and Services here: <a href="https://technet.microsoft.com/en-us/library/gg731810.aspx">https://technet.microsoft.com/en-us/library/gg731810.aspx</a>. For the purposes of POC or app development you may need to consume Microsoft Dynamics AX 2012 SOAP Web Services from Windows 8 application using JavaScript<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Solution</b>: In this walkthrough I'm going to deploy an instance of Microsoft Dynamics AX 2012 R3 in the Cloud on Windows Azure using Microsoft Dynamics AX Lifecycle Management Services (LCS), write my own Custom WCF Web Service exposing business data and call this SOAP-based Web Service from Windows 8 application using JavaScript WinJS.xhr (XML Http Request) object. Please find more info about asynchronous programming, WinJS promises and xhr (XML Http Request) object here: <a href="https://msdn.microsoft.com/en-us/library/windows/apps/br229787.aspx">https://msdn.microsoft.com/en-us/library/windows/apps/br229787.aspx</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
First of all I'll deploy an instance of Microsoft Dynamics AX 2012 R3 using LCS. Please visit <a href="http://lcs.dynamics.com/">http://lcs.dynamics.com</a> to access LCS Cloud service<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
After successful deployment I'll be able to access my Demo VM on Azure portal<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
What I'll need to do for my walkthrough is to enable HTTP/HTTPS endpoints for my Demo VM so I can reach out to my Web Service over internet<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Endpoints </i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJdbepLO5_1tVnhnlg3sKgP-zB5t8fpjXUgy6udbnqSHvwgPH4RG3ib1iFNCH3Uw03Q2P81itD-4lHUbBWGgQtjWkKCMcO22SUDnhuyaOl2iFfCECRdDMd_g7KjfsQJgKT7jbAP6wrx6CI/s1600/image001-794867.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJdbepLO5_1tVnhnlg3sKgP-zB5t8fpjXUgy6udbnqSHvwgPH4RG3ib1iFNCH3Uw03Q2P81itD-4lHUbBWGgQtjWkKCMcO22SUDnhuyaOl2iFfCECRdDMd_g7KjfsQJgKT7jbAP6wrx6CI/s320/image001-794867.jpg" id="BLOGGER_PHOTO_ID_6145927670403668642" /></a></div>
<i><o:p></o:p></i><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p> </o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Please note that enabling HTTP/HTTPS endpoints for Demo VM is suitable for the purposes of POC, but it is not secure and not suitable for production applications accessing Microsoft Dynamics AX 2012. In order to build production application securely accessing Microsoft Dynamics AX 2012 please utilize Windows Azure Service Bus. Please find detailed guidance on how to leverage Windows Azure Service Bus to establish secure cross-domain connection to Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Continuing in this walkthrough I'll focus on mechanics of what's going on with Web Service request behind the scenes. But before we get there I'll do some necessary plumbing <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
My plan is to expose custom business data based on newly created table. Please see the structure of my project below<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><span style="color: #222222;">Code</span></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><span style="color: #222222;"><o:p></o:p></span></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="color: #222222;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4dgHOHAdvqYvb3uaWq6d4LazHPVPhpq3LyJ8guxZszWvjkS1II93Ecj2hh6NRl2C6wmxITHvgyA0N6I5LN8Gs8mrX2A4w911G1164PtxPPjkUKx9qwtH5B-YegD3Jne1CHZ8i_Oq7m5S/s1600/image002-797990.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4dgHOHAdvqYvb3uaWq6d4LazHPVPhpq3LyJ8guxZszWvjkS1II93Ecj2hh6NRl2C6wmxITHvgyA0N6I5LN8Gs8mrX2A4w911G1164PtxPPjkUKx9qwtH5B-YegD3Jne1CHZ8i_Oq7m5S/s320/image002-797990.png" id="BLOGGER_PHOTO_ID_6145927685072593698" /></a></span><span style="color: #222222;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="color: #222222;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="color: #222222;">By using my simple WCF Custom Services Class Wizard (</span><a href="http://ax2012aifintegration.blogspot.com/2014/11/microsoft-dynamics-ax-2012-custom-web.html">http://ax2012aifintegration.blogspot.com/2014/11/microsoft-dynamics-ax-2012-custom-web.html</a><span style="color: #222222;">) I quickly created Data contract and Service contract classes to expose necessary business data<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="color: #222222;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><span style="color: #222222;">Data Contract <o:p></o:p></span></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> AlexTableContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexName Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexID ID;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> AlexID ID(AlexID _ID = ID)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ID = _ID;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> ID;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> AlexName Name(AlexName _Name = Name)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> Name = _Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Service Contract<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> AlexServiceContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(AlexTableContract)), SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> List getList()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexTable alexTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexTableContract alexTableContract;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> List list;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> list = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> alexTable<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> alexTableContract = <b> <span style="color: darkblue;">new</span></b> AlexTableContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> alexTableContract.ID(alexTable.ID);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> alexTableContract.Name(alexTable.Name);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> list.addEnd(alexTableContract);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> list;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Then I will wrap up my classes with Microsoft Dynamics AX Service (AlexService) and execute right click > Add-ins > Register service command for AlexService<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p></o:p><br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
At this point I'll populate my table with a few records using Table Browser<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p></o:p><br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Table browser</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX2vINxar4HBUH0N_nc7hXIRviOzPJwTKeuB5e83L9D_KHLUagO7mIVlP5AIh-p7HiTd9MeIkTEhjP9f901K6V7pqnljdrR1STrLl8Iv1vmpzrJ8ufuUHNxuUyTXIaYeq6i9ijQlzaPFg9/s1600/image003-700933.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgX2vINxar4HBUH0N_nc7hXIRviOzPJwTKeuB5e83L9D_KHLUagO7mIVlP5AIh-p7HiTd9MeIkTEhjP9f901K6V7pqnljdrR1STrLl8Iv1vmpzrJ8ufuUHNxuUyTXIaYeq6i9ijQlzaPFg9/s320/image003-700933.png" id="BLOGGER_PHOTO_ID_6145927698267624930" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Next I'll create Inbound port for newly created Web Service using HTTP adapter<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Inbound port<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-pafGOK7UUm8gHojb_IKB-nLX7LRr9o9sYTiDHMU8o44F9dI7t68CQh9OXC6OOwuuTZTZzIpdTo6CLSqKZoSpHWvUjp_qmgmnWIBaQMxNKkZMh-UOJfVQMpsMBJ1GeQ71Myx5wn3ManXh/s1600/image004-703513.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-pafGOK7UUm8gHojb_IKB-nLX7LRr9o9sYTiDHMU8o44F9dI7t68CQh9OXC6OOwuuTZTZzIpdTo6CLSqKZoSpHWvUjp_qmgmnWIBaQMxNKkZMh-UOJfVQMpsMBJ1GeQ71Myx5wn3ManXh/s320/image004-703513.jpg" id="BLOGGER_PHOTO_ID_6145927709770115346" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Then I will add AlexService.getList operation to the Web Service<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Select service operations</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4DE4HMDKbBW7PhZGrAbiyw3REHCaP4KN91C2_ca0UOz0IjLkgv25V2HS-ZA9E0vCkuMyakT-4ic_Zd6omec0tD8jlaDds1JQ9TO7RCyX2qjkavFAv28LSqbCyy_e9WX0jqTv6wo-sXKiO/s1600/image005-706210.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4DE4HMDKbBW7PhZGrAbiyw3REHCaP4KN91C2_ca0UOz0IjLkgv25V2HS-ZA9E0vCkuMyakT-4ic_Zd6omec0tD8jlaDds1JQ9TO7RCyX2qjkavFAv28LSqbCyy_e9WX0jqTv6wo-sXKiO/s320/image005-706210.png" id="BLOGGER_PHOTO_ID_6145927719067564690" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
As the next step I'll write a simple Windows Console client application to better understand how my Web Service request looks like behind the scenes when I call my Web Service. As I create new Windows Console application I will need to add Web Service Reference as shown below <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Add Service Reference<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBrSgHCcM5xGMFA7PkZGqImrC2fdjsQdS4v-yEhnEjMYnFuigLqx4o9Sb5VKel963gt5lSwqbg1GVsDvXJfLdW0OxD_BjquwSzSy6TC-oloMIDXAIYF-c_22Ln9YeSk8ejT56NeI5UKScd/s1600/image006-709245.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBrSgHCcM5xGMFA7PkZGqImrC2fdjsQdS4v-yEhnEjMYnFuigLqx4o9Sb5VKel963gt5lSwqbg1GVsDvXJfLdW0OxD_BjquwSzSy6TC-oloMIDXAIYF-c_22Ln9YeSk8ejT56NeI5UKScd/s320/image006-709245.png" id="BLOGGER_PHOTO_ID_6145927737110754706" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
The code for the client looks like below<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Code <o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"usmf"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Admin"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"pass@word1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexTableContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] list = client.getList(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexTableContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> list)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(item.ID + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">": "</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + item.Name);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
As the result I'll output the list of values from my table<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Result</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzvAuajGQ4aUwDv14cgzqp9uv17KE4Z4KSTEuXg55M5EA7lxJAH3Tx8bVmI6qHOXiI4nJ5oiMC9cDwGKMWKsgfDOKwFrrvZLKeIPYkhl5ts738slVT75dpedTsanwhP9dya6fM1py82NOa/s1600/image007-712156.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzvAuajGQ4aUwDv14cgzqp9uv17KE4Z4KSTEuXg55M5EA7lxJAH3Tx8bVmI6qHOXiI4nJ5oiMC9cDwGKMWKsgfDOKwFrrvZLKeIPYkhl5ts738slVT75dpedTsanwhP9dya6fM1py82NOa/s320/image007-712156.png" id="BLOGGER_PHOTO_ID_6145927748701690098" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Now the most interesting part. Before I ran my client program to fetch the data from Microsoft Dynamics AX 2012, I launches Fiddler to listen to HTTP/HTTPS traffic and see HTTP/HTTPS requests and responses taking place. You can download Fiddler from here: <a href="http://www.telerik.com/download/fiddler">http://www.telerik.com/download/fiddler</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Fiddler<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6zO0a5FgL9ND4XZsHoRxpIQHLLnkIZURED5JuBzT8iQhU-jNPFt3m_CrK__mRq_ORdTOYXuH_GekQwkrVf3xK9WEUTngGO_8Y6kdnInCTDkT72S4ESqPwEfnorVh9GDw2Zzz_WaW1xWjK/s1600/image008-715576.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6zO0a5FgL9ND4XZsHoRxpIQHLLnkIZURED5JuBzT8iQhU-jNPFt3m_CrK__mRq_ORdTOYXuH_GekQwkrVf3xK9WEUTngGO_8Y6kdnInCTDkT72S4ESqPwEfnorVh9GDw2Zzz_WaW1xWjK/s320/image008-715576.jpg" id="BLOGGER_PHOTO_ID_6145927762423109474" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
In Fiddler I can clearly see how HTTP/HTTPS request and response looked like when I execute my client application and called Microsoft Dynamics AX 2012 Web Service<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Request<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw5I0LAaKT1vazEEtY1RiKBfHGGx_2oNEhqp4xa6rSIYrpOVvMKGK0YlkP4wkRpfdYFim52aNfj9xMXZxT87K2tApe4Hv8gYgDguAFaHd3WPKzRY1ePVbEYdZnoMYUkSemlTkXdd_oIefF/s1600/image009-718352.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw5I0LAaKT1vazEEtY1RiKBfHGGx_2oNEhqp4xa6rSIYrpOVvMKGK0YlkP4wkRpfdYFim52aNfj9xMXZxT87K2tApe4Hv8gYgDguAFaHd3WPKzRY1ePVbEYdZnoMYUkSemlTkXdd_oIefF/s320/image009-718352.jpg" id="BLOGGER_PHOTO_ID_6145927773379126706" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow;">POST </span><a href="http://ax2012r2a.contoso.com/MicrosoftDynamicsAXAif60/AlexWebServices/xppservice.svc"><span style="background: yellow; color: windowtext; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow; text-decoration: none;">http://ax2012r2a.contoso.com/MicrosoftDynamicsAXAif60/AlexWebServices/xppservice.svc</span></a><span style="font-family: "Lucida Console"; font-size: 8.5pt;"> HTTP/1.1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Content-Type: text/xml; charset=utf-8<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">VsDebuggerCausalityData: uIDPo9P2U4sA1ENFu3GK474gpEsAAAAA7d1xyqrazUe5zAsDszpG8Js/kfbqE3NPrANxMKaGnFUACQAA<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">SOAPAction: "</span><a href="http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/getList"><span style="color: windowtext; font-family: "Lucida Console"; font-size: 8.5pt; text-decoration: none;">http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/getList</span></a><span style="font-family: "Lucida Console"; font-size: 8.5pt;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Accept-Encoding: gzip, deflate<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Authorization: Negotiate TlRMTVNTUAADAAAAGAAYAHQAAABWAVYBjAAAAAAAAABYAAAACgAKAFgAAAASABIAYgAAABAAEADiAQAAFYKY4gYDgCUAAAAP4smxKQqDAj833urXTwSs6kEAZABtAGkAbgBBAFgAMgAwADEAMgBSADIAQQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK1LD71uLVVMkxHvfFgRwwAQEAAAAAAABOi3kxVIjQAcS5+RmOrRhQAAAAAAIADgBDAE8ATgBUAE8AUwBPAAEAEgBBAFgAMgAwADEAMgBSADIAQQAEABYAYwBvAG4AdABvAHMAbwAuAGMAbwBtAAMAKgBBAFgAMgAwADEAMgBSADIAQQAuAGMAbwBuAHQAbwBzAG8ALgBjAG8AbQAFABYAYwBvAG4AdABvAHMAbwAuAGMAbwBtAAcACABOi3kxVIjQAQYABAACAAAACAAwADAAAAAAAAAAAQAAAAAgAADeJ7ljj7kKuEdzr8/a6bURMeu7wAp6EgJ5THCXwCzf3QoAEAAAAAAAAAAAAAAAAAAAAAAACQA0AEgAVABUAFAALwBhAHgAMgAwADEAMgByADIAYQAuAGMAbwBuAHQAbwBzAG8ALgBjAG8AbQAAAAAAAAAAAAAAAACX0gZZ9yPRi0zt4hbarMLO<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Host: ax2012r2a.contoso.com<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Content-Length: 595<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;">Expect: 100-continue<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Lucida Console"; font-size: 8.5pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow;"><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:CallContext xmlns:h="http://schemas.microsoft.com/dynamics/2010/01/datacontracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><h:Company>usmf</h:Company><h:Language i:nil="true"/><h:LogonAsUser i:nil="true"/><h:MessageId i:nil="true"/><h:PartitionKey i:nil="true"/><h:PropertyBag i:nil="true" xmlns:a="</span><a href="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><span style="background: yellow; color: windowtext; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow; text-decoration: none;">http://schemas.microsoft.com/2003/10/Serialization/Arrays</span></a><span style="background: yellow; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow;">"/></h:CallContext></s:Header><s:Body><AlexServiceGetListRequest xmlns="</span><a href="http://schemas.microsoft.com/dynamics/2008/01/services"><span style="background: yellow; color: windowtext; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow; text-decoration: none;">http://schemas.microsoft.com/dynamics/2008/01/services</span></a><span style="background: yellow; font-family: "Lucida Console"; font-size: 8.5pt; mso-highlight: yellow;">"/></s:Body></s:Envelope></span><span style="font-family: "Lucida Console"; font-size: 8.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Please note that POST method was used to call Web Service. Also appropriate envelope was added to the request <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
The response is returned in form of structured XML also wrapped with envelope<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p></o:p><br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Response<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p> </o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe6aossDbiggoyg-iXfMi1RKqbNe6WoVDiTBnG3J174aGVANrR4wuAGfCj-H4EgFu-cDWeUxFHHUZbZpOCCkEI2XLCd7vNFFGPiS82SQheme5Nak45SxSjWVR3QqdibsydslfUXaqVP_89/s1600/image010-721413.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe6aossDbiggoyg-iXfMi1RKqbNe6WoVDiTBnG3J174aGVANrR4wuAGfCj-H4EgFu-cDWeUxFHHUZbZpOCCkEI2XLCd7vNFFGPiS82SQheme5Nak45SxSjWVR3QqdibsydslfUXaqVP_89/s320/image010-721413.jpg" id="BLOGGER_PHOTO_ID_6145927789070003154" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><AlexServiceGetListResponse xmlns="http://schemas.microsoft.com/dynamics/2008/01/services"><response xmlns:b="http://schemas.datacontract.org/2004/07/Dynamics.Ax.Application" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><b:AlexTableContract><b:ID>1</b:ID><b:Name>Alex</b:Name> </b:AlexTableContract><b:AlexTableContract><b:ID>2</b:ID><b:Name>Test><b:Name> </b:AlexTableContract></response></AlexServiceGetListResponse></s:Body></s:Envelope><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
At this point I have enough knowledge to call my Web Service from Windows 8 application using JavaScript WinJS.xhr object. WinJS is a Windows library for JavaScript which implements Windows look and feel for your apps as well as a lot of useful objects such as xhr (XML HTTP request). Please find more info about WinJS here: <a href="https://dev.windows.com/en-us/develop/winjs"> https://dev.windows.com/en-us/develop/winjs</a><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to create my Windows 8 app I'll use JavaScript Hub App template as shown below </div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Hub App (Windows)</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaz1k4wuF2gfBEydmuTag7udOWdgcmtIqeAomCL9V9kK9CArfmOqcoCR9VW7xZnf_cXJgVCw84hG_f6bOBKHovkszo-KJ7TWkWcYj7x4owO8LzhnbEI4Hu6p0ufG_EEJTb-qo4SHJQp0sM/s1600/image011-724408.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaz1k4wuF2gfBEydmuTag7udOWdgcmtIqeAomCL9V9kK9CArfmOqcoCR9VW7xZnf_cXJgVCw84hG_f6bOBKHovkszo-KJ7TWkWcYj7x4owO8LzhnbEI4Hu6p0ufG_EEJTb-qo4SHJQp0sM/s320/image011-724408.jpg" id="BLOGGER_PHOTO_ID_6145927801114925858" /></a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
For my app I'll implement a simple HTML page List.html to display the list of records from Microsoft Dynamics AX 2012 after calling Web Service. Here's how related List.js file looks like which implements business logic calling Web Service using WinJS.xhr object <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>List.js<o:p></o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 6.65in;" valign="top" width="798"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"use strict"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.UI.Pages.define(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/pages/list/list.html"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// This function is called whenever a user navigates to this page. It</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// populates the page elements with the app's data.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ready: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (element, options) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> doClickSync() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> data = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">'<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:CallContext xmlns:h="http://schemas.microsoft.com/dynamics/2010/01/datacontracts" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><h:Company>usmf</h:Company><h:Language i:nil="true"/><h:LogonAsUser i:nil="true"/><h:MessageId i:nil="true"/><h:PartitionKey i:nil="true"/><h:PropertyBag i:nil="true" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/></h:CallContext></s:Header><s:Body><AlexServiceGetListRequest xmlns="http://schemas.microsoft.com/dynamics/2008/01/services"/></s:Body></s:Envelope>'</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> options = {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">url: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"http://ax2012r3-demo.cloudapp.net/MicrosoftDynamicsAXAif60/AlexWebServices/xppservice.svc"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">type: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"post"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> headers: {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Content-Type"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"text/xml; charset=utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"SOAPAction"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/getList"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">user: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">'Admin'</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> password: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">'pass@word1'</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> data: data<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.xhr(options)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> .done(<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (request) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> dataItems = [];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> xmlResponse = request.responseXML.documentElement;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> fullNodeList = xmlResponse.getElementsByTagName(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"b:AlexTableContract"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">for</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> i = 0; i < fullNodeList.length; i++) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> dataItem = { id: fullNodeList[i].childNodes[0].textContent, name: fullNodeList[i].childNodes[1].textContent };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> dataItems.push(dataItem);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> dataList = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> WinJS.Binding.List(dataItems);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> alexView = document.getElementById(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">'alexList'</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">).winControl;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> alexView.itemDataSource = dataList.dataSource;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (error) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (progress) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">})();</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Please note that I included envelope and passed it as data into WinJS.xhr. Also I used post method to call Web Service, explicitly defined SOAP Action, provided authentication details as a part of request (please take into account security concerns when developing your apps, for the purposes of POC and simplicity I just hard-coded authentication details into the request). Finally when I receive asynchronous response I'll need to parse it out using XML DOM model and re-assign the data source for List element in HTML <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
As the result I successfully display the list of records from Microsoft Dynamics AX 2012 in my app <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>Result</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW14mZpXMLO-Cws9qEnPLyEySKnU-7ZkUgqHw-Pv6IqhP67SHEsk6qpk6xT5HkuIbsS_K8QOdXcQLkH2Vy7Z6eU62fLBVNndjA4ATl2uG9S1Jcdz9cXe9iCE4Cs1YqncUSd9COi0gEbRcq/s1600/image012-727066.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW14mZpXMLO-Cws9qEnPLyEySKnU-7ZkUgqHw-Pv6IqhP67SHEsk6qpk6xT5HkuIbsS_K8QOdXcQLkH2Vy7Z6eU62fLBVNndjA4ATl2uG9S1Jcdz9cXe9iCE4Cs1YqncUSd9COi0gEbRcq/s320/image012-727066.png" id="BLOGGER_PHOTO_ID_6145927806401589122" /></a><b><o:p></o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><o:p> </o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
Similarly you can implement not only data retrieval scenarios but also data manipulation scenarios calling Microsoft Dynamics AX 2012 Web Services. For example, creation of Sales order or creation/posting of General journal or Inventory journal <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><o:p> </o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Summary</b>: In this walkthrough I illustrated how to call Microsoft Dynamics AX 2012 SOAP Web Services from Windows 8 application using JavaScript and shed some light into what's happening behind the scenes when you call Web Service, how request and response look like and what you have to do to successfully call Microsoft Dynamics AX 2012 SOAP-based Web Services.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Tags:</b> Microsoft Dynamics AX 2012, Custom Web Services, Data Contract, Service Contract, X++, Windows 8 App, JavaScript, WinJS, XHR, XML HTTP Request/Response, Fiddler. <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Author</b>: <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com31tag:blogger.com,1999:blog-4565800100410709901.post-38780111866303500482015-04-06T18:51:00.001-07:002015-04-08T12:44:55.804-07:00Microsoft Dynamics AX 2012 – Product Configurator as a Service<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitleCxSpFirst" style="text-align: center;">
Microsoft Dynamics AX 2012 – <o:p></o:p></div>
<div align="center" class="MsoTitleCxSpLast" style="text-align: center;">
Product Configurator as a Service</div>
<div align="center" class="MsoTitleCxSpLast" style="text-align: center;">
<o:p></o:p> </div>
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Purpose:</b> The purpose of this document is to illustrate how to leverage Microsoft Dynamics AX 2012 Product Configurator engine from external application.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Challenge</b>: For Configure-to-Order businesses Product Configurator is an essential component of the solution. Product Configurator in Microsoft Dynamics AX 2012 is a constraint-based configurator which leverages the power of Microsoft Solver Foundation and OML (Optimization Modeling Language). Product Configurator can be used to address both sales and production configurator needs. Here's the core pieces of information you get as the result of configuration process: Sales price (cost + profit margin), Delivery date, BOM structure, Route structure. In some industries companies tend to utilize specialized configurator solutions which will have to integrate with Microsoft Dynamics AX 2012 and/or will/may be ultimately absorbed/replaced with the capabilities Microsoft Dynamics AX 2012 standard Product Configurator <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Solution</b>: In this scenario I have a custom web-based configurator deployed as Cloud App in Azure which implements some specific business logic around rendering 2D/3D images of configured products. In fact I want to leverage Microsoft Dynamics AX 2012 Product Configurator capabilities as a part of Microsoft Dynamics AX 2012 which is my ERP solution of choice. Specifically I'm going to utilize a custom web-based configurator as a front-end when having Microsoft Dynamics AX 2012 Product Configurator on the back-end (nicely linking Quote/Sales Configuration CSR experience with Manufacturing processes). For these purposes I'll turn Product Configurator into a Web Services for external consumption. This may also be a part of a larger migration plans switching towards using Product Configurator to enable the entire Configure-to-Order experience. <o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><o:p> </o:p></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
We'll start off with a very simple configuration model called "Alex"<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i>New product configuration model</i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb8JP6lq77mc2BrF8gWOeiD-YesCNF9HpfH92Y6cRJs7WuIlSpuhcoCCfAlvhBCNGB2ahSzjaeal9JUOCydpIX4YRpXvEw-vWbnXPG1jhC1VpM0NsWV88tkM7VrrZeoKDbCmkqSoxtqi1n/s1600/image001-785283.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb8JP6lq77mc2BrF8gWOeiD-YesCNF9HpfH92Y6cRJs7WuIlSpuhcoCCfAlvhBCNGB2ahSzjaeal9JUOCydpIX4YRpXvEw-vWbnXPG1jhC1VpM0NsWV88tkM7VrrZeoKDbCmkqSoxtqi1n/s320/image001-785283.png" id="BLOGGER_PHOTO_ID_6134808827291208370" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In the model I'm going to use 2 variables: A and B of type integer with value range [0, 1]<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Attribute types <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6YWI-R9rvMdFl1c36saYYBjhyGHyij67CRyu9qxTZQnpquSb_aXDxF_9YTVPV69YC-AfYr5rfbYB9M0ZxbCKU5h3HhcR9A3xeQLX_cYdWwuZDqNwRXFhXhIxUvhzlu__ImGlWkrgkaELs/s1600/image002-789267.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6YWI-R9rvMdFl1c36saYYBjhyGHyij67CRyu9qxTZQnpquSb_aXDxF_9YTVPV69YC-AfYr5rfbYB9M0ZxbCKU5h3HhcR9A3xeQLX_cYdWwuZDqNwRXFhXhIxUvhzlu__ImGlWkrgkaELs/s320/image002-789267.jpg" id="BLOGGER_PHOTO_ID_6134808837957822562" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Constraint-based product configuration model <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhThdTezHtjgHv6ab9CZPYPqelMan5wljDIl6pkncMrykktSWqPTNYPk6g5u-2bHjZTjOkpDniY4k6rwvBJMi2gNI2cvfaFPb4KTMEJmFQjUkZzpjoopk2HdrZtZzwdFLIqjiSNvKHMeTLZ/s1600/image003-791819.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhThdTezHtjgHv6ab9CZPYPqelMan5wljDIl6pkncMrykktSWqPTNYPk6g5u-2bHjZTjOkpDniY4k6rwvBJMi2gNI2cvfaFPb4KTMEJmFQjUkZzpjoopk2HdrZtZzwdFLIqjiSNvKHMeTLZ/s320/image003-791819.jpg" id="BLOGGER_PHOTO_ID_6134808849601634514" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I'll define 2 attributes for A and B <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Attributes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivee475oC9RnVnyeP3p49WdnYFZhGCMIX8qs_IhyphenhyphenznfQNMjgpPxSmQByiCSD2k_0ABvVwpK9fB5jASbxNyYTlPn7hmQnoc1-qo34gGZzoewnh0-OtiBChrN_-4VfVup2Us_AyrMD_kVjjV/s1600/image004-794641.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivee475oC9RnVnyeP3p49WdnYFZhGCMIX8qs_IhyphenhyphenznfQNMjgpPxSmQByiCSD2k_0ABvVwpK9fB5jASbxNyYTlPn7hmQnoc1-qo34gGZzoewnh0-OtiBChrN_-4VfVup2Us_AyrMD_kVjjV/s320/image004-794641.png" id="BLOGGER_PHOTO_ID_6134808860686180338" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that not all combinations of attributes will be allowed. In fact for my model I will define expression constraint stating that "IF A == 1 THEN B == 0] and vice versa<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Constraints<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTSKc7XVPxuG8dLrOwpgPTP-Rod_JiPUd9iF93vZQFHteQwFLrMHxHaxoJVgsVfAK8A2zsLsBsD5tfvOoj-ROFskzUUQCMNXN_Hj9NRixrcR6n6fdjwRWzHnlk_vuQOkeHT7AkjtdgOOpI/s1600/image005-797494.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTSKc7XVPxuG8dLrOwpgPTP-Rod_JiPUd9iF93vZQFHteQwFLrMHxHaxoJVgsVfAK8A2zsLsBsD5tfvOoj-ROFskzUUQCMNXN_Hj9NRixrcR6n6fdjwRWzHnlk_vuQOkeHT7AkjtdgOOpI/s320/image005-797494.png" id="BLOGGER_PHOTO_ID_6134808873323276882" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is how my model looks like at runtime<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure line<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqyfK2VK7VzCfM7x9R43qd_QNx_WtYrNTGVEO1-EypJEZvjCSGmF0nFOaC2p203CKfEI6U31bF1ZjtUI0D93aDkx07IESPE3Xi6cR4dqLuqpN3VQSXpD9LxSUimzwzfrL2dRa_L1x9l7h0/s1600/image006-799825.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqyfK2VK7VzCfM7x9R43qd_QNx_WtYrNTGVEO1-EypJEZvjCSGmF0nFOaC2p203CKfEI6U31bF1ZjtUI0D93aDkx07IESPE3Xi6cR4dqLuqpN3VQSXpD9LxSUimzwzfrL2dRa_L1x9l7h0/s320/image006-799825.png" id="BLOGGER_PHOTO_ID_6134808885463591106" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I have to select values for 2 variables A and B on the screen as a part of configuration process. In fact I'll be selecting those values sequentially and in case at some point after my next variable value selection my model is in contradiction the system will let me know about it immediately without waiting until I select all variables values <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's take some time and review how configuration process looks like in more detail<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Diagram<o:p></o:p></i></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:467.4pt;height:360.6pt' o:ole=""> <v:imagedata src="cid:image007.emz@01D0709A.9BA06900" o:title="" /> </v:shape><![endif]--><br /></div>
<div class="MsoNormal">
<![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmqLXvyNNTbOVuiQSTTGA1sg7U0yvSvFSXwXbF-JUXP28fhBca8AS7NVF6DqmWzCeqh4CYorzSFASq3NDW-xCudBKoznY0P7hJQb1w_kLQUipXEw3MmPACqJdFaHprJlJ2ohLve-NPAWuL/s1600/image008-702849.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmqLXvyNNTbOVuiQSTTGA1sg7U0yvSvFSXwXbF-JUXP28fhBca8AS7NVF6DqmWzCeqh4CYorzSFASq3NDW-xCudBKoznY0P7hJQb1w_kLQUipXEw3MmPACqJdFaHprJlJ2ohLve-NPAWuL/s320/image008-702849.png" id="BLOGGER_PHOTO_ID_6134808895674904418" /></a><![endif]><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="Visio.Drawing.15" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1489851406"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We start with conceptual design of the model (Design model defining elements of the model, their types, rules, etc.), after we're done with it we can launch configuration experience. Once you start configuration process you will be dealing with specific values of variables which may be correct or incorrect (Runtime model). As you change the values of variables the system invokes Configuration backend after each change to validate that your model is not in contradiction against the constraints. In case contradiction is detected and one or more constraints are not satisfied the system will immediately notify you so appropriate correction can be made to variable values before you proceed further in configuration process. Once certain state of the model is validated appropriate values of variables will be "fixed" which will be provide you a starting point for the next step/change. Once you specify all necessary variables values and you are ready to see the how much will configuration cost (Sales price) and when it can be delivered (Delivery date) the system will solve the model which will propagate depending values, validate used calculations and make sure that the solution found is feasible. On the last step when model is solved you will save configuration in order to generate associated with source document BOM and Route. Then hand off to Manufacturing will happen manually (Create Production order from Quote/Sales order) or automatically (MRP run) <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's see what data structures we can use to invoke Product Configurator engine programmatically<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First we'll examine Design model by using Export function which allows to move Product Configurations from one environment to another very easily. This will also provide an insight about how Product Configuration model is structured <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export (Design model)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Export Version="1"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<AttributeTypes><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResAttributeType Name="AlexInt" DataType="4" IsEnumeration="0" HasBounds="1"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResBoundedAttributeTypeValue Lower="0" Upper="1" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</EcoResAttributeType><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</AttributeTypes><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<TableConstraintDefintions /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Components><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCClass Name="Alex" ReuseEnabled="0"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResCategoryTranslation FriendlyName="Alex" Description="" LanguageId="en-us" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResAttribute Name="A" SolverName="A" AttributeType="AlexInt" IncludeInReuse="0"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResAttributeTranslation FriendlyName="A" Description="A" Language="en-us" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</EcoResAttribute><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResAttribute Name="B" SolverName="B" AttributeType="AlexInt" IncludeInReuse="0"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<EcoResAttributeTranslation FriendlyName="B" Description="B" Language="en-us" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</EcoResAttribute><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCComponentConstraint Name="AB" Description="AB"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCExpressionConstraint Expression="Implies[ A == 1, B == 0]" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</PCComponentConstraint><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</PCClass><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</Components><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCProductConfigurationModel Name="Alex" RootComponentClass="Alex" SolverStrategy="0"><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCProductConfigurationModelTranslation Name="Alex" Description="Alex" Language="en-us" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCConfigurationControl><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<PCComponentControl UIOrder="1" /><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</PCConfigurationControl><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</PCProductConfigurationModel><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</Export><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
When I launch configuration Runtime model will be composed which looks like the following<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Runtime model</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Model name="Alex"><Component name="Alex" componentId="52565427706" instanceId="1"><Attribute name="A" displayName="A" uniqueId="11290926482" instanceId="2" type="integer"><IntegerDomain from="0" to="1" /></Attribute><Attribute name="B" displayName="B" uniqueId="11290926483" instanceId="3" type="integer"><IntegerDomain from="0" to="1" /></Attribute><Constraint constraintId="AB" uniqueId="11290924754" constraintText="Implies[ A == 1, B == 0]" /></Component></Model><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As I go ahead and start changing variables values I'll be doing work within my configuration session. </div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I'll select some of variables values (UserSelected), but some of variables values will be set by the system automatically based on constraints in place (isUserSelected = 0/1) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>UserSelected</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As I solve the model the system will provide a list of bound values corresponding to a feasible solution for then model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Bound</i></div>
<div class="MsoNormal">
<em></em><i><span style="color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 106%;"><o:p></o:p></span></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="1" /><Attribute name="B" uniqueId="11290926483" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="0"</span> type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Once background work is done on the backend the system will update user interface properly in Microsoft Dynamics AX 2012. Depending on whether you use Rich Client Product Configurator or Enterprise Portal Product Configurator the user experience may slightly differ<o:p></o:p></div>
<div class="MsoNormal">
For example, in Rich Client invalid values will be highlighted in the drop-down for Integer with Range variable as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure line<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyvF5jhvVGSolmJhQNDDYhgG2dzS_gJGVrJ3xnos4rl3ITlnvt18IPX-Yp5Q07ZmHbwegn8mYOG2P3WoOIU4HoDz2PYXEZAaSDv5rQ7Dq_egiC2KG7yRgcekmx4UbZqN-CLrmf35z_rhHF/s1600/image009-705635.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyvF5jhvVGSolmJhQNDDYhgG2dzS_gJGVrJ3xnos4rl3ITlnvt18IPX-Yp5Q07ZmHbwegn8mYOG2P3WoOIU4HoDz2PYXEZAaSDv5rQ7Dq_egiC2KG7yRgcekmx4UbZqN-CLrmf35z_rhHF/s320/image009-705635.png" id="BLOGGER_PHOTO_ID_6134808907668224322" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQPpeLid7EWBSRuk17s-3HO6J7DLNi3e45sCybK21ao6CjpS4Iif23DOkoSOqcjTVAC0776rr4QONvmpIi7WF8_euUUBlAz1YEGUUzY-Mdea6n3J0P76bvLI_kCa4bc7AaqosrdewAX2ic/s1600/image010-708809.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQPpeLid7EWBSRuk17s-3HO6J7DLNi3e45sCybK21ao6CjpS4Iif23DOkoSOqcjTVAC0776rr4QONvmpIi7WF8_euUUBlAz1YEGUUzY-Mdea6n3J0P76bvLI_kCa4bc7AaqosrdewAX2ic/s320/image010-708809.png" id="BLOGGER_PHOTO_ID_6134808922432817666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case contradiction is detected for the model appropriate infolog will be provided<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4w3lPr1P34QcO7CmAu7WefQgxlNmbpM28XtxYesARBG25EV6PRii5cvkrhxV6H1hbpWtptii_MO5w_hnjrPtmPUFbEp7fGUSEAvmWHASgre7lGDEB-AR9twmiGuKElLmjR5LWkwk-4JIk/s1600/image011-712247.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4w3lPr1P34QcO7CmAu7WefQgxlNmbpM28XtxYesARBG25EV6PRii5cvkrhxV6H1hbpWtptii_MO5w_hnjrPtmPUFbEp7fGUSEAvmWHASgre7lGDEB-AR9twmiGuKElLmjR5LWkwk-4JIk/s320/image011-712247.png" id="BLOGGER_PHOTO_ID_6134808937441768690" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In fact if you use Enterprise Portal configuration experience the appropriate message will provided along with inline data range hint<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure selected item<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiP5JfkTTWpuiDwyhA1ihv1lh5KFyBUBD0F_ahubqdiGFqFhoCO_2dND2JBINVHvttKh3AQVDHm-GAyjEr5cglkh6uCKWCEPFrEb8ln6RKn-CRXF9A7CbtPO1mVyoGmPdyMYY-lz8Q7aGj/s1600/image012-714758.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiP5JfkTTWpuiDwyhA1ihv1lh5KFyBUBD0F_ahubqdiGFqFhoCO_2dND2JBINVHvttKh3AQVDHm-GAyjEr5cglkh6uCKWCEPFrEb8ln6RKn-CRXF9A7CbtPO1mVyoGmPdyMYY-lz8Q7aGj/s320/image012-714758.jpg" id="BLOGGER_PHOTO_ID_6134808950873742370" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure selected item - Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlVUICGJ2UyNkS8VW2EJxKoQ4DhtsTZWH1JxwtEbL1LiSiHvAg2NpnEoOuEhKoA2Y0Jskx5S-T25MTCXgTQWOnbsyURzdZyMmTWEkgHMAvaWgdKShvPUbv7HF17iwXQJWU_xqnUVD9zYsH/s1600/image013-718258.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlVUICGJ2UyNkS8VW2EJxKoQ4DhtsTZWH1JxwtEbL1LiSiHvAg2NpnEoOuEhKoA2Y0Jskx5S-T25MTCXgTQWOnbsyURzdZyMmTWEkgHMAvaWgdKShvPUbv7HF17iwXQJWU_xqnUVD9zYsH/s320/image013-718258.png" id="BLOGGER_PHOTO_ID_6134808964647391666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case contradiction is detected for the model the appropriate message will be provided <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure selected item - Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsJjrYdWYsNBQOTjVorX_CpYH_c88XGX5ux5I6V6cH5EpTL69xr1a4p2va4wwIJwRNSihwi8wPXFgtrtzxB7gHyBOx3YsqtCP7VeFdJqCmF0pqjRmWWv-9TyHcKINs71Lzbe3uKDcgPcjP/s1600/image014-720997.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsJjrYdWYsNBQOTjVorX_CpYH_c88XGX5ux5I6V6cH5EpTL69xr1a4p2va4wwIJwRNSihwi8wPXFgtrtzxB7gHyBOx3YsqtCP7VeFdJqCmF0pqjRmWWv-9TyHcKINs71Lzbe3uKDcgPcjP/s320/image014-720997.png" id="BLOGGER_PHOTO_ID_6134808973680306066" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For Enterprise Portal Product Configurator most of X++ interface part is implemented in PCEnterprisePortalMain class (\Classes\PCEnterprisePortalMain) and EPPCConfigurator Web Control. In Rich Client PCRuntimeConfigurator X++ form implements user interface part supported by number of classes. In Enterprise Portal all the backend heavy-lifting is done inside of <span lang="DA">Microsoft.Dynamics.Ax.Frameworks.ProductConfigurationServer.dll assembly</span><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a next step I'll consume X++ Product Configurator interface and implement X++ job to invoke Product Configurator backend in order to solve a predefined model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ job</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">static</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> PCSolveModelJob(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> InteropPermission interopPermission;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> Microsoft.Dynamics.Ax.Frameworks.Controls.ProductConfiguration.ProductConfigurationServer serverSolver;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> modelXml = <span style="color: darkred;">"<Model name=\"Alex\"><Component name=\"Alex\" componentId=\"52565427706\" instanceId=\"1\"><Attribute name=\"A\" displayName=\"A\" uniqueId=\"11290926482\" instanceId=\"2\" type=\"integer\"><IntegerDomain from=\"0\" to=\"1\" /></Attribute><Attribute name=\"B\" displayName=\"B\" uniqueId=\"11290926483\" instanceId=\"3\" type=\"integer\"><IntegerDomain from=\"0\" to=\"1\" /></Attribute><Constraint constraintId=\"AB\" uniqueId=\"11290924754\" constraintText=\"Implies[ A == 1, B == 0]\" /></Component></Model>"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> isFinished;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> boundValues;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> userSelectedValues_good = <span style="color: darkred;">"<Session><Component name=\"Alex\" uniqueId=\"\"><Attribute name=\"A\" uniqueId=\"11290926482\" isUserSelected=\"1\" type=\"integer\" value=\"1\" /></Component></Session>"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> userSelectedValues_bad = <span style="color: darkred;">"<Session><Component name=\"Alex\" uniqueId=\"\"><Attribute name=\"A\" uniqueId=\"11290926482\" isUserSelected=\"1\" type=\"integer\" value=\"1\" /><Attribute name=\"B\" uniqueId=\"11290926483\" isUserSelected=\"1\" type=\"integer\" value=\"1\" /></Component></Session>"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> userSelectedValues_okay = <span style="color: darkred;">"<Session><Component name=\"Alex\" uniqueId=\"\"><Attribute name=\"A\" uniqueId=\"11290926482\" isUserSelected=\"1\" type=\"integer\" value=\"0\" /></Component></Session>"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PCExecuteVariantConfiguration executeVariantConfiguration = PCExecuteVariantConfiguration::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PCConfigurationState configurationState = PCConfigurationState::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> interopPermission = <b><span style="color: darkblue;">new</span></b> InteropPermission(InteropKind::ClrInterop);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> interopPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <i><span style="color: green;">//bp deviation documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="background: yellow; mso-highlight: yellow;"> serverSolver = <b><span style="color: darkblue;">new</span></b> Microsoft.Dynamics.Ax.Frameworks.Controls.ProductConfiguration.ProductConfigurationServer(modelXml);</span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="background: yellow; mso-highlight: yellow;"> serverSolver.set_UserSelectedValues(userSelectedValues_good);</span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="background: yellow; mso-highlight: yellow;">isFinished = serverSolver.Solve();</span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (isFinished)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> info(<span style="color: darkred;">"Feasible solution"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="background: yellow; mso-highlight: yellow;"> boundValues = serverSolver.get_BoundValues();</span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> info(boundValues);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> info(<span style="color: darkred;">"Infeasible solution"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In the code above I used all the data structures described at the beginning. Please note that I also supplied 3 types of UserSelectedValues to simulate various outcomes after solving: feasible complete model, feasible incomplete model and infeasible model<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's review these intermediary results<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Example 1 – Good/Feasible/Complete: A = 1<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Input</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg59qksCT6xniB5x-gvZ8yDcM0uedwIsPrBR8rVUyj94MD041qgiqL8h4HH2bnkBCW8_az8NKRd2Qt-vNvJun-0BbYNDWg9sUvQzCVSLJ-D052cW2yMXojnK0tp0gNDt9BFhNKGeTVUPNSQ/s1600/image015-724091.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg59qksCT6xniB5x-gvZ8yDcM0uedwIsPrBR8rVUyj94MD041qgiqL8h4HH2bnkBCW8_az8NKRd2Qt-vNvJun-0BbYNDWg9sUvQzCVSLJ-D052cW2yMXojnK0tp0gNDt9BFhNKGeTVUPNSQ/s320/image015-724091.png" id="BLOGGER_PHOTO_ID_6134808990634663890" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Result</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="1" /><Attribute name="B" uniqueId="11290926483" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="0"</span> type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Example 2 – Bad/Infeasible: A = 1 && B = 1<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Input</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="1" /><Attribute name="B" uniqueId="11290926483" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZw3tEciZF0tFeH3EHh7qcrRTlcQ4BxwQH52NdSFqYmvvaRN_vmS7w-F2X4eTmrxcPDfm-B6Rkl0-p_ONfjzZInPbFUN5fIMDC6VdAgcwRo5DMMiwNP0LJN_MZUxtwV-rRWD0C_yg3qPEp/s1600/image016-727206.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZw3tEciZF0tFeH3EHh7qcrRTlcQ4BxwQH52NdSFqYmvvaRN_vmS7w-F2X4eTmrxcPDfm-B6Rkl0-p_ONfjzZInPbFUN5fIMDC6VdAgcwRo5DMMiwNP0LJN_MZUxtwV-rRWD0C_yg3qPEp/s320/image016-727206.png" id="BLOGGER_PHOTO_ID_6134809001690628498" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Result</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Example 3 – Okay/Feasible/Incomplete: A = 0<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Input</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj49lpgls3NoDXXDQCVgpZ-A7dPqo0Ai0BBS4UdapLkNTrIJutmSNbn5cO7EXCH2KkuZvZC44NirQEZE3LTYWh6fs6cqHWYWXctvzbOynpox9gdd03YJRKD-JAdjRrBk9Jmc_4qzEsx35EC/s1600/image017-729595.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj49lpgls3NoDXXDQCVgpZ-A7dPqo0Ai0BBS4UdapLkNTrIJutmSNbn5cO7EXCH2KkuZvZC44NirQEZE3LTYWh6fs6cqHWYWXctvzbOynpox9gdd03YJRKD-JAdjRrBk9Jmc_4qzEsx35EC/s320/image017-729595.png" id="BLOGGER_PHOTO_ID_6134809010755682546" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Result</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" <span style="background: yellow; mso-highlight: yellow;">isUserSelected="1"</span> type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I can parse returned results to find out whether my solution is feasible or not based on selected variables values <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When I introduce my changes to variables values the system does appropriate checks for solution feasibility, thus after each step variables values I selected will be "fixed" for the next configuration step <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's review how my session details look like as I move along changing variables values<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>"Fixed" values</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="background: #BFBFBF; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b>Scenario<o:p></o:p></b></div>
</td> <td style="background: #BFBFBF; border-left: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b>Before<o:p></o:p></b></div>
</td> <td style="background: #BFBFBF; border-left: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<b>After<o:p></o:p></b></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;">A = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId="" /></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;">A = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId="" /></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;">B = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId="" /></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;">B = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId="" /></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
A = 0, <span style="background: yellow; mso-highlight: yellow;">B = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
A = 0, <span style="background: yellow; mso-highlight: yellow;">B = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
A = 1, <span style="background: yellow; mso-highlight: yellow;">B = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
A = 1, <span style="background: yellow; mso-highlight: yellow;">B = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: red; mso-highlight: red;">The value entered is not valid; it is either outside the defined domain range or it would contradict model constraints</span><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
B = 0, <span style="background: yellow; mso-highlight: yellow;">A = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="0" /><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
B = 0, <span style="background: yellow; mso-highlight: yellow;">A = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="A" uniqueId="11290926482" isUserSelected="1" type="integer" value="1" /><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="0" /></Component></Session><o:p></o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
B = 1, <span style="background: yellow; mso-highlight: yellow;">A = 0</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 71.75pt;" valign="top" width="120"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
B = 1, <span style="background: yellow; mso-highlight: yellow;">A = 1</span><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 184.5pt;" valign="top" width="308"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<Session><Component name="Alex" uniqueId=""><Attribute name="B" uniqueId="11290926483" isUserSelected="1" type="integer" value="1" /></Component></Session><o:p></o:p></div>
</td> <td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; padding: 0in 5.4pt 0in 5.4pt; width: 211.25pt;" valign="top" width="352"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: red; mso-highlight: red;">The value entered is not valid; it is either outside the defined domain range or it would contradict model constraints</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As you can see I will not be able to proceed forward with infeasible solution (model in contradiction) in case I select variable value which doesn't satisfy at least one constraint<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point I am able to solve the model, identify whether my solution is feasible or not for the selected variables values, thus consequently I'm going to turn this business logic into a Web Service for external consumption <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
But before I do that let me quickly implement my custom web-based configurator hosted in Azure<o:p></o:p></div>
<div class="MsoNormal">
The idea of this configurator will be to implement a specific rendering for 2D/3D images required in my business and at the same time leverage Microsoft Dynamics AX 2012 Product Configurator back-end<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll use ASP.NET to create a web site project<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project</i></div>
<div class="MsoNormal">
<i> <o:p></o:p></i></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivawSFWO2o1pgmg2OfrG24eltLqjqT1gVWEj8MHL1aVVHt8T2Px3Sqxya9oa26TCX8mgzZKll3zgM0uaVmpqyyFwivbuMuxOkjwm3LfL3Ir-QqO5E-NhRo2UJm2fVFkyfOoUBscSqrePiQ/s1600/image018-733741.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivawSFWO2o1pgmg2OfrG24eltLqjqT1gVWEj8MHL1aVVHt8T2Px3Sqxya9oa26TCX8mgzZKll3zgM0uaVmpqyyFwivbuMuxOkjwm3LfL3Ir-QqO5E-NhRo2UJm2fVFkyfOoUBscSqrePiQ/s320/image018-733741.jpg" id="BLOGGER_PHOTO_ID_6134809025210773970" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll use MVC (Model-View-Controller) template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New ASP.NET Project</i></div>
<div class="MsoNormal">
<i> <o:p></o:p></i></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpX9LRd4XiLwTKAt_8zaXyg7Wg5Mu-GEL6i-xuwvWxYBHFGU865ZjDrCBFQubJ7lnM7MaOVDibaiYcXcKIjMT6DA5UfVCQplbhTNCSCEfN6zZX_JqZ7SFBZWJqUMR2GnpN_QEHlHfGscEo/s1600/image019-736523.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpX9LRd4XiLwTKAt_8zaXyg7Wg5Mu-GEL6i-xuwvWxYBHFGU865ZjDrCBFQubJ7lnM7MaOVDibaiYcXcKIjMT6DA5UfVCQplbhTNCSCEfN6zZX_JqZ7SFBZWJqUMR2GnpN_QEHlHfGscEo/s320/image019-736523.jpg" id="BLOGGER_PHOTO_ID_6134809038145818434" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll change it authentication settings to "No authentication" for the sake of simplicity<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Change authentication<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg68pQ4UxF8-ckdP1Db_NO-lF9hKanDO7v6tlHPqhj22k2uLsZUYrJsLpSUd85YfT_dSzHIlwUl1jvTWWK8KQL49Wsd2JCrBLAnkuLn641Egy9SgJ96uWBD120_SHfItLLtpdWKb6i0y9Pq/s1600/image020-739836.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg68pQ4UxF8-ckdP1Db_NO-lF9hKanDO7v6tlHPqhj22k2uLsZUYrJsLpSUd85YfT_dSzHIlwUl1jvTWWK8KQL49Wsd2JCrBLAnkuLn641Egy9SgJ96uWBD120_SHfItLLtpdWKb6i0y9Pq/s320/image020-739836.jpg" id="BLOGGER_PHOTO_ID_6134809056755821810" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next I'll implement a Controller<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Controllers > Add new > Controller<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfxiuuz9kIZjzY3x8rP5lMt9lbUkXURmJFdjD5OtjKPy82OA-r9lmBs1OB0jLlLvUBbhAS06Gj9_V1lIRD0rRbjMN_cidg8EUuwkdHzfImrgR1DRzxis7IEGoXwlUgNUZSqIgdAX7vDEE3/s1600/image021-742727.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfxiuuz9kIZjzY3x8rP5lMt9lbUkXURmJFdjD5OtjKPy82OA-r9lmBs1OB0jLlLvUBbhAS06Gj9_V1lIRD0rRbjMN_cidg8EUuwkdHzfImrgR1DRzxis7IEGoXwlUgNUZSqIgdAX7vDEE3/s320/image021-742727.jpg" id="BLOGGER_PHOTO_ID_6134809065542543602" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Controller<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLPzFJ6q8K8a-gq_DILUqTxnaUOvWGKwxrUEqJTDx7HMH55udCjB__LDXZj3JYeJN7ngdm8yiUyZUw0AKzI3tqQgMX0PgpXlu8pOb-Pq_rJt3G21AhtF1K8rxiw_ir0WQZWISAWvEx3SXI/s1600/image022-745288.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLPzFJ6q8K8a-gq_DILUqTxnaUOvWGKwxrUEqJTDx7HMH55udCjB__LDXZj3JYeJN7ngdm8yiUyZUw0AKzI3tqQgMX0PgpXlu8pOb-Pq_rJt3G21AhtF1K8rxiw_ir0WQZWISAWvEx3SXI/s320/image022-745288.png" id="BLOGGER_PHOTO_ID_6134809078287234066" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Controller</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Web;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Web.Mvc;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> AlexConfigurator.Controllers<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ABController</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> : </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Controller</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// GET: AB</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ActionResult</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Index()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> View();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Then I'll implement View<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Views > AB > Add View<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfITlu5fG_1O4P9UqBVTo4_qHM3p7Det1TIzD4n-F-c_ur679Iz58_u7kvi2Vxvl1HDZx8sKYsB_HmIhzkHjM-4joRSDvykYO7IZ0NX2MFXHc-PpswUvkw2vpsCzFoMF0t7qydaC0VWTEB/s1600/image023-748308.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfITlu5fG_1O4P9UqBVTo4_qHM3p7Det1TIzD4n-F-c_ur679Iz58_u7kvi2Vxvl1HDZx8sKYsB_HmIhzkHjM-4joRSDvykYO7IZ0NX2MFXHc-PpswUvkw2vpsCzFoMF0t7qydaC0VWTEB/s320/image023-748308.png" id="BLOGGER_PHOTO_ID_6134809089634968130" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
View code will be provided below (once I fully implement it)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And finally Model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Models > Add new > Class</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Web;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> AlexConfigurator.Models<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AB</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">int</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> A { </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">get</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">set</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">int</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> B { </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">get</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">set</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
This is how my project looks like in Solution Explorer<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqFJRBYGNiDlw0RDwKUPx6QhfURdBkiusDzoEcyJHVHFUhXkOdDul1IZlhiR-Q5lfz0vwr8WoajlCqXxB-uj3SAmy29MaCCnvoxP0TvTBdRK1l0fA07N9LXPy-n0EZYzTBLqFSiesMtIKT/s1600/image024-751081.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqFJRBYGNiDlw0RDwKUPx6QhfURdBkiusDzoEcyJHVHFUhXkOdDul1IZlhiR-Q5lfz0vwr8WoajlCqXxB-uj3SAmy29MaCCnvoxP0TvTBdRK1l0fA07N9LXPy-n0EZYzTBLqFSiesMtIKT/s320/image024-751081.png" id="BLOGGER_PHOTO_ID_6134809104448344562" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Controllers<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvcKRB6pOnKVaHleeM28CiW_RdKI9W_-GpxKWRz00DEnyHjRMlMtpMD5be_RHjRIFwodoBcNqiM7SU7fRxS_k_EaJFmUnWthMsWvF33lPOt18bWR5FvC8HHUebUH8QykW_ki1JDOVCVIkX/s1600/image025-754207.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvcKRB6pOnKVaHleeM28CiW_RdKI9W_-GpxKWRz00DEnyHjRMlMtpMD5be_RHjRIFwodoBcNqiM7SU7fRxS_k_EaJFmUnWthMsWvF33lPOt18bWR5FvC8HHUebUH8QykW_ki1JDOVCVIkX/s320/image025-754207.png" id="BLOGGER_PHOTO_ID_6134809118845391874" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Models<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY0_Sf1TcoEoGana2P8LVglGIiTUQfswKmU-2Wv2oXL2ySvXBp570SnH2aJRr3-8lFWUoSoW2QcoTMK2s5xapyeDwWnuyh8MTu3JWEBerF0lOGGRiqMT9kH9Ibg0ZeGgEIjxym99xYZ_Rs/s1600/image026-757276.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY0_Sf1TcoEoGana2P8LVglGIiTUQfswKmU-2Wv2oXL2ySvXBp570SnH2aJRr3-8lFWUoSoW2QcoTMK2s5xapyeDwWnuyh8MTu3JWEBerF0lOGGRiqMT9kH9Ibg0ZeGgEIjxym99xYZ_Rs/s320/image026-757276.png" id="BLOGGER_PHOTO_ID_6134809128630824514" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Views<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4NK7xpUxRjILaKUja8_uoeaRnPrbcEY8NP6h-QItZl3OuJYw5lM1FaFBvAwKjtwAfHDhCYPPHyUiIgCzTAkFMdcGJNcueDLd-1Jaki_YoSuo3v8OMKS-LmcWB7q5smAlIKnTy_63iTSc7/s1600/image027-759977.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4NK7xpUxRjILaKUja8_uoeaRnPrbcEY8NP6h-QItZl3OuJYw5lM1FaFBvAwKjtwAfHDhCYPPHyUiIgCzTAkFMdcGJNcueDLd-1Jaki_YoSuo3v8OMKS-LmcWB7q5smAlIKnTy_63iTSc7/s320/image027-759977.png" id="BLOGGER_PHOTO_ID_6134809144093326130" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it is a time to come back and implement View. In this implementation I added a few controls to manipulate with configuration variables, image of rendered object (2D/3D) and a few buttons to kick off rendering and invoke Microsoft Dynamics AX 2012 Product Configurator<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Index.cshtml</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">@{</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ViewBag.Title = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Index"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> a = Request.Params[</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"A"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> b = Request.Params[</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"B"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> output = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> service = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> AlexConfigurator.ServiceReference1.</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexConfiguratorServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> service.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"contoso"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> service.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Admin"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> service.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"pass@word1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> AlexConfigurator.ServiceReference1.</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"usmf"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ret = service.solve(context, a.AsInt(), b.AsInt());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (ret == </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">true</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> output = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Feasible"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> output = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Infeasible"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ViewBag.Title = output;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/javascript"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Render() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textA = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'TextA'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textB = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'TextB'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> img = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'Img'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textAreaOutput = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'TextAreaOutput'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (textA.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> || textB.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> || (textA.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"0"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> && textB.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"0"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> img.setAttribute(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"src"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/Images/NANB.png"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textAreaOutput.textContent = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"NANB"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (textA.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"0"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> && textB.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> img.setAttribute(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"src"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/Images/NAB.png"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textAreaOutput.textContent = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"NAB"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (textA.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> && textB.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"0"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> img.setAttribute(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"src"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/Images/ANB.png"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textAreaOutput.textContent = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"ANB"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (textA.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> && textB.value == </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> img.setAttribute(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"src"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/Images/AB.png"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textAreaOutput.textContent = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"AB"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Configure() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textA = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'TextA'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> textB = document.getElementById(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">'TextB'</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> url = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Index?"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"A="</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + textA.value.toString() + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"&"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"B="</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + textB.value.toString();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> url;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h2</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexConfigurator</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h2</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">A:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">input</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="TextA"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">@</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">a</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">B:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">input</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="TextB"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">@</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">b</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">img</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Img"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="~/Images/NANB.png"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">alt</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">input</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ButtonRender"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="button"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Render"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">onclick</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Render()</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">&nbsp;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">input</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ButtonConfigure"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="button"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Configure"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">onclick</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">document.location.href(Configure())</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">br</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">textarea</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="TextAreaOutput"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rows</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">cols</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="20"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">@</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">output</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">textarea</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I use URL parameters to pass A and B values to the web site. As I parse out the values of A and B I invoke Microsoft Dynamics AX 2012 Product Configurator business logic<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review how I implemented Microsoft Dynamics AX 2012 Custom Web Service to wrap up Product Configurator business logic and make it available for external consumption<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For this walkthrough I used instance of Microsoft Dynamics AX 2012 R3 deployed in the Cloud using LCS<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I enabled HTTP/HTTPS endpoint on the VM in order access the Web Service <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Azure Portal</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbXqqgG21nA3t-qCe1ngc7jcDM_uPWAFB7qj1RL3x7Hx_2ZGkXvD-_t4hXZsvyKP1n32dWkJ2ZduJv9_Z5bvvuWgAacYXz8Q1lFW7bvF4wL4SzBjrVRXMVnplmKuN-v5VtuRy5KtUPiomB/s1600/image028-762944.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbXqqgG21nA3t-qCe1ngc7jcDM_uPWAFB7qj1RL3x7Hx_2ZGkXvD-_t4hXZsvyKP1n32dWkJ2ZduJv9_Z5bvvuWgAacYXz8Q1lFW7bvF4wL4SzBjrVRXMVnplmKuN-v5VtuRy5KtUPiomB/s320/image028-762944.jpg" id="BLOGGER_PHOTO_ID_6134809157746677954" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I implemented Data Contract and Service Contract for the new Web Service<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Contract</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> AlexConfiguratorContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> a;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> b;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> A(<b><span style="color: darkblue;">int</span></b> _a = a)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> a = _a;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> a;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> B(<b><span style="color: darkblue;">int</span></b> _b = b)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> b = _b;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> b;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Service Contract</i></div>
<div class="MsoNormal">
<i> <o:p></o:p></i></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">class</span></b><span style="font-family: Consolas; font-size: 8pt;"> AlexConfiguratorService<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> solve(<b><span style="color: darkblue;">int</span></b> _a, <b><span style="color: darkblue;">int</span></b> _b)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> InteropPermission interopPermission;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> Microsoft.Dynamics.Ax.Frameworks.Controls.ProductConfiguration.ProductConfigurationServer serverSolver;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> modelXml = <span style="color: darkred;">"<Model name=\"Alex\"><Component name=\"Alex\" componentId=\"52565427706\" instanceId=\"1\"><Attribute name=\"A\" displayName=\"A\" uniqueId=\"11290926482\" instanceId=\"2\" type=\"integer\"><IntegerDomain from=\"0\" to=\"1\" /></Attribute><Attribute name=\"B\" displayName=\"B\" uniqueId=\"11290926483\" instanceId=\"3\" type=\"integer\"><IntegerDomain from=\"0\" to=\"1\" /></Attribute><Constraint constraintId=\"AB\" uniqueId=\"11290924754\" constraintText=\"Implies[ A == 1, B == 0]\" /></Component></Model>"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> isFinished;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> boundValues;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> userSelectedValues = <b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkred;">"<Session><Component name=\"Alex\" uniqueId=\"\"><Attribute name=\"A\" uniqueId=\"11290926482\" isUserSelected=\"1\" type=\"integer\" value=\"%1\" /><Attribute name=\"B\" uniqueId=\"11290926483\" isUserSelected=\"1\" type=\"integer\" value=\"%2\" /></Component></Session>"</span>, _a, _b);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PCExecuteVariantConfiguration executeVariantConfiguration = PCExecuteVariantConfiguration::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PCConfigurationState configurationState = PCConfigurationState::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> ret = <b><span style="color: darkblue;">false</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> interopPermission = <b><span style="color: darkblue;">new</span></b> InteropPermission(InteropKind::ClrInterop);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> interopPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <i><span style="color: green;">//bp deviation documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> serverSolver = <b><span style="color: darkblue;">new</span></b> Microsoft.Dynamics.Ax.Frameworks.Controls.ProductConfiguration.ProductConfigurationServer(modelXml);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> serverSolver.set_UserSelectedValues(userSelectedValues);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> info(userSelectedValues);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> isFinished = serverSolver.Solve();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (isFinished)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> boundValues = serverSolver.get_BoundValues();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ret = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ret = <b><span style="color: darkblue;">false</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> ret;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that in order to avoid "<em><span lang="EN" style="font-family: "Calibri",sans-serif;">CIL generation: Error: .NET Cast Type Name not found</span></em>" error associated with interopPermission object you have to copy Microsoft.Dynamics.AX.Xpp.Support.dll from Server Bin folder into Client Bin folder and then regenerate Full CIL<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I created Web Service pointing to Service Contract class created earlier<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMa0kmJX9_EilduGF9EL63inHR4hUfBMrJUUx6N7ONnu9h4m78uCwk6pcDVV8z4I9UYTrxfuoGLpB4RJ6DJfuALE5k-3JNHz4PJ4Je-fcxLXttRAFlZR8tGN9nO8ZwGNuTOOphH3wzxCDs/s1600/image029-766657.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMa0kmJX9_EilduGF9EL63inHR4hUfBMrJUUx6N7ONnu9h4m78uCwk6pcDVV8z4I9UYTrxfuoGLpB4RJ6DJfuALE5k-3JNHz4PJ4Je-fcxLXttRAFlZR8tGN9nO8ZwGNuTOOphH3wzxCDs/s320/image029-766657.png" id="BLOGGER_PHOTO_ID_6134809172197629666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then I created appropriate Inbound port <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound ports<o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbpEBuOg-mxDoUIcxt-rr-ZJ0yGiKVqLb9wnaZLGbnhS2QKoqyN1MOPIf5xPBfgkYkqchflt12zTKJ80lcopuapTQU_cpevIKWuKYG7zzHOehhpBm84MqzryCWDZ-iZM5HbFUgx_NfPv3/s1600/image030-770500.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbpEBuOg-mxDoUIcxt-rr-ZJ0yGiKVqLb9wnaZLGbnhS2QKoqyN1MOPIf5xPBfgkYkqchflt12zTKJ80lcopuapTQU_cpevIKWuKYG7zzHOehhpBm84MqzryCWDZ-iZM5HbFUgx_NfPv3/s320/image030-770500.jpg" id="BLOGGER_PHOTO_ID_6134809190346549106" /></a><o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select service operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVtkGljUaK8FZcVQ1dEGGbD3aU27AobbiMRxKXSXlzMOUyxpi8TjS102w27fk7GTZpX49TTUtajh9_E8GOvFmObxbKu5gbNspYY6R0Gk0alTMkVK_oJclyKGapGKrlNiPmuTq970uEbvp/s1600/image031-774465.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsVtkGljUaK8FZcVQ1dEGGbD3aU27AobbiMRxKXSXlzMOUyxpi8TjS102w27fk7GTZpX49TTUtajh9_E8GOvFmObxbKu5gbNspYY6R0Gk0alTMkVK_oJclyKGapGKrlNiPmuTq970uEbvp/s320/image031-774465.png" id="BLOGGER_PHOTO_ID_6134809202501954466" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After deploying Service you will get WSDL: <a href="http://ax2012r3-demo-xyz.cloudapp.net/MicrosoftDynamicsAXAif60/AlexConfigurator/xppservice.svc">http://ax2012r3-demo-XYZ.cloudapp.net/MicrosoftDynamicsAXAif60/AlexConfigurator/xppservice.svc</a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>RoutingService Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUhWSA_T1WY8KZDLzjtJcBLGhr8R8bj1fA8ihm3WOmQJ-1DEwxyIB1Gi8X4x_R_0KWiBTx0jrVHk28c_6mOwlPG_5EVBnHEFw1sppxTRo41WvUqwUhSOuvRR1hTrQWRGrA4ezVp0qtQDL/s1600/image032-778355.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUhWSA_T1WY8KZDLzjtJcBLGhr8R8bj1fA8ihm3WOmQJ-1DEwxyIB1Gi8X4x_R_0KWiBTx0jrVHk28c_6mOwlPG_5EVBnHEFw1sppxTRo41WvUqwUhSOuvRR1hTrQWRGrA4ezVp0qtQDL/s320/image032-778355.jpg" id="BLOGGER_PHOTO_ID_6134809222584712034" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This WSDL you can use to add to Service Reference to your ASP.NET project in order to consume SOAP service exposed from Microsoft Dynamics AX 2012<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vJagSJofKRCkX3FG95oZGHUq4SvixwR7xwdX1f-XN2JFXPnTaZO5KjLjNywrzMcRzDE5TGZbTDPP-rVKFHkaZFLZv6JVq07l2ODb1WRGxW2aTd6BZBJZuZkguc02vJOJwjoMwmjntIEw/s1600/image033-782010.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vJagSJofKRCkX3FG95oZGHUq4SvixwR7xwdX1f-XN2JFXPnTaZO5KjLjNywrzMcRzDE5TGZbTDPP-rVKFHkaZFLZv6JVq07l2ODb1WRGxW2aTd6BZBJZuZkguc02vJOJwjoMwmjntIEw/s320/image033-782010.png" id="BLOGGER_PHOTO_ID_6134809235523879266" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in order to avoid errors when adding Service reference to the project I copied the entire project to Microsoft Dynamics AX 2012 Demo VM, added Service reference there (on the same machine where Web Service was exposed from) and then copied the entire project back to my local machine to continue working on it. The only thing which was left to do was to substitute "ax2012r2a.contoso.com" to "XYZ.cloudapp.net" in Web.config file for Web Service to be called properly from external application<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
It is important to mention that some classes being called in PCExecuteVariantConfiguration::construct() are set up to be executed on the Client. In fact because CIL Web Service code is executed on the Server you will face with runtime exception. In order to avoid runtime exception as a workaround I commented out a few lines of code related to UI processing<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
\Classes\PCExecuteVariantConfiguration\new</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">protected</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> <b><span style="color: darkblue;">new</span></b>()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> executeSupplyLocation = PCExecuteSupplyLocation::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> sourceDocumentLineUtility = PCSourceDocumentLineUtility::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> validationNumberSequence = PCValidationNumberSequence::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> backEndConfiguration = PCBackEndConfiguration::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> xmlParseConfigurationInstance = PCXmlParseConfigurationInstance::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> configurationProductVariantFactory = PCConfigurationProductVariantFactory::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> configurationProductVariantDelete = PCConfigurationProductVariantDelete::construct();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> releaseLegalEntities = <b><span style="color: darkblue;">new</span></b> List(Types::Record);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <i><span style="background: yellow; color: green; mso-highlight: yellow;">//alex:>></span></i><span style="background: yellow; mso-highlight: yellow;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; font-family: Consolas; font-size: 8.0pt; mso-highlight: yellow;"> <i><span style="color: green;">//runtimeConfiguratorFormFactory = PCRuntimeConfiguratorFormFactory::construct();</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; font-family: Consolas; font-size: 8.0pt; mso-highlight: yellow;"> <i><span style="color: green;">//priceBreakdownUpdater = PCRuntimePriceBreakdownUpdater::construct();</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; font-family: Consolas; font-size: 8.0pt; mso-highlight: yellow;"> <i><span style="color: green;">//alex:<<</span></i></span><span style="font-family: Consolas; font-size: 8pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p></o:p><br /></div>
<div class="MsoNormal">
The following classes have RunOn property set to "Client": PCRuntimeConfiguratorFormFactory and PCRuntimePriceBreakdownUpdater. After introducing any changes you have to regenerate CIL (I regenerated Incremental CIL in this case)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once Web Service is ready to go and my custom web-based configurator code is code I can deploy web site to Azure by clicking Project > Publish in Solution Explorer. Then I can review newly deployed web site on Azure Portal <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Azure Portal</i></div>
<div class="MsoNormal">
<i> <o:p></o:p></i></div>
<div class="MsoNormal">
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdH26mFEsJcyCeceilVd4YK6eyrWc3JqpfL6p5uhoJIt6Wf28N0_K3rTSu0sm-Iz3uTuBuXQATMpcURgUjcVOtmVWLRkryuB1TSuLPyayMre_ch_vP1Mv0_WOrK4HUBXWnHabuUIRPfXru/s1600/image034-785798.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdH26mFEsJcyCeceilVd4YK6eyrWc3JqpfL6p5uhoJIt6Wf28N0_K3rTSu0sm-Iz3uTuBuXQATMpcURgUjcVOtmVWLRkryuB1TSuLPyayMre_ch_vP1Mv0_WOrK4HUBXWnHabuUIRPfXru/s320/image034-785798.jpg" id="BLOGGER_PHOTO_ID_6134809253576377586" /></a></span><span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point I can launch my custom configuration experience at <a href="http://alexconfigurator.azurewebsites.net/AB/Index">http://alexconfigurator.azurewebsites.net/AB/Index</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Because I allowed passing URL parameters for A and B variables values I can now test 2 scenarios for having feasible solution and infeasible solution. Please note that I leverage Microsoft Dynamics AX 2012 Product Configurator engine on the backend and consume results after solving the model in my custom web site <o:p> </o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infeasible solution<o:p></o:p></i></div>
<div class="MsoNormal">
<span class="MsoHyperlink"></span> </div>
<div class="MsoNormal">
<span class="MsoHyperlink"><a href="http://alexconfigurator.azurewebsites.net/AB/Index?A=1&B=1">http://alexconfigurator.azurewebsites.net/AB/Index?A=1&B=1</a><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv7gNVXvK3I339hqhsXRlJgF-gfNOR-DFAsP_PA7YRsjfyVaiR0kkISWPKEinj8jQI-a7MhqK2RmHiSHtYa-0yb_1W0fspHl-NcHpLemkiMCprP4Ux_EaqoT7XoLDdzWpTo_ctUxTLArd7/s1600/image035-788872.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv7gNVXvK3I339hqhsXRlJgF-gfNOR-DFAsP_PA7YRsjfyVaiR0kkISWPKEinj8jQI-a7MhqK2RmHiSHtYa-0yb_1W0fspHl-NcHpLemkiMCprP4Ux_EaqoT7XoLDdzWpTo_ctUxTLArd7/s320/image035-788872.png" id="BLOGGER_PHOTO_ID_6134809269654580258" /></a></span></div>
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><o:p></o:p></span><br />
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Feasible<o:p></o:p></i></div>
<div class="MsoNormal">
<span class="MsoHyperlink"></span> </div>
<div class="MsoNormal">
<span class="MsoHyperlink"><a href="http://alexconfigurator.azurewebsites.net/AB/Index?A=1&B=0">http://alexconfigurator.azurewebsites.net/AB/Index?A=1&B=0</a><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbKNF_ufuVulkdqEVV_AwDrWryL_GZxyWuCy6tzBTjaiVayvvBreqCVlgQj1ggxMcLI9GShmKCF4L7OVazH6ry8jt-f9w2ogCR4MIQDbMhYWba2OAYYesa-YI_JG-hvs3EqtVvJkeh-3nS/s1600/image036-793479.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbKNF_ufuVulkdqEVV_AwDrWryL_GZxyWuCy6tzBTjaiVayvvBreqCVlgQj1ggxMcLI9GShmKCF4L7OVazH6ry8jt-f9w2ogCR4MIQDbMhYWba2OAYYesa-YI_JG-hvs3EqtVvJkeh-3nS/s320/image036-793479.png" id="BLOGGER_PHOTO_ID_6134809286703891842" /></a></span></div>
<span style="font-family: "Lucida Console"; font-size: 8.5pt; line-height: 106%;"><o:p></o:p></span><br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b></b> </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Summary</b>: In this document I explained how invoke Microsoft Dynamics AX 2012 Product Configurator business logic from external application. This scenario is useful in the case you have your own custom configurator front-end you would like to keep in place for number of reasons (as a part of migration strategy or to support specific business workloads), but still be able to leverage Microsoft Dynamics AX 2012 Product Configurator back-end. In particular we explored how to solve the model with selected variables values. Similarly you can leverage Product Configurator X++ interface to on demand calculate Sales Price, calculate Delivery Date to be displayed in custom configurator front-end, "Fix" selected variables values in process of configuration, and still have all business data and product models in Microsoft Dynamics AX 2012. Please consider reviewing then following methods in ProductConfigurationServer class (Microsoft.Dynamics.Ax.Frameworks.Controls.ProductConfiguration.ProductConfigurationServer)<span style="font-family: Consolas; font-size: 8pt;"> </span>for more details: solve, fixValue and navigateToComponent. <span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b>Author</b>: <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<br />
<br />
<strong>Tags:</strong> Product Configurator, PC, Custom Web Services, Data Contract, Microsoft Dynamics AX 2012, Service Contract, X++<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com0tag:blogger.com,1999:blog-4565800100410709901.post-65751703736547854772014-11-24T00:45:00.000-08:002014-11-24T01:05:25.183-08:00Microsoft Dynamics AX 2012 Configure Mobile Apps Using Self-Signed Certificate<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 Configure Mobile Apps Using Self-Signed Certificate<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to illustrate how to configure Microsoft Dynamics AX 2012 Mobile Apps using Self-Signed certificate.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> Microsoft Dynamics AX 2012 Mobile Apps built by Microsoft and partners enable a variety of scenarios on various devices. The recommended architecture includes using Windows Azure Service Bus to relay messages between devices and Microsoft Dynamics AX 2012 for secure communication. Typically an appropriate SSL certificate is issued for the name of the machine where Microsoft Dynamics AX 2012 is installed and this SSL certificate can be obtained from one of certification authorities. However for the purposes of POC, demonstration or development/testing you may want to use a Self-Signed certificate which you can issued by yourself at no cost as opposed to a real SSL certificate issued by certification authority. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Microsoft Dynamics AX 2012 instance can be quickly provisioned in the Cloud using Microsoft Dynamics AX Lifecycle Services. In order to issue Self-Signed certificate for Mobile Apps we can use Contoso Certification authority installed directly on Microsoft Dynamics AX 2012 Demo VM. Then we can use this Self-Signed certificate to connect Mobile Apps to Microsoft Dynamics AX 2012 instance on Demo VM. Please find more info about how to easily set up Azure Demo environment for Mobile Apps here: <a href="http://blogs.msdn.com/b/axcompapp/archive/2014/09/04/easily-set-up-and-azure-demo-environment-for-mobile-apps.aspx"> http://blogs.msdn.com/b/axcompapp/archive/2014/09/04/easily-set-up-and-azure-demo-environment-for-mobile-apps.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We’ll start with provisioning Microsoft Dynamics AX 2012 instance in the Cloud using Microsoft Dynamics AX Lifecycle Services. Please learn more about Microsoft Dynamics AX Lifecycle Services here: <a href="http://technet.microsoft.com/en-us/library/dn268616.aspx">http://technet.microsoft.com/en-us/library/dn268616.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that before you can provision Microsoft Dynamics AX 2012 instance in the Cloud using Microsoft Dynamics AX Lifecycle Services you will have to link your Windows Azure Subscription to LCS account in Microsoft Azure Settings (please refer to the link above for more details)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For those of you who has MSDN subscription but not yet using Microsoft Cloud I’d encourage you to leverage MSDN Windows Azure credit to check out all awesome things Microsoft Cloud has to offer. In order to activate your MSDN Windows Azure account please visit: <a href="http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/"> http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Here is how one can activate MSDN Subscription for Azure at <a href="http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/"> http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/</a> <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<i><o:p> </o:p></i></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<i>Azure benefits for MSDN subscribers<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaPzoeJYSvAjzreW7V2J6jQY6K7kvrZST-d_LDurE3LYfmqihct_qW9ZrRTzpQRdr3WlRdc0xEoXW1SnD6lOzbthGTA5ox2KSBd5YQT1ADgSxd_YIOHcH0hdLY0iyiRCsneN60et7tfjo7/s1600/image001-774909.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaPzoeJYSvAjzreW7V2J6jQY6K7kvrZST-d_LDurE3LYfmqihct_qW9ZrRTzpQRdr3WlRdc0xEoXW1SnD6lOzbthGTA5ox2KSBd5YQT1ADgSxd_YIOHcH0hdLY0iyiRCsneN60et7tfjo7/s320/image001-774909.png" id="BLOGGER_PHOTO_ID_6085190308246326146" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please press ACTIVATE button and follow the steps<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKpeL_VhyphenhyphenXNcFn6nDSZroaqsLm3XJEZgt0v1ObTrBpyJZH9t0RwZ3EqXzqDnAq4npK_Q4vpVf6DTH4u7BVVF0lxb8VSjHr_MYnc622j6un3lhvIT_0olyqpVVexuYLe4Ecia5pJJ4NIMD/s1600/image002-779134.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrKpeL_VhyphenhyphenXNcFn6nDSZroaqsLm3XJEZgt0v1ObTrBpyJZH9t0RwZ3EqXzqDnAq4npK_Q4vpVf6DTH4u7BVVF0lxb8VSjHr_MYnc622j6un3lhvIT_0olyqpVVexuYLe4Ecia5pJJ4NIMD/s320/image002-779134.png" id="BLOGGER_PHOTO_ID_6085190322927339666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that no Credit card info is required because the credit is included as a part of your MSDN Subscription<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEXv3QC6FXOEl1b4vi-EqzuaKk71gRqNe7T9SubPL3g81MShQpT_r-JiCQckg11gBumNHGudNHmTKx_HqhSBCtZLBQ86p7jSgXxdIpgUehtONy3xJVQYUj-NtdYmsURDbWWDIOk1tkPqLh/s1600/image003-781963.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEXv3QC6FXOEl1b4vi-EqzuaKk71gRqNe7T9SubPL3g81MShQpT_r-JiCQckg11gBumNHGudNHmTKx_HqhSBCtZLBQ86p7jSgXxdIpgUehtONy3xJVQYUj-NtdYmsURDbWWDIOk1tkPqLh/s320/image003-781963.png" id="BLOGGER_PHOTO_ID_6085190335139497666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result you MSDN Windows Azure subscription will be activated<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDRndNvCTz5AzmYGH16X7sND0aGfsBkKugtXXoCQly8tIFRGd0D5Hljg7beL1M78P1OfWoaNhe7e2sFR1tl7XLM9HDaRi5bvjm2W-KWjrQvj_nU7IY3Gk2nihl09qpEMlWq0ASo0XOUs7o/s1600/image004-784078.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDRndNvCTz5AzmYGH16X7sND0aGfsBkKugtXXoCQly8tIFRGd0D5Hljg7beL1M78P1OfWoaNhe7e2sFR1tl7XLM9HDaRi5bvjm2W-KWjrQvj_nU7IY3Gk2nihl09qpEMlWq0ASo0XOUs7o/s320/image004-784078.png" id="BLOGGER_PHOTO_ID_6085190345871078754" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After you MSDN Windows Azure subscription is activated you can leverage your credit<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZJm3jxyUwmjfSCOt9QVBlvebaObyqQqQ61xl4BhSKnRz3I-LbVH8gz69DzcMvZTVQrvtlqTIIUOebzBzj9mYSvps-10pIbf8WMLR2GW3T4UzeZZy3nfOirBwYZGrUqoDq4KterBKRWXtJ/s1600/image005-786612.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZJm3jxyUwmjfSCOt9QVBlvebaObyqQqQ61xl4BhSKnRz3I-LbVH8gz69DzcMvZTVQrvtlqTIIUOebzBzj9mYSvps-10pIbf8WMLR2GW3T4UzeZZy3nfOirBwYZGrUqoDq4KterBKRWXtJ/s320/image005-786612.jpg" id="BLOGGER_PHOTO_ID_6085190357705821490" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please complete these steps to set up your MSDN Subscription for Azure using your Microsoft account (former Live ID)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can also leverage Windows Azure Free Trial (<a href="http://azure.microsoft.com/en-us/pricing/free-trial/">http://azure.microsoft.com/en-us/pricing/free-trial/</a>), in fact as opposed to free trial which expires when credit is used or in a month your MSDN Subscription for Azure credit will be renewed every month automatically. More info on MSDN Subscription for Azure can be found here: <a href="http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/"> http://azure.microsoft.com/en-us/pricing/member-offers/msdn-benefits-details/</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
All right! So now we should have Windows Azure subscription which is linked to our LCS account and we can provision an instance of Microsoft Dynamics AX 2012 in the Cloud<o:p></o:p></div>
<div class="MsoNormal">
<br /> <i>LCS > Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf4BjP2AlJzuwWbTrm7Q7CG6_W7cL7MjApEX8xO8Dus7EhyRh4CStRVbF3n2DMuJvnnXg731GOVzKO9VODzdykyJy0S0nQbRZBOox-pO_4oRCNH7m0vZhW0hZN-igY07r282u1ogzaYlGn/s1600/image006-788959.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf4BjP2AlJzuwWbTrm7Q7CG6_W7cL7MjApEX8xO8Dus7EhyRh4CStRVbF3n2DMuJvnnXg731GOVzKO9VODzdykyJy0S0nQbRZBOox-pO_4oRCNH7m0vZhW0hZN-igY07r282u1ogzaYlGn/s320/image006-788959.jpg" id="BLOGGER_PHOTO_ID_6085190366008520850" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>LCS > Cloud hosted deployments<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghYdo8tU6JukhgpNtUJPbXs0_dAjLuB32DFU94LhN69iKB45j8rfo41It7cdxtlKmg8F5_P_cxHjBOReOohEvROkF8ty5BkP3XzVZQ69Z87c6zsDUJgGqg7bAotEEXAha28heXaLSHM6Hb/s1600/image007-792781.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghYdo8tU6JukhgpNtUJPbXs0_dAjLuB32DFU94LhN69iKB45j8rfo41It7cdxtlKmg8F5_P_cxHjBOReOohEvROkF8ty5BkP3XzVZQ69Z87c6zsDUJgGqg7bAotEEXAha28heXaLSHM6Hb/s320/image007-792781.jpg" id="BLOGGER_PHOTO_ID_6085190380750123778" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
By clicking “+” we can select Deployment topology. For the sake of this demo I’ll select Demo topology<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Deploy environment<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew6qLmtSqqZ_NdLg_fBWH8NsqmYt8kQk8GNeSN40Y7dVhplLtJMX2cmmG9aFlbqr2ywVk0dXHgejABGtcBPc18dIS0ItCiO6k4YsrvyajmabghoTgexvSlxKeTbpiGO1FYEdKwZUZTRN6/s1600/image008-794884.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgew6qLmtSqqZ_NdLg_fBWH8NsqmYt8kQk8GNeSN40Y7dVhplLtJMX2cmmG9aFlbqr2ywVk0dXHgejABGtcBPc18dIS0ItCiO6k4YsrvyajmabghoTgexvSlxKeTbpiGO1FYEdKwZUZTRN6/s320/image008-794884.jpg" id="BLOGGER_PHOTO_ID_6085190391734141682" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we’ll give it a name<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Deploy environment <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBtCwL4-Xkr931TYzJXxa5aRWWpUnHRwdnlQEzSJgwQjOYCoF8XzKoH88D7vKhjMKTKBmabl6ruvSqSE6mwFPCOYnlRfAnllWHZ6pha_Kovh3gLoQFCY1cMIUQEBAceKCFpBXapm5VRl3c/s1600/image009-798031.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBtCwL4-Xkr931TYzJXxa5aRWWpUnHRwdnlQEzSJgwQjOYCoF8XzKoH88D7vKhjMKTKBmabl6ruvSqSE6mwFPCOYnlRfAnllWHZ6pha_Kovh3gLoQFCY1cMIUQEBAceKCFpBXapm5VRl3c/s320/image009-798031.jpg" id="BLOGGER_PHOTO_ID_6085190406053642050" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And give it some time before we will have a brand new Microsoft Dynamics AX 2012 environment deployed in the Cloud<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Cloud hosted environments <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLb1MxfVy5l3v9Ml4u25aEi_S59qT_4q_fuDTm_vcymx7wUm1PnJNoCkuRQKBf880qzuZ5uVMAVFIz11UwcJ71zlklMQ6cgyWA-JRYY69JG4Y53T1nZBrD8C7WxUnHeogPWvkgmQiMzPpc/s1600/image010-701460.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLb1MxfVy5l3v9Ml4u25aEi_S59qT_4q_fuDTm_vcymx7wUm1PnJNoCkuRQKBf880qzuZ5uVMAVFIz11UwcJ71zlklMQ6cgyWA-JRYY69JG4Y53T1nZBrD8C7WxUnHeogPWvkgmQiMzPpc/s320/image010-701460.jpg" id="BLOGGER_PHOTO_ID_6085190418663015442" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can also log in into Windows Azure portal and review the details there. For example, this is how my newly deployed Microsoft Dynamics AX 2012 VM looks like in Windows Azure portal <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual Machines (VMs)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimcYQoEBJrOQCjkuZ9A2nuKL_1d6YHkcGn0DVru59k7Rfhh7FhGDJEUKOuTXEoTeo4p-J8rE_BaKY6A_WkTsce1CVt2TcW_hWVtasTZhsrMXetEvMDO7TCUk_sGegfATmDmQFBx7OllG86/s1600/image011-706139.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimcYQoEBJrOQCjkuZ9A2nuKL_1d6YHkcGn0DVru59k7Rfhh7FhGDJEUKOuTXEoTeo4p-J8rE_BaKY6A_WkTsce1CVt2TcW_hWVtasTZhsrMXetEvMDO7TCUk_sGegfATmDmQFBx7OllG86/s320/image011-706139.jpg" id="BLOGGER_PHOTO_ID_6085190440316861330" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that DNS name of my machine will look similar to this: <span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt; line-height: 106%;"> ax2012r3-demo-alexanimobile-….<b>cloudapp.net</b></span><b><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point you can also access this VM through RDP<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>RDP<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhff8vhMRO89g9UA1bFA-L5ceyfhhri_zBWS6QG4Lh2t0qmNMm4rJxNG4q4jYFtEVZEdgtgSkSEwJKBzxYWibnJT8IRMsGOidpB04e8zrQx7GH9zx4iLpTFLCrbHLSO8P7bhwn7RhT5FoOv/s1600/image012-708530.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhff8vhMRO89g9UA1bFA-L5ceyfhhri_zBWS6QG4Lh2t0qmNMm4rJxNG4q4jYFtEVZEdgtgSkSEwJKBzxYWibnJT8IRMsGOidpB04e8zrQx7GH9zx4iLpTFLCrbHLSO8P7bhwn7RhT5FoOv/s320/image012-708530.png" id="BLOGGER_PHOTO_ID_6085190447350097586" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now in order to enable a secure communication with this VM over HTTPS protocol I’ll also enable HTTPS port on the VM<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add endpoint – Add a stand-alone endpoint<o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivcXP9AlKcUURU4I__4OCNB4FE4gsGK3Xar-NPuibYEyCgN-47UrLzZgA31ZWoCGQXgnphwZKTyOnwLXIGY3SM8tx7F4UZ0al2l_qsmzZ7CaSHpChCDoUbLttPJIOXIskYsHN14xZWn17y/s1600/image013-712147.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivcXP9AlKcUURU4I__4OCNB4FE4gsGK3Xar-NPuibYEyCgN-47UrLzZgA31ZWoCGQXgnphwZKTyOnwLXIGY3SM8tx7F4UZ0al2l_qsmzZ7CaSHpChCDoUbLttPJIOXIskYsHN14xZWn17y/s320/image013-712147.jpg" id="BLOGGER_PHOTO_ID_6085190464707131842" /></a><o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add endpoint – HTTPS<o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_b2Dfumo3hMayl3YS6Q5qbwLq1uKcW7RSbbbLvAiEH3dFfentrNwoMWLq9g5j-GjOXXt0MQOgSWlbMcUhIl5ZEY235xhYEtMgqveeJiqCPElY2Sz0mjA6HW7ULxmBQtf8qNxfTzIPdwbU/s1600/image014-715855.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_b2Dfumo3hMayl3YS6Q5qbwLq1uKcW7RSbbbLvAiEH3dFfentrNwoMWLq9g5j-GjOXXt0MQOgSWlbMcUhIl5ZEY235xhYEtMgqveeJiqCPElY2Sz0mjA6HW7ULxmBQtf8qNxfTzIPdwbU/s320/image014-715855.jpg" id="BLOGGER_PHOTO_ID_6085190480755106226" /></a><o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Endpoints<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6dA6ty-pm_GM4bFusEjneYYHvBS91ELRAa9vcKiMTZqNInPdlJCw4ZGpoPNTtS5b602W1NGKke5UkUW5xXBC2YwgUWRSDkc87Xh4BbRt6BaR_3ugm8WSB8TceX8myhSeaRU7pA0ojJqy4/s1600/image015-720705.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6dA6ty-pm_GM4bFusEjneYYHvBS91ELRAa9vcKiMTZqNInPdlJCw4ZGpoPNTtS5b602W1NGKke5UkUW5xXBC2YwgUWRSDkc87Xh4BbRt6BaR_3ugm8WSB8TceX8myhSeaRU7pA0ojJqy4/s320/image015-720705.jpg" id="BLOGGER_PHOTO_ID_6085190503261944738" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next we’ll create Windows Azure Service Bus<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SB – Create a namespace<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT4E6hkdDMofrVM3r-PiW1XqVwndVNT0BW_gJ98ECuzuDCXUTaOHQqOVIB5j42ALyQVZnwe7lU9_5IbjMW-edcSrgCw2YWytfTghmjaV2fS4cLk8yUg6wmV0Z3DglqBDdr6N8ziflyXR26/s1600/image016-723236.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT4E6hkdDMofrVM3r-PiW1XqVwndVNT0BW_gJ98ECuzuDCXUTaOHQqOVIB5j42ALyQVZnwe7lU9_5IbjMW-edcSrgCw2YWytfTghmjaV2fS4cLk8yUg6wmV0Z3DglqBDdr6N8ziflyXR26/s320/image016-723236.png" id="BLOGGER_PHOTO_ID_6085190512236871186" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Bus<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiQyPRs7V8ZngSmRsi9D8VcLgdyEDjz-MVEYPjD9tvRKwUMe-LXEYGHbXJXWrjNOwJYr2bwVePM661iJyqmFZe4uNrt3pQlM7LRlkL1MNARH9HckWinPS4T5T26fHwrr5yvVWzNUxX1fo9/s1600/image017-725570.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiQyPRs7V8ZngSmRsi9D8VcLgdyEDjz-MVEYPjD9tvRKwUMe-LXEYGHbXJXWrjNOwJYr2bwVePM661iJyqmFZe4uNrt3pQlM7LRlkL1MNARH9HckWinPS4T5T26fHwrr5yvVWzNUxX1fo9/s320/image017-725570.jpg" id="BLOGGER_PHOTO_ID_6085190518087734306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point nothing will show up in the list of Relays<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SB – Relays <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMwA4pRhxHhHtyI30k8Jc7-wy2l1yxZid3jh14-k3Y4SLIe0EfQfT8K8juNuoFOHE7IX4NtPGXYtv-Myz_keRPSa5XkVwM7J9Vps4fDdLrhzqClgOMKeQm7UCeXqqD3SQaqTzbxpwvUiI5/s1600/image018-729398.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMwA4pRhxHhHtyI30k8Jc7-wy2l1yxZid3jh14-k3Y4SLIe0EfQfT8K8juNuoFOHE7IX4NtPGXYtv-Myz_keRPSa5XkVwM7J9Vps4fDdLrhzqClgOMKeQm7UCeXqqD3SQaqTzbxpwvUiI5/s320/image018-729398.jpg" id="BLOGGER_PHOTO_ID_6085190542453532994" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now you can also review Service Bus Connection Information which will be used when configuring Microsoft Dynamics AX Connector for Mobile Applications<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SB – Access connection information<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ6dyCIu9RK38a9QYK7pmSzMj65o_spghc6IRaDqQcaMnNpCnv67c2_6X_57DM2suDroNao1fd58M0MQiZ8pax0xa6z1M4OdbuKwYIhwR829nMndF4PhDXfNrrGB5yelhfK4ITBIf177Fz/s1600/image019-732835.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ6dyCIu9RK38a9QYK7pmSzMj65o_spghc6IRaDqQcaMnNpCnv67c2_6X_57DM2suDroNao1fd58M0MQiZ8pax0xa6z1M4OdbuKwYIhwR829nMndF4PhDXfNrrGB5yelhfK4ITBIf177Fz/s320/image019-732835.jpg" id="BLOGGER_PHOTO_ID_6085190555121710162" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We can make a note of Default issuer and Default key at this point<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As an example in this walkthrough I’ll configure Expenses App, in fact on the Demo VM you will have more apps installed. For example, Approvals App, Timesheets App, etc. <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Store Apps<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Xbq05lkD2nDSIZiEbATTGjQB3_ksoMTqErBpEDnv7J_Ph9X_eIghMtrTyKMRNC2Y7eGm3ZxqxU5f1LG7U3DywEqv5_nLDUBq8akVcp1PigkZgFT7qBVHHDWHEXRH9x-p2wT4a56twQZF/s1600/image020-737069.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9Xbq05lkD2nDSIZiEbATTGjQB3_ksoMTqErBpEDnv7J_Ph9X_eIghMtrTyKMRNC2Y7eGm3ZxqxU5f1LG7U3DywEqv5_nLDUBq8akVcp1PigkZgFT7qBVHHDWHEXRH9x-p2wT4a56twQZF/s320/image020-737069.png" id="BLOGGER_PHOTO_ID_6085190571141656386" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I’ll be using Contoso/Yoichiroo as App user solely because User Yoichiro Okada has appropriate security roles assigned to him in USSI company and there’s appropriate demo data for me to avoid any additional data setup in relation to Expenses App. Please also note that all the configuration work on the Demo VM I’ll be doing as Contoso/Administrator <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can start working on the most interesting part - Certificate<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First I’ll double check that Active Directory Certificate Services are installed on the Demo VM which is the case<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Active Directory Certificate Services<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgVHlJmG5maimMST0GB99Cguo86v_fl-5wCqZigkryFX8RAVM2Ln8DTVVfxJKXvLZhRMvj4z5gkqORce_7jCtq41hoGAyOqzB6NsSPERu50jBNvlSfCItle5viAw0-fHw5V6W12aezxn46/s1600/image021-740870.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgVHlJmG5maimMST0GB99Cguo86v_fl-5wCqZigkryFX8RAVM2Ln8DTVVfxJKXvLZhRMvj4z5gkqORce_7jCtq41hoGAyOqzB6NsSPERu50jBNvlSfCItle5viAw0-fHw5V6W12aezxn46/s320/image021-740870.jpg" id="BLOGGER_PHOTO_ID_6085190586476294850" /></a></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Also I will double check that Active Directory Federation Services are installed and running on the Demo VM<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Active Directory Federation Services <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRxTbboKeDWH8BDDDiIwj2156Ml9MhwWk5ORzTgEUHEDfW1AJ0tgnrn4qZpIaEqjAWQYqbQR_rJxIO8B9rGRdaYwFrKzhsn_VIAPHXauwJALBSLqAKaGamv1bkPP5co3-juckvNR7_zYX/s1600/image022-744112.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRxTbboKeDWH8BDDDiIwj2156Ml9MhwWk5ORzTgEUHEDfW1AJ0tgnrn4qZpIaEqjAWQYqbQR_rJxIO8B9rGRdaYwFrKzhsn_VIAPHXauwJALBSLqAKaGamv1bkPP5co3-juckvNR7_zYX/s320/image022-744112.png" id="BLOGGER_PHOTO_ID_6085190602230093186" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Active Directory Federation Services – Services</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEica9mfYAAfFGGZgOLpgj_OU99ndQrJNEjg-HDKAv_EtdUjmoSt14qlSRvM3KBcik-7QfB54CnZ55Ei0PVAOG-bokWLWMBWLStNSbOIawQBQ5UCwzIjr-0u6TnDxTFyqV0ScK6mk9ksw4Zm/s1600/image023-746854.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEica9mfYAAfFGGZgOLpgj_OU99ndQrJNEjg-HDKAv_EtdUjmoSt14qlSRvM3KBcik-7QfB54CnZ55Ei0PVAOG-bokWLWMBWLStNSbOIawQBQ5UCwzIjr-0u6TnDxTFyqV0ScK6mk9ksw4Zm/s320/image023-746854.png" id="BLOGGER_PHOTO_ID_6085190612892594818" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I’ll Add Snap-in for Certification Authority for certificates management<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add a Snap-in – Certification Authority<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj69ouygJnzkiuEohG-BVA5uE2SUgNHE-khXaJK25qqcZDldOS1nHqI_dptLWa1-wEk1XD3NOZceYtjHPMUQUGnYO209hnwm2UX-jzxhx2EFE5EzcjntwU60K5Yzp6tWRpnp_D57ZOc-Cdy/s1600/image024-749674.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj69ouygJnzkiuEohG-BVA5uE2SUgNHE-khXaJK25qqcZDldOS1nHqI_dptLWa1-wEk1XD3NOZceYtjHPMUQUGnYO209hnwm2UX-jzxhx2EFE5EzcjntwU60K5Yzp6tWRpnp_D57ZOc-Cdy/s320/image024-749674.jpg" id="BLOGGER_PHOTO_ID_6085190626070912882" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certification Authority - Contoso</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6rix2rHtHCB-cPCnoUdRF1Es5x7NK8EdWIcPAWxL1NO4Czv3RODrcKf3lMGXC668dHQVT7XGbX2EFEYtQ2vMPJpB_6BLoU6_z6vMERerLJMn4_vYBUe6Oxy-SWN21hyf4rsF3r9mV1Lhl/s1600/image025-752785.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6rix2rHtHCB-cPCnoUdRF1Es5x7NK8EdWIcPAWxL1NO4Czv3RODrcKf3lMGXC668dHQVT7XGbX2EFEYtQ2vMPJpB_6BLoU6_z6vMERerLJMn4_vYBUe6Oxy-SWN21hyf4rsF3r9mV1Lhl/s320/image025-752785.png" id="BLOGGER_PHOTO_ID_6085190641513125970" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that Contoso Certification Authority is already installed on the Demo VM<o:p></o:p></div>
<div class="MsoNormal">
Next I’ll double check that IIS Web Server Role is installed and running on the Demo VM <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaDxNdY6su8XVVSRcv0gVxugxoyA4L55ieh4Aat61bznwD-5h_MXQggNcamIEjMIhm70VyBRpRIA_dEYvgVp7rcaG33ibVG3NZe9gJFtDq0IF4vlxmXSPj8dzTSezQ3bLtdZflUmzUzHu/s1600/image026-755497.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaDxNdY6su8XVVSRcv0gVxugxoyA4L55ieh4Aat61bznwD-5h_MXQggNcamIEjMIhm70VyBRpRIA_dEYvgVp7rcaG33ibVG3NZe9gJFtDq0IF4vlxmXSPj8dzTSezQ3bLtdZflUmzUzHu/s320/image026-755497.png" id="BLOGGER_PHOTO_ID_6085190647375467042" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS Manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PRyu3OzlOWJX7yPt5FNckjb-tz4dBCjwDnS6lmC0U9pGzr9CLhPl_aL70w0alM7A6uInqadpnGlNAJUSl4B74FLRX1FWSJ99rh8Qq69V31sO5c9YvyEVBxPLfv4NwRxnyjLtEjh_Www1/s1600/image027-757736.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PRyu3OzlOWJX7yPt5FNckjb-tz4dBCjwDnS6lmC0U9pGzr9CLhPl_aL70w0alM7A6uInqadpnGlNAJUSl4B74FLRX1FWSJ99rh8Qq69V31sO5c9YvyEVBxPLfv4NwRxnyjLtEjh_Www1/s320/image027-757736.jpg" id="BLOGGER_PHOTO_ID_6085190661077619138" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
From IIS Manager we can start the process of a new Self-Signed Certificate creation by clicking on “Create Certificate Request”<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Request Certificate – Distinguished Name Properties <o:p> </o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfbBrSmPY5GB_Yo6GLn6HV3ftkCfhOk5zFyUsTRgOBZTZ88C8M2BUKZo0oR_CEzctBN8hVSbHDx_nK7MMjuqCa3WEV3wie5IeScDPFZPCQV_rnAgQEd2s8EWyzkDbZ8ZGWPRtfPdI-qIJB/s1600/image028-760432.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfbBrSmPY5GB_Yo6GLn6HV3ftkCfhOk5zFyUsTRgOBZTZ88C8M2BUKZo0oR_CEzctBN8hVSbHDx_nK7MMjuqCa3WEV3wie5IeScDPFZPCQV_rnAgQEd2s8EWyzkDbZ8ZGWPRtfPdI-qIJB/s320/image028-760432.jpg" id="BLOGGER_PHOTO_ID_6085190672310899042" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Request Certificate – Cryptographic Service Provider Properties</i><b><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2czQ3F94_IAvWI7BpANiuzVSAbwvtrHy9gf_JlwZBdgeATxAbDC2o2tV5t5mXqCxSe6gS3KPy0q7IZek5-VOU9krejFRvsFwirrSzMk4BmM5JFClFFvM5SrqNoTKucG-npGYnZWymoIgs/s1600/image029-763081.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2czQ3F94_IAvWI7BpANiuzVSAbwvtrHy9gf_JlwZBdgeATxAbDC2o2tV5t5mXqCxSe6gS3KPy0q7IZek5-VOU9krejFRvsFwirrSzMk4BmM5JFClFFvM5SrqNoTKucG-npGYnZWymoIgs/s320/image029-763081.jpg" id="BLOGGER_PHOTO_ID_6085190681758590434" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Request Certificate – File name</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrXxen4ejIRW87gV8R0TuSis1uI-fGb9VuO_ngTd6fm7r4c1Frxdmqh0D0ji1YK_5FooY6kkncQbPGUKXu-ldiRp31QOroJSGgw2nfZw0fO6QFnZEXgCR0C6bHigtwsS7-ZD7z0gRwh8IR/s1600/image030-765406.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrXxen4ejIRW87gV8R0TuSis1uI-fGb9VuO_ngTd6fm7r4c1Frxdmqh0D0ji1YK_5FooY6kkncQbPGUKXu-ldiRp31QOroJSGgw2nfZw0fO6QFnZEXgCR0C6bHigtwsS7-ZD7z0gRwh8IR/s320/image030-765406.jpg" id="BLOGGER_PHOTO_ID_6085190693795174018" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The resulting file will look like this <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate request file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEOsOjmXC6VD-mNExgUCWAhzLVIBtLLHW0A4qaR62d_XHKqM35w7ph5zQY6Mw-fPnQMEyROOyXt3xjtHrtXbOYvWvA2Lsuk5fZvw49VcgHg7mteHtgYugWRddz64-jfrQu_vS__7XAkTJ5/s1600/image031-768050.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEOsOjmXC6VD-mNExgUCWAhzLVIBtLLHW0A4qaR62d_XHKqM35w7ph5zQY6Mw-fPnQMEyROOyXt3xjtHrtXbOYvWvA2Lsuk5fZvw49VcgHg7mteHtgYugWRddz64-jfrQu_vS__7XAkTJ5/s320/image031-768050.png" id="BLOGGER_PHOTO_ID_6085190706242210626" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next we’ll navigate to Certificate Server installed on the Demo VM at <a href="https://localhost/certsrv"><span lang="EN" style="font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">https://localhost/certsrv</span></a> to complete Certificate request. We’ll start with clicking at Request a certificate<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL - Welcome</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir_CHUrGYfBLgUca3wN0j3TFPdNZCaN_m9KwaH1SHdLs_A81KmcOZN73VGud_2cuj9m0bYL-6r-4tYqiJbPlxOIx1YxyRg7CVk9jN6PUzm92AuV1Xo1Yc6At5BapO_w9WKcxUEGVUjc0vD/s1600/image032-772822.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEir_CHUrGYfBLgUca3wN0j3TFPdNZCaN_m9KwaH1SHdLs_A81KmcOZN73VGud_2cuj9m0bYL-6r-4tYqiJbPlxOIx1YxyRg7CVk9jN6PUzm92AuV1Xo1Yc6At5BapO_w9WKcxUEGVUjc0vD/s320/image032-772822.jpg" id="BLOGGER_PHOTO_ID_6085190724464159618" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I’ll continue by clicking at Advanced certificate request<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL – Request a certificate</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhQxOW4_yfpEMkWka_uxtehm3sSrwSFD3l3lk6dhCOBzQHhomHOuWuDriZ90d4bRWSoalXi6neR1lf2tjkmHJ4im5ayiqhO7RVtAFy77DN9ohg91nfjuyRhBIRQo_kqeVLQAvz0eRmYyn8/s1600/image033-777471.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhQxOW4_yfpEMkWka_uxtehm3sSrwSFD3l3lk6dhCOBzQHhomHOuWuDriZ90d4bRWSoalXi6neR1lf2tjkmHJ4im5ayiqhO7RVtAFy77DN9ohg91nfjuyRhBIRQo_kqeVLQAvz0eRmYyn8/s320/image033-777471.jpg" id="BLOGGER_PHOTO_ID_6085190745115860962" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL – Advanced certificate request</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnF7E4GqhJjx2Qdc5OOFjvCNktQpqR808TqmV5PYqGq_2TGJasR4wnkwRtSlKycz4QfX3NseM1qsruT7vMYPs4xfhnl_OpWAxoOfEVUWl0wxnKS2hqV-Iby_OJH6JftTu5MxhTNJBYu1a/s1600/image034-780820.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGnF7E4GqhJjx2Qdc5OOFjvCNktQpqR808TqmV5PYqGq_2TGJasR4wnkwRtSlKycz4QfX3NseM1qsruT7vMYPs4xfhnl_OpWAxoOfEVUWl0wxnKS2hqV-Iby_OJH6JftTu5MxhTNJBYu1a/s320/image034-780820.jpg" id="BLOGGER_PHOTO_ID_6085190759540935922" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL – Submit a certificate request or renewal request</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiis7kGhds_g9L3d4lhosZiu-whVt4Epuj-514-sFibnV2hvMVh8A_OGJixGv9PLG5LUpasKNmKSleM1ABsxzxY9MieXv_33FG8tpUSzD0f9DMHrcHkk-kQZQvyh8Tr-zQgu-si7vgvUK3p/s1600/image035-784336.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiis7kGhds_g9L3d4lhosZiu-whVt4Epuj-514-sFibnV2hvMVh8A_OGJixGv9PLG5LUpasKNmKSleM1ABsxzxY9MieXv_33FG8tpUSzD0f9DMHrcHkk-kQZQvyh8Tr-zQgu-si7vgvUK3p/s320/image035-784336.jpg" id="BLOGGER_PHOTO_ID_6085190774208491442" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in Saved Request I provided the contents of Certificate Request file mentioned above<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After we Submit the request it will be assigned ID and will be in Pending state<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL – Certificate pending</i> <i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSdjYNdPjINJKJbetjF9_oIaKhUNBGK4aAcRPhoMpNnXICP4yx96bYq4DDnFxRD6M0cAIif0xOJn_fCNH1Sg8fA_DQiv7Uv_4hsnabA1yTLT6nBQ7DOX8V4jeSgDNF-dtNAx4ASQkCsb8f/s1600/image036-789311.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSdjYNdPjINJKJbetjF9_oIaKhUNBGK4aAcRPhoMpNnXICP4yx96bYq4DDnFxRD6M0cAIif0xOJn_fCNH1Sg8fA_DQiv7Uv_4hsnabA1yTLT6nBQ7DOX8V4jeSgDNF-dtNAx4ASQkCsb8f/s320/image036-789311.jpg" id="BLOGGER_PHOTO_ID_6085190793027186338" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point we will be able to see our Pending Certificate Request in Certification Authority > Pending Requests. Here it is on the screenshot below and in order to approve it I’ll select All Tasks > Issue<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certification Authority - Pending Requests <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPv723cMfBWB-OpPAfZWnogPrPrw_tL304z4c9XO8jS8fBe9m65L9g00XpBrVUngZSDCIicximUCurEBFlo6-aBj55QThxBOlCbzyVIrtG49ADqw5IfrMIUuFbHh2FZCOcaQjsASwYqHrF/s1600/image037-795586.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPv723cMfBWB-OpPAfZWnogPrPrw_tL304z4c9XO8jS8fBe9m65L9g00XpBrVUngZSDCIicximUCurEBFlo6-aBj55QThxBOlCbzyVIrtG49ADqw5IfrMIUuFbHh2FZCOcaQjsASwYqHrF/s320/image037-795586.jpg" id="BLOGGER_PHOTO_ID_6085190830558366898" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we will come back to Certificate Server URL and click View the status of a pending certificate request <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL - Welcome</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlA927L8lvxgmMUVPd45aF01_oDRiNZPpoOISCr2BLnRhFCmWx096wbWnaZYYj5DFNpKZSK_12Kax7h1BQFA_59lzhm_rZt6srxiXPHZzzuzsjwxYPtlHrLgGJrzOhkaN0rT-i19ZvQFnQ/s1600/image038-700711.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlA927L8lvxgmMUVPd45aF01_oDRiNZPpoOISCr2BLnRhFCmWx096wbWnaZYYj5DFNpKZSK_12Kax7h1BQFA_59lzhm_rZt6srxiXPHZzzuzsjwxYPtlHrLgGJrzOhkaN0rT-i19ZvQFnQ/s320/image038-700711.jpg" id="BLOGGER_PHOTO_ID_6085190847733020658" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
in order to retrieve our newly created Self-Signed Certificate<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL - View the status of a pending certificate request</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2PU4QDQx_idfzo0BPr-zGBF7Dlop2uiVXHG-X3EA9Lc8JDz4DupeaJGAT-K6hVveaLfrEQ06TC0BxZBKv9yhO_onewximVHAQhMgTH1SnTTfT4fxkTZjDLj-sIyKt52GIOHQO8pLtZu0/s1600/image039-703875.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ2PU4QDQx_idfzo0BPr-zGBF7Dlop2uiVXHG-X3EA9Lc8JDz4DupeaJGAT-K6hVveaLfrEQ06TC0BxZBKv9yhO_onewximVHAQhMgTH1SnTTfT4fxkTZjDLj-sIyKt52GIOHQO8pLtZu0/s320/image039-703875.jpg" id="BLOGGER_PHOTO_ID_6085190857418862754" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here it is listed above so I will click on it<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Web Access Confirmation<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitCFCwn6WssdIi6DEqZ82ZjlrZ83kEeyJtIPOhT6oletugHj1r15vVnukaM5BQqyBjHRDuemglFsP10kMyZo9DfRNb4UkOdFaJFIbRNCUQIptLkHhGZAg79_Od7ppN5PpETEkGOupn72f2/s1600/image040-708584.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitCFCwn6WssdIi6DEqZ82ZjlrZ83kEeyJtIPOhT6oletugHj1r15vVnukaM5BQqyBjHRDuemglFsP10kMyZo9DfRNb4UkOdFaJFIbRNCUQIptLkHhGZAg79_Od7ppN5PpETEkGOupn72f2/s320/image040-708584.png" id="BLOGGER_PHOTO_ID_6085190876531294786" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Confirm Yes on the Web Access Confirmation screen to see issued certificate as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate Server URL – Certificate issued</i><i><u><span lang="EN" style="color: #0563c1; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></u></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjHTnAf5cTZ6MXa7cVx1UUte6xp-cSWcEMXVwrOUEte_5Cn9-M8EXc8tBQu7Fablr75NstWET_HAnQmdj9lbWCvaMOGq3CM5c6yTfacA2ZysKCh_6JqZFXI7tGQr2kXxCyb0MUjT_r0Tfv/s1600/image041-712039.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjHTnAf5cTZ6MXa7cVx1UUte6xp-cSWcEMXVwrOUEte_5Cn9-M8EXc8tBQu7Fablr75NstWET_HAnQmdj9lbWCvaMOGq3CM5c6yTfacA2ZysKCh_6JqZFXI7tGQr2kXxCyb0MUjT_r0Tfv/s320/image041-712039.jpg" id="BLOGGER_PHOTO_ID_6085190892382486546" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I can download it as a file in the file system<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf9UQ-TMLcwX_5JzjdDz9gCRJwc4ynnQNHaKttINdSMb2uOsFlXBynVdi5dfbeD5k-EVdcCyL5zwlHEQzEJ6AHjIzRQieF-8Lv4S5-c8ddnLzuEh7hqH4GApExsOUL9lQfNuPD4K4nQSBr/s1600/image042-716294.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf9UQ-TMLcwX_5JzjdDz9gCRJwc4ynnQNHaKttINdSMb2uOsFlXBynVdi5dfbeD5k-EVdcCyL5zwlHEQzEJ6AHjIzRQieF-8Lv4S5-c8ddnLzuEh7hqH4GApExsOUL9lQfNuPD4K4nQSBr/s320/image042-716294.jpg" id="BLOGGER_PHOTO_ID_6085190909633122002" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
If I double click on this file now I can review the details on a newly created Self-Signed certificate<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate - General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHgbFEWGZy8y_1G1N9ldRHwCuu-U00qs1HncOY2WH_ckvNDX_6hL4RR9sxPgoOf0aegDt3lrxEYPGko3_TIQlefCErJ_qEdlO2-9HwBCs3LvkoKcE00rghrBpat-mGxz0HDAFLLivzM_k/s1600/image043-721294.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZHgbFEWGZy8y_1G1N9ldRHwCuu-U00qs1HncOY2WH_ckvNDX_6hL4RR9sxPgoOf0aegDt3lrxEYPGko3_TIQlefCErJ_qEdlO2-9HwBCs3LvkoKcE00rghrBpat-mGxz0HDAFLLivzM_k/s320/image043-721294.png" id="BLOGGER_PHOTO_ID_6085190930314329378" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that it is issued to the machine name (XYZ.cloudapp.net) by Contoso Certification Authority<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate - Details<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd-6LKjcEQBLCswq7p_-lUGUTkk35HsiIslhUCze_NXLiNYd5BQgplziT53NnyoEMNRsJE-J80_jVRF0E3YUqK92hpHqVnk1-UCi1Es3H5nurgf4Frz0H9g0n4Mwmz3_jc_IHLmHQjXJrv/s1600/image044-725725.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd-6LKjcEQBLCswq7p_-lUGUTkk35HsiIslhUCze_NXLiNYd5BQgplziT53NnyoEMNRsJE-J80_jVRF0E3YUqK92hpHqVnk1-UCi1Es3H5nurgf4Frz0H9g0n4Mwmz3_jc_IHLmHQjXJrv/s320/image044-725725.png" id="BLOGGER_PHOTO_ID_6085190953122909538" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate – Certification path<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3jwFDlMilEWsfPaNLolJlF7u8gtHdrL4KDDW-Jpap6OmcpZv3MhZw-VYmSNlTars1HryevSGpgziuqHmVcWBAyX-SAuTA1eyqyoZwc7BQVNzOfDFBwYBxmM9OTXnE_n3PA-gmrfw0eZuL/s1600/image045-729993.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3jwFDlMilEWsfPaNLolJlF7u8gtHdrL4KDDW-Jpap6OmcpZv3MhZw-VYmSNlTars1HryevSGpgziuqHmVcWBAyX-SAuTA1eyqyoZwc7BQVNzOfDFBwYBxmM9OTXnE_n3PA-gmrfw0eZuL/s320/image045-729993.png" id="BLOGGER_PHOTO_ID_6085190969023262658" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After we got the certificate we can install it for both Local Machine and Current User into both Personal and Trusted Root Certification Authorities certificate stores (just be clear: 4 certificate imports will be required)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Important: Because I’m gonna use Yoichiro Okada as App user for Expenses App thus I’ll need to login as Contoso/Yoichiroo to import certificate as Current User<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let’s quickly go through this routine procedure<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg09w6Wdxe7ok99cnFh-fsgE2luKbjQf9vj00Xs0muCDaiq3ytYUqBz1oig-yWAWyraIED7SuWPo_5AOr5fgazdYNXDUfsE5S0ltiJ4SOwzI81wjtqefh4RCVtTo019axtQcEZvEyNf7J_/s1600/image046-734221.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg09w6Wdxe7ok99cnFh-fsgE2luKbjQf9vj00Xs0muCDaiq3ytYUqBz1oig-yWAWyraIED7SuWPo_5AOr5fgazdYNXDUfsE5S0ltiJ4SOwzI81wjtqefh4RCVtTo019axtQcEZvEyNf7J_/s320/image046-734221.png" id="BLOGGER_PHOTO_ID_6085190989728741586" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghDUYjAE9aXZmdQYxWpD5hXzAuR2LjMbISyL4Apz2jAx0iLRZGLt1DUzWyGjUqjTKdvxpOsnIHRj2YbocFywB29OHuyBkBiEphvHK7eHmgkG12gnJFNiisHPI8eziTuNaLXyEFi4iinhgw/s1600/image047-738461.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghDUYjAE9aXZmdQYxWpD5hXzAuR2LjMbISyL4Apz2jAx0iLRZGLt1DUzWyGjUqjTKdvxpOsnIHRj2YbocFywB29OHuyBkBiEphvHK7eHmgkG12gnJFNiisHPI8eziTuNaLXyEFi4iinhgw/s320/image047-738461.png" id="BLOGGER_PHOTO_ID_6085191005981555762" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UPwGGv1p_Ogz02ZdEOEO0zv3rjmvT18TvybwjFyHD9Jn72cS7otmUKaxxlJnvQGsu37-QxmGAthiCAQb3kk9AGlKgGvv2jxNlCjiysRHrteHdYPwZwAXT69JL8zdMBv3Sgyno7meOPt2/s1600/image048-741795.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3UPwGGv1p_Ogz02ZdEOEO0zv3rjmvT18TvybwjFyHD9Jn72cS7otmUKaxxlJnvQGsu37-QxmGAthiCAQb3kk9AGlKgGvv2jxNlCjiysRHrteHdYPwZwAXT69JL8zdMBv3Sgyno7meOPt2/s320/image048-741795.png" id="BLOGGER_PHOTO_ID_6085191021547793890" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import was successful<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJtkurqmDPm9th1vNt2pvLeENZXQIIQXHy9zqvXCWSq7VXyo_7z8TZpGUW8MzD143V00-MQBDpAGOmXLzEVgxXEpY7DXSpNuibkVHYwC_T2I3GNQvpQpigPMqtp34RDuC3DLv7BuKo2wh/s1600/image049-745312.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJtkurqmDPm9th1vNt2pvLeENZXQIIQXHy9zqvXCWSq7VXyo_7z8TZpGUW8MzD143V00-MQBDpAGOmXLzEVgxXEpY7DXSpNuibkVHYwC_T2I3GNQvpQpigPMqtp34RDuC3DLv7BuKo2wh/s320/image049-745312.png" id="BLOGGER_PHOTO_ID_6085191037060584674" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktdOb0FJLRI8dSFz3HeaJbE4ocqNnjD8BGRsFQOVxykai3a6R9_nH1qpHd-mX2zc5rXLE0sK4yDw7bEhcJCDQK7rl8jixmHPBt-OvdApDnPMll9TVqbOMtWQtZoksj_A_To23bPZaOZYB/s1600/image050-748264.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktdOb0FJLRI8dSFz3HeaJbE4ocqNnjD8BGRsFQOVxykai3a6R9_nH1qpHd-mX2zc5rXLE0sK4yDw7bEhcJCDQK7rl8jixmHPBt-OvdApDnPMll9TVqbOMtWQtZoksj_A_To23bPZaOZYB/s320/image050-748264.png" id="BLOGGER_PHOTO_ID_6085191049912492562" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXH9F2LkLuwFytkP_wUs76PJ_WNmFO5rSg_rvHvVlYFVwb9grlGA61SXLQPcxP5vgd3LgAhm92B6r9bPsGMAI9aTDpSiOKhlgen_psavoWugkRmNZYo0LL2TXrsEWAjUmB5QgOKsxLrbc/s1600/image051-751930.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXH9F2LkLuwFytkP_wUs76PJ_WNmFO5rSg_rvHvVlYFVwb9grlGA61SXLQPcxP5vgd3LgAhm92B6r9bPsGMAI9aTDpSiOKhlgen_psavoWugkRmNZYo0LL2TXrsEWAjUmB5QgOKsxLrbc/s320/image051-751930.png" id="BLOGGER_PHOTO_ID_6085191064705992450" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Current user | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD_TlHucAzo4KT-MhOXfHJkq0sRfj_2kgech4dotwA9eVntNYn19hlvlpxbMczCzXsBsi5NNM1OJSur3XXHGZhDbx46e96Imi9xwAlGIjneBjFfy4wPxP3SsexBrdEVeuud8Av6cqC3sPh/s1600/image052-757157.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD_TlHucAzo4KT-MhOXfHJkq0sRfj_2kgech4dotwA9eVntNYn19hlvlpxbMczCzXsBsi5NNM1OJSur3XXHGZhDbx46e96Imi9xwAlGIjneBjFfy4wPxP3SsexBrdEVeuud8Av6cqC3sPh/s320/image052-757157.png" id="BLOGGER_PHOTO_ID_6085191087623391906" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import was successful<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJtkurqmDPm9th1vNt2pvLeENZXQIIQXHy9zqvXCWSq7VXyo_7z8TZpGUW8MzD143V00-MQBDpAGOmXLzEVgxXEpY7DXSpNuibkVHYwC_T2I3GNQvpQpigPMqtp34RDuC3DLv7BuKo2wh/s1600/image049-745312.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJtkurqmDPm9th1vNt2pvLeENZXQIIQXHy9zqvXCWSq7VXyo_7z8TZpGUW8MzD143V00-MQBDpAGOmXLzEVgxXEpY7DXSpNuibkVHYwC_T2I3GNQvpQpigPMqtp34RDuC3DLv7BuKo2wh/s320/image049-745312.png" id="BLOGGER_PHOTO_ID_6085191037060584674" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now the same thing but for Local Machine account. In order to do certificate import for Local Machine account I logged in as Contoso/Administrator<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-nq-7n4wjfSAEwnCS9F7G67fKOn-NeUMmU6lMH1yiRNHnVgFbyUnhW_qhvycajAb5KFvRge2zOVJfcDdS-H0SWc1_nzCeTzgCO1WdTJLGqZjdew3_1S-b02Sgkkuml1wMTtzKpV5El9Yk/s1600/image053-761697.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-nq-7n4wjfSAEwnCS9F7G67fKOn-NeUMmU6lMH1yiRNHnVgFbyUnhW_qhvycajAb5KFvRge2zOVJfcDdS-H0SWc1_nzCeTzgCO1WdTJLGqZjdew3_1S-b02Sgkkuml1wMTtzKpV5El9Yk/s320/image053-761697.png" id="BLOGGER_PHOTO_ID_6085191108423695010" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc8VshZKP7styQk5Ny8HAStVCDFhyphenhyphenikwRc_UPzbhS6b44p7KYNO7pI4wZgVOsHCskBrcxHC3epKNwaJuNoVLzzTXi3UA_m4cHLx777WGiBORC82NgiV-casekfua_L6Pqe8zz27GdD9Z-w/s1600/image054-765233.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc8VshZKP7styQk5Ny8HAStVCDFhyphenhyphenikwRc_UPzbhS6b44p7KYNO7pI4wZgVOsHCskBrcxHC3epKNwaJuNoVLzzTXi3UA_m4cHLx777WGiBORC82NgiV-casekfua_L6Pqe8zz27GdD9Z-w/s320/image054-765233.png" id="BLOGGER_PHOTO_ID_6085191121871841970" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Personal store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKGT8sxAaVAjfyjcffLkFxSuTQ3Q_kZcy5tdqu2noQlkQl6677bodSN7Sg1Jw20xltqsOYiUXv5MdD7CZbHU_-QmB03MtLTCTQww23_YSqspcLpKYaKWQHIw8pJEmjRSchyphenhyphensThiDbiDGn9/s1600/image055-768504.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKGT8sxAaVAjfyjcffLkFxSuTQ3Q_kZcy5tdqu2noQlkQl6677bodSN7Sg1Jw20xltqsOYiUXv5MdD7CZbHU_-QmB03MtLTCTQww23_YSqspcLpKYaKWQHIw8pJEmjRSchyphenhyphensThiDbiDGn9/s320/image055-768504.png" id="BLOGGER_PHOTO_ID_6085191132762153778" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import was successful<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_JcQJykLfquHbHQ_LRMbHn-OEN4zdynEAv-SV8fZCOf8HmFfd3zmnVIb3YDcAEkBp5Qxp4oqN7qdrd-CAQ04nAN-AJgtNI3Nhv_OfYWQoejNeDkssPIpUBRrWQrAvRG9VUlAp0Q6iKocU/s1600/image056-773718.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_JcQJykLfquHbHQ_LRMbHn-OEN4zdynEAv-SV8fZCOf8HmFfd3zmnVIb3YDcAEkBp5Qxp4oqN7qdrd-CAQ04nAN-AJgtNI3Nhv_OfYWQoejNeDkssPIpUBRrWQrAvRG9VUlAp0Q6iKocU/s320/image056-773718.png" id="BLOGGER_PHOTO_ID_6085191160524670898" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7_G8PEiAbSemejNCEnbC_K-ScqXQv6pjPxSt0-712qJNstudiT_IuXlY5tyEgf1lEl19ODglPeiq2RlBSeBm7pONvblSH61APdsFluo9TjdaQKpSbtj5O63VDL0dq70PDqtzXy51B_X5i/s1600/image057-777479.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7_G8PEiAbSemejNCEnbC_K-ScqXQv6pjPxSt0-712qJNstudiT_IuXlY5tyEgf1lEl19ODglPeiq2RlBSeBm7pONvblSH61APdsFluo9TjdaQKpSbtj5O63VDL0dq70PDqtzXy51B_X5i/s320/image057-777479.png" id="BLOGGER_PHOTO_ID_6085191173440596194" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhczaEQcR1f6O0rUxuA6G-xiXxdFn-Zs-WRNMQ1X5X23x6S8A7edtSfAZY5U0DwUVP3q0DMHj-YY9vwmfOwS7tI5YKFqKxeI_LeZ4uNNMpDH6tG923Qgq3mLlEaGtWDI0RkDGK-lhr1f6oS/s1600/image058-781454.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhczaEQcR1f6O0rUxuA6G-xiXxdFn-Zs-WRNMQ1X5X23x6S8A7edtSfAZY5U0DwUVP3q0DMHj-YY9vwmfOwS7tI5YKFqKxeI_LeZ4uNNMpDH6tG923Qgq3mLlEaGtWDI0RkDGK-lhr1f6oS/s320/image058-781454.png" id="BLOGGER_PHOTO_ID_6085191190138525090" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import – Local machine | Trusted Root Certification Authorities store<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLeMuiiZXhzJHrWybCI_BFa8QAtQpq5q648csZMj0qLZasOjaQIQlnRLbOyaodPqa-fFWEb7L2Ql4_grpSv8MA55y7JxAuz9mp81NfzNSXVmmlam6FyyVrcmHOrssCe_hSdK87jfxTffOr/s1600/image059-785099.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLeMuiiZXhzJHrWybCI_BFa8QAtQpq5q648csZMj0qLZasOjaQIQlnRLbOyaodPqa-fFWEb7L2Ql4_grpSv8MA55y7JxAuz9mp81NfzNSXVmmlam6FyyVrcmHOrssCe_hSdK87jfxTffOr/s320/image059-785099.png" id="BLOGGER_PHOTO_ID_6085191207329812946" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate import was successful<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_JcQJykLfquHbHQ_LRMbHn-OEN4zdynEAv-SV8fZCOf8HmFfd3zmnVIb3YDcAEkBp5Qxp4oqN7qdrd-CAQ04nAN-AJgtNI3Nhv_OfYWQoejNeDkssPIpUBRrWQrAvRG9VUlAp0Q6iKocU/s1600/image056-773718.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_JcQJykLfquHbHQ_LRMbHn-OEN4zdynEAv-SV8fZCOf8HmFfd3zmnVIb3YDcAEkBp5Qxp4oqN7qdrd-CAQ04nAN-AJgtNI3Nhv_OfYWQoejNeDkssPIpUBRrWQrAvRG9VUlAp0Q6iKocU/s320/image056-773718.png" id="BLOGGER_PHOTO_ID_6085191160524670898" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can check the results of certificate import in Certificate Snap-in<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let’s add 2 Certificate Snap-ins for My user account and Computer account<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>My user account Certificate Snap-in<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBqANVteFBBaTuntZL7BI4hmeXpORKncYP6k4_Z9dv-Lv3VIDUPQaA4cfBefpdEvsj9zFu5G5jIsLv_grfY2IpvkpB0l1lMTNsgfrz2qIFGSEMSQ3CbCBvpXa0gJHLGYe6kabU8mohDvMk/s1600/image060-788898.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBqANVteFBBaTuntZL7BI4hmeXpORKncYP6k4_Z9dv-Lv3VIDUPQaA4cfBefpdEvsj9zFu5G5jIsLv_grfY2IpvkpB0l1lMTNsgfrz2qIFGSEMSQ3CbCBvpXa0gJHLGYe6kabU8mohDvMk/s320/image060-788898.png" id="BLOGGER_PHOTO_ID_6085191223745982578" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer account Certificate Snap-in<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcOE6t_M0FwAM8MaMycDG6NVDg1SkncNwGeK8qYrjWQmx1HMpmxTuy1-U9rOXFGzHNgR886lRXIXWfBr9stFb5Q_Ml8JWi-W9nH47o3WAADxmcgBlq_iU6JJik4cARqcuO9oBP1jXsRmc/s1600/image061-792489.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZcOE6t_M0FwAM8MaMycDG6NVDg1SkncNwGeK8qYrjWQmx1HMpmxTuy1-U9rOXFGzHNgR886lRXIXWfBr9stFb5Q_Ml8JWi-W9nH47o3WAADxmcgBlq_iU6JJik4cARqcuO9oBP1jXsRmc/s320/image061-792489.png" id="BLOGGER_PHOTO_ID_6085191241120223218" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer account Certificate Snap-in – Select computer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDld-euywFRR3wLlEaFeCjhfJXGtfybtVLCVMJNmggritPa6L-nUmxU0j-dIgM69d3FE0skXuQa1i7SSsRB2d7hyphenhyphenlGYkPbbIlueyJpVdnM6fP4oCtpPr72H2pEtsR2hDo_GkIExGs42tbE/s1600/image062-796283.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDld-euywFRR3wLlEaFeCjhfJXGtfybtVLCVMJNmggritPa6L-nUmxU0j-dIgM69d3FE0skXuQa1i7SSsRB2d7hyphenhyphenlGYkPbbIlueyJpVdnM6fP4oCtpPr72H2pEtsR2hDo_GkIExGs42tbE/s320/image062-796283.png" id="BLOGGER_PHOTO_ID_6085191254508688626" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Great! We added 2 Certificate Snap-ins now<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgND-0BfituIeeDJeWFEEFDtevE3Of5zzqGOGofL-4sL0daMSzEJgg9WkKqF7qWiW5_-IvMZaqlRgaFzEvalIZMxPwjHuChlpWt3HJaneDZjzk5AbuR_eije2Iq0LeVaQXePDHgz78nMTng/s1600/image063-799780.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgND-0BfituIeeDJeWFEEFDtevE3Of5zzqGOGofL-4sL0daMSzEJgg9WkKqF7qWiW5_-IvMZaqlRgaFzEvalIZMxPwjHuChlpWt3HJaneDZjzk5AbuR_eije2Iq0LeVaQXePDHgz78nMTng/s320/image063-799780.jpg" id="BLOGGER_PHOTO_ID_6085191270242020034" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><div class="MsoNormal">
Let’s see what is listed in the list of certificates <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First for User Contoso/Yoichiroo we’ll see our Self-Signed certificate listed in Personal and Trusted Root Certification Authorities stores<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificates – Current user (Personal)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiklURItz9WyE8ZFlrKjOfagvRs7Sd5WpnqZU8CnRzRoLXd0IHYkmi3mDL_NO_KBrDmi9dzZMGSVr_7IIrPakXGaBnZyTiIhPxPP3hwA62Pv-qt61xT-fI7DsLj0Tf2FiCvb2x2PCzu___z/s1600/image064-703063.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiklURItz9WyE8ZFlrKjOfagvRs7Sd5WpnqZU8CnRzRoLXd0IHYkmi3mDL_NO_KBrDmi9dzZMGSVr_7IIrPakXGaBnZyTiIhPxPP3hwA62Pv-qt61xT-fI7DsLj0Tf2FiCvb2x2PCzu___z/s320/image064-703063.jpg" id="BLOGGER_PHOTO_ID_6085191282571813698" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificates – Current user (Trusted Root Certification Authorities)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9vyX7jzBjy1ohXa9KEeoj4YEHSSO-T9uPyVB-qJ6Xz_vSZpUCB2iD-lW5I4ES_wRbnJ1DfRVubMrkzOV4jO6LRkNeGma9aar2IXxVCOKhpJlNBYrcmTvOgYTdfV-wNJsuEBO-3UkWH885/s1600/image065-706727.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9vyX7jzBjy1ohXa9KEeoj4YEHSSO-T9uPyVB-qJ6Xz_vSZpUCB2iD-lW5I4ES_wRbnJ1DfRVubMrkzOV4jO6LRkNeGma9aar2IXxVCOKhpJlNBYrcmTvOgYTdfV-wNJsuEBO-3UkWH885/s320/image065-706727.jpg" id="BLOGGER_PHOTO_ID_6085191299584304450" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly for Local machine account<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificates – Local machine (Personal)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTQwE8c-3ju_Mg89-IyfBQVPZR4f9vR_sDxhki4CcWh8Z2bYGZTGWAx_r_LvkDpYrbBzJGU6yBk1dziUAK4mLjEp1eRD75sYUwnTqbUHE5BxDslSXOBLeKDJO3cBEeqW0g9iQwGISufFq1/s1600/image066-710118.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTQwE8c-3ju_Mg89-IyfBQVPZR4f9vR_sDxhki4CcWh8Z2bYGZTGWAx_r_LvkDpYrbBzJGU6yBk1dziUAK4mLjEp1eRD75sYUwnTqbUHE5BxDslSXOBLeKDJO3cBEeqW0g9iQwGISufFq1/s320/image066-710118.jpg" id="BLOGGER_PHOTO_ID_6085191313470008450" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificates – Local machine (Trusted Root Certification Authorities)</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic3_cPaxHQ8aImedxUrqyT9qhBKmYFTR0YDaq1Ax3LkcYXFUcZOTTlBxfyRa2q0EsR1jTkeh_GN20bXkfoYsruNqwFOwPX2SjKaJWokmxueCMpgwWaLID5aLeZXNUA7SWVce7YR424mWF3/s1600/image067-714055.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic3_cPaxHQ8aImedxUrqyT9qhBKmYFTR0YDaq1Ax3LkcYXFUcZOTTlBxfyRa2q0EsR1jTkeh_GN20bXkfoYsruNqwFOwPX2SjKaJWokmxueCMpgwWaLID5aLeZXNUA7SWVce7YR424mWF3/s320/image067-714055.jpg" id="BLOGGER_PHOTO_ID_6085191331143514258" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next step will be to assign our newly created Self-Signed certificate as SSL certificate in IIS for Default Web site<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS certificate<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU3WuHC_-CJ5Rpup6RjgdjBtVrs8lM3Voq-_W_98c-81HNQY9dJgNNENtgXKOZmzIKQ_nb7BjlfAwx1tFqLdSUIIMKobzgtNK0mm3IK8oObICvoHYEW9mxCuCuiQbTq-T-gTXBOdQqCMOx/s1600/image068-720185.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU3WuHC_-CJ5Rpup6RjgdjBtVrs8lM3Voq-_W_98c-81HNQY9dJgNNENtgXKOZmzIKQ_nb7BjlfAwx1tFqLdSUIIMKobzgtNK0mm3IK8oObICvoHYEW9mxCuCuiQbTq-T-gTXBOdQqCMOx/s320/image068-720185.jpg" id="BLOGGER_PHOTO_ID_6085191356502925778" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After I specified a new certificate I’ll restart IIS for changes to come into effect<o:p></o:p></div>
<div class="MsoNormal">
Next we’ll assign our newly created Self-Signed certificate as Service communications certificate, Token-decrypting certificate and Token-signing certificate in ADFS Certificates settings <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Certificates<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd28acw_rzGd9S-dEpsVvont2Wy5nP7Y0f06heA6SUl72yLfy0_wXix-OlzGa9Y_89C3eV5xuoanMby-VRU5gr_Gt38DBUdXFM6QHHbfhdaYFce64JYuFB9jXW35swLH-mwgYkc6gA9qNW/s1600/image069-724338.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd28acw_rzGd9S-dEpsVvont2Wy5nP7Y0f06heA6SUl72yLfy0_wXix-OlzGa9Y_89C3eV5xuoanMby-VRU5gr_Gt38DBUdXFM6QHHbfhdaYFce64JYuFB9jXW35swLH-mwgYkc6gA9qNW/s320/image069-724338.jpg" id="BLOGGER_PHOTO_ID_6085191375502438482" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select a service communications certificate<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUJM-KNgoV-bxAMZUmJJ2qa-EPUmocTkJpoJYsLly5aPcKp1sZfb3Jb7GbO9f-2BGepC1Cv2QR26Tk_ZXktdDjjYNUAd7fDpnI1xddruVwjrvByU1LUGM5wd8oa2Y164Km2MmcZ_DkpQiG/s1600/image070-728878.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUJM-KNgoV-bxAMZUmJJ2qa-EPUmocTkJpoJYsLly5aPcKp1sZfb3Jb7GbO9f-2BGepC1Cv2QR26Tk_ZXktdDjjYNUAd7fDpnI1xddruVwjrvByU1LUGM5wd8oa2Y164Km2MmcZ_DkpQiG/s320/image070-728878.png" id="BLOGGER_PHOTO_ID_6085191396214988466" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Management - Select certificate<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKHi2Rtve29Tr-pQzdljZh-kb7XlpPM9WekR5Wc4tWx0Ydfqxu1VVx-3K8rLVrX21OgDdw-vAIuSRknJFPWWBQzGL5YNtwUaGRYMJsqqSj7FsIsUQp0_IWFlGo7Ju6bOTYqw8B3lZVSU2/s1600/image071-732936.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaKHi2Rtve29Tr-pQzdljZh-kb7XlpPM9WekR5Wc4tWx0Ydfqxu1VVx-3K8rLVrX21OgDdw-vAIuSRknJFPWWBQzGL5YNtwUaGRYMJsqqSj7FsIsUQp0_IWFlGo7Ju6bOTYqw8B3lZVSU2/s320/image071-732936.jpg" id="BLOGGER_PHOTO_ID_6085191412137961650" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I’ll confirm Yes when prompted<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Management - Select certificate<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KB1nC3ZXjwkdpt9xMFtB-SkhjNn4hyjgLZyCbqm5NZ6arNkFaB0MtjS2kGc2Y-GELPBbMmJOxavT34vy5SYWFx9iZwLCuVEg4Rfss4HOXBaDqw3Hw1MHIOdfCbE737KP-6B06TeRui6V/s1600/image072-736366.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2KB1nC3ZXjwkdpt9xMFtB-SkhjNn4hyjgLZyCbqm5NZ6arNkFaB0MtjS2kGc2Y-GELPBbMmJOxavT34vy5SYWFx9iZwLCuVEg4Rfss4HOXBaDqw3Hw1MHIOdfCbE737KP-6B06TeRui6V/s320/image072-736366.png" id="BLOGGER_PHOTO_ID_6085191425812560114" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When assigning our Self-Signed certificate as Token-decrypting certificate and Toke-signing certificate I’ll also make it Primary by confirming Yes when prompted <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Set as Primary<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7_YpUxfPk9wR6doI4vBmYXMlVElMDDEWwT_KSHd1jUiXmTwiTA-hmAt_jnmw7sSNADy6tdAnGR65DqKBJNxP5smrqyTnaBInJTkwUbGwuPFiohPB10BYqfSUnwjkm2C3hRlI8t2bjD0wk/s1600/image073-743804.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7_YpUxfPk9wR6doI4vBmYXMlVElMDDEWwT_KSHd1jUiXmTwiTA-hmAt_jnmw7sSNADy6tdAnGR65DqKBJNxP5smrqyTnaBInJTkwUbGwuPFiohPB10BYqfSUnwjkm2C3hRlI8t2bjD0wk/s320/image073-743804.jpg" id="BLOGGER_PHOTO_ID_6085191460062750498" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result I’ll have the following picture<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Certificates<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKnSmUPOcauHWNV0jZ2WEXMvYvspiDm7l-k3mh8fSX8UihGulhsQqxFfPubbxVW1p_vgddxMCQpnFsKfnpTSxHXMLDytwLOt4BSZ-mV-NaFxB1ox4Ptf7tvoyT8mkJDGX4-uJDaPeLGNtT/s1600/image074-747482.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKnSmUPOcauHWNV0jZ2WEXMvYvspiDm7l-k3mh8fSX8UihGulhsQqxFfPubbxVW1p_vgddxMCQpnFsKfnpTSxHXMLDytwLOt4BSZ-mV-NaFxB1ox4Ptf7tvoyT8mkJDGX4-uJDaPeLGNtT/s320/image074-747482.jpg" id="BLOGGER_PHOTO_ID_6085191472046435426" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now after we assigned needed certificate in ADFS Certificates I’ll restart ADFS for changes to come into effect<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
My next step will be to do a necessary ADFS setup. In this section I’ll start with Relying Party trust setup using Add Relying Party Trust Wizard <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Relying Party trust – Add Relying Party Trust Wizard<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2CMGH8NHfk5Unp9Kty6nerlu_LZ2XC_cbBDaIlQGC5SHA8rzpGmcIcZBVlHCAyXSzVsPtsG4AZY_9cyiQySHwimJCyFUZrMSjOYlgHB1VbQYtU2xu1CQrHiXxtnwh4WSTVzMUcZJ8ehrb/s1600/image075-751372.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2CMGH8NHfk5Unp9Kty6nerlu_LZ2XC_cbBDaIlQGC5SHA8rzpGmcIcZBVlHCAyXSzVsPtsG4AZY_9cyiQySHwimJCyFUZrMSjOYlgHB1VbQYtU2xu1CQrHiXxtnwh4WSTVzMUcZJ8ehrb/s320/image075-751372.jpg" id="BLOGGER_PHOTO_ID_6085191490102347074" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard - Welcome</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcHLENZamFNuJg4c4jLbxFAYtfMM4bl8dvc3Ry4ZNIoEmR9Sf2AqyL9XSzxnoe2q68LKHuNw5F7kSDiD8vP7cZ6tWBirIuJzINVrSp3Ha8vCctMIFzoM6axHY9LK2jlUPJpyKJFPBaBsko/s1600/image076-754427.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcHLENZamFNuJg4c4jLbxFAYtfMM4bl8dvc3Ry4ZNIoEmR9Sf2AqyL9XSzxnoe2q68LKHuNw5F7kSDiD8vP7cZ6tWBirIuJzINVrSp3Ha8vCctMIFzoM6axHY9LK2jlUPJpyKJFPBaBsko/s320/image076-754427.jpg" id="BLOGGER_PHOTO_ID_6085191503299477490" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard – Select Data Source</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi89RzPFo_OpTec6Mj8nuU1OLgfs_YpOni_V9kfVCSq6BfRgFs7I_vJFMRlpQgJLK88q52JegnkSFA7l8aNaNfSJKXvL3s4tv5IlgcusP-cKb4dPZxrQ864qtrNKj2oJvDUcXNHWPqw3s5y/s1600/image077-758099.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi89RzPFo_OpTec6Mj8nuU1OLgfs_YpOni_V9kfVCSq6BfRgFs7I_vJFMRlpQgJLK88q52JegnkSFA7l8aNaNfSJKXvL3s4tv5IlgcusP-cKb4dPZxrQ864qtrNKj2oJvDUcXNHWPqw3s5y/s320/image077-758099.jpg" id="BLOGGER_PHOTO_ID_6085191519252746498" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here I’ll specify FederationMetadata.xml file in federation metadata address<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard – Specify Display Name</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVip3RV7ACizD4OMIX8fDKK7OuFVyIkzrpeRqX02mVAsX2dKZ4Lk9k-1haGj-PIT38tKth4FysmhWHc4nP3rQHnQ60MfILLGrFRwoTLmlvPrJVUz7GF5bSJQzEH2LMMH8OLwKhi1Qm63Tr/s1600/image078-763814.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVip3RV7ACizD4OMIX8fDKK7OuFVyIkzrpeRqX02mVAsX2dKZ4Lk9k-1haGj-PIT38tKth4FysmhWHc4nP3rQHnQ60MfILLGrFRwoTLmlvPrJVUz7GF5bSJQzEH2LMMH8OLwKhi1Qm63Tr/s320/image078-763814.jpg" id="BLOGGER_PHOTO_ID_6085191545228997282" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard – Configure Multi-factor Authentication now?</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb6hyphenhyphenGXVrg4wlAv7MKj8Jt5Id7p-AmaQ6zu0i2tD9TvUjexaYm3gOl0XEStz7xzEehZI1JWU2IUJ62xVpWsW1joaADTkKANIzkPkVjrNWkOlckwbFdtdk_Na_0Bbm3KMjNTwgUDjJNbBBA/s1600/image079-767649.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb6hyphenhyphenGXVrg4wlAv7MKj8Jt5Id7p-AmaQ6zu0i2tD9TvUjexaYm3gOl0XEStz7xzEehZI1JWU2IUJ62xVpWsW1joaADTkKANIzkPkVjrNWkOlckwbFdtdk_Na_0Bbm3KMjNTwgUDjJNbBBA/s320/image079-767649.jpg" id="BLOGGER_PHOTO_ID_6085191562683626770" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard – Choose Issuance Authorization Rules </i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihDwRLs6NXZuW2OD26wQZM1lSPKzVNMNwHonu95iqDcLCcnTyrtLPKkxyAIbZGZOhyphenhyphenZhB-1c5K_emiUUOKUmAwZQV1BBFH8yXwRcq_K6HXhHOTMILU1Kc1f7hW1OMgL0ImN-1Zoo4vgMmB/s1600/image080-779162.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihDwRLs6NXZuW2OD26wQZM1lSPKzVNMNwHonu95iqDcLCcnTyrtLPKkxyAIbZGZOhyphenhyphenZhB-1c5K_emiUUOKUmAwZQV1BBFH8yXwRcq_K6HXhHOTMILU1Kc1f7hW1OMgL0ImN-1Zoo4vgMmB/s320/image080-779162.jpg" id="BLOGGER_PHOTO_ID_6085191611473044018" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard – Ready to add trust</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWAvAwP5lhyphenhyphenrBJyFZr4Yb3jA9l9y_0pWwIOJcBsP7CDhpDT2wgJWFwL8g9agWtCp9VVJRYnVrupWkCTlwnzNv_YmHLn3LYrcLZ86eGRUPFt3bF7-vPCjS_aOYa52b07fGMzeL4hQlISrW4/s1600/image081-787851.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWAvAwP5lhyphenhyphenrBJyFZr4Yb3jA9l9y_0pWwIOJcBsP7CDhpDT2wgJWFwL8g9agWtCp9VVJRYnVrupWkCTlwnzNv_YmHLn3LYrcLZ86eGRUPFt3bF7-vPCjS_aOYa52b07fGMzeL4hQlISrW4/s320/image081-787851.jpg" id="BLOGGER_PHOTO_ID_6085191649639283618" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Relying Party Trust Wizard - Finish</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt6ePS13xyvctb57ti7svE1NToH3CP6HMUHlHU55tIoImwJd0frYzftiaPAcJse10c9RH7b9x_-zHD5dlXneiwidEhDjo5hgNYsBuDLyO52LYIrI-NuJT1LjMfLplGxcNYy52VWEZSz7yF/s1600/image082-793979.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt6ePS13xyvctb57ti7svE1NToH3CP6HMUHlHU55tIoImwJd0frYzftiaPAcJse10c9RH7b9x_-zHD5dlXneiwidEhDjo5hgNYsBuDLyO52LYIrI-NuJT1LjMfLplGxcNYy52VWEZSz7yF/s320/image082-793979.jpg" id="BLOGGER_PHOTO_ID_6085191676082886866" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I left Open the Edit Claim Rules dialog for this relying party trust when the wizard closes checkbox marked which leads me to the next step in the setup<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Edit Claims Rules – Issuance Transform Rules</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIf9V7O_HgzczJ9FoZuZ-Iw7xWF7Hfbo7awqRno725uoXDm7bNpMQa7x_02L15WZOHMy1jAAKRCdi5HVNuv7tXwn8Sjdj-uscuSF-wkCpoNdtun97o6GoQgp45DZ_NIAWcqIjZWJjMIuwK/s1600/image083-797633.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIf9V7O_HgzczJ9FoZuZ-Iw7xWF7Hfbo7awqRno725uoXDm7bNpMQa7x_02L15WZOHMy1jAAKRCdi5HVNuv7tXwn8Sjdj-uscuSF-wkCpoNdtun97o6GoQgp45DZ_NIAWcqIjZWJjMIuwK/s320/image083-797633.png" id="BLOGGER_PHOTO_ID_6085191690549649602" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I’ll go ahead and click Add Rule here which will open another wizard<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Transform Claim Rule Wizard – Choose Rule Type</i> <o:p> </o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JQ4HXrGuaVUNQH7RSwMEYh7rUWscn6TLGe4LB49j2QLxJZAL4u1pzk7jMEnwuLMpoQ-F4p6Ii7Wv5uM4aZU8f4prF8xcdT4cAxP25u5nkAWXxmT5pkxHPrfnNji3U0SLD8CcfusVdtd6/s1600/image084-705041.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JQ4HXrGuaVUNQH7RSwMEYh7rUWscn6TLGe4LB49j2QLxJZAL4u1pzk7jMEnwuLMpoQ-F4p6Ii7Wv5uM4aZU8f4prF8xcdT4cAxP25u5nkAWXxmT5pkxHPrfnNji3U0SLD8CcfusVdtd6/s320/image084-705041.jpg" id="BLOGGER_PHOTO_ID_6085191722145216930" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Transform Claim Rule Wizard – Choose Claim Rule</i> <o:p> </o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0CcTrNoBKYDAlOrc5ZQKaQ94PDLONGhkYAYwq16FNR4-ubY9N8vkIIHLBgF4i-7CDGQMXtHp2yiyotfpcfAEjZGsvsv6wz79VAiVddq5HBxgzvMGK_qb_O1YoIk1N62WeQFzcPUxJgiRf/s1600/image085-709080.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0CcTrNoBKYDAlOrc5ZQKaQ94PDLONGhkYAYwq16FNR4-ubY9N8vkIIHLBgF4i-7CDGQMXtHp2yiyotfpcfAEjZGsvsv6wz79VAiVddq5HBxgzvMGK_qb_O1YoIk1N62WeQFzcPUxJgiRf/s320/image085-709080.jpg" id="BLOGGER_PHOTO_ID_6085191741640709250" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here’s my new Claim Rule created<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Edit Claim Rules – Issuance Transform Rules<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgTcRHWIr3vsZB7BbLYc1TwFQGCcm0l7dlK4cH63nqUjj6jaXeWpLTkXG2ejXfpBdlAIdScBcfUlzIQ91fLparOy0-mEsij5ggrhp4vsXhFMR55PeUvuSgsf_ubW1zPo2tz92J9gFBJR9/s1600/image086-713303.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgTcRHWIr3vsZB7BbLYc1TwFQGCcm0l7dlK4cH63nqUjj6jaXeWpLTkXG2ejXfpBdlAIdScBcfUlzIQ91fLparOy0-mEsij5ggrhp4vsXhFMR55PeUvuSgsf_ubW1zPo2tz92J9gFBJR9/s320/image086-713303.png" id="BLOGGER_PHOTO_ID_6085191759075489634" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I can also see Relying Party Trust configured in ADFS > Trust Relationships > Relaying Party Trusts<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Relying Party Trusts<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYz7ukYDScSFNftYp0OO-jbo-ofaK63spoeaiUtGG-dL3d0lYJHjBEhQbUvel4TKFVH2YCJTCV2So2oOcj5BB5jQwYTVcmu0bNb3fBIq1emC-U81Fzp6wYZ4BsmglYBSOt14UcYHAGySAi/s1600/image087-717183.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYz7ukYDScSFNftYp0OO-jbo-ofaK63spoeaiUtGG-dL3d0lYJHjBEhQbUvel4TKFVH2YCJTCV2So2oOcj5BB5jQwYTVcmu0bNb3fBIq1emC-U81Fzp6wYZ4BsmglYBSOt14UcYHAGySAi/s320/image087-717183.jpg" id="BLOGGER_PHOTO_ID_6085191775090955554" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
While I’m in ADFS Configuration I’ll also change ADFS properties<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkibXgRuKqmpOc0MCOBIScCczbSm4nCYCG_BR1qoCVqSelURsH0tFFVaOsXjpqSmuwoFb4or8-aDm3LJSYkQRX22so-L-pehHqPFpcSJ3M9UV_IQ_5PgEeqiq9_zfX-Gyn-W9d_5RwozR2/s1600/image088-720401.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkibXgRuKqmpOc0MCOBIScCczbSm4nCYCG_BR1qoCVqSelURsH0tFFVaOsXjpqSmuwoFb4or8-aDm3LJSYkQRX22so-L-pehHqPFpcSJ3M9UV_IQ_5PgEeqiq9_zfX-Gyn-W9d_5RwozR2/s320/image088-720401.jpg" id="BLOGGER_PHOTO_ID_6085191790624921186" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In particular I wanna change Federation Service Properties<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is how it looked like Before<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPxgo3PJknPZMwPC_gWY-fAIytlJH6krG9IUP4i4cqepKqwCosD7XIHZNrTLqbmO47v_no-HlKu2a3h5zgNt0-9t-KydiF1rLxRUodmdg6hX-37ATsVnvoPgkp8OTLzLhzFBUmnUGWfi2j/s1600/image089-725788.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPxgo3PJknPZMwPC_gWY-fAIytlJH6krG9IUP4i4cqepKqwCosD7XIHZNrTLqbmO47v_no-HlKu2a3h5zgNt0-9t-KydiF1rLxRUodmdg6hX-37ATsVnvoPgkp8OTLzLhzFBUmnUGWfi2j/s320/image089-725788.png" id="BLOGGER_PHOTO_ID_6085191812062430674" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And this is how it looked like After<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivskNsPtCwFT5QT1sOd9G20g8StxAyU4Ac3woXblpUBoTrlcZD_cbw9nK-tbzdsNcgMwo2zV16h7-DEYxF95ZoQktzZz2YlM4ptOeTPAui-nprYPOS-daoozKEmiHphWluZbLdftURAIFg/s1600/image090-730530.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivskNsPtCwFT5QT1sOd9G20g8StxAyU4Ac3woXblpUBoTrlcZD_cbw9nK-tbzdsNcgMwo2zV16h7-DEYxF95ZoQktzZz2YlM4ptOeTPAui-nprYPOS-daoozKEmiHphWluZbLdftURAIFg/s320/image090-730530.png" id="BLOGGER_PHOTO_ID_6085191833362440882" /></a> <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I used machine name (XYZ.cloudapp.net) in Service names and URLs<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ADFS Management<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbVXat_N24l9IXKluPumHzNLgPmo94C5NgfrpTu6lh1qisMB-MC5CLAnkswVST9BNZ1EKpgemVzbU0Brx2Oo_a8y0oBRRdknqHlKoS-UTLB1W8Ug2QXi2grFM4oHyiHYhL8vOLJm3DN7QW/s1600/image091-737955.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbVXat_N24l9IXKluPumHzNLgPmo94C5NgfrpTu6lh1qisMB-MC5CLAnkswVST9BNZ1EKpgemVzbU0Brx2Oo_a8y0oBRRdknqHlKoS-UTLB1W8Ug2QXi2grFM4oHyiHYhL8vOLJm3DN7QW/s320/image091-737955.png" id="BLOGGER_PHOTO_ID_6085191864532353058" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As usually after I’ve done some changes to ADFS setup I’ll restart ADFS<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let’s setup Access Control Service (ACS) appropriately by going to ACS Portal<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTmVx2Y5DUm95yVDjoigHafsZmGjVOhdv9VPA18cYsXMQji5AoXRxyV7IXn1J_XGZb1wdyr_yiDD4WdvFzPcON8gSus1zbRfqKUKAqrMn9c3lxtFlUsPvqPvfcV63o15vROCcgyqaULVLA/s1600/image092-742080.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTmVx2Y5DUm95yVDjoigHafsZmGjVOhdv9VPA18cYsXMQji5AoXRxyV7IXn1J_XGZb1wdyr_yiDD4WdvFzPcON8gSus1zbRfqKUKAqrMn9c3lxtFlUsPvqPvfcV63o15vROCcgyqaULVLA/s320/image092-742080.jpg" id="BLOGGER_PHOTO_ID_6085191880866374498" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here I’ll start with adding a new Identity Provider (Add)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Identity Providers<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN9v5NG7Yp47fIVzGgyNAn_MWJ-AMDDrERbXcIeM6l5-pS721IK9GkkD5IN7FOWtCW5hbjWwObf09RvWbI3PvEd6utg5rUBlRtky8KVZDh3QbsdNfIytYvJuaEP-QhHQEIzkdByPkrLpyu/s1600/image093-747113.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN9v5NG7Yp47fIVzGgyNAn_MWJ-AMDDrERbXcIeM6l5-pS721IK9GkkD5IN7FOWtCW5hbjWwObf09RvWbI3PvEd6utg5rUBlRtky8KVZDh3QbsdNfIytYvJuaEP-QhHQEIzkdByPkrLpyu/s320/image093-747113.jpg" id="BLOGGER_PHOTO_ID_6085191902005176066" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add Identity Provider<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnxBCyxKZ17wpGMNQuw3VP-9qfl3rbay1tAoggmb5YrFS9e1Mxzc5WoYTzOC7cg_X3M_I1kjdjajJI_fwe_cc_rSDngUknySjLaVsaVNxx_2XCHjzdlVoIqNFKWA8yJPoAVPRv4LcVp7Yr/s1600/image094-752494.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnxBCyxKZ17wpGMNQuw3VP-9qfl3rbay1tAoggmb5YrFS9e1Mxzc5WoYTzOC7cg_X3M_I1kjdjajJI_fwe_cc_rSDngUknySjLaVsaVNxx_2XCHjzdlVoIqNFKWA8yJPoAVPRv4LcVp7Yr/s320/image094-752494.jpg" id="BLOGGER_PHOTO_ID_6085191926813397218" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
On the next step I’ll need to provide Federation Metadata URL in the form like this: <a href="https://ax2012r3-demo-alexanimobile-xyz.cloudapp.net/federationmetadata/2007-06/federationmetadata.xml"> https://ax2012r3-demo-alexanimobile-XYZ.cloudapp.net/federationmetadata/2007-06/federationmetadata.xml</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So let’s try to open this URL in the Web Browser<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IE – Federation Metadata URL<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwFilVD8uhM3cAohP04dllxVqj5LrtxI4eA9AzchkHK0c92Lq8j2Y4xf8UJDqeo3XUKuYxx1sZ2O17vTZ2dcdCH70mcbOBQGZYFn5C3HAz-2vvH2WAj-4O0kcEmAbGAHLDvIckJcQMzU4i/s1600/image095-756655.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwFilVD8uhM3cAohP04dllxVqj5LrtxI4eA9AzchkHK0c92Lq8j2Y4xf8UJDqeo3XUKuYxx1sZ2O17vTZ2dcdCH70mcbOBQGZYFn5C3HAz-2vvH2WAj-4O0kcEmAbGAHLDvIckJcQMzU4i/s320/image095-756655.jpg" id="BLOGGER_PHOTO_ID_6085191947780181890" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that if I try to open this URL from outside of Demo VM, for example, from my IE on the laptop I’ll see Untrusted Certificate warning which is logical<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Untrusted Certificate <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAGg9895M499z6r-UJpUXaHNk7YdrRGBdcGY1pmzNyzD21iUOyONX9CXtx-gIgm5n_o4AwEefbosTKGwEQrXhHp1KMwl9aJONJYc9hc_MAAPi_kbeEOlrP6aagjde6um6hSxmRVVuy5Hd2/s1600/image096-761402.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAGg9895M499z6r-UJpUXaHNk7YdrRGBdcGY1pmzNyzD21iUOyONX9CXtx-gIgm5n_o4AwEefbosTKGwEQrXhHp1KMwl9aJONJYc9hc_MAAPi_kbeEOlrP6aagjde6um6hSxmRVVuy5Hd2/s320/image096-761402.png" id="BLOGGER_PHOTO_ID_6085191968815934946" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Untrusted Certificate – Certificate - General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtkt7xWClTchotRVhFdLCyc0AhUic19WeVlI12I58zpcISlIvQ6JKpuSBlBkpzdkBO23N-M83ZZ8yk3lhuq8ov3FAHHibOHht3l-92XqbgQouf4HhHGlLcUG4Wb6iK0XGi1_K4IX_-_zRQ/s1600/image097-765595.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtkt7xWClTchotRVhFdLCyc0AhUic19WeVlI12I58zpcISlIvQ6JKpuSBlBkpzdkBO23N-M83ZZ8yk3lhuq8ov3FAHHibOHht3l-92XqbgQouf4HhHGlLcUG4Wb6iK0XGi1_K4IX_-_zRQ/s320/image097-765595.png" id="BLOGGER_PHOTO_ID_6085191984356267090" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Untrusted Certificate – Certificate - Details<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdvn3ZGusuczSFY8w_T8ylJYGsCjwmk52c6VC4ScQVOzrA8dM2cOuUKIS3jyqtROa2Me3saNcyURcFYchcVzLrWjzUnZrNE6P6k0fyG-tey5DPszrDxhbVlVaLeXz57d8GmhRUOX7SjMeM/s1600/image098-769627.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdvn3ZGusuczSFY8w_T8ylJYGsCjwmk52c6VC4ScQVOzrA8dM2cOuUKIS3jyqtROa2Me3saNcyURcFYchcVzLrWjzUnZrNE6P6k0fyG-tey5DPszrDxhbVlVaLeXz57d8GmhRUOX7SjMeM/s320/image098-769627.png" id="BLOGGER_PHOTO_ID_6085192002770662354" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Untrusted Certificate – Certificate – Certification Path<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLS4Ke0Eb_kKHTwxbfUQxO2vUl9O8nzzaGV_65m1ZCX7OIrfUcC0ls-xHU8QB3S9nozXjE_e7HqCvpLsCBAeIdTq2WQWaueQk_ZVZsoVv8QporR1kfJQR9YT_6qeTYMDKGY3Bf_aiKlgRW/s1600/image099-773399.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLS4Ke0Eb_kKHTwxbfUQxO2vUl9O8nzzaGV_65m1ZCX7OIrfUcC0ls-xHU8QB3S9nozXjE_e7HqCvpLsCBAeIdTq2WQWaueQk_ZVZsoVv8QporR1kfJQR9YT_6qeTYMDKGY3Bf_aiKlgRW/s320/image099-773399.png" id="BLOGGER_PHOTO_ID_6085192020943385314" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
But if I try to open this URL from within Azure Demo VM Website identification will pass okay which is also logical<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Website identification <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6-sOlido4X9XjDupdViUN4df6nRZvhXSjoPSB6Nkwio_10MMAH567M0DVHtn7ifZ-cv5TjIjHknNnHi7hpxBNL6YWaLM0rUkV72bcE8mOkxJ6YYK6Ru4BRU95AAbkr9wH46XHmtAanA0/s1600/image100-777190.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6-sOlido4X9XjDupdViUN4df6nRZvhXSjoPSB6Nkwio_10MMAH567M0DVHtn7ifZ-cv5TjIjHknNnHi7hpxBNL6YWaLM0rUkV72bcE8mOkxJ6YYK6Ru4BRU95AAbkr9wH46XHmtAanA0/s320/image100-777190.png" id="BLOGGER_PHOTO_ID_6085192033289023538" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Website identification – Certificate - General</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI1E2oHhFaUayIQFpMlHosw8744eeFzSne7C3duoSwz3ue0FO6iSrfTFMKvwMcVJ0nG1wLZxCXBAk7A0uTyjNl0NMYM_s5lUbidxtArYUYHEMbRD5mAzzDS0U9Q2GYV1RktiR4x2g9UKAV/s1600/image101-781358.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI1E2oHhFaUayIQFpMlHosw8744eeFzSne7C3duoSwz3ue0FO6iSrfTFMKvwMcVJ0nG1wLZxCXBAk7A0uTyjNl0NMYM_s5lUbidxtArYUYHEMbRD5mAzzDS0U9Q2GYV1RktiR4x2g9UKAV/s320/image101-781358.png" id="BLOGGER_PHOTO_ID_6085192054505318242" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Website identification – Certificate - Details</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8rJTADoWHLIzgQNqtC63KACx4ocHe7CiF8RL47pygDLqMcmaUpbhSkKcbolWf9c_76WRBot8y-9AkGGhcdFGETHjI2LsspfvbcB1McjyJum8abkuVarXZalkxBE5Zr1b9jdT2GPi1mO-k/s1600/image102-786556.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8rJTADoWHLIzgQNqtC63KACx4ocHe7CiF8RL47pygDLqMcmaUpbhSkKcbolWf9c_76WRBot8y-9AkGGhcdFGETHjI2LsspfvbcB1McjyJum8abkuVarXZalkxBE5Zr1b9jdT2GPi1mO-k/s320/image102-786556.png" id="BLOGGER_PHOTO_ID_6085192072673529282" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Website identification – Certificate – Certification Path</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyGUPNm6IIZ8JsfwA0ZNSlQ0mwWpUFBWBGrFLZnT3kaOAFLpiKwz7YxmiNN5jOrrPPRXaG5YGZ5v_tVlc1a0vTYZKcaRfHOlZ-z7NgpEnCZ7l2OyS2BgOxp_qg-FO-v8GezvxefFvhDA5X/s1600/image103-793355.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyGUPNm6IIZ8JsfwA0ZNSlQ0mwWpUFBWBGrFLZnT3kaOAFLpiKwz7YxmiNN5jOrrPPRXaG5YGZ5v_tVlc1a0vTYZKcaRfHOlZ-z7NgpEnCZ7l2OyS2BgOxp_qg-FO-v8GezvxefFvhDA5X/s320/image103-793355.png" id="BLOGGER_PHOTO_ID_6085192102774033810" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The final piece of setup related to the certificate needed will be to grant access to users to manage private keys. For this purpose I’ll go to Certificates Snap-in, find my certificate and click All Tasks > Manage Private Keys<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Certificate – All Tasks – Manage Private Keys <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh17Cf1Ezwpw-lxsCIjR1HT-ycl2Rn4fTAkUtNU7f-SWeQys-PANnnX0q4CJziAE6drlFz6_2tIIzAdL85e0fSfyK0_bmcO9UcDxkE1ugnyHRoN-AX0hBGb1L5AXWU8kr4lahZ5xtp2pmrc/s1600/image104-796869.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh17Cf1Ezwpw-lxsCIjR1HT-ycl2Rn4fTAkUtNU7f-SWeQys-PANnnX0q4CJziAE6drlFz6_2tIIzAdL85e0fSfyK0_bmcO9UcDxkE1ugnyHRoN-AX0hBGb1L5AXWU8kr4lahZ5xtp2pmrc/s320/image104-796869.jpg" id="BLOGGER_PHOTO_ID_6085192119358858802" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next we find “nt service\adfssrv” in the list from location: AX2012R2A and modify permissions as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Permissions<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvyzvqcXGQiXRx9PYNDwbemekdxF8JNKhHhAnYIw8kmhhUPLp8wQYzxlq4lGEAqOSmWayam4vUGpDCL4wG2bfX4V2DdLWEIFIQe6bGl1d7jWyiywoInPJVGr7jJl8Tn32WhCcY8niz5szk/s1600/image105-700589.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvyzvqcXGQiXRx9PYNDwbemekdxF8JNKhHhAnYIw8kmhhUPLp8wQYzxlq4lGEAqOSmWayam4vUGpDCL4wG2bfX4V2DdLWEIFIQe6bGl1d7jWyiywoInPJVGr7jJl8Tn32WhCcY8niz5szk/s320/image105-700589.png" id="BLOGGER_PHOTO_ID_6085192134852000434" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Back to ACS setup now. We left it at the point when we wanted to add Federation Metadata URL link in the definition of a new Identity Provider. When doing this you may see “Unable to download a WS-Federation metadata document from the specified URL” message<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add WS-Federation Identity Provider<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwiyvDBge3gEFgtk_ddsKW8ZH1jBk7qsU52cQNoAlvEFib5bejhYtJUT8VaTNAWLV3gldEvIMonUDpLr2FAzViLpAahwcxV5UU9mgWQsGOleKJWM3JvMNb9csA2caRbVjfgwP3MthFbuWW/s1600/image106-704563.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwiyvDBge3gEFgtk_ddsKW8ZH1jBk7qsU52cQNoAlvEFib5bejhYtJUT8VaTNAWLV3gldEvIMonUDpLr2FAzViLpAahwcxV5UU9mgWQsGOleKJWM3JvMNb9csA2caRbVjfgwP3MthFbuWW/s320/image106-704563.jpg" id="BLOGGER_PHOTO_ID_6085192153590536386" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to upload WS-Federation metadata I used File option instead of URL. I downloaded/saved FederationMetadata.xml file from within Azure Demo VM in the Web Browser where this URL can be resolved<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Downloads <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlBxmBkpj0-5lKP718_ZS0gkqkxtN2EgVPhs0kT88O9eVgyrIA9ENs8W9doo2mLIUB62ZQVx5-63ix2Wi3tVaApnk3p2AK1o_Rbt7byfQKGBheUxfTEPd5-ISH854UX4zwhsBjO-NARYmi/s1600/image107-708461.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlBxmBkpj0-5lKP718_ZS0gkqkxtN2EgVPhs0kT88O9eVgyrIA9ENs8W9doo2mLIUB62ZQVx5-63ix2Wi3tVaApnk3p2AK1o_Rbt7byfQKGBheUxfTEPd5-ISH854UX4zwhsBjO-NARYmi/s320/image107-708461.jpg" id="BLOGGER_PHOTO_ID_6085192169425059634" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then simply uploaded a file as WS-Federation metadata<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add WS-Federation Identity Provider</i> <i><o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqrPeLXK33X7SUeuzOMJ_3RYDjGFzwlzCR8UTvQr3HarzyoDfqYRexIVFhsa6tM7zPwrrinurOAeqtsoq7iAvceDk2Jee7tym7YEsUZzqAlfH4lS8GBTKiKBjJisjKss3p6wh7GJ0Xhg6u/s1600/image108-713257.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqrPeLXK33X7SUeuzOMJ_3RYDjGFzwlzCR8UTvQr3HarzyoDfqYRexIVFhsa6tM7zPwrrinurOAeqtsoq7iAvceDk2Jee7tym7YEsUZzqAlfH4lS8GBTKiKBjJisjKss3p6wh7GJ0Xhg6u/s320/image108-713257.jpg" id="BLOGGER_PHOTO_ID_6085192190980826114" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now as Identity Provider has been created we’ll need to take care of Rule Groups<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Identity Providers</i> <i><o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVLTDoL2sxQAvnPjU9VnRCllhRrVnGWYg7tf5a3HxQlNEtOrLJ5a1Ozb6bv03gomv0zW-yfY48YqKqEtEc5n73IQIC7YMY9DJ5PKFz-VV7A8ICKUe9AayqPTPZzJ3VsTuayYiUBeIOk4nW/s1600/image109-718902.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVLTDoL2sxQAvnPjU9VnRCllhRrVnGWYg7tf5a3HxQlNEtOrLJ5a1Ozb6bv03gomv0zW-yfY48YqKqEtEc5n73IQIC7YMY9DJ5PKFz-VV7A8ICKUe9AayqPTPZzJ3VsTuayYiUBeIOk4nW/s320/image109-718902.jpg" id="BLOGGER_PHOTO_ID_6085192210784816690" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Rule Groups<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDjgPX2nRERqzYlhCKT0mbd06FGC_u3_FYlHeI5qYqeDBMZ4frtXAmUf2ZmlmnSK7ppudtOIuRF0YgIHg32tQYPzcdAi91DrjxfJTjALgb8shuil6LDIgaBeHX_8GfmgdM-fpHErnWe9GT/s1600/image110-725454.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDjgPX2nRERqzYlhCKT0mbd06FGC_u3_FYlHeI5qYqeDBMZ4frtXAmUf2ZmlmnSK7ppudtOIuRF0YgIHg32tQYPzcdAi91DrjxfJTjALgb8shuil6LDIgaBeHX_8GfmgdM-fpHErnWe9GT/s320/image110-725454.jpg" id="BLOGGER_PHOTO_ID_6085192240162211250" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As prescribed in the documentation I’ll delete last 2 rules <o:p> </o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Edit Rule Group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3bCeq5UzDACGDhyphenhyphenjSb0wdU-5ir-M0B3Ba15dakpHoEz7lt_qoieg-LY8s5k-kWwWla-q1kFXmJW_bTMDpPAccTH2_Xmshn7aHuwW9BbwDB23Yvb8wo9Xbb0lGThASJy2rtG8HpUVWTVmG/s1600/image111-729581.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3bCeq5UzDACGDhyphenhyphenjSb0wdU-5ir-M0B3Ba15dakpHoEz7lt_qoieg-LY8s5k-kWwWla-q1kFXmJW_bTMDpPAccTH2_Xmshn7aHuwW9BbwDB23Yvb8wo9Xbb0lGThASJy2rtG8HpUVWTVmG/s320/image111-729581.jpg" id="BLOGGER_PHOTO_ID_6085192258199540066" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Delete Claim Rules<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyQQk5XXJoKSU5dOUlP1Pl4Mwckccx_wXmSjwQuEZoWCovS-MoJ6l-Aa_ld2lgckz5oTOw1R30hdY-lgn8Y4X952mhVOjeZ6-yS6JVVmlGAUYypMe8zBb4kX-nC70HaJj2nIz3CP6uer3I/s1600/image112-733251.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyQQk5XXJoKSU5dOUlP1Pl4Mwckccx_wXmSjwQuEZoWCovS-MoJ6l-Aa_ld2lgckz5oTOw1R30hdY-lgn8Y4X952mhVOjeZ6-yS6JVVmlGAUYypMe8zBb4kX-nC70HaJj2nIz3CP6uer3I/s320/image112-733251.jpg" id="BLOGGER_PHOTO_ID_6085192271051274258" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And add 1 on my own<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add Claim Rule<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXiC_XquxZiekpFW_Ne01pJz7dWXUUPrGgZUC3oGxjaQJD_aezBQo8-2ZMUv-9tT0lLbOfhb_bsPfugnxpdc00vhsFvKUTsrtsMs8s9loKLD7SxpNoEqJ6Bx3gL7s827kaX2efxqDsq8Ki/s1600/image113-737025.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXiC_XquxZiekpFW_Ne01pJz7dWXUUPrGgZUC3oGxjaQJD_aezBQo8-2ZMUv-9tT0lLbOfhb_bsPfugnxpdc00vhsFvKUTsrtsMs8s9loKLD7SxpNoEqJ6Bx3gL7s827kaX2efxqDsq8Ki/s320/image113-737025.jpg" id="BLOGGER_PHOTO_ID_6085192289030845970" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add Claim Rule<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ8pPwHMjWRREGAg_0Tf-CvPFxjL72ouvLkr8WD6lJJei0arvhyphenhyphenCD5u_6VlSujO2xsZf1YXVgpnTz7mKYgXcpsr9vpA0xRwwcWgHAAG-Z2j579cCTsLhwnLCJvvrKSDGVxxum2eMHHsg5b/s1600/image114-742021.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ8pPwHMjWRREGAg_0Tf-CvPFxjL72ouvLkr8WD6lJJei0arvhyphenhyphenCD5u_6VlSujO2xsZf1YXVgpnTz7mKYgXcpsr9vpA0xRwwcWgHAAG-Z2j579cCTsLhwnLCJvvrKSDGVxxum2eMHHsg5b/s320/image114-742021.jpg" id="BLOGGER_PHOTO_ID_6085192312515353650" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ACS – Add Claim Rule<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf0W5Zg7TrhP_6egsyS_32PqFyhc3cey1_rJ_bLbELThVg5XwZmrdbKUNFBhG0NYqRQszxNnrVTfzPe18gq9bzpL2gxwtmr54qww_abF0VNUqteIKouWDb6Tza-MuqU4p8cBQ4FS7Xy58K/s1600/image115-745803.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf0W5Zg7TrhP_6egsyS_32PqFyhc3cey1_rJ_bLbELThVg5XwZmrdbKUNFBhG0NYqRQszxNnrVTfzPe18gq9bzpL2gxwtmr54qww_abF0VNUqteIKouWDb6Tza-MuqU4p8cBQ4FS7Xy58K/s320/image115-745803.jpg" id="BLOGGER_PHOTO_ID_6085192328693512754" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I’ll also change hosts file on the Demo VM in order to translate machines IP Address into a name (XYZ.cloudapp.net)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Hosts file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJucdsUAa09JBG20-8dWAaFfe5r7uldTQbVSe8gTUIkSK6rjdPxIpJRsHfAP3HCM1XI7LuxJ2FUgY260jSu1x7yHAEaF2j-fKP7o1zPMkv0ywlDHGyYmbYtGPylT1o46RDGlhrX-Wzwp-/s1600/image116-751119.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJucdsUAa09JBG20-8dWAaFfe5r7uldTQbVSe8gTUIkSK6rjdPxIpJRsHfAP3HCM1XI7LuxJ2FUgY260jSu1x7yHAEaF2j-fKP7o1zPMkv0ywlDHGyYmbYtGPylT1o46RDGlhrX-Wzwp-/s320/image116-751119.jpg" id="BLOGGER_PHOTO_ID_6085192350991745458" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After all this setup it is time to configure Microsoft Dynamics AX Connector for Mobile Apps which is already installed on the Demo VM<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is how Connector for Mobile Apps looks before configuration (Stopped state)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOilN4bMIdcfKggMmL6lRkSjsg_FIq54EFqvUoABwb9bGkCeyfhkSg-C-1t1HIivcKVWQ95Fyxbe3XRucxqeqZzI8zge1_UvloL39bANhqP6uWXBGtyFGSdqrhg_Ul_KWNW2txp2utj8F4/s1600/image117-755029.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOilN4bMIdcfKggMmL6lRkSjsg_FIq54EFqvUoABwb9bGkCeyfhkSg-C-1t1HIivcKVWQ95Fyxbe3XRucxqeqZzI8zge1_UvloL39bANhqP6uWXBGtyFGSdqrhg_Ul_KWNW2txp2utj8F4/s320/image117-755029.png" id="BLOGGER_PHOTO_ID_6085192365082272914" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And this is how Connector for Mobile Apps looks after configuration (Started state)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connector for Mobile Apps – Azure service namespace <o:p> </o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcKPvxZBCtqRV7i9YsO1rk9zdOtCIDwYk4zUZgkq4qbOWwtOcxeERg-yOEwx5Aui3_nSpTwiiFLUqwnWk4HqX_ZPX67xBKzgTrJzW-Zy3iGMXty0GYH7CpKK9LoRJR0P55gGSygDDATa76/s1600/image118-759441.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcKPvxZBCtqRV7i9YsO1rk9zdOtCIDwYk4zUZgkq4qbOWwtOcxeERg-yOEwx5Aui3_nSpTwiiFLUqwnWk4HqX_ZPX67xBKzgTrJzW-Zy3iGMXty0GYH7CpKK9LoRJR0P55gGSygDDATa76/s320/image118-759441.png" id="BLOGGER_PHOTO_ID_6085192386350153858" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When you start Connector for Mobile Apps in the UI appropriate Windows Service is started<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Service – Microsoft Dynamics AX Connector for Mobile Apps <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Rxd7rO5YIqzmae-FC0Mytd3Bqj8Uucfng1kWY7agQ32ZYIN4A8NNs1pZw2ZoW8qBPVN7aFjWPhMpQnLQAdX8BzHBRMVTuBaMVSRjZE7DLqBAOIVrl-WR-qWJ71GNlVrVr7Z18KQwaGPK/s1600/image119-763731.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Rxd7rO5YIqzmae-FC0Mytd3Bqj8Uucfng1kWY7agQ32ZYIN4A8NNs1pZw2ZoW8qBPVN7aFjWPhMpQnLQAdX8BzHBRMVTuBaMVSRjZE7DLqBAOIVrl-WR-qWJ71GNlVrVr7Z18KQwaGPK/s320/image119-763731.jpg" id="BLOGGER_PHOTO_ID_6085192405918311106" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can also see appropriate events logged in Event Viewer<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Event Viewer – Relay is now online <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS-HZLSKrAqohCCS6VfGx3-IPVtG5fs1M0NlTyVAwkEozHhpupTi9jZmj3awXE162NUper6k_-kWh2EhGFCYDrn34G3_AdL8QwhpMytyrRHufQUsf4_cdgqJkOBYnelsSRHhEfWG9rKdiv/s1600/image120-767340.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS-HZLSKrAqohCCS6VfGx3-IPVtG5fs1M0NlTyVAwkEozHhpupTi9jZmj3awXE162NUper6k_-kWh2EhGFCYDrn34G3_AdL8QwhpMytyrRHufQUsf4_cdgqJkOBYnelsSRHhEfWG9rKdiv/s320/image120-767340.png" id="BLOGGER_PHOTO_ID_6085192418946410242" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Event Viewer – host is now open</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggPPTcl8EDbZdPLVkT1lSPpnRtT2q70hYzpXLAxq-FI9P77x1kdTwwhUmsbeFSNLZItYayZAYiHVoHOvyTfPfn6wP7jgD5HjrjVEi-KljmAZBvQZ66-pfNS171pOekIgMv1_RjgcvvILER/s1600/image121-771077.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggPPTcl8EDbZdPLVkT1lSPpnRtT2q70hYzpXLAxq-FI9P77x1kdTwwhUmsbeFSNLZItYayZAYiHVoHOvyTfPfn6wP7jgD5HjrjVEi-KljmAZBvQZ66-pfNS171pOekIgMv1_RjgcvvILER/s320/image121-771077.png" id="BLOGGER_PHOTO_ID_6085192436278830866" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Event Viewer – Relay is now online</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFioiFV9DSwjFZ9fx4x96yDuqMPjGBTB5psdGXM_JjahTA86kZNJKdhtiBULiuYSRoZG8aafZyqbbd014d8Wa2bD9bwFA6hoRLCm7AHZhLrYVHBxdJpKHn_hOX0idKR0PpcZ_qgLy9hA5U/s1600/image122-779387.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFioiFV9DSwjFZ9fx4x96yDuqMPjGBTB5psdGXM_JjahTA86kZNJKdhtiBULiuYSRoZG8aafZyqbbd014d8Wa2bD9bwFA6hoRLCm7AHZhLrYVHBxdJpKHn_hOX0idKR0PpcZ_qgLy9hA5U/s320/image122-779387.png" id="BLOGGER_PHOTO_ID_6085192470890121954" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Event Viewer – host is now open</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDLVRLztIxy14CW2L-WZjlQ9McDq65I1LT7Dig_W4Oev7muF0dLnlOPd6v-aB-7DpUp304BeflFyyf92TvtiRGV9BYOBUSDIXhuMGhvDCb7yEfHsrb-ON9LsxLVTx93hA_poVJjunQwev8/s1600/image123-783772.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDLVRLztIxy14CW2L-WZjlQ9McDq65I1LT7Dig_W4Oev7muF0dLnlOPd6v-aB-7DpUp304BeflFyyf92TvtiRGV9BYOBUSDIXhuMGhvDCb7yEfHsrb-ON9LsxLVTx93hA_poVJjunQwev8/s320/image123-783772.png" id="BLOGGER_PHOTO_ID_6085192492848585778" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it is time to look at the list of Relays for the Service Bus in Windows Azure portal<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SB Relays<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0vPly4S-d3kRDh3u9GaBdIUSNEH013UQv5KlahUO_DE7V6_4ZaoHGB3fA_2XbpqE69iwz0WwT9llxnXlUuy7bFv21dD6QXACZE4lZbRyUamvp458Q0WRdvcR325Bu4pR7jHft2xifHlu/s1600/image124-787628.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0vPly4S-d3kRDh3u9GaBdIUSNEH013UQv5KlahUO_DE7V6_4ZaoHGB3fA_2XbpqE69iwz0WwT9llxnXlUuy7bFv21dD6QXACZE4lZbRyUamvp458Q0WRdvcR325Bu4pR7jHft2xifHlu/s320/image124-787628.jpg" id="BLOGGER_PHOTO_ID_6085192508392665410" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As you can see after we started Microsoft Dynamics AX Connector for Mobile Apps bunch of active relays immediately popped up. This all looks great! We are on air now!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let’s get to the Expense App now. Please note that when you first time launch Expenses App you can choose from Demo mode and Connected mode of operation. In our case we are interested in Connected mode. Please also note that you can switch between Demo mode and Connected mode using Apps settings <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Expense App<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4q8mPmAOFyYIjYCq4_gQKAxdl_JwyEQj1KTSKqXPkbfE1Owgrf3-CbR6tb7gK5Uc1jinzofS2yzMe8NrWrSDKz9GYKvdpHhXoGtPnR7mkZQl9zn8rMo78Ai-ZTDaG5B_MrxohjwkyDPU2/s1600/image125-792000.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4q8mPmAOFyYIjYCq4_gQKAxdl_JwyEQj1KTSKqXPkbfE1Owgrf3-CbR6tb7gK5Uc1jinzofS2yzMe8NrWrSDKz9GYKvdpHhXoGtPnR7mkZQl9zn8rMo78Ai-ZTDaG5B_MrxohjwkyDPU2/s320/image125-792000.jpg" id="BLOGGER_PHOTO_ID_6085192526143258594" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we’ll provide a log in information using User Yoichiro Okada (contoso\yoichiroo)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Log in <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwG3FSi7IprM-5RwKCF9ModzHsIExZPd9e6XGYLlHfM-Vt3Q586BfBAXYb75rVbzkp7eO_Mqc_af16igcg1mWL4OFPq2naHtEKp_IDGWreaBpG-N9C_s_0sqovLbzk3tlzf_RrR57tRlc9/s1600/image126-797211.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwG3FSi7IprM-5RwKCF9ModzHsIExZPd9e6XGYLlHfM-Vt3Q586BfBAXYb75rVbzkp7eO_Mqc_af16igcg1mWL4OFPq2naHtEKp_IDGWreaBpG-N9C_s_0sqovLbzk3tlzf_RrR57tRlc9/s320/image126-797211.png" id="BLOGGER_PHOTO_ID_6085192549247463778" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Signing in to Microsoft Dynamics AX<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAZx3oboUFvpKaVK50D5b0aIJ62KcqJGhYyDFvL37EtbSBj66rzcKE2kpGIPs8aIbylkLIiDOu7Y3hrz8HgbWf7YZAH-GMnY4TrvPGZKslN5pkqSO6PNXk9-B1rDPhnBkqXQSftqys74xH/s1600/image127-704060.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAZx3oboUFvpKaVK50D5b0aIJ62KcqJGhYyDFvL37EtbSBj66rzcKE2kpGIPs8aIbylkLIiDOu7Y3hrz8HgbWf7YZAH-GMnY4TrvPGZKslN5pkqSO6PNXk9-B1rDPhnBkqXQSftqys74xH/s320/image127-704060.png" id="BLOGGER_PHOTO_ID_6085192579217968450" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once signed in you can verify sign in information in Apps settings<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Account<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-w9MrtBotTa8oCBzACNqLnLbTZr03bVJuXd4lb8uoCpgUS5nUtIT5ReR6KLj5fCJ2ZdEAMhcRz2OIUYUAQIa-ESXmQBrlWPJy7-Xp8BmJplMqn5_V67kvOqoskLjZzMYTIwhSTRootd_M/s1600/image128-708530.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-w9MrtBotTa8oCBzACNqLnLbTZr03bVJuXd4lb8uoCpgUS5nUtIT5ReR6KLj5fCJ2ZdEAMhcRz2OIUYUAQIa-ESXmQBrlWPJy7-Xp8BmJplMqn5_V67kvOqoskLjZzMYTIwhSTRootd_M/s320/image128-708530.png" id="BLOGGER_PHOTO_ID_6085192597858604354" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And, of course, what we were looking for was a real data displayed in the App<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Expense App<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC-zeBTmEVqBc9_0yHYje6ZPBb-j4GHAqd9QVxW7OT6KUuC9ej7RpAS1q42gbqOhKN0C8boUo4SQetpgwOYCtY45koRbSjhKIR2lhbmFaLwPEtloxI7GP8apBJZP4uEoxWazAt2jH8NU43/s1600/image129-712780.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC-zeBTmEVqBc9_0yHYje6ZPBb-j4GHAqd9QVxW7OT6KUuC9ej7RpAS1q42gbqOhKN0C8boUo4SQetpgwOYCtY45koRbSjhKIR2lhbmFaLwPEtloxI7GP8apBJZP4uEoxWazAt2jH8NU43/s320/image129-712780.jpg" id="BLOGGER_PHOTO_ID_6085192616402868242" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Expense App<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwtfJD1d21SG57LOOgQAIMrKx4Y_VxpvHcPXYvaFN-WmIJlcJSAIhd4bh19wAWJbniCbYINpKeEmUWySgSoInm5u4FmWqp3lQDSTvsvdqtYtsCiGBQodwo38jD9ASKeUHw3z53VkJ1kFxS/s1600/image130-716479.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwtfJD1d21SG57LOOgQAIMrKx4Y_VxpvHcPXYvaFN-WmIJlcJSAIhd4bh19wAWJbniCbYINpKeEmUWySgSoInm5u4FmWqp3lQDSTvsvdqtYtsCiGBQodwo38jD9ASKeUHw3z53VkJ1kFxS/s320/image130-716479.jpg" id="BLOGGER_PHOTO_ID_6085192634321465042" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now as real data from USSI company is displayed for User Yoichiro Okada you can start interacting with the App by looking at existing data or adding new data as needed<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Okay! This is all great! We got everything working properly!<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
But now let’s discuss what can go wrong during your configuration. First of all I’ll mention that you can use fiddler for troubleshooting your authentication and connection problems. You can download Fiddler from here: <a href="http://www.telerik.com/fiddler">http://www.telerik.com/fiddler</a> <o:p> </o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let’s discuss what you may face with when working with Demo VM<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Issue #1: “The token provider was unable to provide a security token while accessing ‘https://xyz-sb.accesscontrol.windows.net/WRAPv0.9/’. Token provider returned message: ‘Unable to connect to remote server’. Unable to connect to the remote server No connection could be made because the target machine actively refused it 127.0.0.1:abc” message when you try to start Microsoft Dynamics AX Connector for Mobile Apps<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQQfOea5_j8t1pb7C_pygp20EjFCv9S1C24R5JH9cO2xQIiKkG_Q2PZufuSJ2-tiUiuqfTXAm8_7TbiAnWPl_P39PPkKB7CNoINx3_fI4Z47ZcMREMx7YamssTXdJ7CWL8VRUT2tddPFDO/s1600/image131-720626.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQQfOea5_j8t1pb7C_pygp20EjFCv9S1C24R5JH9cO2xQIiKkG_Q2PZufuSJ2-tiUiuqfTXAm8_7TbiAnWPl_P39PPkKB7CNoINx3_fI4Z47ZcMREMx7YamssTXdJ7CWL8VRUT2tddPFDO/s320/image131-720626.png" id="BLOGGER_PHOTO_ID_6085192650096167954" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
which may also be accompanied with the messages in Event Viewer <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-O5K_LQpGGLT_hfmh_KZmgG1NmKuLV3UAqhzr667p22-dmQtc1uYANwXn2kURZivuFK6WWmy6iGATUD5g96Vv5wJQVXB26ypH5Llv3lJ5jNNna3W3jf-wY0ODc-kjD9kOAGQkdq9kHVzn/s1600/image132-725666.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-O5K_LQpGGLT_hfmh_KZmgG1NmKuLV3UAqhzr667p22-dmQtc1uYANwXn2kURZivuFK6WWmy6iGATUD5g96Vv5wJQVXB26ypH5Llv3lJ5jNNna3W3jf-wY0ODc-kjD9kOAGQkdq9kHVzn/s320/image132-725666.jpg" id="BLOGGER_PHOTO_ID_6085192671505647986" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Fault bucket , type 0<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Event Name: WWAJSE<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Response: Not available<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Cab Id: 0<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Problem signature:<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P1: Microsoft.DynamicsAX2012Expenses_1.3.0.115_x64__8wekyb3d8bbwe<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P2: App<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P3: b994<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P4: 0<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P5: ms-appx://microsoft.dynamicsax2012expenses/js/lib/jquery-1.9.0.js<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P6: 492_3<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P7: <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P8: <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P9: <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">P10: <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Attached files:<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">ErrorInfo.15460.11896.txt<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">C:\Program Files\WindowsApps\Microsoft.DynamicsAX2012Expenses_1.3.0.115_x64__8wekyb3d8bbwe\AppXManifest.xml<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">These files may be available here:<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Analysis symbol: <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Rechecking for solution: 0<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Report Id: ad9cf06e-fb8a-11e3-80f0-00155de0bb53<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Report Status: 262144<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: "Segoe UI","sans-serif"; font-size: 9pt;">Hashed bucket: <o:p> </o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Solution #1: The reason may be as easy as that you just have an invalid proxy server setup and the solution will be to unmark “Use proxy server for your LAN” checkbox in your LAN settings in IE<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>LAN Settings - “Use proxy server for your LAN”<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgimUPnqIBnOj1nMpS4f0BCEcRDMgFLVw7uHwTD8147SGPwxXjuY_RrPoy08LU-H2Ow1mPd-CggcbOENV1BCOgTo5RuXOU9JZInXkyglubbjeH8miZ_fJ-Zz6Uz3LOLh0OCaHctYaK4bdHP/s1600/image133-729138.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgimUPnqIBnOj1nMpS4f0BCEcRDMgFLVw7uHwTD8147SGPwxXjuY_RrPoy08LU-H2Ow1mPd-CggcbOENV1BCOgTo5RuXOU9JZInXkyglubbjeH8miZ_fJ-Zz6Uz3LOLh0OCaHctYaK4bdHP/s320/image133-729138.png" id="BLOGGER_PHOTO_ID_6085192685117868562" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can also easily validate this problem by opening IE and trying to navigate to any web page<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>The proxy server isn’t responding <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgVqhfRmbr9hRc-ZC7ktyHsDFuaCPyjGwPMyYAms5cWvmzUpgI_YnkP5qPPVSty4Qf-Nt3wQ5dhlGc53U3YyO9PYFtOsodQBxjiAmnjdnZR3Yp8vONreOVQXJX1uhKeJcDHHWsGR4Iein/s1600/image134-733313.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqgVqhfRmbr9hRc-ZC7ktyHsDFuaCPyjGwPMyYAms5cWvmzUpgI_YnkP5qPPVSty4Qf-Nt3wQ5dhlGc53U3YyO9PYFtOsodQBxjiAmnjdnZR3Yp8vONreOVQXJX1uhKeJcDHHWsGR4Iein/s320/image134-733313.png" id="BLOGGER_PHOTO_ID_6085192701247240514" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Issue #2: “There was an error in enabling endpoints of Federation Service. Fix configuration errors using PowerShell cmdlets and restart the Federation Service.” message in ADFS events log <o:p></o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGkrLSG9DLuPIJxm8bo1IVudQtUUByIL7P8Z7gE4BCqNGqc8YZcuG0px1F8u_NMEbwVYZTlVv3Oe4t8TtE5WEfxctwprFNc2kZ8X9zJCip-gBGqa2NF-mFtRB63rEg_qSdDVstrxQaiLg/s1600/image135-738738.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGkrLSG9DLuPIJxm8bo1IVudQtUUByIL7P8Z7gE4BCqNGqc8YZcuG0px1F8u_NMEbwVYZTlVv3Oe4t8TtE5WEfxctwprFNc2kZ8X9zJCip-gBGqa2NF-mFtRB63rEg_qSdDVstrxQaiLg/s320/image135-738738.jpg" id="BLOGGER_PHOTO_ID_6085192729459019026" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
There was an error in enabling endpoints of Federation Service. Fix configuration errors using PowerShell cmdlets and restart the Federation Service. <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Additional Data <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Exception details: <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint 0.0.0.0:808. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.Net.Sockets.Socket.Bind(EndPoint localEP)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.SocketConnectionListener.Listen()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
--- End of inner exception stack trace ---<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.SocketConnectionListener.Listen()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.ConnectionAcceptor.StartAccepting()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at Microsoft.IdentityServer.ServiceHost.STSService.StartSTSService(ServiceHostManager serviceHostManager, ServiceState serviceState)<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result the following URL will return Service Unavailable: <a href="https://ax2012r3-demo-alexanimobile-xyz.cloudapp.net/adfs/services/trust/13/usernamemixed"> https://ax2012r3-demo-alexanimobile-xyz.cloudapp.net/adfs/services/trust/13/usernamemixed</a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Unavailable<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMFE3MCS4BhchUoevZQh-YF94DevQZyQu2R0KEbgByWXfaLO4Ujo7jEmR2Cs6u7uN0aa-3ocBwz8lUncjI8qU20GkuP2O0GhvfgPhM7jWk4rzgmPkcr6mAnsQ5G63pN0cbuVnYN6SMXfWG/s1600/image136-741985.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMFE3MCS4BhchUoevZQh-YF94DevQZyQu2R0KEbgByWXfaLO4Ujo7jEmR2Cs6u7uN0aa-3ocBwz8lUncjI8qU20GkuP2O0GhvfgPhM7jWk4rzgmPkcr6mAnsQ5G63pN0cbuVnYN6SMXfWG/s320/image136-741985.png" id="BLOGGER_PHOTO_ID_6085192738309479634" /></a><o:p></o:p></div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Solution #2: The reason ADFS Service won’t start is because a designated port may already be occupied by another application/service. In order to resolve this problem you can use Ser-ADFSProperties command to reassign a port <o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
Set-ADFSProperties –nettcpport 1160<o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>PowerShell<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNaOzfOIXLDlc02I7ijSC2v2Kur4sVDpDXdnPF5P7rZr_zZmnbNxkn6_2sEB-PzuImNi6XLelCKtTOg-NeV6BbvIJD19kFefSstiPrc0b3cw15mw05fT1DmISpC2I6lRIO7agKxPDKo1K9/s1600/image137-745652.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNaOzfOIXLDlc02I7ijSC2v2Kur4sVDpDXdnPF5P7rZr_zZmnbNxkn6_2sEB-PzuImNi6XLelCKtTOg-NeV6BbvIJD19kFefSstiPrc0b3cw15mw05fT1DmISpC2I6lRIO7agKxPDKo1K9/s320/image137-745652.png" id="BLOGGER_PHOTO_ID_6085192759397353538" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Depending on particular settings (for example, you changed the port to one which is also already occupied) you may see the following error<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Issue #2.1: “The Federation Service configuration could not be loaded correctly from the AD FS configuration database” error message<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk3cfSlRgUSE_PldDp1R16eECT055nK8JhELuHFzhIYeHzJXOcb7Ffo7u-_FFeQrKhyGErIBTmVlcM2ZZJD46FmOPRMMN5OoU6XCK6yjPnsyC3h9wbpDSep3Lfk1PySJbK6zIql5tOQzJf/s1600/image138-749676.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk3cfSlRgUSE_PldDp1R16eECT055nK8JhELuHFzhIYeHzJXOcb7Ffo7u-_FFeQrKhyGErIBTmVlcM2ZZJD46FmOPRMMN5OoU6XCK6yjPnsyC3h9wbpDSep3Lfk1PySJbK6zIql5tOQzJf/s320/image138-749676.jpg" id="BLOGGER_PHOTO_ID_6085192773091503346" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
The Federation Service configuration could not be loaded correctly from the AD FS configuration database. <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Additional Data <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Error: <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
There is already a listener on IP endpoint 0.0.0.0:809. This could happen if there is another application already listening on this endpoint or if you have multiple service endpoints in your service host with the same IP endpoint but with incompatible binding configurations.<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Then you may end up AD FS Service which won’t start again, what is even worse is that AD FS Service will be in faulted state not allowing you to do anything with it. In this case reinstalling AD FS may be seen as the only option, in fact you can resolve this problem even without reinstalling ADFS. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Solution #2.1: For this you will need to figure out who (which application/services) occupies this port by using netstat command<o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
netstat –a –n –o | findstr :abc<o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Command prompt<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzwf7N9UTxYnK_mHfC5rfShWnxX_dw34vcGgmL7YEhK9TcSucGQKzKoeW9W6DUN9WuI8Ewxwygem3MgtaF-cNIC_21bcv0Vdtm3DK_J4DZm7upDPeoEOX-S3Sm_E2sDFM5smvQgawPU1p/s1600/image139-753328.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzwf7N9UTxYnK_mHfC5rfShWnxX_dw34vcGgmL7YEhK9TcSucGQKzKoeW9W6DUN9WuI8Ewxwygem3MgtaF-cNIC_21bcv0Vdtm3DK_J4DZm7upDPeoEOX-S3Sm_E2sDFM5smvQgawPU1p/s320/image139-753328.png" id="BLOGGER_PHOTO_ID_6085192790078658722" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then knowing that Process with ID 123 (in my case 2192) occupies this port I can kill this process to release the port by using taskkill command<o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
taskkill /pid 123 /f<o:p></o:p></div>
<div class="MsoNormal">
..<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<em>Command prompt </em></div>
<div class="MsoNormal">
<em><o:p></o:p></em> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX35D521yeWCr1Fw3wdBiBr_ogi29wZKHr6sqrcVDmYympmm85nkhpEFV2YtQLvYjTl8pSJgHgAtpwb8_v0zGziE6osQWwtmK7M5ahTJC0MJD2a_zqLEnQatSLWy9hXVQkubR37LiNCUT8/s1600/image140-757306.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX35D521yeWCr1Fw3wdBiBr_ogi29wZKHr6sqrcVDmYympmm85nkhpEFV2YtQLvYjTl8pSJgHgAtpwb8_v0zGziE6osQWwtmK7M5ahTJC0MJD2a_zqLEnQatSLWy9hXVQkubR37LiNCUT8/s320/image140-757306.png" id="BLOGGER_PHOTO_ID_6085192807191095794" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Issue #2.2: For example, this is another variation of the same problem which you may face with when configuring AD FS on the Demo VM: “There was an error in enabling endpoints of Federation Service. Fix configuration errors using PowerShell cmdlets and restart the Federation Service” </div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXfYNFrBnmTEm-fYg-_i28Rlg6fiUW2FRfWJiN8zPzDBAHDSS8sFG9jw41WAM-2gQw13Y4x4v94FhJVHjK1zXji_FMbnbi-54zZ9Of0WB1-VNmOkMdgRdNUpqsltPKOaEIcZ775zJe-47J/s1600/image141-762834.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXfYNFrBnmTEm-fYg-_i28Rlg6fiUW2FRfWJiN8zPzDBAHDSS8sFG9jw41WAM-2gQw13Y4x4v94FhJVHjK1zXji_FMbnbi-54zZ9Of0WB1-VNmOkMdgRdNUpqsltPKOaEIcZ775zJe-47J/s320/image141-762834.jpg" id="BLOGGER_PHOTO_ID_6085192831832033842" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
There was an error in enabling endpoints of Federation Service. Fix configuration errors using PowerShell cmdlets and restart the Federation Service. <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Additional Data <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
Exception details: <o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL https://+:49443/adfs/services/trust/2005/certificatetransport/ because TCP port 49443 is being used by another application. ---> System.Net.HttpListenerException: The process cannot access the file because it is being used by another process<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.Net.HttpListener.AddAllPrefixes()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.Net.HttpListener.Start()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
--- End of inner exception stack trace ---<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
at Microsoft.IdentityServer.ServiceHost.STSService.StartSTSService(ServiceHostManager serviceHostManager, ServiceState serviceState)<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Solution #2.2: In this particular case Visual Studio occupied the port, so I had to stop Visual Studio, then start AD FS and then I could launch Visual Studio (on the different port)<o:p></o:p></div>
<div class="MsoNormal">
As the result you will be able to successfully resolve the following URL: <a href="https://ax2012r3-demo-alexanimobile-xyz.cloudapp.net/adfs/services/trust/13/usernamemixed"> https://ax2012r3-demo-alexanimobile-xyz.cloudapp.net/adfs/services/trust/13/usernamemixed</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now instead of showing Service Unavailable you will see the following (which is the expected result)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>The webpage cannot be found <span class="MsoHyperlink"><o:p></o:p></span></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW_R3CFzMx5TmbmgyPs4g-ixCHNfTg2tVNqgIRy6_h_JCkH-doG59GVv-4TTs_GlrQYvqQYDfp2A0FqO48vOlUIcHO4420SzWRuAJ6xFpFzZgOudXNeMC_7A7gEKOO2usI0Ru0bN-R9OWp/s1600/image142-768361.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW_R3CFzMx5TmbmgyPs4g-ixCHNfTg2tVNqgIRy6_h_JCkH-doG59GVv-4TTs_GlrQYvqQYDfp2A0FqO48vOlUIcHO4420SzWRuAJ6xFpFzZgOudXNeMC_7A7gEKOO2usI0Ru0bN-R9OWp/s320/image142-768361.jpg" id="BLOGGER_PHOTO_ID_6085192857093186306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Fiddler can be used to effectively and efficiently troubleshoot authentication and connection problems with Mobile Apps and also allows you to see what is happening under the hood (contents of protocol messages) if you enable Capture of HTTPS traffic <o:p></o:p></div>
<div class="MsoNormal">
My final comment will be about Win 8 Config settings in Fiddler<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Issue #3: In case you installed Fiddle for troubleshooting and then you are trying to Log in into a Mobile App and upon not successful login (and invitation to log in again) nothing else really happens then you may want to review Win 8 Config settings<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Solution #3: The thing is that for security and reliability reasons, Windows 8 blocks apps from sending network traffic to the local computer. AppContainer Loopback Exemption Utility enables removal of this restriction for debugging purposes<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AppContainer Loopback Exemption Utility<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdH7Y23JrCHt7z5fkIPoTQWzvE7pgZ8xinBIDEHtPKsgRnmtV-Cq-IOhEBGorLN3VyhbCgGKDn6Uj23rOhtY6YUrTTzZ-UZmgI8djjJv_LBud6COYNrOYdfc2PNLrG4xj2EzaX_D6m7wLX/s1600/image143-773307.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdH7Y23JrCHt7z5fkIPoTQWzvE7pgZ8xinBIDEHtPKsgRnmtV-Cq-IOhEBGorLN3VyhbCgGKDn6Uj23rOhtY6YUrTTzZ-UZmgI8djjJv_LBud6COYNrOYdfc2PNLrG4xj2EzaX_D6m7wLX/s320/image143-773307.jpg" id="BLOGGER_PHOTO_ID_6085192876235063394" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In the list you will need to find your app and add an exemption rule by marking a checkbox, or you can exempt all Mobile Apps by pressing “Exempt All” button<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AppContainer Loopback Exemption Utility<b><o:p></o:p></b></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtUesLLdyoj_eijFQbKtE_Vfaoavat-ntUKwbjXOvyAMxtUAJNnNAkd5ivMQ9pEe_KXwfbAH5k32dziO8ueu9XWnoaD82Y-yHl5wr8mkICLgi3bI6ERuKkjQiIxBz7jmJWRoBZasAwYScp/s1600/image144-780234.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtUesLLdyoj_eijFQbKtE_Vfaoavat-ntUKwbjXOvyAMxtUAJNnNAkd5ivMQ9pEe_KXwfbAH5k32dziO8ueu9XWnoaD82Y-yHl5wr8mkICLgi3bI6ERuKkjQiIxBz7jmJWRoBZasAwYScp/s320/image144-780234.jpg" id="BLOGGER_PHOTO_ID_6085192902006662386" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to configure Microsoft Dynamics AX 2012 Mobile Apps using Self-Signed certificate for POC, demonstration or development/testing purposes without obtaining a real SSL certificate from certification authority.<b> <o:p></o:p></b></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics AX 2012, Microsoft Cloud, Windows Azure, Service Bus, Relay, Expenses, Approvals, Timesheets, Mobile Apps, Fiddler, Self-Signed Certificate, SSL. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com4tag:blogger.com,1999:blog-4565800100410709901.post-52077795050740384942014-11-09T21:29:00.001-08:002014-11-09T21:33:10.974-08:00Microsoft Dynamics AX 2012 Custom Web Services Wizard<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 Custom Web Services Wizard<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to illustrate how to generate Data Contract and Service Contract classes for Custom Web Services in Microsoft Dynamics AX 2012.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> In order to use Custom Web Services in Microsoft Dynamics AX 2012 you have to introduce appropriate Data Contract and Service Contract classes. Often times Data Contract classes will be created based on existing data model (for example, tables or views) as is which makes it possible to automate this process. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> In order to generate Data Contract and Service Contract classes for Custom Web Services in Microsoft Dynamics AX 2012 based on existing data model as is I created a simple X++ job automating this process. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Often times I create Custom Web Services in Microsoft Dynamics AX 2012 that’s why I decided to automate some of the routine work I usually do when creating Data Contracts and Service Contracts<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let’s discuss Data Contracts first. When I create a new Data Contract based on existing data model as is, say, we take CustGroup table as an example I’ll have to create a class and a number of methods to expose different data elements/fields. <span lang="EN">More specifically for each data element/field I want to expose </span><span lang="EN">I’d create a separate method with DataMemberAttribute attribute which is used to define serialization of the accessor method as a data member</span></div>
<div class="MsoNormal">
<span lang="EN"><o:p></o:p></span> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRb-9whmDqepbloCQGrUIG8rVJiL0L2Wf8iS9NNyAfeUxPpPEThu6QXoFXgjGJjhsuff0reyL2Lb6ClpyQLSlH1hC8B8IZaPP6srQAyILXgfpFnkLYxtdwocNdBFdU2HQ54g3V8QdRcrS/s1600/image001-794083.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguRb-9whmDqepbloCQGrUIG8rVJiL0L2Wf8iS9NNyAfeUxPpPEThu6QXoFXgjGJjhsuff0reyL2Lb6ClpyQLSlH1hC8B8IZaPP6srQAyILXgfpFnkLYxtdwocNdBFdU2HQ54g3V8QdRcrS/s320/image001-794083.png" id="BLOGGER_PHOTO_ID_6079944513369966050" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><div class="MsoNormal">
In case you have just a few fields to expose it will not take a lot of time, however if you have more than just a few fields the process may be tedious. Here is how we can generate Data Contract class for our example in a flash <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Source code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">static</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> DataContract(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ClassBuild classBuild;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> header;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> vars;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> newClassName = <span style="color: darkred;">"AlexDataContract"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictTable dictTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictField dictField;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictType dictType;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> TableId tableId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> FieldId fieldId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ExtendedTypeId typeId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> tableName = <span style="color: darkred;">"CustGroup"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> fieldName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> typeName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> i;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> header = <span style="color: darkred;"> 'public class '</span> + newClassName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild = <b><span style="color: darkblue;">new</span></b> ClassBuild(newClassName);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> tableId = <b><span style="color: darkblue;">tableName2id</span></b>(tableName);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> dictTable = <b><span style="color: darkblue;">new</span></b> DictTable(tableId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (dictTable)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> { <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">for</span></b> (i=<b><span style="color: red;">1</span></b>; i<= dictTable.fieldCnt(); i++)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> fieldId = dictTable.fieldCnt2Id(i);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> dictField = <b><span style="color: darkblue;">new</span></b> DictField(tableId, fieldId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (dictField)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> typeId = dictField.typeId();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (typeId != <b><span style="color: red;">0</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> dictType = <b><span style="color: darkblue;">new</span></b> DictType(typeId); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (dictType)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (!dictField.isSystem())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> fieldName = <b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkred;">"%1"</span>, dictField.name()); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> typeName = <b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkred;">"%1"</span>, dictType.name());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(fieldName, <span style="color: darkred;">'[DataMemberAttribute]'</span> + <span style="color: darkred;"> '\n'</span> + <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="color: darkred;">'public '</span> + typeName + <span style="color: darkred;">' '</span> + fieldName + <span style="color: darkred;"> '('</span> + typeName + <span style="color: darkred;">' _'</span> + fieldName + <span style="color: darkred;"> ' = '</span> + fieldName + <span style="color: darkred;">')'</span> + <span style="color: darkred;"> '\n'</span> + <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="color: darkred;">'{'</span> + <span style="color: darkred;">'\n'</span> + <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="color: darkred;">'\t'</span> + fieldName + <span style="color: darkred;">' = _'</span> + fieldName + <span style="color: darkred;"> ';'</span> + <span style="color: darkred;">'\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="color: darkred;"> '\t'</span> + <span style="color: darkred;">'return '</span> + fieldName + <span style="color: darkred;"> ';'</span> + <span style="color: darkred;">'\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <span style="color: darkred;"> '}'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> vars += <span style="color: darkred;">'\t'</span> + typeName + <span style="color: darkred;"> "\t"</span> + fieldName + <span style="color: darkred;">';'</span> + <span style="color: darkred;"> '\n'</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'classdeclaration'</span>, <span style="color: darkred;">'[DataContractAttribute]'</span> + <span style="color: darkred;"> '\n'</span> + header + <span style="color: darkred;">'\n{\n'</span> + vars + <span style="color: darkred;"> '}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.classNode().AOTcompile(<b><span style="color: red;">1</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Here’s the result</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0QeqGtIlRtyLDAnsHXRuofP6SBZf_F79x1kawSvBimd5QR7bT-z0W1iQEz2G569vdwwO-eV72qfWvU_fKz1z_7zN5ZnPOVjCtiPWN1c_8PtxbmqtTH6OOSgIUS1gYc-uZpwHj77SV0yjl/s1600/image002-796769.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0QeqGtIlRtyLDAnsHXRuofP6SBZf_F79x1kawSvBimd5QR7bT-z0W1iQEz2G569vdwwO-eV72qfWvU_fKz1z_7zN5ZnPOVjCtiPWN1c_8PtxbmqtTH6OOSgIUS1gYc-uZpwHj77SV0yjl/s320/image002-796769.png" id="BLOGGER_PHOTO_ID_6079944526916005522" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><div class="MsoNormal">
Example</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> AlexDataContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PlTaxPeriodPaymentCode TaxPeriodPaymentCode_PL;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DimensionDefault DefaultDimension;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> BankCustPaymIdRecId BankCustPaymIdTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> CustVendTaxGroup TaxGroupId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PaymTermId PaymTermId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ClearingPeriod ClearingPeriod;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> Description Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> CustGroupId CustGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> BankCustPaymIdRecId BankCustPaymIdTable(BankCustPaymIdRecId _BankCustPaymIdTable = BankCustPaymIdTable)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> BankCustPaymIdTable = _BankCustPaymIdTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> BankCustPaymIdTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> ClearingPeriod ClearingPeriod(ClearingPeriod _ClearingPeriod = ClearingPeriod)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ClearingPeriod = _ClearingPeriod;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> ClearingPeriod;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> CustGroupId CustGroup(CustGroupId _CustGroup = CustGroup)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> CustGroup = _CustGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> CustGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> DimensionDefault DefaultDimension(DimensionDefault _DefaultDimension = DefaultDimension)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DefaultDimension = _DefaultDimension;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> DefaultDimension;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> Description Name(Description _Name = Name)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> Name = _Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> Name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> PaymTermId PaymTermId(PaymTermId _PaymTermId = PaymTermId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> PaymTermId = _PaymTermId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> PaymTermId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> CustVendTaxGroup TaxGroupId(CustVendTaxGroup _TaxGroupId = TaxGroupId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> TaxGroupId = _TaxGroupId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> TaxGroupId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> PlTaxPeriodPaymentCode TaxPeriodPaymentCode_PL(PlTaxPeriodPaymentCode _TaxPeriodPaymentCode_PL = TaxPeriodPaymentCode_PL)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> TaxPeriodPaymentCode_PL = _TaxPeriodPaymentCode_PL;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> TaxPeriodPaymentCode_PL;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that each accessor method return type is based on actual EDT used for the field<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Speaking about Service Contracts what I did I generated a backbone of Service Contract class with empty action methods, however some more automation can be provided for Service Contract class too as necessary <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Source code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">static</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> ServiceContract(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ClassBuild classBuild;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> header;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> newClassName = <span style="color: darkred;">"AlexServiceContract"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> header = <span style="color: darkred;"> 'public class '</span>+ newClassName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild = <b><span style="color: darkblue;">new</span></b> ClassBuild(newClassName);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'classdeclaration'</span>, header + <span style="color: darkred;">'\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'createEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void createEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'readEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void readEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'updateEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void updateEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.addMethod(<span style="color: darkred;">'deleteEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void deleteEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> classBuild.classNode().AOTcompile(<b><span style="color: red;">1</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result I will have Service Contract class generated with placeholder methods which can be then filled with X++ code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb0Ihutb1YJw1K2-rtYkPdIEN5HjydB03892-0y_899YO0SY4F6_EJM_M7-jCe1adgSCrt8K-y9tFfjtBUYvCXJjjUtbYhdk6dSwmjA1fn5Jk7spdoKxbmiA3qLQtFnv0qPJIOsB4-KPg8/s1600/image003-798933.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb0Ihutb1YJw1K2-rtYkPdIEN5HjydB03892-0y_899YO0SY4F6_EJM_M7-jCe1adgSCrt8K-y9tFfjtBUYvCXJjjUtbYhdk6dSwmjA1fn5Jk7spdoKxbmiA3qLQtFnv0qPJIOsB4-KPg8/s320/image003-798933.png" id="BLOGGER_PHOTO_ID_6079944533596929138" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Example</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> AlexServiceContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> createEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> deleteEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> readEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border-top: none; border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> updateEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
In case you just need to expose some read-only data this approach can also be applied for views. Using views you can create a representation of an entity which consists of multiple tables <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the sake of simplicity in this walkthrough I’ll just wrap CustGroup table with a view and generate Data Contract and Service Contract classes for it, in fact your view may consist of multiple tables as necessary</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0DfCTA8RzhaEOoJLqf1m_72WEzZSDwxU8B-zDFhNDCiZKJf2k9g-Xbj1aGEPMksl90SnFGtDdpXJvGM1FImjD_kjGQoXoI0VSCo9_Vk-M4iAuLV0sS_ObQFKXIxZwZlHQNAo0VfrfISse/s1600/image004-701187.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0DfCTA8RzhaEOoJLqf1m_72WEzZSDwxU8B-zDFhNDCiZKJf2k9g-Xbj1aGEPMksl90SnFGtDdpXJvGM1FImjD_kjGQoXoI0VSCo9_Vk-M4iAuLV0sS_ObQFKXIxZwZlHQNAo0VfrfISse/s320/image004-701187.png" id="BLOGGER_PHOTO_ID_6079944544996634834" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Source code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">static</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> DataContract(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ClassBuild classBuild;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> header;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> vars;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> newClassName = <span style="color: darkred;">"AlexDataContract"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictTable dictTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictField dictField;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> DictType dictType;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> TableId tableId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> FieldId fieldId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ExtendedTypeId typeId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">str</span></b><span style="background: yellow; mso-highlight: yellow;"> tableName = <span style="color: darkred;">"AlexCustGroup"</span>;</span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> fieldName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">str</span></b> typeName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">int</span></b> i;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="font-family: Consolas; font-size: 8pt;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
…<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The result will be identical</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsdf4HNF2EeeqBrr5OtsoRpFGVK-JW6btQ9BMp5ZIPem3zH5rcsPx5IgrVR-Pz1ulq1L_REjYZnQvAyNNa4hrZfVJReary5Zl6sic5PEKucxSDwdL8ZccjtnggH46n98xd2oiBi09-n1Lx/s1600/image005-703139.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsdf4HNF2EeeqBrr5OtsoRpFGVK-JW6btQ9BMp5ZIPem3zH5rcsPx5IgrVR-Pz1ulq1L_REjYZnQvAyNNa4hrZfVJReary5Zl6sic5PEKucxSDwdL8ZccjtnggH46n98xd2oiBi09-n1Lx/s320/image005-703139.png" id="BLOGGER_PHOTO_ID_6079944553386460578" /></a></div>
<div class="MsoNormal">
</div>
<o:p></o:p><div class="MsoNormal">
Now we could also implement readEntity method on Service Contract which returns entity details <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that staging tables can also be used to represent entity which consists of multiple tables much like this is done in Microsoft Dynamics AX 2012 DIXF (Data Import Export Framework). Or you might want to generate distinct Data Contracts for distinct tables, say, header and lines example<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about how to create Custom Web Services in Microsoft Dynamics AX 2012 here: <a href="http://technet.microsoft.com/en-us/library/hh509052.aspx">http://technet.microsoft.com/en-us/library/hh509052.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For more practical examples of using Custom Web Services in Microsoft Dynamics AX 2012 you may also visit my another blog here: <a href="http://ax2012aifintegration.blogspot.com/2013/11/microsoft-dynamics-ax-2012-wcf-custom.html"> http://ax2012aifintegration.blogspot.com/2013/11/microsoft-dynamics-ax-2012-wcf-custom.html</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to generate Data Contract and Service Contract classes for Custom Web Services in Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics AX 2012, Custom Web Services, Data Contract, Service Contract, X++. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com5tag:blogger.com,1999:blog-4565800100410709901.post-66292854843744042832014-05-04T16:52:00.001-07:002014-05-04T17:03:54.457-07:00Microsoft Dynamics AX 2012 – File Exchange (Export) using Data Import Export Framework (DIXF)<div class="WordSection1">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – File Exchange (Export) using Data Import Export Framework (DIXF)</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document to illustrate how to implement integration with Microsoft Dynamics AX 2012 based on File Exchange. </div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<b>Challenge: </b>In certain scenarios you need to implement integration with Microsoft Dynamics AX 2012 by means of File Exchange which is dictated by the software you integrate to or other architectural considerations. For the purposes of integration with Microsoft Dynamics AX 2012 based on File Exchange you can use capabilities provided by Data Import Export Framework (DIXF). <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Data Import Export Framework (DIXF) for Microsoft Dynamics AX 2012 was designed to support a broad array of data migration and integration scenarios. Data Import Export Framework (DIXF) comes with a numerous standard templates for different business entities and it provides capabilities to export data from Microsoft Dynamics AX 2012 into a file which is needed in my scenario. In this article I'll implement integration with Microsoft Dynamics AX 2012 based on File Exchange using Data Import Export Framework (DIXF). My goal for this integration will be to organize continuous data export (CSV data feed) from Microsoft Dynamics AX 2012 with file periodically generated for consumption by external system. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In my scenario I'll be exporting a custom data based on a brand-new data model I've introduced<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="Picture_x0020_86" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:31.2pt;width:231pt;height:218.4pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;mso-position-horizontal-relative:text;mso-position-vertical:absolute;mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> <v:imagedata src="cid:image001.png@01CF67B9.1B626E40" o:title="" /> <w:wrap type="square"/> </v:shape><![endif]--><![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQCgFNlT_YRfpTELqXVTYgnqk_DFxeBB9UoB8_v_E9P1QyttIsviijPzg3Y_TVX1CLsR1XLdA_WBzE_2wpr44a7Ln0uXRjHscQtEORrNWpqFJ3cptxSRyGgM8gqAlKTOaeeDIUKD_HRoIP/s1600/image001-743536.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQCgFNlT_YRfpTELqXVTYgnqk_DFxeBB9UoB8_v_E9P1QyttIsviijPzg3Y_TVX1CLsR1XLdA_WBzE_2wpr44a7Ln0uXRjHscQtEORrNWpqFJ3cptxSRyGgM8gqAlKTOaeeDIUKD_HRoIP/s320/image001-743536.png" id="BLOGGER_PHOTO_ID_6009722444220441410" /></a><![endif]><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Let's start with defining Source data formats as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source data formats<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwbcE14HqN-nZv9EznJzcEaGnyvAHh14bhSx3XiX4JCxNF0nfG_cqqmuuVFYdt8CeYBm2hoeOfRM4iurMC_fmyirlT0Aevx79XNAmkwY1I1UbfSUYkoGc3UgmJmAY13Hafa9rTy5Ho6wBc/s1600/image002-746575.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwbcE14HqN-nZv9EznJzcEaGnyvAHh14bhSx3XiX4JCxNF0nfG_cqqmuuVFYdt8CeYBm2hoeOfRM4iurMC_fmyirlT0Aevx79XNAmkwY1I1UbfSUYkoGc3UgmJmAY13Hafa9rTy5Ho6wBc/s320/image002-746575.jpg" id="BLOGGER_PHOTO_ID_6009722449707059266" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiWZvGJq5ZpX_fZDvGL60Fv583Yo5G1FKT_yUYtxl4Yn-k8LAQtFVg96845T7JkOKttMuhj9xCbFo3DIWxUGB1SLehyD1_zIU0LpP6dh2F_XO22ljePQFivQE7l2DSyubSqRZVaTarnLBc/s1600/image003-748996.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiWZvGJq5ZpX_fZDvGL60Fv583Yo5G1FKT_yUYtxl4Yn-k8LAQtFVg96845T7JkOKttMuhj9xCbFo3DIWxUGB1SLehyD1_zIU0LpP6dh2F_XO22ljePQFivQE7l2DSyubSqRZVaTarnLBc/s320/image003-748996.jpg" id="BLOGGER_PHOTO_ID_6009722465335664354" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in particular I defined Source data formats for "AX" and "File" which will be used in my scenario. "File" Source data format is set up for CSV (Comma Separated Value) files.<o:p></o:p></div>
<div class="MsoNormal">
In this particular scenario I'm going to export a custom data that's why I implemented simple DIXF templates which support my custom table<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiwz3FOlnVoAZX4vGn4KVnBBdypZCPqDLFgiEZRSae7izePo83mo0Be8N3pdZQoBXbVBOMo-lwfnJSU19pFAnFO8wYXjdkQ1A1zin7JnX4G9z3cPr_vSc_nEAfDDqaemBjAd9Rcxb1Rz71/s1600/image004-750882.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiwz3FOlnVoAZX4vGn4KVnBBdypZCPqDLFgiEZRSae7izePo83mo0Be8N3pdZQoBXbVBOMo-lwfnJSU19pFAnFO8wYXjdkQ1A1zin7JnX4G9z3cPr_vSc_nEAfDDqaemBjAd9Rcxb1Rz71/s320/image004-750882.png" id="BLOGGER_PHOTO_ID_6009722474024986626" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see the implementation of DIXF template below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Entity Table<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicu3QFeaPpJvv2ratd93zMMjYbjl8s4mo-ZKr3hDHLPk4GROhPlApDIYuEwQWW8hUt1v_-CJ3vkH5ZFhrAHwjlfdATOoxZ74Zq8_D7_VudPDsDTz7zbwevNyX-VZlC67EVrFvpuQsal52Z/s1600/image005-753608.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicu3QFeaPpJvv2ratd93zMMjYbjl8s4mo-ZKr3hDHLPk4GROhPlApDIYuEwQWW8hUt1v_-CJ3vkH5ZFhrAHwjlfdATOoxZ74Zq8_D7_VudPDsDTz7zbwevNyX-VZlC67EVrFvpuQsal52Z/s320/image005-753608.png" id="BLOGGER_PHOTO_ID_6009722486598197522" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> validateField(FieldId _fieldIdToCheck)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">boolean</span></b> validateWrite()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<i><o:p> </o:p></i></div>
<div class="MsoNormal">
<i>Entity Class</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0jDcNFC6EOCwqIunmxGKnjrt6QrtgR9BefaffVa-OODZ_ZLI1S8ydVTomm93gSOWjPSE94P0KB5ucm5edMijm5LFIyP_Qv4D1r7H_tsQsiApvG2g7uCC_UizG834Co9Ol04pE6OrEDBkL/s1600/image006-756372.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0jDcNFC6EOCwqIunmxGKnjrt6QrtgR9BefaffVa-OODZ_ZLI1S8ydVTomm93gSOWjPSE94P0KB5ucm5edMijm5LFIyP_Qv4D1r7H_tsQsiApvG2g7uCC_UizG834Co9Ol04pE6OrEDBkL/s320/image006-756372.png" id="BLOGGER_PHOTO_ID_6009722492031162514" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DMFAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">class</span></b><span style="font-family: Consolas; font-size: 8pt;"> AlexEntityClass <b><span style="color: darkblue;">extends</span></b> DMFEntityBase<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexEntity entity;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexTable target;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">container</span></b> jumpRefMethod(Common _buffer, Object _caller)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> MenuItemName menuItemName;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> menuItemName = <b><span style="color: darkblue;">menuitemDisplayStr</span></b>(AlexForm);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> entity = _buffer;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> [menuItemName, _buffer];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> <b><span style="color: darkblue;">new</span></b>(AlexEntity _entity)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> entity = _entity;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> setTargetBuffer(Common _common, Name _dataSourceName = <span style="color: darkred;">''</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">switch</span></b> (_common.TableId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">case</span></b> <b><span style="color: darkblue;">tableNum</span></b>(AlexTable) :<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> target = _common;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">break</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">static</span></b> AlexEntityClass construct(AlexEntity _entity)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> AlexEntityClass entityClass = <b><span style="color: darkblue;">new</span></b> AlexEntityClass(_entity);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> entityClass;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">static</span></b> <b><span style="color: darkblue;">container</span></b> getReturnFields(Name _entity, MethodName _name)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> DataSourceName dataSourceName = <b><span style="color: darkblue;">queryDataSourceStr</span></b>(AlexTargetEntity, AlexTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">container</span></b> con = [dataSourceName];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> Name fieldstrToTargetXML(FieldName _fieldName)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> DMFTargetXML::findEntityTargetField(_entity ,dataSourceName, _fieldName).xmlField;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">switch</span></b> (_name)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">default</span></b> :<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> con = <b><span style="color: darkblue;">conNull</span></b>();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> con;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Target Entity Query</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV4fykN_CK4GD-SfEdHYlQAnqRAQ_NHzzPVKnM7myu4T6T4ngjf1tj-YJdFjIXyIoMRi3gP6lLwVofWnOH9Fw1NX1wVd-PzKeUOPGB16MOldRatfeiNuhMamdVhzd6fPJNMM1Zj1G8Y1RQ/s1600/image007-759008.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV4fykN_CK4GD-SfEdHYlQAnqRAQ_NHzzPVKnM7myu4T6T4ngjf1tj-YJdFjIXyIoMRi3gP6lLwVofWnOH9Fw1NX1wVd-PzKeUOPGB16MOldRatfeiNuhMamdVhzd6fPJNMM1Zj1G8Y1RQ/s320/image007-759008.png" id="BLOGGER_PHOTO_ID_6009722505557448370" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When my template is implemented I can now create a Target entity based on Entity Staging Table, Entity Class and Target Entity Query<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Target entities<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFVY_5RSmAwVQFwkszRJpUSkHYpaxYVook89ThoEzOMSV2D-a6q8oEBbsOFJMvypO3XAq0Mt1Gcg2xZ2t5-94hyphenhyphenYy3_1pGAxubAPioJ3wBsenBQVLBM9EE1NzXSzwIUAb_EP7qiPKdvtcl/s1600/image008-761697.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFVY_5RSmAwVQFwkszRJpUSkHYpaxYVook89ThoEzOMSV2D-a6q8oEBbsOFJMvypO3XAq0Mt1Gcg2xZ2t5-94hyphenhyphenYy3_1pGAxubAPioJ3wBsenBQVLBM9EE1NzXSzwIUAb_EP7qiPKdvtcl/s320/image008-761697.jpg" id="BLOGGER_PHOTO_ID_6009722515257532738" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next step is to create a Processing group and assign appropriate entities to it. Please note that in my scenario I'll have to create two Processing groups: one with Source data format = "AX" and another one with Source data format = "File". The reason for this is because first Processing group will be used to populate Staging table with AX data and the second Processing group will be used to generate a file based on Staging data.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group - AX<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAeK-Zb6hqRSrKh0_-bytD_AfG8q5qACpQIu_b6vq7wFANPgQ9g7Ejr4H9VzETasunEUHshk1gU0PgjvoW3aazk8c49t8_793i6KyHQNLlOMrV0jmk7Qzpw9UMNCK4p7kmPDtZZ5znM9tT/s1600/image009-764085.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAeK-Zb6hqRSrKh0_-bytD_AfG8q5qACpQIu_b6vq7wFANPgQ9g7Ejr4H9VzETasunEUHshk1gU0PgjvoW3aazk8c49t8_793i6KyHQNLlOMrV0jmk7Qzpw9UMNCK4p7kmPDtZZ5znM9tT/s320/image009-764085.jpg" id="BLOGGER_PHOTO_ID_6009722526925523634" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group – AX (Entities)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6Aks65pt6Ye5Glt_CcjNo5MBA4WKzG1ujKDSqHP0YfQyI25T6fKx6gH1l1DqLeF86txsWCCqOOzbT4swm2ZZZbVeL0TgYFFOq5vBXEp-F8kRXyjrinMjnicNrtTMq08kTC5XKgrhFqVN/s1600/image010-766285.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs6Aks65pt6Ye5Glt_CcjNo5MBA4WKzG1ujKDSqHP0YfQyI25T6fKx6gH1l1DqLeF86txsWCCqOOzbT4swm2ZZZbVeL0TgYFFOq5vBXEp-F8kRXyjrinMjnicNrtTMq08kTC5XKgrhFqVN/s320/image010-766285.jpg" id="BLOGGER_PHOTO_ID_6009722539213450002" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group – AX (Entities - Zoomed in)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiab71wyAix8G8WSaliZerGofJuG9Q0y3uZr66VOM2lOxChKU_UWJMbV0fRyqQnE2ezZq0h1jfU1Wsccma6QSo6O-QZ0ZEQVDExOqEOCTIRm_cTfjEybssPGOYc6DGdVZsoatbno6pGL8wM/s1600/image011-768674.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiab71wyAix8G8WSaliZerGofJuG9Q0y3uZr66VOM2lOxChKU_UWJMbV0fRyqQnE2ezZq0h1jfU1Wsccma6QSo6O-QZ0ZEQVDExOqEOCTIRm_cTfjEybssPGOYc6DGdVZsoatbno6pGL8wM/s320/image011-768674.jpg" id="BLOGGER_PHOTO_ID_6009722551270281026" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group - File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkwm3-dWdgNt0kQW3QwbR5Xc7T2lYU8h79LtM-eFsfJozYvTeg6weuZLSrwVIX6bKEIgA75R8F6Pm3PYqM4xkpLtbHdjxQL_uTBe-lemON1WtorDbYxYKDsY3d2EnAvm_OVxqSipzw61LQ/s1600/image012-771051.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkwm3-dWdgNt0kQW3QwbR5Xc7T2lYU8h79LtM-eFsfJozYvTeg6weuZLSrwVIX6bKEIgA75R8F6Pm3PYqM4xkpLtbHdjxQL_uTBe-lemON1WtorDbYxYKDsY3d2EnAvm_OVxqSipzw61LQ/s320/image012-771051.jpg" id="BLOGGER_PHOTO_ID_6009722557883222066" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group – File (Entities)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinxcI_17EsmNsEAvN31GcmKc2RZLvJmL4B15UvYAddZBGPRBu-teHLvuhFl2g2wHM69USwE5iQ-QiAJmP-fe4eBqTq-NSAjWchyphenhyphenB2h7JPJ_i5bHPsDsmV7TRL5lTqCIG7cq9cu80wTZ2VP/s1600/image013-773202.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinxcI_17EsmNsEAvN31GcmKc2RZLvJmL4B15UvYAddZBGPRBu-teHLvuhFl2g2wHM69USwE5iQ-QiAJmP-fe4eBqTq-NSAjWchyphenhyphenB2h7JPJ_i5bHPsDsmV7TRL5lTqCIG7cq9cu80wTZ2VP/s320/image013-773202.jpg" id="BLOGGER_PHOTO_ID_6009722566369076578" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group – File (Entities – Zoomed in)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Sq8G0kAwJmTTYK1RYhz7FUheHMuKOGVMFFtx1RcvigqnnjdVjXWPL1YkL2zmk1mFv6d3VBl3DratCs62bsxQCqn9TAC6dpACow_H6RpHfEcq_3zW20NLOR6yyIDnzCfKAyXllJZlycj2/s1600/image014-775771.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0Sq8G0kAwJmTTYK1RYhz7FUheHMuKOGVMFFtx1RcvigqnnjdVjXWPL1YkL2zmk1mFv6d3VBl3DratCs62bsxQCqn9TAC6dpACow_H6RpHfEcq_3zW20NLOR6yyIDnzCfKAyXllJZlycj2/s320/image014-775771.jpg" id="BLOGGER_PHOTO_ID_6009722582158722354" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that for both Processing groups have the same Entity assigned<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For File Processing group I'll now generate a sample file which will define how my resulting CSV file will look like <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Generate Sample file Wizard - Welcome<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyd8bOKrU6ejZilKNOjtz4c2buNtdFwNGpNEzxNNO54ITJULDunpKAN2Pla3QFHHnTJbR-0Lvpi-HZiyH-pVS6cyZcQuQ3ejbJ4TgbOFtNM0Xpo2F4Oh4Hnwv61ZPAtA-2CDUJkDvpuMIS/s1600/image015-778176.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyd8bOKrU6ejZilKNOjtz4c2buNtdFwNGpNEzxNNO54ITJULDunpKAN2Pla3QFHHnTJbR-0Lvpi-HZiyH-pVS6cyZcQuQ3ejbJ4TgbOFtNM0Xpo2F4Oh4Hnwv61ZPAtA-2CDUJkDvpuMIS/s320/image015-778176.jpg" id="BLOGGER_PHOTO_ID_6009722587466762066" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Generate Sample file Wizard – Display data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMmgm_dmQOd5ibqztveOsJ1x-Sq28Mc6cJhR3IzhRaI3vzTSPgqj8KkuAFgSW7eFRnB-mJV8NpxpnrZr7Urtlm-HvAITRtNXlv-gtheOGNcw6EoDymoBiMCzyJt_Mg-hN_n_dalH9PLPV/s1600/image016-780138.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMmgm_dmQOd5ibqztveOsJ1x-Sq28Mc6cJhR3IzhRaI3vzTSPgqj8KkuAFgSW7eFRnB-mJV8NpxpnrZr7Urtlm-HvAITRtNXlv-gtheOGNcw6EoDymoBiMCzyJt_Mg-hN_n_dalH9PLPV/s320/image016-780138.jpg" id="BLOGGER_PHOTO_ID_6009722596260273234" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here's how generated sample file will look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Sample file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghn29kv_gcoW70uvbYkWcT25eiTOdAkI_x7G2aXgJ7xt5NgjRbozyaQ_nkNMDldwWJE_a6EUeRoxKq859baFsmxbz-r3szlqB-RZwlQp4CnHIZmiytipVdQj8WKSSC6d3wyzNkdXKpScsU/s1600/image017-782849.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghn29kv_gcoW70uvbYkWcT25eiTOdAkI_x7G2aXgJ7xt5NgjRbozyaQ_nkNMDldwWJE_a6EUeRoxKq859baFsmxbz-r3szlqB-RZwlQp4CnHIZmiytipVdQj8WKSSC6d3wyzNkdXKpScsU/s320/image017-782849.png" id="BLOGGER_PHOTO_ID_6009722610933818722" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Based on sample file I can now automatically generate Source – Staging mapping<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Generate Source Mapping<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb4CX_UHbcDpnQvrK8VAWC4wTaHOvblcyHuTjYCSY6qVKcVJVsYWXyODrL0Av1zOdGllGURj2KqZ3h0bjqchgrIcKYMW0bIscun6kYEIHgm7aciuxFELy7sqkZ9aKu2KWY9Fozj5HPeAb_/s1600/image018-785157.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb4CX_UHbcDpnQvrK8VAWC4wTaHOvblcyHuTjYCSY6qVKcVJVsYWXyODrL0Av1zOdGllGURj2KqZ3h0bjqchgrIcKYMW0bIscun6kYEIHgm7aciuxFELy7sqkZ9aKu2KWY9Fozj5HPeAb_/s320/image018-785157.png" id="BLOGGER_PHOTO_ID_6009722619829107298" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Modify Source Mapping<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN82fpBIHzkaYTFJfu4ARMzOEEgPklWpy7amtFJGOveWD8KJ35Xpi9h4KdGS3YF2rcAKj58JAvCQE_7LGrmTaHRpbqneodtuZXDbOxlUKJc7VLgLLw4jQ8h2u7GY6lw92Tsbh_cNO9PJuk/s1600/image019-787596.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN82fpBIHzkaYTFJfu4ARMzOEEgPklWpy7amtFJGOveWD8KJ35Xpi9h4KdGS3YF2rcAKj58JAvCQE_7LGrmTaHRpbqneodtuZXDbOxlUKJc7VLgLLw4jQ8h2u7GY6lw92Tsbh_cNO9PJuk/s320/image019-787596.jpg" id="BLOGGER_PHOTO_ID_6009722625397131634" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
To make this scenario more meaningful I'll also introduce some demo data<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Demo Data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMiaIJvM9V3UHoQbAMJSljh5BKeLiZJuoMz3D6rMufIBOt9-i8xxDqjpmf_X4J8UvC1JchMvjOVk0KXZahjFSMCXEQOEWQGrTs0GnafAp56fDwwYm6WoeHw1RiA3j0QPJTmK5FIzEHbtQL/s1600/image020-789915.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMiaIJvM9V3UHoQbAMJSljh5BKeLiZJuoMz3D6rMufIBOt9-i8xxDqjpmf_X4J8UvC1JchMvjOVk0KXZahjFSMCXEQOEWQGrTs0GnafAp56fDwwYm6WoeHw1RiA3j0QPJTmK5FIzEHbtQL/s320/image020-789915.png" id="BLOGGER_PHOTO_ID_6009722640935938290" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now as I have some data we can test out AX Processing group to populate Staging table <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Get Staging Data (from AX into Staging table)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmowGqO1ADwV_hiJfvlUsZaPWw6EhMPG0N04CyLftcO4ygzXlWovBcIp6FieqJnB-ftlxomM-RpF1egxeTHt_fev1IfbyM64T6LPH7gbIdQ5j05O9hvXUSn64A6YEKHU5NRiibrSTGlFpY/s1600/image021-792408.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmowGqO1ADwV_hiJfvlUsZaPWw6EhMPG0N04CyLftcO4ygzXlWovBcIp6FieqJnB-ftlxomM-RpF1egxeTHt_fev1IfbyM64T6LPH7gbIdQ5j05O9hvXUSn64A6YEKHU5NRiibrSTGlFpY/s320/image021-792408.png" id="BLOGGER_PHOTO_ID_6009722650441327826" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging data execution<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRrUA-y4T-KO8vtzF1wGrLrXaqY8fstm-T09MgLSEZv3lVgcGvyBSDECrrh4pHiKGTJ0DDdOb2CfGbBfpXROlHeMTdA7kMYrXaud8Gntozgb9SYXDMTrKi_OADI8sl_eIcwSG85Ilww2Aw/s1600/image022-794312.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRrUA-y4T-KO8vtzF1wGrLrXaqY8fstm-T09MgLSEZv3lVgcGvyBSDECrrh4pHiKGTJ0DDdOb2CfGbBfpXROlHeMTdA7kMYrXaud8Gntozgb9SYXDMTrKi_OADI8sl_eIcwSG85Ilww2Aw/s320/image022-794312.jpg" id="BLOGGER_PHOTO_ID_6009722655270420674" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging data execution<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKGrsMJ4bciLQycYMqfwBg0gtKp6vANbyuya7rthBm6zzp2-BykwElTHjh8d9nfcypYUSWa2ZCA0qEdWiMi8VewaqxjHHYQSVA-2Qd0z2a7WsfRTNDNLVHEKJhDbOYH3pmyqMD57H7u4W5/s1600/image023-796897.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKGrsMJ4bciLQycYMqfwBg0gtKp6vANbyuya7rthBm6zzp2-BykwElTHjh8d9nfcypYUSWa2ZCA0qEdWiMi8VewaqxjHHYQSVA-2Qd0z2a7WsfRTNDNLVHEKJhDbOYH3pmyqMD57H7u4W5/s320/image023-796897.png" id="BLOGGER_PHOTO_ID_6009722669942995442" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result of execution 3 records will be inserted into Staging table<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRvcYWlrGKgrrUq7-ubVbcCBO17B3HZfwkfBB0jrN3wyKlKmf-iMEXslzHvwd5hpBT-Sck0Xr5seLqZ-2m-lBoAMklCzqcycbsoqOfWuvYZk1SlKV2Zx1aDE7nvJZWZgZLGvISVRrnTJ_e/s1600/image024-799326.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRvcYWlrGKgrrUq7-ubVbcCBO17B3HZfwkfBB0jrN3wyKlKmf-iMEXslzHvwd5hpBT-Sck0Xr5seLqZ-2m-lBoAMklCzqcycbsoqOfWuvYZk1SlKV2Zx1aDE7nvJZWZgZLGvISVRrnTJ_e/s320/image024-799326.png" id="BLOGGER_PHOTO_ID_6009722680329955202" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We can now review Execution history<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution history<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6sItS7FjxZRxqc2hUxwNWH3Fjg8_YgQAh19XWMVPxvCGclKo10VNlGK_QRWsWhfyepI0O9KGuYpdEcPfclEJOGesZhoM5jE-eYYib6GZcDxS6hqezrp9-IofwF5MDw4wlgSOIaSA24O8l/s1600/image025-701716.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6sItS7FjxZRxqc2hUxwNWH3Fjg8_YgQAh19XWMVPxvCGclKo10VNlGK_QRWsWhfyepI0O9KGuYpdEcPfclEJOGesZhoM5jE-eYYib6GZcDxS6hqezrp9-IofwF5MDw4wlgSOIaSA24O8l/s320/image025-701716.jpg" id="BLOGGER_PHOTO_ID_6009722690612914498" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And take a look at the Staging data<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9YiQgEFyBjEHiGQGwgyO_36_SUtTGwiTKj3aPjgR2IshiPspzaEFF5qylJ2xsWKcwBBbUFedadmtnV-9HtYnO3G1bvqSMi5JAwgw3bOBP1141ayM4ATNRxLIdFzWAcCJBxz8f9asY_Jbt/s1600/image026-703763.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9YiQgEFyBjEHiGQGwgyO_36_SUtTGwiTKj3aPjgR2IshiPspzaEFF5qylJ2xsWKcwBBbUFedadmtnV-9HtYnO3G1bvqSMi5JAwgw3bOBP1141ayM4ATNRxLIdFzWAcCJBxz8f9asY_Jbt/s320/image026-703763.jpg" id="BLOGGER_PHOTO_ID_6009722701326563266" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point having Staging data we can try to Export this data to file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7fNzUiiBxLWOMSOHaH7FX0STcGrgIsbWNpAtihmaro9ZaexdKnMBf62RMtLdUOHyhAYuV5UZgTOTtlSJI-HPzxVuLTpFXYVnqm6xUdVQOITbfwo7id9p9lshoNvSuAxbQe5Uks5T3ozCD/s1600/image027-706441.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7fNzUiiBxLWOMSOHaH7FX0STcGrgIsbWNpAtihmaro9ZaexdKnMBf62RMtLdUOHyhAYuV5UZgTOTtlSJI-HPzxVuLTpFXYVnqm6xUdVQOITbfwo7id9p9lshoNvSuAxbQe5Uks5T3ozCD/s320/image027-706441.png" id="BLOGGER_PHOTO_ID_6009722706914940322" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here we'll select Processing group "File" in order to generate the file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWxm0bGBmHGJ3Ze6nYKSzBlcjDWZNAHbxWogWQPMFizGQvxxaEFf6EZFT50PCLmqO2aAH_xuBncdXASAnJtABri-myeBUNWgvp_UDondBL3KzpPKz-bw4ylBhZJ0sxPDdhb2DgvijCtBiE/s1600/image028-708846.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWxm0bGBmHGJ3Ze6nYKSzBlcjDWZNAHbxWogWQPMFizGQvxxaEFf6EZFT50PCLmqO2aAH_xuBncdXASAnJtABri-myeBUNWgvp_UDondBL3KzpPKz-bw4ylBhZJ0sxPDdhb2DgvijCtBiE/s320/image028-708846.png" id="BLOGGER_PHOTO_ID_6009722723690597810" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPfq_0pevztwO33KsELPmb-w_jzM9VWobhfUQXwAYrxk96NO2P43IcCJcpm05nGLQyrRMT4efjrhqzPnjW6Z1yAN6bv_gyDdOjHiboL-Ykv9b2urLBRqjCDuR1S533FgOB0LKVRG4bDeF-/s1600/image029-710850.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPfq_0pevztwO33KsELPmb-w_jzM9VWobhfUQXwAYrxk96NO2P43IcCJcpm05nGLQyrRMT4efjrhqzPnjW6Z1yAN6bv_gyDdOjHiboL-Ykv9b2urLBRqjCDuR1S533FgOB0LKVRG4bDeF-/s320/image029-710850.png" id="BLOGGER_PHOTO_ID_6009722731972515234" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result the data will be exported to file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJtzoJtSeIIXgPYf8pS58ITFQykyW_y_9TgjcSwax5OESqTON1vYWgG6TyIkDNgMwaGoTg0nbdnjtG6XK0MHErYJccmkeO83d2Wy-3jkwOVZMKQIXe7hnSxX1DC8gtmf5rNqzR6lUxnT0/s1600/image030-713261.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDJtzoJtSeIIXgPYf8pS58ITFQykyW_y_9TgjcSwax5OESqTON1vYWgG6TyIkDNgMwaGoTg0nbdnjtG6XK0MHErYJccmkeO83d2Wy-3jkwOVZMKQIXe7hnSxX1DC8gtmf5rNqzR6lUxnT0/s320/image030-713261.png" id="BLOGGER_PHOTO_ID_6009722740072713858" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I populated Staging data by using Processing group "AX", but then used Processing group "File" to generate the file<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Resulting file will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE9-b-VAowiuFJilPPEGukLjHUU7KdSGeP3x4xeQV-omEAmkag4BJD57wTMjgNURtSwHXlMeTGJllHOU-eHjsKqFJyWtnzqpfadk28eOPDZyKYfXgl-ZfTvz660SPEyGFE4_4Rc_-fgj0D/s1600/image031-715726.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE9-b-VAowiuFJilPPEGukLjHUU7KdSGeP3x4xeQV-omEAmkag4BJD57wTMjgNURtSwHXlMeTGJllHOU-eHjsKqFJyWtnzqpfadk28eOPDZyKYfXgl-ZfTvz660SPEyGFE4_4Rc_-fgj0D/s320/image031-715726.png" id="BLOGGER_PHOTO_ID_6009722751557687138" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Great! We got this working! <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Alternatively Export to file function is available on Processing group level as shown below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Processing group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyEcHVueOCJyMY6epcC5ixQQDKkmTk7Xt2EpYmFhjXWF3vOqc7oWZJW3xIaxGDg4gEXXdOa9Dr4HdLWchD4F_gd2f250HHG4uPZmZFhKXdlF-wW5wv-xe7q8IWdytYxumdcwJzF7GPRshU/s1600/image032-718355.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyEcHVueOCJyMY6epcC5ixQQDKkmTk7Xt2EpYmFhjXWF3vOqc7oWZJW3xIaxGDg4gEXXdOa9Dr4HdLWchD4F_gd2f250HHG4uPZmZFhKXdlF-wW5wv-xe7q8IWdytYxumdcwJzF7GPRshU/s320/image032-718355.jpg" id="BLOGGER_PHOTO_ID_6009722761018384530" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ4NaqRPmz1tw0spjTTEFpjxLuiuMneW6NJoZ58nNdejDx_pisrmlLjpLpM0Eba8d85hu75kCo9NlhARKzZryANsXwgC9NT5js1Jxz7LaY4uk0JywIxDC7r7kXdBvlGKZl4eVqNA2w6yEK/s1600/image033-720883.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ4NaqRPmz1tw0spjTTEFpjxLuiuMneW6NJoZ58nNdejDx_pisrmlLjpLpM0Eba8d85hu75kCo9NlhARKzZryANsXwgC9NT5js1Jxz7LaY4uk0JywIxDC7r7kXdBvlGKZl4eVqNA2w6yEK/s320/image033-720883.png" id="BLOGGER_PHOTO_ID_6009722775128537634" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEudOKaZuokPm7dVX5mb5Eyxd1HfnLp-WNFL-RJns-ciTzeb0EeCnHnPyG1KjWF5cARS2EkAd8BI4ANe3o5udy6euKNeb_dJPaIv5M1HiMAWpO3M6m1C3oyEVBxzlnyq1KBMTCDJIi10DJ/s1600/image034-723478.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEudOKaZuokPm7dVX5mb5Eyxd1HfnLp-WNFL-RJns-ciTzeb0EeCnHnPyG1KjWF5cARS2EkAd8BI4ANe3o5udy6euKNeb_dJPaIv5M1HiMAWpO3M6m1C3oyEVBxzlnyq1KBMTCDJIi10DJ/s320/image034-723478.jpg" id="BLOGGER_PHOTO_ID_6009722783019258482" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This time I can also explicitly set up Processing group "File" to generate the file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm6OTTzJ_XdUeOv5HWhN3c2fLOXmHA-u8HI3R3oos9X4ThFWSRPRGZjtQQPm9HzhFZNdg7jM_FNLiCuVusTCmW1OLAtFVeeP8INngVir4VRivqlPwzaSQtW_wfJZR4Wsd8f09TtfB-OKL1/s1600/image035-725764.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm6OTTzJ_XdUeOv5HWhN3c2fLOXmHA-u8HI3R3oos9X4ThFWSRPRGZjtQQPm9HzhFZNdg7jM_FNLiCuVusTCmW1OLAtFVeeP8INngVir4VRivqlPwzaSQtW_wfJZR4Wsd8f09TtfB-OKL1/s320/image035-725764.jpg" id="BLOGGER_PHOTO_ID_6009722795973362274" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export to file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi11Klkum7m2FzlGTrO6AmrwFWQWfiqzOl_dCiJhz_SVjLDhqX-NR0L9Rw1cfqPGNcNoNon54eQNQI3L65f69Ckf4hj0q_xc3pVlBg1Tq4H_NPRMiK34_VzPnZWokmyBBMhgRRFCqnsB6m7/s1600/image036-728032.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi11Klkum7m2FzlGTrO6AmrwFWQWfiqzOl_dCiJhz_SVjLDhqX-NR0L9Rw1cfqPGNcNoNon54eQNQI3L65f69Ckf4hj0q_xc3pVlBg1Tq4H_NPRMiK34_VzPnZWokmyBBMhgRRFCqnsB6m7/s320/image036-728032.png" id="BLOGGER_PHOTO_ID_6009722804787762146" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Resulting file will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwzFTm-2NX30S_0aDhzBmfZ3Kw9cowovu9APO1s4rMY45yCXgi1R0WQt-yJg5Ws0yUj1sxxs-WNfseIxmtEmQWFEbe-934xtsQ4e_63VIaIBQ7a3aK8luHQ-cHFBfovQcXwoo0ByyrYDAU/s1600/image037-730561.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwzFTm-2NX30S_0aDhzBmfZ3Kw9cowovu9APO1s4rMY45yCXgi1R0WQt-yJg5Ws0yUj1sxxs-WNfseIxmtEmQWFEbe-934xtsQ4e_63VIaIBQ7a3aK8luHQ-cHFBfovQcXwoo0ByyrYDAU/s320/image037-730561.png" id="BLOGGER_PHOTO_ID_6009722813152749474" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that when you export to file Processing group you select should logically have a Sample file defined, so the system would know file format for export. This is dictated by the code for lookup as shown below<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<em>DMFStagingToSourceFileWriter.dialogDestinationGroupIdLookup method</em></div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> dialogDefinationGroupIdLookup(FormStringControl _executionControl)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> SysTableLookup tableLookup;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> QueryBuildDataSource qbd, qbdEntity;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> Query query = <b><span style="color: darkblue;">new</span></b> Query();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableLookup = SysTableLookup::newParameters(<b><span style="color: darkblue;">tableNum</span></b>(DMFDefinitionGroupEntity), _executionControl);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableLookup.addLookupfield(<b><span style="color: darkblue;">fieldNum</span></b>(DMFDefinitionGroupEntity, DefinitionGroup), <b><span style="color: darkblue;">true</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableLookup.addLookupfield(<b><span style="color: darkblue;">fieldNum</span></b>(DMFDefinitionGroupEntity, Source));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> qbd = query.addDataSource(<b><span style="color: darkblue;">tableNum</span></b>(DMFDefinitionGroupEntity));<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> qbd.addRange(<b><span style="color: darkblue;">fieldNum</span></b>(DMFDefinitionGroupEntity, SampleFilePath)).value(SysQuery::valueNot(<span style="color: darkred;">''</span>));</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> qbdEntity = qbd.addDataSource(<b><span style="color: darkblue;">tableNum</span></b>(DMFEntity));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> qbdEntity.addLink(<b><span style="color: darkblue;">fieldNum</span></b>(DMFDefinitionGroupEntity, Entity), <b><span style="color: darkblue;">fieldNum</span></b>(DMFEntity, EntityName));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> qbdEntity.addRange(<b><span style="color: darkblue;">fieldNum</span></b>(DMFEntity, Type)).value(queryValue(this.parmDMFEntityType()));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> qbdEntity.addRange(<b><span style="color: darkblue;">fieldNum</span></b>(DMFEntity, EntityTable)).value(DMFEntity::find(entityName).EntityTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableLookup.parmQuery(query);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableLookup.performFormLookup();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now let's consider a scenarios when I want to reposition fields in the file<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For this purpose I can use Up and Down buttons when I generate a sample file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Generate Sample File Wizard<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhneJ_JAaSPQmIM1ZG2KHLf0Jc3HLbAP-CyXRUL2xzk90UxyFautv-6hvrHNwfhApS6JFSxCMT7w-ovof_mk0yc7B-AGgI3gSTdlG3-srRsP0YvBpq2Gk83GLTvDCqvHmlXHp1boi00hah2/s1600/image038-732779.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhneJ_JAaSPQmIM1ZG2KHLf0Jc3HLbAP-CyXRUL2xzk90UxyFautv-6hvrHNwfhApS6JFSxCMT7w-ovof_mk0yc7B-AGgI3gSTdlG3-srRsP0YvBpq2Gk83GLTvDCqvHmlXHp1boi00hah2/s320/image038-732779.jpg" id="BLOGGER_PHOTO_ID_6009722823303424018" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then sample file will look like this with new sequence of fields<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Sample file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNv5kEoRe86EoHQ6PHjtWzRxUmqzqxmCt8eDQpUOyAtqvRtpHDpgyxikRic7LxJY-SRC1U4UDOFalWDxqcil39ieZATDsBJs80Cs3X-K99bttvzAl88irOmLGO7_mhO33ME1c0jGTIRAEN/s1600/image039-735306.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNv5kEoRe86EoHQ6PHjtWzRxUmqzqxmCt8eDQpUOyAtqvRtpHDpgyxikRic7LxJY-SRC1U4UDOFalWDxqcil39ieZATDsBJs80Cs3X-K99bttvzAl88irOmLGO7_mhO33ME1c0jGTIRAEN/s320/image039-735306.png" id="BLOGGER_PHOTO_ID_6009722835409222818" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll generate a mapping from scratch to reflect the change. This is also very important when you are adding a new data elements into a file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Message<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2K_tGp3aGG4ze2nDaaGpmfpaIr1ctuSm8ZeaDCeCqR9wIgtQxbqI3NKaCBHziOVO2t61h6RCxZh-gT_My61oIhwnqOJ29oPXMpqnoTRw0krnqxPXhGWj0-KJmX5sKaWL8vRhlnCZLR8uT/s1600/image040-737520.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2K_tGp3aGG4ze2nDaaGpmfpaIr1ctuSm8ZeaDCeCqR9wIgtQxbqI3NKaCBHziOVO2t61h6RCxZh-gT_My61oIhwnqOJ29oPXMpqnoTRw0krnqxPXhGWj0-KJmX5sKaWL8vRhlnCZLR8uT/s320/image040-737520.png" id="BLOGGER_PHOTO_ID_6009722842146221554" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result out exported file with changed sequence of fields will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuuzejfa88hMDZoYIp4IA49jpHBdtatACcrgTmIinMtA_IYLE1yg3-1Asxqms419XMT9H4xtfHxSxHfm7a3tAnTyT5jlaWhI_mIqXA5K_knY08QY6xvnNaXu77dEZdo9bGpZw0-o2dxp2n/s1600/image041-739606.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuuzejfa88hMDZoYIp4IA49jpHBdtatACcrgTmIinMtA_IYLE1yg3-1Asxqms419XMT9H4xtfHxSxHfm7a3tAnTyT5jlaWhI_mIqXA5K_knY08QY6xvnNaXu77dEZdo9bGpZw0-o2dxp2n/s320/image041-739606.png" id="BLOGGER_PHOTO_ID_6009722849598993314" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now the last thing we want to do is to establish a Batch job for continuous integration (data export) based on the schedule<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For this purpose we can set up execution jobs as batch jobs. We'll start with Staging job <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging – Batch job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcnbdCwxgiTTAHnNDOHY2dlZpgc8j1cuZTbDwMLY9rWat_99bcHtMPdSm6vWhk9VmeYohtaivACgeBW_P40DMf4vBJtSfCmbN-oW2RubhUVLSf-ATA2MKK4MHDTP4yXJCELMVobvYaX5eg/s1600/image042-741960.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcnbdCwxgiTTAHnNDOHY2dlZpgc8j1cuZTbDwMLY9rWat_99bcHtMPdSm6vWhk9VmeYohtaivACgeBW_P40DMf4vBJtSfCmbN-oW2RubhUVLSf-ATA2MKK4MHDTP4yXJCELMVobvYaX5eg/s320/image042-741960.png" id="BLOGGER_PHOTO_ID_6009722862526429922" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Staging status at this point is Waiting<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution history<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMTdeP879UPDvRZBtMwPi1QzxKksQl3aiC5Et3gVwk-2Z-XxwJIzHgBB8PVbH6bl6OWTKEV4lFrtFYx-8baf7ucXIOJHrhMl1gh0ZvDBurVmfnRbzRiTu3MnzbZHT1VmKfiGFGdwML7q9/s1600/image043-744796.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimMTdeP879UPDvRZBtMwPi1QzxKksQl3aiC5Et3gVwk-2Z-XxwJIzHgBB8PVbH6bl6OWTKEV4lFrtFYx-8baf7ucXIOJHrhMl1gh0ZvDBurVmfnRbzRiTu3MnzbZHT1VmKfiGFGdwML7q9/s320/image043-744796.jpg" id="BLOGGER_PHOTO_ID_6009722877736339698" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll also try to set up Export data to flat file job as a Batch job right away<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export – Batch job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFVmkuuXRI155ZvWB16mPHG_OiHjZGU4U3gYw_aRtJe0F5NyF3-zSwq83p9V1lYw5zKICFqBHWAjhj5WIt4VLWxdWu_4GUjlkkt5cw7lHZrtYp1qmPThn_0fIURaQMKnkceuMrFGSfM2Bx/s1600/image044-747321.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFVmkuuXRI155ZvWB16mPHG_OiHjZGU4U3gYw_aRtJe0F5NyF3-zSwq83p9V1lYw5zKICFqBHWAjhj5WIt4VLWxdWu_4GUjlkkt5cw7lHZrtYp1qmPThn_0fIURaQMKnkceuMrFGSfM2Bx/s320/image044-747321.png" id="BLOGGER_PHOTO_ID_6009722886722376306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Staging data shows nothing at this point because we want to execute Staging job in Batch instead of interactive execution<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Entity data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidnjwrc1RhXIepCj_fnwiBBwbIdR4KIj3xLuI-3odx4LLBEloUcusZ_3A0aZq6fGmSzpIf0RhPaAnkXAyFhKkMv0SFcbc7j5KLnZxy3AucEipPzq5Qtl3oLZqz8IKkacXVEzEnH9wEMuEf/s1600/image045-749567.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidnjwrc1RhXIepCj_fnwiBBwbIdR4KIj3xLuI-3odx4LLBEloUcusZ_3A0aZq6fGmSzpIf0RhPaAnkXAyFhKkMv0SFcbc7j5KLnZxy3AucEipPzq5Qtl3oLZqz8IKkacXVEzEnH9wEMuEf/s320/image045-749567.jpg" id="BLOGGER_PHOTO_ID_6009722891479004610" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For Export job we'll specify Processing group "File"<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export data to flat file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxRm_f5QFf6QbwzBkaabRb-Y2rjSJtxR6f-9scice04V4zMQ63HjzdKXG1M7J5u0rgIXu2Zvrl8AxP8ALoBcgS58T5I_g5ndj0x6_dra7xptvJRir0WTLai9Y5n8W7UFUF597EIaPKSfr/s1600/image046-751949.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxRm_f5QFf6QbwzBkaabRb-Y2rjSJtxR6f-9scice04V4zMQ63HjzdKXG1M7J5u0rgIXu2Zvrl8AxP8ALoBcgS58T5I_g5ndj0x6_dra7xptvJRir0WTLai9Y5n8W7UFUF597EIaPKSfr/s320/image046-751949.png" id="BLOGGER_PHOTO_ID_6009722907723796530" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And set it up for Batch execution<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export data to flat file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnFkj0y62WlQ3GgXZaRgGVKcw6fxYiCBjVQDR6_fh0JpisCd4mxyaRqlUOY-LGaEqSWE484-tjZ-TnVI90uTJk91_LlxAbR4sGL8j_W0UbY9WymN8R9ywHeQMfpE0XdtS2Ytzxphrq6eqM/s1600/image047-754242.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnFkj0y62WlQ3GgXZaRgGVKcw6fxYiCBjVQDR6_fh0JpisCd4mxyaRqlUOY-LGaEqSWE484-tjZ-TnVI90uTJk91_LlxAbR4sGL8j_W0UbY9WymN8R9ywHeQMfpE0XdtS2Ytzxphrq6eqM/s320/image047-754242.png" id="BLOGGER_PHOTO_ID_6009722915191772034" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After execution attempt you may face with the following problem related to Get Staging Data Error. The original error looks like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvF61YtlLMjckH4Prc72nH7ONbY6Ks_72AsPAzUdnTlYZGPcaMgm6b4JXI26FcWaFaHtBY_h5a03j0mMfKoTWduN9chkGospCVFc3pWt-p-Oemc3bU1vUXP4T4LZGkzQ-B8Etffay0n48/s1600/image048-757181.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCvF61YtlLMjckH4Prc72nH7ONbY6Ks_72AsPAzUdnTlYZGPcaMgm6b4JXI26FcWaFaHtBY_h5a03j0mMfKoTWduN9chkGospCVFc3pWt-p-Oemc3bU1vUXP4T4LZGkzQ-B8Etffay0n48/s320/image048-757181.png" id="BLOGGER_PHOTO_ID_6009722928205082178" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;">System.NullReferenceException: Object reference not set to an instance of an object.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; mso-highlight: yellow;"> at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeNewObjIntPtr(String typeName, IntPtr intPtr)</span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.callReturn(KernelCallReturnVal returnVal)<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Microsoft.Dynamics.Ax.Xpp.DictTable.Makerecord()<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFEntityWriter.writeToStaging(String _definitionGroup, String _executionId, DMFEntity entity, Int64 _startRefRecId, Int64 _endRefRecId, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor, Boolean , Boolean , Boolean , Boolean ) in DMFEntityWriter.writeToStaging.xpp:line 54<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFEntityWriter.writeToStaging(String _definitionGroup, String _executionId, DMFEntity entity, Int64 _startRefRecId, Int64 _endRefRecId, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor)<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFStagingWriter.execute(String _executionId, Int64 _batchId, Boolean _runOnService, Boolean _calledFrom, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor, Boolean , Boolean , Boolean , Boolean ) in DMFStagingWriter.execute.xpp:line 302<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFStagingWriter.execute(String _executionId, Int64 _batchId, Boolean _runOnService, Boolean _calledFrom, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor)<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFStagingWriter.runOnServer(String _executionId, Int64 _batchId, Boolean runOn, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor, Boolean , Boolean ) in DMFStagingWriter.runOnServer.xpp:line 22<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFStagingWriter.runOnServer(String _executionId, Int64 _batchId, Boolean runOn, Boolean _applyChangeTracking, AifChangeTrackingTable _ctCursor)<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.DMFStagingWriter.Run() in DMFStagingWriter.run.xpp:line 22<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at BatchRun::runJobStatic(Object[] )<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
at BatchIL.taskThreadEntry(Object threadArg)<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Then we'll also see a derived Export to File Error<br /> <i></i></div>
<div class="MsoNormal">
<i>Error</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3VtBpgQM8OlFcUtP-5SPu8JMIxLGrnL-HlkRPTFqwrn9Kp7WBbCJjuXGmji5m7pJNB2g3P4XfuJ9zZeeU7W4plfX0rrSKPCydnDV96q0EHlYT4bjMo_cTAxqHcWx0tqlIYyJTS2e6zifD/s1600/image049-759438.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3VtBpgQM8OlFcUtP-5SPu8JMIxLGrnL-HlkRPTFqwrn9Kp7WBbCJjuXGmji5m7pJNB2g3P4XfuJ9zZeeU7W4plfX0rrSKPCydnDV96q0EHlYT4bjMo_cTAxqHcWx0tqlIYyJTS2e6zifD/s320/image049-759438.png" id="BLOGGER_PHOTO_ID_6009722938448576114" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Should this happen please check that you have a relationship between DMFExecution table and your table defined as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Relation <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwY-jcDqhu5iaPW-okGgdFVWyj5iLwPGrjaT3sXu34AWFbQW3jye95RO2Tt3q-_ptWY-_pE066D4oxQY_IuhyphenhyphenDrJD9yJuQx0YIr6cRHZlw1AZT5RenMO6uc87vi7_z1k9Vt5HgX0XkhMQI/s1600/image050-762039.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwY-jcDqhu5iaPW-okGgdFVWyj5iLwPGrjaT3sXu34AWFbQW3jye95RO2Tt3q-_ptWY-_pE066D4oxQY_IuhyphenhyphenDrJD9yJuQx0YIr6cRHZlw1AZT5RenMO6uc87vi7_z1k9Vt5HgX0XkhMQI/s320/image050-762039.png" id="BLOGGER_PHOTO_ID_6009722950244070306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Okay, now we should be back in business and we can review our separate Batch jobs: Staging job and Export job<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch jobs – Staging and Export<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7c3SjrkVtBHVb09To6dIrIrIVevxlRmqtBmGyW9EwfUZHW7if3xfatDl-i3SI_O68IGO7RPEjltujL-zZiaaSrO_1yzmSH8MKtuWC14HWdD3RtgREHnTaS4auNvkmMMZodf1MiOOxIagr/s1600/image051-766518.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7c3SjrkVtBHVb09To6dIrIrIVevxlRmqtBmGyW9EwfUZHW7if3xfatDl-i3SI_O68IGO7RPEjltujL-zZiaaSrO_1yzmSH8MKtuWC14HWdD3RtgREHnTaS4auNvkmMMZodf1MiOOxIagr/s320/image051-766518.jpg" id="BLOGGER_PHOTO_ID_6009722966220799122" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks - Staging<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8OTR4q7zkmnlIQxk9WXxgYHRWD84hf-G-uzseyJ_Au5osA-07pMLZ2RtMspm_ALf4GMCXBIigojMatBKT7R36iua-fz_IErQJL8e4YRpytqs1jiwPtw9rt6RfJV7oX0Qye17ewQOIKCZQ/s1600/image052-769177.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8OTR4q7zkmnlIQxk9WXxgYHRWD84hf-G-uzseyJ_Au5osA-07pMLZ2RtMspm_ALf4GMCXBIigojMatBKT7R36iua-fz_IErQJL8e4YRpytqs1jiwPtw9rt6RfJV7oX0Qye17ewQOIKCZQ/s320/image052-769177.jpg" id="BLOGGER_PHOTO_ID_6009722978957268370" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Staging (Parameters)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbrC2Es6uvusOhtCOCM9-5gd7MIGIEFnTDeQhvb17dL77lruUCNNa9Y6JRzwSg_WbQ7Zni-XS6qmdCbE3t-mlrnBTjb18-5WWfOGe6FJNeHaHquIVkaXMsQUQs59Sk3XhmfRQGcUv7RCl5/s1600/image053-771730.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbrC2Es6uvusOhtCOCM9-5gd7MIGIEFnTDeQhvb17dL77lruUCNNa9Y6JRzwSg_WbQ7Zni-XS6qmdCbE3t-mlrnBTjb18-5WWfOGe6FJNeHaHquIVkaXMsQUQs59Sk3XhmfRQGcUv7RCl5/s320/image053-771730.png" id="BLOGGER_PHOTO_ID_6009722993112605186" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks - Export<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgzCudOvtSKydUjHKSiZMUDVV0X7BEnx2Yfwmm1pm3aOOYSGovt1ow-5aUaNwkdzvomPhCVh0uLUSji_KI639DhBIPtvJRTsJhvFo__s91lzQjD1-fiEsPdJIZ9A1l0V12Q7ZTmFqeZihC/s1600/image054-775202.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgzCudOvtSKydUjHKSiZMUDVV0X7BEnx2Yfwmm1pm3aOOYSGovt1ow-5aUaNwkdzvomPhCVh0uLUSji_KI639DhBIPtvJRTsJhvFo__s91lzQjD1-fiEsPdJIZ9A1l0V12Q7ZTmFqeZihC/s320/image054-775202.jpg" id="BLOGGER_PHOTO_ID_6009723003335560418" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Export (Parameters)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpNZ6RT3aaiiUNwcPelcV8AExq8Rt6OxFQ4LRANUbK2HFZyKAYj8-7-o8-nV8FGd70hdukatWTMTifn_2Y7RHf1UCmxoI3jUNEIScaDJEHDHcDvGQM3pV270Rdt_Yhoh6YFy_ymEcqwTy6/s1600/image055-778452.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpNZ6RT3aaiiUNwcPelcV8AExq8Rt6OxFQ4LRANUbK2HFZyKAYj8-7-o8-nV8FGd70hdukatWTMTifn_2Y7RHf1UCmxoI3jUNEIScaDJEHDHcDvGQM3pV270Rdt_Yhoh6YFy_ymEcqwTy6/s320/image055-778452.png" id="BLOGGER_PHOTO_ID_6009723017786796418" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Staging (Log)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYjc79iCqsNlunLzQapoBZQ5FlxX1qWV2yXpGekG581ZRR_cMq6T-r4-jQIoo3SuFdBjQqlREoSTJzEbRBs7bROIWe7Qb5eASkCNgrAGbiLNBI4wtg_LrAHyZZ5TeQfQmPZobfpsXSVDhy/s1600/image056-781716.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYjc79iCqsNlunLzQapoBZQ5FlxX1qWV2yXpGekG581ZRR_cMq6T-r4-jQIoo3SuFdBjQqlREoSTJzEbRBs7bROIWe7Qb5eASkCNgrAGbiLNBI4wtg_LrAHyZZ5TeQfQmPZobfpsXSVDhy/s320/image056-781716.png" id="BLOGGER_PHOTO_ID_6009723037090653666" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Export (Log)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB8l63A0rpkfSfBztCJAC0JLmbwQnZ5knk7PzFut378nLQcZfo86JhpVq-fUhzpgzm0RywCkbcwatJLhHsEgG9tt953NnYb9ofGUPirsct9WBsxAz81M0k15In28cctKHEJ364Kx0qrZwl/s1600/image057-784770.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB8l63A0rpkfSfBztCJAC0JLmbwQnZ5knk7PzFut378nLQcZfo86JhpVq-fUhzpgzm0RywCkbcwatJLhHsEgG9tt953NnYb9ofGUPirsct9WBsxAz81M0k15In28cctKHEJ364Kx0qrZwl/s320/image057-784770.png" id="BLOGGER_PHOTO_ID_6009723048001463138" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Great! Here's the file generated after the first Batch execution<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxrSf64Nx55GXeiDD_OFxdnJIWxRRqxLZuDDLNBZCeNokH_eUwh4ZFI-Wg2CC_Ye_jhMAGWxq-gmFywMFWnV9s3C5vBG7HoR6ZIgak7-BAbJGimsEyONYh4FURH5ivRlWViCNTozHB-fl/s1600/image058-788313.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxrSf64Nx55GXeiDD_OFxdnJIWxRRqxLZuDDLNBZCeNokH_eUwh4ZFI-Wg2CC_Ye_jhMAGWxq-gmFywMFWnV9s3C5vBG7HoR6ZIgak7-BAbJGimsEyONYh4FURH5ivRlWViCNTozHB-fl/s320/image058-788313.png" id="BLOGGER_PHOTO_ID_6009723063228569010" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next logical thought would be to link those Batch jobs as related Batch jobs tasks of one single Batch job<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
But when you want to create a Batch job manually and then assign Batch job tasks for Staging job and Export job you will not be able to find appropriate classes in the list of available Batchable classes<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbXU3Ks3eU1KLjqKXcU_klV_JLIXAIq-rqWLiOfvvK5kq-404CBIXJGThku0GuoTFNGiJgtdqgRarQqyQkPB64nF5J8czsjfSGLFiBx5aE_1YDQwCGSPcqZ2PGCwcxPaGxs4YCq3fEUGFB/s1600/image059-791538.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbXU3Ks3eU1KLjqKXcU_klV_JLIXAIq-rqWLiOfvvK5kq-404CBIXJGThku0GuoTFNGiJgtdqgRarQqyQkPB64nF5J8czsjfSGLFiBx5aE_1YDQwCGSPcqZ2PGCwcxPaGxs4YCq3fEUGFB/s320/image059-791538.png" id="BLOGGER_PHOTO_ID_6009723072953002754" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFbn5vy6thFLrx1qgZXfzIUW9GIEohFgwF54GiVT_FejD9fBEHXRYbq92KUYHF6d2LoOhmZl_ymPFHS5rTyLSt35LT1rD1dNJ42uBdKE32SxZH8ftWngyB-sIEAJGjkSbXORj8ki0_4-63/s1600/image060-794557.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFbn5vy6thFLrx1qgZXfzIUW9GIEohFgwF54GiVT_FejD9fBEHXRYbq92KUYHF6d2LoOhmZl_ymPFHS5rTyLSt35LT1rD1dNJ42uBdKE32SxZH8ftWngyB-sIEAJGjkSbXORj8ki0_4-63/s320/image060-794557.png" id="BLOGGER_PHOTO_ID_6009723088340515922" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The reason for this behavior is because these classes should have canGoBatchJournal method overridden and returning "true". This is to validate that class can be used as a batch task<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>canGoBatchJournal method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> canGoBatchJournal()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
After I added canGoBatchJournal method returning "true" to DMFStagingWriter (Staging job) class and DMFStagingToSourceFileWriter (Export job) class, they showed up in the list of available batch tasks<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWqIGD7Qw6dcnLgqZ4YJ2mAYBHUNZsSyLJwFJSEkqq5lLpU4XyXxg25aBPt632Zgo5Ye9UE-sh8tZnYBRWVYHqGL4aSlHUvX4MQgV4kI1IGG2Y4UdfQAtlvSWC794hmqQXnkoItt-Y2Za2/s1600/image061-797575.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWqIGD7Qw6dcnLgqZ4YJ2mAYBHUNZsSyLJwFJSEkqq5lLpU4XyXxg25aBPt632Zgo5Ye9UE-sh8tZnYBRWVYHqGL4aSlHUvX4MQgV4kI1IGG2Y4UdfQAtlvSWC794hmqQXnkoItt-Y2Za2/s320/image061-797575.png" id="BLOGGER_PHOTO_ID_6009723101814969186" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I can set up a new Batch job with multiple related Batch tasks to handle end-to-end integration (data retrieval and data export)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6UvDCX1Z7_FRoLzFNCBRCL2qxANv8o0XkJ-PDD3AfRX7ikRF6Q-YltwnucGrmTWJhg4yMsEJG-0uGHQ-IXNHGFaZcIi2HrOI_vnZpjortas3ECaScxE-oQESnzyjSBrJDRzp5ORlqU_q/s1600/image062-700764.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH6UvDCX1Z7_FRoLzFNCBRCL2qxANv8o0XkJ-PDD3AfRX7ikRF6Q-YltwnucGrmTWJhg4yMsEJG-0uGHQ-IXNHGFaZcIi2HrOI_vnZpjortas3ECaScxE-oQESnzyjSBrJDRzp5ORlqU_q/s320/image062-700764.jpg" id="BLOGGER_PHOTO_ID_6009723115820066226" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I can also define a single Recurrence pattern for data export<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Recurrence<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia7kK7RfJt7Jr7lKQgZD_6VJbZa4fvowcPCvW5J-7q3Ft79nssPlymhP76XblCc00mSFidgslxlmu4FGoLVeODsFOaioxpDdOHaPXmYayrbpRPLYOzys6q0UY_WZpR6dYoZusfafR_iX5H/s1600/image063-703933.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia7kK7RfJt7Jr7lKQgZD_6VJbZa4fvowcPCvW5J-7q3Ft79nssPlymhP76XblCc00mSFidgslxlmu4FGoLVeODsFOaioxpDdOHaPXmYayrbpRPLYOzys6q0UY_WZpR6dYoZusfafR_iX5H/s320/image063-703933.png" id="BLOGGER_PHOTO_ID_6009723129556291906" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And most importantly I can define related Batch tasks<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Staging job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCwgMC6lqpr2RkMp0QhWUFp06zZy8Q9tRjIDSeDvZehLkq-5RogytRsv29uf9RbyPAflYvq6v48ieaRYM8gwd_j9Qif7MfypCtGjTKxEwvtXUKEontuilYfcdtfoCGAyGVIYA2ZFPf8Gju/s1600/image064-706946.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCwgMC6lqpr2RkMp0QhWUFp06zZy8Q9tRjIDSeDvZehLkq-5RogytRsv29uf9RbyPAflYvq6v48ieaRYM8gwd_j9Qif7MfypCtGjTKxEwvtXUKEontuilYfcdtfoCGAyGVIYA2ZFPf8Gju/s320/image064-706946.jpg" id="BLOGGER_PHOTO_ID_6009723142003583426" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging job - Parameters<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbrC2Es6uvusOhtCOCM9-5gd7MIGIEFnTDeQhvb17dL77lruUCNNa9Y6JRzwSg_WbQ7Zni-XS6qmdCbE3t-mlrnBTjb18-5WWfOGe6FJNeHaHquIVkaXMsQUQs59Sk3XhmfRQGcUv7RCl5/s1600/image053-771730.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbrC2Es6uvusOhtCOCM9-5gd7MIGIEFnTDeQhvb17dL77lruUCNNa9Y6JRzwSg_WbQ7Zni-XS6qmdCbE3t-mlrnBTjb18-5WWfOGe6FJNeHaHquIVkaXMsQUQs59Sk3XhmfRQGcUv7RCl5/s320/image053-771730.png" id="BLOGGER_PHOTO_ID_6009722993112605186" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks – Export job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDXIE3Y1Q9jjknrVkx2BGmVejTDiW-PGnbWxreokgW_vF8DEZJItCzy2CExaTVBoNlfqU_wG2mzYzjMs5cDVWu9wn2nNOGfefudpwBvvjJ4bNULU0oJ1sCPVHdSk5FKNXUjAEmgTwjYWy2/s1600/image065-710098.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDXIE3Y1Q9jjknrVkx2BGmVejTDiW-PGnbWxreokgW_vF8DEZJItCzy2CExaTVBoNlfqU_wG2mzYzjMs5cDVWu9wn2nNOGfefudpwBvvjJ4bNULU0oJ1sCPVHdSk5FKNXUjAEmgTwjYWy2/s320/image065-710098.jpg" id="BLOGGER_PHOTO_ID_6009723156983262626" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Export job – Parameters<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcjmv6CISNkWGGfghT2BLPWE2mA-0F8zX7outtLRa3rjhIHHymwLJSPLf8iXM8gl4_O6n_iw5i4gS0QbajW8a9_Vk-C4JRvlSlBlVIXBwwpodVhrBNqweha4r2ij6-k8eGJDMSqJp2mZgI/s1600/image066-713155.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcjmv6CISNkWGGfghT2BLPWE2mA-0F8zX7outtLRa3rjhIHHymwLJSPLf8iXM8gl4_O6n_iw5i4gS0QbajW8a9_Vk-C4JRvlSlBlVIXBwwpodVhrBNqweha4r2ij6-k8eGJDMSqJp2mZgI/s320/image066-713155.png" id="BLOGGER_PHOTO_ID_6009723168901909314" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After the first execution we'll get the result<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglgTC33JjSrSHqj847AKyjG3d3sB3pyajtlWMKrFT3To5d22oS_oUhkl64S3nHPGpcCWwd_4Rgd-QLZyRWndTgV3uj3nhxmbqjlMhivY0KNK9poDOzEvsYxXwZXklGBJh9BunJoXQtoP82/s1600/image067-716164.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglgTC33JjSrSHqj847AKyjG3d3sB3pyajtlWMKrFT3To5d22oS_oUhkl64S3nHPGpcCWwd_4Rgd-QLZyRWndTgV3uj3nhxmbqjlMhivY0KNK9poDOzEvsYxXwZXklGBJh9BunJoXQtoP82/s320/image067-716164.png" id="BLOGGER_PHOTO_ID_6009723182731754610" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However after the second and subsequent executions we'll face with issue as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7DX0sM3T27V-dg5SaTHxAQAq_mFIC2fXq7L70QHTOuuXevSTb-tcSDoIhdkqklZWdOTGdAdZ6ix-8jmcMg6ERCsmEgqkbiIdlspvLMIfsK5aKj4zZIao0GXtLbpMUsN8iIlzwNRBowFQg/s1600/image068-719533.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7DX0sM3T27V-dg5SaTHxAQAq_mFIC2fXq7L70QHTOuuXevSTb-tcSDoIhdkqklZWdOTGdAdZ6ix-8jmcMg6ERCsmEgqkbiIdlspvLMIfsK5aKj4zZIao0GXtLbpMUsN8iIlzwNRBowFQg/s320/image068-719533.png" id="BLOGGER_PHOTO_ID_6009723197208312578" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The reason for "File already exists" error is that in DMFStagingWrite.decompressWriteFile method exception is thrown in case the file with this name already exists. Please note that WinServerAPI class is used for Server-side execution (Batch jobs)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingWriter.decompressWriteFile method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">server</span></b> <b><span style="color: darkblue;">static</span></b> <b><span style="color: darkblue;">boolean</span></b> decompressWriteFile(<b><span style="color: darkblue;">container</span></b> _con, <b><span style="color: darkblue;">str</span></b> _newFileName, <b><span style="color: darkblue;">boolean</span></b> _last = <b><span style="color: darkblue;">false</span></b>, <b><span style="color: darkblue;">boolean</span></b> _first = <b><span style="color: darkblue;">false</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> FileIOPermission fileIOPermission;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> BinData outp = <b><span style="color: darkblue;">new</span></b> BinData();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission = <b><span style="color: darkblue;">new</span></b> FileIOPermission(_newFileName,<span style="color: darkred;">'r'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (_first && WinAPIServer::fileExists(_newFileName))<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkviolet;">"@SYS18625"</span>,_newFileName));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> }</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.setData(_con);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.appendToFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (_last)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission = <b><span style="color: darkblue;">new</span></b> FileIOPermission(_newFileName,<span style="color: darkred;">'rw'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.loadFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.decompressLZ77();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.saveFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><o:p> </o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However if to execute the job interactively on the Client we'll not see the error mentioned above. This is because in similar method for Client-side execution we have the following code<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingWriter.decompressWriteFileClient method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">client</span></b> <b><span style="color: darkblue;">static</span></b> <b><span style="color: darkblue;">boolean</span></b> decompressWriteFileClient(<b><span style="color: darkblue;">container</span></b> con, <b><span style="color: darkblue;">str</span></b> newFileName, <b><span style="color: darkblue;">boolean</span></b> last = <b><span style="color: darkblue;">false</span></b>, <b><span style="color: darkblue;">boolean</span></b> first = <b><span style="color: darkblue;">false</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> FileIOPermission fileIOPermission;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> BinData outp = <b><span style="color: darkblue;">new</span></b> BinData();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (first && WinAPI::fileExists(newFileName))<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> WinAPI::deleteFile(newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> }</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.setData(con);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.appendToFile(newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (last)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission = <b><span style="color: darkblue;">new</span></b> FileIOPermission(newFileName,<span style="color: darkred;">'rw'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.loadFile(newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.decompressLZ77();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.saveFile(newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
Thus to proceed further I modified DMFStagingWriter.decompressWriteFile method as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingWriter.decompressWriteFile method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">server</span></b> <b><span style="color: darkblue;">static</span></b> <b><span style="color: darkblue;">boolean</span></b> decompressWriteFile(<b><span style="color: darkblue;">container</span></b> _con, <b><span style="color: darkblue;">str</span></b> _newFileName, <b><span style="color: darkblue;">boolean</span></b> _last = <b><span style="color: darkblue;">false</span></b>, <b><span style="color: darkblue;">boolean</span></b> _first = <b><span style="color: darkblue;">false</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> FileIOPermission fileIOPermission;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> BinData outp = <b><span style="color: darkblue;">new</span></b> BinData();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission = <b><span style="color: darkblue;">new</span></b> FileIOPermission(_newFileName,<span style="color: darkred;">'r'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (_first && WinAPIServer::fileExists(_newFileName))<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <i><span style="color: green;">//throw error(strFmt("@SYS18625",_newFileName));<o:p></o:p></span></i></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> WinAPIServer::deleteFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> }</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.setData(_con);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.appendToFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (_last)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission = <b><span style="color: darkblue;">new</span></b> FileIOPermission(_newFileName,<span style="color: darkred;">'rw'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileIOPermission.assert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.loadFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.decompressLZ77();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outp.saveFile(_newFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> CodeAccessPermission::revertAssert();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><o:p> </o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now when we try to execute integration (data export) multiple times we'll have a new file with the same name generated as expected<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglgTC33JjSrSHqj847AKyjG3d3sB3pyajtlWMKrFT3To5d22oS_oUhkl64S3nHPGpcCWwd_4Rgd-QLZyRWndTgV3uj3nhxmbqjlMhivY0KNK9poDOzEvsYxXwZXklGBJh9BunJoXQtoP82/s1600/image067-716164.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglgTC33JjSrSHqj847AKyjG3d3sB3pyajtlWMKrFT3To5d22oS_oUhkl64S3nHPGpcCWwd_4Rgd-QLZyRWndTgV3uj3nhxmbqjlMhivY0KNK9poDOzEvsYxXwZXklGBJh9BunJoXQtoP82/s320/image067-716164.png" id="BLOGGER_PHOTO_ID_6009723182731754610" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The next thing we'll notice after multiple executions of Staging job will be errors "Cannot create a record in Table. The record already exists"<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJhe4I9QT6i2gFCVlfJv8cy3smDHm9Q2ZqVcj-fdbdRvWMRKSQMG5kNuClbgIo717BClWtAX8F7zHoa8yQZ0BJVAxHq0ZiOxOXHwPE6mgS5zbUdm_gkXhtiUdvIBCwJJBNwi4BnqkYAZ8F/s1600/image069-723250.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJhe4I9QT6i2gFCVlfJv8cy3smDHm9Q2ZqVcj-fdbdRvWMRKSQMG5kNuClbgIo717BClWtAX8F7zHoa8yQZ0BJVAxHq0ZiOxOXHwPE6mgS5zbUdm_gkXhtiUdvIBCwJJBNwi4BnqkYAZ8F/s320/image069-723250.png" id="BLOGGER_PHOTO_ID_6009723210789933074" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This happens because when the system executes Staging job multiple times in Batch for the same ExecutionId the Primary key violation occurs upon records insert. Here's how entity table Primary key looks like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Unique index (PK)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Jd_Ze7x8J4n7X6wLtRNSsC5Y4XvZjbPwNwknySylrSGEv16JsSbuiRsVFlhhIkn_NSoqkxWWMOmDvfTuM1sGmBzuQiM_RtF14fd93qSQPaJnMIvvv1mbjdeT2rNmUf1R583uXJRN1D3F/s1600/image070-726911.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-Jd_Ze7x8J4n7X6wLtRNSsC5Y4XvZjbPwNwknySylrSGEv16JsSbuiRsVFlhhIkn_NSoqkxWWMOmDvfTuM1sGmBzuQiM_RtF14fd93qSQPaJnMIvvv1mbjdeT2rNmUf1R583uXJRN1D3F/s320/image070-726911.png" id="BLOGGER_PHOTO_ID_6009723226738285282" /></a> <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to resolve this issue I'll want to execute Staging cleanup job available as a part of Data Import Export Framework (DIXF) after or <u>before</u> each iteration of integration (data export)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging cleanup job <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmjc9hILw8t3XrVmL0KJQCYgiRnTVTsTdy4BV60LuSyxKvB6MTHZyXru0zLTQ3fGA1q4XNFKgcakFyUqqaNwyiEJyQgOqk9FjDTnjWk6HE6bAuEBDhfWc-DPYzjJNI0TFS7G1g2Rc_-Soi/s1600/image071-730283.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmjc9hILw8t3XrVmL0KJQCYgiRnTVTsTdy4BV60LuSyxKvB6MTHZyXru0zLTQ3fGA1q4XNFKgcakFyUqqaNwyiEJyQgOqk9FjDTnjWk6HE6bAuEBDhfWc-DPYzjJNI0TFS7G1g2Rc_-Soi/s320/image071-730283.png" id="BLOGGER_PHOTO_ID_6009723243590875906" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging cleanup job – Batch processing<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFEgh_PGUIBOQodti9pM7_9_5FwvmAza6bA-iPdfwwPTcegOl_utWQDueiQRiSAbYFBY6sUvKUzTzoG-2vjBsjXzqhyZnugXDuHqz4FntjfVEBpRx2KI6Sn7rZLKVR6_uLhoHrt5d5v_I7/s1600/image072-733756.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFEgh_PGUIBOQodti9pM7_9_5FwvmAza6bA-iPdfwwPTcegOl_utWQDueiQRiSAbYFBY6sUvKUzTzoG-2vjBsjXzqhyZnugXDuHqz4FntjfVEBpRx2KI6Sn7rZLKVR6_uLhoHrt5d5v_I7/s320/image072-733756.png" id="BLOGGER_PHOTO_ID_6009723259777737218" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that at this point the system says that there're no records in staging to be cleaned up<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTC_OgdpCOF9v1O-A-wKcIuPcEV8CKQ8oO3mREHDx0OivP1inpKWQbixsy3GphkIkJPDJr-0yb9CpWGRLR4k72JHB_QMUkltCbCdyutFQhDQISxmAVbjNiC5Ty4sIbQeJjhn_a-qT5tcV0/s1600/image073-737802.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTC_OgdpCOF9v1O-A-wKcIuPcEV8CKQ8oO3mREHDx0OivP1inpKWQbixsy3GphkIkJPDJr-0yb9CpWGRLR4k72JHB_QMUkltCbCdyutFQhDQISxmAVbjNiC5Ty4sIbQeJjhn_a-qT5tcV0/s320/image073-737802.png" id="BLOGGER_PHOTO_ID_6009723277287585026" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is because you can only clean up fully open, fully closed or error jobs as per DMFStagingCleanup.deleteStagingData method. However our job is by definition a semi-finished job because we are only interested in populating Staging data (AX -> Staging), after that we want to use Export to file function to generate a file. By other words for our job Staging status = "Finished" and Target status = "Not run" which is against the rules defined in DMFStagingCleanup.deleteStagingData method for cleanup activities. <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingCleanup.deleteStagingData method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> deleteStagingData()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> stagingDeleted;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!entityName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = this.deleteBasedOnDefGroupOrExecId(defGroupName, executionId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> Entity, StagingStatus, TargetStatus, DefinitionGroup, ExecutionId <b><span style="color: darkblue;">from</span></b> dmfDefinitionGroupExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">where</span></b> dmfDefinitionGroupExecution.Entity == entityName <span style="background: yellow; mso-highlight: yellow;">&&<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Finished)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Hold)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Error &&<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Error)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::NotRun &&<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::NotRun)</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(defGroupName && dmfDefinitionGroupExecution.DefinitionGroup != defGroupName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(executionId && dmfDefinitionGroupExecution.ExecutionId != executionId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfEntity = DMFEntity::find(entityName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictTable = SysDictTable::newName(dmfEntity.EntityTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (dmfEntity)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> common = dictTable.makeRecord();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">delete_from</span></b> common<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">where</span></b> common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFExecution, ExecutionId))) == dmfDefinitionGroupExecution.ExecutionId<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> && common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFDefinitionGroupEntity, DefinitionGroup))) == dmfDefinitionGroupExecution.DefinitionGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">delete_from</span></b> dmfExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">where</span></b> dmfExecution.ExecutionId == dmfDefinitionGroupExecution.ExecutionId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (stagingDeleted)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF381"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF712"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to successfully clean up Staging data and keep it simple I'll modify DMFStagingCleanup.deleteStagingData method by commenting out clean up qualification rules based on Statuses<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingCleanup.deleteStagingData method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> deleteStagingData()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> stagingDeleted;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!entityName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = this.deleteBasedOnDefGroupOrExecId(defGroupName, executionId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> Entity, StagingStatus, TargetStatus, DefinitionGroup, ExecutionId <b><span style="color: darkblue;">from</span></b> dmfDefinitionGroupExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">where</span></b> dmfDefinitionGroupExecution.Entity == entityName <i><span style="background: yellow; color: green; mso-highlight: yellow;">/* &&<o:p></o:p></span></i></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"><o:p> </o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Finished)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Hold)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Error &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Error)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::NotRun &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::NotRun) */</span></i><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(defGroupName && dmfDefinitionGroupExecution.DefinitionGroup != defGroupName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(executionId && dmfDefinitionGroupExecution.ExecutionId != executionId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfEntity = DMFEntity::find(entityName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictTable = SysDictTable::newName(dmfEntity.EntityTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b> (dmfEntity)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> common = dictTable.makeRecord();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">delete_from</span></b> common<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">where</span></b> common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFExecution, ExecutionId))) == dmfDefinitionGroupExecution.ExecutionId<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> && common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFDefinitionGroupEntity, DefinitionGroup))) == dmfDefinitionGroupExecution.DefinitionGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">delete_from</span></b> dmfExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">where</span></b> dmfExecution.ExecutionId == dmfDefinitionGroupExecution.ExecutionId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (stagingDeleted)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF381"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF712"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result I'll be able to clean up Staging data even for semi-finished job which is exactly the case in my scenario <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Infolog<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT2cCFOcyMEec4SOyDuzFP0OTebX8oeGfbSbPHQgiVn4LlPShlT59Tdt6gqNpuKiznDSbeFEDbVhKXMrbv9njBCQqH1bQ443bFrMFOTSxTrtaZyLy7D92z7neYQUmUGHOn57UcTmP8WsJB/s1600/image074-740779.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT2cCFOcyMEec4SOyDuzFP0OTebX8oeGfbSbPHQgiVn4LlPShlT59Tdt6gqNpuKiznDSbeFEDbVhKXMrbv9njBCQqH1bQ443bFrMFOTSxTrtaZyLy7D92z7neYQUmUGHOn57UcTmP8WsJB/s320/image074-740779.png" id="BLOGGER_PHOTO_ID_6009723286685205842" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a next logical step I'll include Staging cleanup job as another Batch job task into a consolidated Batch job for integration (data export)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQnWHGEQ3iDpzltgXXY44aJyy4gMejDXRQ_y53CBWeKEkWT6gqTG8Y5037YaR4cvWZVX6jiSPf4kCRnON91V1mBxUZ2ifT141UeQ-SnsLNfLTJc3h-mM1RtrSceq4mHEmj3Uo7GJd3T5rM/s1600/image075-743943.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQnWHGEQ3iDpzltgXXY44aJyy4gMejDXRQ_y53CBWeKEkWT6gqTG8Y5037YaR4cvWZVX6jiSPf4kCRnON91V1mBxUZ2ifT141UeQ-SnsLNfLTJc3h-mM1RtrSceq4mHEmj3Uo7GJd3T5rM/s320/image075-743943.jpg" id="BLOGGER_PHOTO_ID_6009723302025540802" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging cleanup job - Parameters<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGKeGRr8hPjfQ7Lrn3PnuLYDDy5O5yZ2tyqc5Z3BvxiaqoDAxgjEKGLoBqxDztrVOuone2QobP4Vfkf2syAQt8xi7oju0QiHduFAOr5FQHCgp9gRfSG9SA-I40YKKm0T2aCZzx4VXU5gT/s1600/image076-747153.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbGKeGRr8hPjfQ7Lrn3PnuLYDDy5O5yZ2tyqc5Z3BvxiaqoDAxgjEKGLoBqxDztrVOuone2QobP4Vfkf2syAQt8xi7oju0QiHduFAOr5FQHCgp9gRfSG9SA-I40YKKm0T2aCZzx4VXU5gT/s320/image076-747153.png" id="BLOGGER_PHOTO_ID_6009723313507700818" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I want Staging job to run only when Staging cleanup job is finished. In this case I can be sure that we avoid a Primary Key duplication exceptions for Entity table upon records insert <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Staging job - Condition<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd01v_stYdpcduzLDOhKRmz9MCKyNnUOMSfQDpo_dDl1upTLJy6y-D_58EoSP932yUMUeZft-JjRBpD_8xK26jTs6JnpGp6FT07UcGCr2VNTCkwZ9LHdpSsqsI8oEMM8jUZ9una0Ka76xd/s1600/image077-751008.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd01v_stYdpcduzLDOhKRmz9MCKyNnUOMSfQDpo_dDl1upTLJy6y-D_58EoSP932yUMUeZft-JjRBpD_8xK26jTs6JnpGp6FT07UcGCr2VNTCkwZ9LHdpSsqsI8oEMM8jUZ9una0Ka76xd/s320/image077-751008.jpg" id="BLOGGER_PHOTO_ID_6009723333731470306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point if I kick off a consolidated integration Batch job I'll see another exception popping up<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYMalDw6ajUEyfvLT1yKGI6etTOkXXk8wjAEgaQBkJgI_149I_Y5aBZg_YH9DDSNFaA2oQ3N2pZyWVC77IJuieFLvXq8dNwXMq-FiW5s0TVyrzyi29_6JV-JoA7nnfg3yggFRGlNexL1FM/s1600/image078-755069.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYMalDw6ajUEyfvLT1yKGI6etTOkXXk8wjAEgaQBkJgI_149I_Y5aBZg_YH9DDSNFaA2oQ3N2pZyWVC77IJuieFLvXq8dNwXMq-FiW5s0TVyrzyi29_6JV-JoA7nnfg3yggFRGlNexL1FM/s320/image078-755069.png" id="BLOGGER_PHOTO_ID_6009723347785053410" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This time it is caused by the fact that after we cleaned up Staging data we also deleted DMFExecution record for specific ExecutionId which is used upon subsequent integration executions. DMFExecution records gets automatically deleted based on Delete Action on DMFDefinitionGroupExecution table<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFDefinitionGroupExecution table – Delete action</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz254X04drlDX2kF-lbvlk3KXRPWcL_sJQxc18zk56uRxSqe2XfVPi6POBxBU8rAhEyd-CdS0MgG9Igt-E3_T8mKpcVjH1qVvrZYMxCSI9b5p6Yk7lItH-qoSD-8hym0eByKQKx_Icivtr/s1600/image079-758409.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz254X04drlDX2kF-lbvlk3KXRPWcL_sJQxc18zk56uRxSqe2XfVPi6POBxBU8rAhEyd-CdS0MgG9Igt-E3_T8mKpcVjH1qVvrZYMxCSI9b5p6Yk7lItH-qoSD-8hym0eByKQKx_Icivtr/s320/image079-758409.png" id="BLOGGER_PHOTO_ID_6009723362640764786" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then when we execute Staging cleanup job over and over again the system will be looking for DMFExecution record with specific ExecutionId which does not exist and as the result the system will throw the exception as per DMFStagingCleanup.validate method<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingCleanup.validate method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> validate(Object calledFrom = <b> <span style="color: darkblue;">null</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> ret = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> DMFDefinitionGroup dmfDefinitionGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!entityName && !executionId && !defGroupName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@DMF1498"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b>(entityName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">select</span></b> <b><span style="color: darkblue;">firstOnly1</span></b> RecId <b><span style="color: darkblue;">from</span></b> dmfEntity<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">where</span></b> dmfEntity.EntityName == entityName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b>(!dmfEntity.RecId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkviolet;">"@DMF370"</span>,entityName));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;">(executionId)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">select</span></b> <b><span style="color: darkblue;">firstOnly1</span></b> RecId <b><span style="color: darkblue;">from</span></b> dmfExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">where</span></b> dmfExecution.ExecutionId == executionId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">if</span></b>(!dmfExecution.RecId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkviolet;">"@DMF785"</span>,executionId));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> }</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b>(defGroupName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">select</span></b> <b><span style="color: darkblue;">firstOnly1</span></b> RecId <b><span style="color: darkblue;">from</span></b> dmfDefinitionGroup<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">where</span></b> dmfDefinitionGroup.DefinationGroupName == defGroupName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b>(!dmfDefinitionGroup.RecId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkviolet;">"@DMF786"</span>,defGroupName));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> ret;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to prevent this error out goal will be to prevent a deletion of DMFExecution record as a part of Staging cleanup job. Thus we're going to have DMFExecution record "header" still in place even when actual staging data relative to this ExecutionId will be deleted/cleaned up. To do so I'll modify DMFStagingCleanup.deleteStagingData method one more time as shown below<i><o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DMFStagingCleanup.deleteStagingData method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> deleteStagingData()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> stagingDeleted;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!entityName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = this.deleteBasedOnDefGroupOrExecId(defGroupName, executionId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> Entity, StagingStatus, TargetStatus, DefinitionGroup, ExecutionId <b><span style="color: darkblue;">from</span></b> dmfDefinitionGroupExecution<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">where</span></b> dmfDefinitionGroupExecution.Entity == entityName <i><span style="color: green;">/* &&<o:p></o:p></span></i></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Finished)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Finished &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Hold)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::Error &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::Error)<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> ||<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> (dmfDefinitionGroupExecution.StagingStatus == DMFBatchJobStatus::NotRun &&<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="color: green; font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfDefinitionGroupExecution.TargetStatus == DMFBatchJobStatus::NotRun) */</span></i><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(defGroupName && dmfDefinitionGroupExecution.DefinitionGroup != defGroupName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b>(executionId && dmfDefinitionGroupExecution.ExecutionId != executionId)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">continue</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dmfEntity = DMFEntity::find(entityName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictTable = SysDictTable::newName(dmfEntity.EntityTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b> (dmfEntity)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> common = dictTable.makeRecord();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">delete_from</span></b> common<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">where</span></b> common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFExecution, ExecutionId))) == dmfDefinitionGroupExecution.ExecutionId<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> && common.(<b><span style="color: darkblue;">fieldName2id</span></b>(dictTable.id(), <b><span style="color: darkblue;">fieldStr</span></b>(DMFDefinitionGroupEntity, DefinitionGroup))) == dmfDefinitionGroupExecution.DefinitionGroup;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="background: yellow; color: green; mso-highlight: yellow;">/*<o:p></o:p></span></i></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> delete_from dmfExecution<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> where dmfExecution.ExecutionId == dmfDefinitionGroupExecution.ExecutionId;<o:p></o:p></span></i></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<i><span style="background: yellow; color: green; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> */</span></i><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> stagingDeleted = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (stagingDeleted)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF381"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> info(<span style="color: darkviolet;">"@DMF712"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Then we can kick off a consolidated integration Batch job again to observe the result. To make the experiment even more interesting I also added some more demo data in the table in between Batch job executions. The result will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution #1<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxrSf64Nx55GXeiDD_OFxdnJIWxRRqxLZuDDLNBZCeNokH_eUwh4ZFI-Wg2CC_Ye_jhMAGWxq-gmFywMFWnV9s3C5vBG7HoR6ZIgak7-BAbJGimsEyONYh4FURH5ivRlWViCNTozHB-fl/s1600/image058-788313.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxrSf64Nx55GXeiDD_OFxdnJIWxRRqxLZuDDLNBZCeNokH_eUwh4ZFI-Wg2CC_Ye_jhMAGWxq-gmFywMFWnV9s3C5vBG7HoR6ZIgak7-BAbJGimsEyONYh4FURH5ivRlWViCNTozHB-fl/s320/image058-788313.png" id="BLOGGER_PHOTO_ID_6009723063228569010" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution #2<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpZBBpnVAjc25d_cMLWrYawA_C_FT1dE84d4qB7N_x7CjDliNGSrhK9SDVVuoPlH4gZaPSO0uXHqjAv6QxvXkNpMT4WZcX9ftKekie6c-KTrx6MV2baEsXsCtyCNKE5y9X9tWa1YX_3PB/s1600/image080-761580.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpZBBpnVAjc25d_cMLWrYawA_C_FT1dE84d4qB7N_x7CjDliNGSrhK9SDVVuoPlH4gZaPSO0uXHqjAv6QxvXkNpMT4WZcX9ftKekie6c-KTrx6MV2baEsXsCtyCNKE5y9X9tWa1YX_3PB/s320/image080-761580.png" id="BLOGGER_PHOTO_ID_6009723374069275954" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that after the second execution data export file has more data than after the first execution. That's exactly what I wanted!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now you can keep a consolidate integration Batch job running and it will generate data export file with updated/actual business data over and over again to ensure a continuous integration flow. At the same time external systems can consume up to date exported business data at the time when needed<o:p></o:p></div>
<div class="MsoNormal">
After a number of executions we can review a Batch history <o:p> </o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch history<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhURDqlHhfurJgv8smkvbJDpHdVb5HyXDxsqXk6EpC3rhAZEnKeJjtxq6LEZFC1uu7cn7o_cCwzBEJVUiPFigQKa4aFzFnc3cADKfdw2IMrRGnxH_-VeoEzaGNNxNzdW5XWKsIOTQ9wxRvU/s1600/image081-766300.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhURDqlHhfurJgv8smkvbJDpHdVb5HyXDxsqXk6EpC3rhAZEnKeJjtxq6LEZFC1uu7cn7o_cCwzBEJVUiPFigQKa4aFzFnc3cADKfdw2IMrRGnxH_-VeoEzaGNNxNzdW5XWKsIOTQ9wxRvU/s320/image081-766300.jpg" id="BLOGGER_PHOTO_ID_6009723394024266930" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And drill down to execution details if needed<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution details<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikXnHSWg65U0_wIEVNHi8z8JggmkZFfumGCfsYp3LyUG7DA3Fin0rFcmbwOwEwxAedPTe-JKaCbCF8psAdawn2vmXfzTAeR3jzueCVaYVGxMHhLD4ARzxbAXOqAWc3oOWnM4iqzzD9fcTc/s1600/image082-769578.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikXnHSWg65U0_wIEVNHi8z8JggmkZFfumGCfsYp3LyUG7DA3Fin0rFcmbwOwEwxAedPTe-JKaCbCF8psAdawn2vmXfzTAeR3jzueCVaYVGxMHhLD4ARzxbAXOqAWc3oOWnM4iqzzD9fcTc/s320/image082-769578.png" id="BLOGGER_PHOTO_ID_6009723415329996866" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For example, this is how Staging job execution details look like for Execution #1 and Execution #2 I mentioned above<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Execution details – Comparison (Execution #1 vs Execution #2) </i></div>
<div class="MsoNormal">
<i> <o:p></o:p></i></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="390"><div class="MsoNormal" style="margin-bottom: 0in;">
Execution #1<o:p></o:p></div>
</td> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="390"><div class="MsoNormal" style="margin-bottom: 0in;">
Execution #2<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="390"><div class="MsoNormal" style="margin-bottom: 0in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjNg41-O_lLJ0rMANG62onALAeYER1kK-E7fzi9_0Wm-eKsRR1BnaNRGPAOZbNyPKFsfota0GNLoHJbWf4x5MFFHDgZCHZE3qVMANMT2AVO7FAcFBkbVCzMRaPG8sXOkPHVMk4MdVB0Jgd/s1600/image083-772567.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjNg41-O_lLJ0rMANG62onALAeYER1kK-E7fzi9_0Wm-eKsRR1BnaNRGPAOZbNyPKFsfota0GNLoHJbWf4x5MFFHDgZCHZE3qVMANMT2AVO7FAcFBkbVCzMRaPG8sXOkPHVMk4MdVB0Jgd/s320/image083-772567.png" id="BLOGGER_PHOTO_ID_6009723419837750402" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1460727603"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7o6UP8lUN427vx85D07eogq8_IAyfKxCf8z26wH0z2w1qmY3n9VLtEr6eTcaFzIoOLNKaiJ8cpT6aW3G_gOjj6155cnkP-n4OA21dBVHz1CpVqYuBbm0hptTlXOka4WO9ifGacARt2Ko/s1600/image084-776337.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7o6UP8lUN427vx85D07eogq8_IAyfKxCf8z26wH0z2w1qmY3n9VLtEr6eTcaFzIoOLNKaiJ8cpT6aW3G_gOjj6155cnkP-n4OA21dBVHz1CpVqYuBbm0hptTlXOka4WO9ifGacARt2Ko/s320/image084-776337.png" id="BLOGGER_PHOTO_ID_6009723442420392562" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1026" DrawAspect="Content" ObjectID="_1460727604"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="390"><div class="MsoNormal" style="margin-bottom: 0in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEYxmrUETlHfI2kdNNtUcWrxq0yZbgbqC7mMBwWgNlqcUieT2HbJSDQFUjiNSMkifzjsT5AdPigbk1FUJD-v63dwYPcH-Y8oPu-v0NxPpeqZjb1ZkDKSpM393hDoWM_tI8YH0-ebRSRWM/s1600/image085-780088.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCEYxmrUETlHfI2kdNNtUcWrxq0yZbgbqC7mMBwWgNlqcUieT2HbJSDQFUjiNSMkifzjsT5AdPigbk1FUJD-v63dwYPcH-Y8oPu-v0NxPpeqZjb1ZkDKSpM393hDoWM_tI8YH0-ebRSRWM/s320/image085-780088.png" id="BLOGGER_PHOTO_ID_6009723457326170834" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1027" DrawAspect="Content" ObjectID="_1460727605"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7o6UP8lUN427vx85D07eogq8_IAyfKxCf8z26wH0z2w1qmY3n9VLtEr6eTcaFzIoOLNKaiJ8cpT6aW3G_gOjj6155cnkP-n4OA21dBVHz1CpVqYuBbm0hptTlXOka4WO9ifGacARt2Ko/s1600/image084-776337.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ7o6UP8lUN427vx85D07eogq8_IAyfKxCf8z26wH0z2w1qmY3n9VLtEr6eTcaFzIoOLNKaiJ8cpT6aW3G_gOjj6155cnkP-n4OA21dBVHz1CpVqYuBbm0hptTlXOka4WO9ifGacARt2Ko/s320/image084-776337.png" id="BLOGGER_PHOTO_ID_6009723442420392562" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1028" DrawAspect="Content" ObjectID="_1460727606"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Remark: In this article I leveraged Data Import Export Framework (DIXF) to organize data export. Depending on your requirements you can certainly develop a custom X++ script for data export. However please note that in this case you will have to implement file generation logic, data logging, exceptions handling/review, performance-related features (if critical), advanced security (if needed) and other functionalities manually, as opposed to using Data Import Export Framework (DIXF) when all of the above comes with the framework. It is also important to mention that Data Import Export Framework (DIXF) ships with numerous standard templates for various business entities, so you can simply take advantage of those templates instead of developing/re-inventing your own templates to fully realize the benefits of the framework. Please also review other articles in this series which highlight different approaches to the same task and their details <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to implement File Exchange data export integration with Microsoft Dynamics AX 2012 using Data Import Export Framework (DIXF). In particular I illustrated experience you would have when using custom DIXF templates and drew your attention to the benefits when using standard DIXF templates. I also focused on several important aspects for continuous integration (data export) such as process automation using batch jobs, generation of files with predefined names, etc.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Dynamics ERP, Microsoft Dynamics AX 2012, Integration, File Exchange, Data Export, DMF, Data Migration Framework (former name), DIXF, Data Import Export Framework (current name), CSV.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Call to action:</b> If you liked this article please take a moment to share your experiences and interesting scenarios you came across in comments. This info will definitely help me to pick the right topic to highlight in my future blogs<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com10tag:blogger.com,1999:blog-4565800100410709901.post-111224261465532742014-05-04T00:42:00.001-07:002014-05-04T02:07:03.787-07:00Microsoft Dynamics AX 2012 – File Exchange (Export) using SQL<div class="WordSection1">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – File Exchange (Export) using SQL<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document to illustrate how to implement integration with Microsoft Dynamics AX 2012 based on File Exchange. </div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<b>Challenge: </b>In certain scenarios you need to implement integration with Microsoft Dynamics AX 2012 by means of File Exchange which is dictated by the software you integrate to or other architectural considerations. For the purposes of integration with Microsoft Dynamics AX 2012 based on File Exchange you can SQL approach. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> The recommended way to integrate with Microsoft Dynamics AX 2012 is by using Web Services. However in some scenarios it may make sense to integrate with Microsoft Dynamics AX 2012 using SQL approach. Example of this may be a Shipping Carrier system integration done using staging tables in Microsoft Dynamics AX 2012 to push data into or pull data from. In this article I'll implement integration with Microsoft Dynamics AX 2012 based on File Exchange using SQL approach. My goal for this integration will be to organize continuous data export (CSV data feed) from Microsoft Dynamics AX 2012 with file periodically generated for consumption by external system. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In my scenario I'll be exporting a custom data based on a brand-new data model I've introduced<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Table</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="Picture_x0020_55" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:0;width:231pt;height:218.4pt;z-index:251658240;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical:top;mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> <v:imagedata src="cid:image001.png@01CF6731.B0888870" o:title="" /> <w:wrap type="square"/> </v:shape><![endif]--><![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4RbAnXzdSHj7uAnv6yMyZ6FUBZPYmS48PiRBP99huIbPXQDD3o0dV3x_m1sw-wHMv5NYdht21mcUCa1-V4ydz-dUiUbKVwkOYMiSbFfqR9hTmmv_SS4UgFsy_k9snkbrtpwYwaXxSBL3y/s1600/image001-763716.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4RbAnXzdSHj7uAnv6yMyZ6FUBZPYmS48PiRBP99huIbPXQDD3o0dV3x_m1sw-wHMv5NYdht21mcUCa1-V4ydz-dUiUbKVwkOYMiSbFfqR9hTmmv_SS4UgFsy_k9snkbrtpwYwaXxSBL3y/s320/image001-763716.png" id="BLOGGER_PHOTO_ID_6009472563021591394" /></a><![endif]><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to expose the data from Microsoft Dynamics AX 2012 I'll create a View. In general case View can expose the data from multiple tables. The idea to use View resembles how the data is exposed from SQL Server Master Data Services using Subscription Views<br clear="all" /> <br /> <i>View</i></div>
<div class="MsoNormal">
<em></em><o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy8W563ZnRHTg4DL6ojFXlJt8_nGF8wNm3ZxIFB9JmwHovkT634wthu0KjKcq2QE3bOKUKCYCuHvazUXd6q9ZO1oF7SXGeCayJn9Xf2Cw9QUMHxrf21Q0UvV5KV02AVTNBNyx5i2sUBvwP/s1600/image002-766858.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy8W563ZnRHTg4DL6ojFXlJt8_nGF8wNm3ZxIFB9JmwHovkT634wthu0KjKcq2QE3bOKUKCYCuHvazUXd6q9ZO1oF7SXGeCayJn9Xf2Cw9QUMHxrf21Q0UvV5KV02AVTNBNyx5i2sUBvwP/s320/image002-766858.png" id="BLOGGER_PHOTO_ID_6009472572318615570" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When I synchronize the data model I'll see table and view on SQL side<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Table<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhagjy3eLitJjZM-NRY3arxtcEJ2AunotBDdQXT4w1TO-2zGBxXYX3xcG0g4sMCfbO1_SeszYDSZxHC4JqRq3HvXkbMCuBTx_6NUt32BvMF_dDplax0NEbSNr4tbtn7WsdsViXNXyHWNqNR/s1600/image003-770044.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhagjy3eLitJjZM-NRY3arxtcEJ2AunotBDdQXT4w1TO-2zGBxXYX3xcG0g4sMCfbO1_SeszYDSZxHC4JqRq3HvXkbMCuBTx_6NUt32BvMF_dDplax0NEbSNr4tbtn7WsdsViXNXyHWNqNR/s320/image003-770044.png" id="BLOGGER_PHOTO_ID_6009472587624876242" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL View<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga8CSw-m_VXo7QuPn6V-YaQoJ9iC8-Olw7w9WQ7VHVRVVSmY3Omcs0LxObl-OUfZchI8H_-BwT1OGPwP7fbuUA7OJ3WILSRkxX35Fehr-vNKWDAtbV_z2HnD71aS9YqK0ybDVATYTacKnE/s1600/image004-771655.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga8CSw-m_VXo7QuPn6V-YaQoJ9iC8-Olw7w9WQ7VHVRVVSmY3Omcs0LxObl-OUfZchI8H_-BwT1OGPwP7fbuUA7OJ3WILSRkxX35Fehr-vNKWDAtbV_z2HnD71aS9YqK0ybDVATYTacKnE/s320/image004-771655.png" id="BLOGGER_PHOTO_ID_6009472590362606050" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in SQL Server you can update info via Views with certain limitations and restrictions. That's why for my data export scenario I will precisely define permissions for users to allow read only and avoid updates. Please find more info about updatable Views here: <a href="http://technet.microsoft.com/en-us/library/ms180800.aspx"> http://technet.microsoft.com/en-us/library/ms180800.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
My next step will be to introduce a SQL login for integration service account <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Server Login - General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiONnRK2eL2vXRsCChXkfbLd7KwRzxCWMx15Mu7xRargYmyX1xdylsSyLIGzZZZO-dtRp544aYNopQFFSDykm7inBmM-UBXJxn9I-BGhDRIHgRV3ur8_vHn19wqpWuZH3_tHbU0n4CY-tKq/s1600/image005-774015.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiONnRK2eL2vXRsCChXkfbLd7KwRzxCWMx15Mu7xRargYmyX1xdylsSyLIGzZZZO-dtRp544aYNopQFFSDykm7inBmM-UBXJxn9I-BGhDRIHgRV3ur8_vHn19wqpWuZH3_tHbU0n4CY-tKq/s320/image005-774015.png" id="BLOGGER_PHOTO_ID_6009472602681119250" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Server Login - Securables<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmvBV0owDw7um6Bazm4LtybnT_JRVVWMZoeCs-R-I3alo51Jjk9Gu-AnlmXj-3aPMQDpiQqTEmeRo1VMq8ckmRZGePxEAPtJH03TXqVUjWWFISBWpJ2hm2K5k__-LSHUqZf09a3Rwec9Nu/s1600/image006-775892.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmvBV0owDw7um6Bazm4LtybnT_JRVVWMZoeCs-R-I3alo51Jjk9Gu-AnlmXj-3aPMQDpiQqTEmeRo1VMq8ckmRZGePxEAPtJH03TXqVUjWWFISBWpJ2hm2K5k__-LSHUqZf09a3Rwec9Nu/s320/image006-775892.png" id="BLOGGER_PHOTO_ID_6009472613639029538" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that I'll add a Database user to Microsoft Dynamics AX 2012 database<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Database user- General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitgsEh91QudQWE7MCMxgqFhaMILthXbvDqxWYU0pkFCug1DkmA39wqDaIRH42QHn6alO7CgN5OA0fusKw6G8y2l6CCRQNG25kZmLSJu6eoP9sfGOhKkfjEMk0qK4w1JmN7GfgNsApxQv_u/s1600/image007-778010.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitgsEh91QudQWE7MCMxgqFhaMILthXbvDqxWYU0pkFCug1DkmA39wqDaIRH42QHn6alO7CgN5OA0fusKw6G8y2l6CCRQNG25kZmLSJu6eoP9sfGOhKkfjEMk0qK4w1JmN7GfgNsApxQv_u/s320/image007-778010.png" id="BLOGGER_PHOTO_ID_6009472620678061970" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Database user- Securables<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWyfSz2maOlL48tnCemRqzHshz5BiXTwgDi8av1XhT0RV0fBpd2pbf927RRMJXKI67eDXh5l2V4y2KWD7YVjE7V7hmGfjEETWCMAsRSC1XATYpdRmGst6ibzttzWsPxlAgTWFNF9cyTswL/s1600/image008-780666.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWyfSz2maOlL48tnCemRqzHshz5BiXTwgDi8av1XhT0RV0fBpd2pbf927RRMJXKI67eDXh5l2V4y2KWD7YVjE7V7hmGfjEETWCMAsRSC1XATYpdRmGst6ibzttzWsPxlAgTWFNF9cyTswL/s320/image008-780666.png" id="BLOGGER_PHOTO_ID_6009472630341707554" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I only allow select operation for View<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now you can try out your newly created SQL login<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connect to Server<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi04-wRKzokgdgNaMqWYNU8QjyvABTYaJK9mzKzI7dL50QAj0f9RDXx8MWPSNgsxl8RLlHT4CZlsB1fKpefqOfRbpYxPwUbBvvf7LgZ8cwlR8-tDkrwGKNCBLGOezgqJ2WatfZCJi3GMVD-/s1600/image009-782649.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi04-wRKzokgdgNaMqWYNU8QjyvABTYaJK9mzKzI7dL50QAj0f9RDXx8MWPSNgsxl8RLlHT4CZlsB1fKpefqOfRbpYxPwUbBvvf7LgZ8cwlR8-tDkrwGKNCBLGOezgqJ2WatfZCJi3GMVD-/s320/image009-782649.png" id="BLOGGER_PHOTO_ID_6009472640135190370" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I can see table and view only based on permissions set<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFMvSw_eSjZESXBfnD1xyXH75iiA9oHEMVJdRB2kpPB_IaftOLi2onuonATeS3wYJeFi-ls-f_csRQ1lOE3V-XzNq5tg98PEXBDK6HdqcHeF2l7XWbND4eoC5lRQ2MsMFiMhG56xu844u8/s1600/image010-784873.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFMvSw_eSjZESXBfnD1xyXH75iiA9oHEMVJdRB2kpPB_IaftOLi2onuonATeS3wYJeFi-ls-f_csRQ1lOE3V-XzNq5tg98PEXBDK6HdqcHeF2l7XWbND4eoC5lRQ2MsMFiMhG56xu844u8/s320/image010-784873.png" id="BLOGGER_PHOTO_ID_6009472652583053730" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And in case I will try to modify the data in the table<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Table<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC_JMBGqiySX0nFBh8uijBy2xwBpbZwYLXhLQQOVrqNqO0Z8icSlRjwDg83HM-uCwqdtklQOUE2RhG_ytCrBkjBH_xb0owTCaQihqO3nvuxVffMJty2Ea4UYHB_zFkhr41yOKrJhJiQzKm/s1600/image011-787090.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC_JMBGqiySX0nFBh8uijBy2xwBpbZwYLXhLQQOVrqNqO0Z8icSlRjwDg83HM-uCwqdtklQOUE2RhG_ytCrBkjBH_xb0owTCaQihqO3nvuxVffMJty2Ea4UYHB_zFkhr41yOKrJhJiQzKm/s320/image011-787090.png" id="BLOGGER_PHOTO_ID_6009472658509239746" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll see the following exception<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Exception - Table<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRLtk6GI0IeCDHmTKu7jivpexY-IW2DXkdSLGMk-uMRxbywqcgKvXk5OcbVozowPkMuJpEFeLzKQfBoDT6WCoBDjidDiHAck0wguL20ybO96fN0euel9EWiKJTq_8q-fFXO9GcgOLtGXL1/s1600/image012-789246.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRLtk6GI0IeCDHmTKu7jivpexY-IW2DXkdSLGMk-uMRxbywqcgKvXk5OcbVozowPkMuJpEFeLzKQfBoDT6WCoBDjidDiHAck0wguL20ybO96fN0euel9EWiKJTq_8q-fFXO9GcgOLtGXL1/s320/image012-789246.png" id="BLOGGER_PHOTO_ID_6009472667418728898" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Exception - View<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvWp0xhwQTFquMTWFVeBKJRMae-2wZCgYbzOpNB8uRqUPKRHRLLV1fEnqLn4V-iEopFTT7LNlVLhiTXVhUpQOm9E7Ws-1VrQrRttav2Skhyphenhyphen2hI5xQWX5wsw09jFo69T3eZu-egpgO21scm/s1600/image013-791080.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvWp0xhwQTFquMTWFVeBKJRMae-2wZCgYbzOpNB8uRqUPKRHRLLV1fEnqLn4V-iEopFTT7LNlVLhiTXVhUpQOm9E7Ws-1VrQrRttav2Skhyphenhyphen2hI5xQWX5wsw09jFo69T3eZu-egpgO21scm/s320/image013-791080.png" id="BLOGGER_PHOTO_ID_6009472677589468306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to organize continuous data export I'll go ahead and create SQL Job<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmoLTPvGVNnf-qEiSThoPTP1DTtbAn4LjzKnPwJbNlgWOScsVgshqb6ItDguYxVfDXMBHWZtvxc1_9KeFn7rW6Z1N588cRJ_DTGj32U8JUrZ358R_5RTr9SLIKHwcmIqHyECcyJ4QDqivY/s1600/image014-792955.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmoLTPvGVNnf-qEiSThoPTP1DTtbAn4LjzKnPwJbNlgWOScsVgshqb6ItDguYxVfDXMBHWZtvxc1_9KeFn7rW6Z1N588cRJ_DTGj32U8JUrZ358R_5RTr9SLIKHwcmIqHyECcyJ4QDqivY/s320/image014-792955.png" id="BLOGGER_PHOTO_ID_6009472685582255026" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLtc9fnP2XYb1-hLvBY1pD5-SXvYhyphenhyphenSFLs8C4fOiLgZBIkOz6ZP19iMXFYU-fdLHMDdYIBktI5x6fukge15zgamv0EBgz_yGK-D5nySFZUzyp6r2HmgkgiSXBYYCqxsbkPOxvxobkwNM34/s1600/image015-794754.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLtc9fnP2XYb1-hLvBY1pD5-SXvYhyphenhyphenSFLs8C4fOiLgZBIkOz6ZP19iMXFYU-fdLHMDdYIBktI5x6fukge15zgamv0EBgz_yGK-D5nySFZUzyp6r2HmgkgiSXBYYCqxsbkPOxvxobkwNM34/s320/image015-794754.png" id="BLOGGER_PHOTO_ID_6009472691675156306" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in order to export data as file I can leverage bcp utility as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Job Step Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFK4mLwaAGfrWoV3NQCHvAmcNevhl87ebxW94JFnk64jEGnm97A44vc6fu6SkjaX0v20Lu51Z7kwdCr8htTyciR65CFRHz19DwYpid_2FN0t5E464A7f6JS7jvKqY6Lpe-Vbz6JLMu7IwJ/s1600/image016-796728.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFK4mLwaAGfrWoV3NQCHvAmcNevhl87ebxW94JFnk64jEGnm97A44vc6fu6SkjaX0v20Lu51Z7kwdCr8htTyciR65CFRHz19DwYpid_2FN0t5E464A7f6JS7jvKqY6Lpe-Vbz6JLMu7IwJ/s320/image016-796728.jpg" id="BLOGGER_PHOTO_ID_6009472700943538178" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job - Steps<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMCca352tQ5YpNbQKFIgitEeNfswbVhiv5s_4pueYWSBjpNHUl4xzCVUK2U1itIIB4cyKrubgQmdunoE9eUzaBhcbfeiZszCZ3Uy7Ojvlf3BAheYzeO7Fo0deLP5NNZGXR82KcYsldS_tE/s1600/image017-798795.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMCca352tQ5YpNbQKFIgitEeNfswbVhiv5s_4pueYWSBjpNHUl4xzCVUK2U1itIIB4cyKrubgQmdunoE9eUzaBhcbfeiZszCZ3Uy7Ojvlf3BAheYzeO7Fo0deLP5NNZGXR82KcYsldS_tE/s320/image017-798795.png" id="BLOGGER_PHOTO_ID_6009472707537395202" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now when I created a Step I can also create a Job Schedule to execute this job (data export) periodically<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job Schedule<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif1usp1EoQlitKvltcqGUVTgIBObjfYKj71M61HTbdtVBL9vZ7PDPyl6QSR42R2eQZ-rzoRaDhDiakHCEvqJk2BoYytAnDynoeT_GMuBkMKcQ3H9dGKpP0CV70uDhbyq5rV5BLbPGdmukP/s1600/image018-700592.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif1usp1EoQlitKvltcqGUVTgIBObjfYKj71M61HTbdtVBL9vZ7PDPyl6QSR42R2eQZ-rzoRaDhDiakHCEvqJk2BoYytAnDynoeT_GMuBkMKcQ3H9dGKpP0CV70uDhbyq5rV5BLbPGdmukP/s320/image018-700592.png" id="BLOGGER_PHOTO_ID_6009472714744150546" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job - Schedules<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizPBfeKcGwt3CaDQ4uMa4BTgmnuLIQ2PwCB8Ai5ZvfvyhQU1eKVrV-gppCUWxygNuNZJsiLB-3YPooGni9xZ_rNauYwk_ghadqfg_tlZQciA_CIw9S4zbf9HP8XaNy0rSLe6YkokdHiYYZ/s1600/image019-703343.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizPBfeKcGwt3CaDQ4uMa4BTgmnuLIQ2PwCB8Ai5ZvfvyhQU1eKVrV-gppCUWxygNuNZJsiLB-3YPooGni9xZ_rNauYwk_ghadqfg_tlZQciA_CIw9S4zbf9HP8XaNy0rSLe6YkokdHiYYZ/s320/image019-703343.png" id="BLOGGER_PHOTO_ID_6009472727019297970" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When I'm done creating a job I'll see it listed as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Jobs<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia9Mvl8QMen1mAfkPkbj6j8QlC9I8ytwhqObV1rHxEdczGQpOSJ9rLRSyV2vlFqbOX2idk1V0bZnC2FX3CEcmOg027rDeiJfwqTum-apGlAT9pRZmInbGA6WRJJkiSbvJbWAuguVkyadOj/s1600/image020-705160.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia9Mvl8QMen1mAfkPkbj6j8QlC9I8ytwhqObV1rHxEdczGQpOSJ9rLRSyV2vlFqbOX2idk1V0bZnC2FX3CEcmOg027rDeiJfwqTum-apGlAT9pRZmInbGA6WRJJkiSbvJbWAuguVkyadOj/s320/image020-705160.png" id="BLOGGER_PHOTO_ID_6009472737838803906" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about Exporting data from Query to Data file here: <a href="http://technet.microsoft.com/en-us/library/ms189569(v=sql.105).aspx">http://technet.microsoft.com/en-us/library/ms189569(v=sql.105).aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that when you execute SQL Job you may face with the following error <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Error</i></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9pt; line-height: 105%;">SQL Server blocked access to procedure 'sys.xp_cmdshell' of component 'xp_cmdshell' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'xp_cmdshell' by using sp_configure. For more information about enabling 'xp_cmdshell', search for 'xp_cmdshell' in SQL Server Books Online.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to resolve it as error message suggests we are going to execute appropriate SQL commands to enable use of 'xp_cmdshell'</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>SQL</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">EXEC</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"> <span style="color: maroon;">sp_configure</span><span style="color: blue;"> </span><span style="color: red;">'xp_cmdshell'</span><span style="color: grey;">,</span> 1<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">GO</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">RECONFIGURE</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">GO</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">EXEC</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"> <span style="color: maroon;">sp_configure</span><span style="color: blue;"> </span><span style="color: red;">'show advanced options'</span><span style="color: grey;">,</span> 1<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
After that when we test SQL Job again it will execute successfully<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%;">EXEC</span><span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"> <span style="color: maroon;">xp_cmdshell</span><span style="color: blue;"> </span><span style="color: red;">'bcp "USE MicrosoftDynamicsAX; SELECT * FROM dbo.ALEXTABLE" queryout "C:\Alex\Out\AlexSQL.txt" -T -c'</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 9.5pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Result</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiypYJA3t0LVoKqw5hEaTEVZVNOXnKtHGpAXmxQcM9E0QQ6WKAg4mfHTK3aPU8q_IK2gixLOORhMgxeeksh9J0UxM4QAwfHA-dJOqADLZeFsZSsOg6YQuCD0c9ABPs6L5j5Dwo2Ur7CEQKI/s1600/image021-707109.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiypYJA3t0LVoKqw5hEaTEVZVNOXnKtHGpAXmxQcM9E0QQ6WKAg4mfHTK3aPU8q_IK2gixLOORhMgxeeksh9J0UxM4QAwfHA-dJOqADLZeFsZSsOg6YQuCD0c9ABPs6L5j5Dwo2Ur7CEQKI/s320/image021-707109.png" id="BLOGGER_PHOTO_ID_6009472745897974786" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result we'll have the following file <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3Hf1pfRSieLK24aYz5csonDJAAUsBhzW-mWJ-3WhXeP2A9BEZt9whpRVIH1ShpHnaan-9NU1dvmBiaxgcmI6eFCHZZCroD2bwJWyacsFejR5yYT97I5_7ZMoNx9w1PUX_lpjuRW9zrwBb/s1600/image022-709064.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3Hf1pfRSieLK24aYz5csonDJAAUsBhzW-mWJ-3WhXeP2A9BEZt9whpRVIH1ShpHnaan-9NU1dvmBiaxgcmI6eFCHZZCroD2bwJWyacsFejR5yYT97I5_7ZMoNx9w1PUX_lpjuRW9zrwBb/s320/image022-709064.png" id="BLOGGER_PHOTO_ID_6009472754943142978" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that you can run SQL Job interactively <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Run Job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9YyjvSFAOC_NBQKrbX7XaLt4gYTSOWFbPXEDyVOwoEFPlWRWIYPq5zYSvOn5PMqTcRbLH41MrF3fuCCb50yzoOP9NWtyVuCR-Xsos738tNfwRhORycUovK4wnXF5F7NGKkV4TTbAo_9Fg/s1600/image023-711162.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9YyjvSFAOC_NBQKrbX7XaLt4gYTSOWFbPXEDyVOwoEFPlWRWIYPq5zYSvOn5PMqTcRbLH41MrF3fuCCb50yzoOP9NWtyVuCR-Xsos738tNfwRhORycUovK4wnXF5F7NGKkV4TTbAo_9Fg/s320/image023-711162.png" id="BLOGGER_PHOTO_ID_6009472765023437282" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Or what we truly want in this scenario to run it as a Batch job<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch Job<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoF3Wk4M63ZiV1BISnmP9GqHgvfghKenym_wSEDzdgQGk3JAufBVgzFFbvIBT5a2zlNp_Cla-goaxlbtA1OzX_6Ixta-9CfPEcdr4Tnj1sqIYYjX5JA4nI-W8SVHjORZkuX5hoTgph-iFX/s1600/image024-712682.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoF3Wk4M63ZiV1BISnmP9GqHgvfghKenym_wSEDzdgQGk3JAufBVgzFFbvIBT5a2zlNp_Cla-goaxlbtA1OzX_6Ixta-9CfPEcdr4Tnj1sqIYYjX5JA4nI-W8SVHjORZkuX5hoTgph-iFX/s320/image024-712682.jpg" id="BLOGGER_PHOTO_ID_6009472767546686050" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see this article for more info about how to create SQL Jobs: <a href="http://technet.microsoft.com/en-us/library/ms190268.aspx">http://technet.microsoft.com/en-us/library/ms190268.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point we successfully created SQL Job to export data as is from Microsoft Dynamics AX 2012. However in some scenarios you may need to transform exported data before it may be consumed by external system. In this case you can create and execute SSIS Package<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to proceed with SSIS package creation I had to install Data tools for Visual Studio 2012 from here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36843">http://www.microsoft.com/en-us/download/details.aspx?id=36843</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I can go ahead and create SSIS Project<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CQdIclWYTPrAa1mpM3vr2DDrmCX-AoXLPIwoNG8NA5-CJEo64XeZQLDVtOh5Ou_LUSakaFLMJALW2Q6KbCD86OM1X1Z2k7N9smKSG0XBiIpBm0ZohHFC7hz9yGhIGYto9Q8X_c-1szkf/s1600/image025-714611.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1CQdIclWYTPrAa1mpM3vr2DDrmCX-AoXLPIwoNG8NA5-CJEo64XeZQLDVtOh5Ou_LUSakaFLMJALW2Q6KbCD86OM1X1Z2k7N9smKSG0XBiIpBm0ZohHFC7hz9yGhIGYto9Q8X_c-1szkf/s320/image025-714611.jpg" id="BLOGGER_PHOTO_ID_6009472775622141298" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Remark: Please note that when you install Data tools for Visual Studio 2012 for installation to be successful please select "Install new instance" and not "Add new features"<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next in order to extract the data from Microsoft Dynamics AX 2012 database I'll create OLE DB Connection<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New OLE DB Connection<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk9aQqeGF8QvL8LUzoNwE4lcJpZzEZJ9SmSWdDqCnzZlhbirf3l3GEvmrNRvuTwsY31FJE-PB4JQGig2d0njyAO1JqTCVo3y0zYpIEEDVNghFxiGTD1Q3uQVy_5sv2vF9V3az3i0s4-rsW/s1600/image026-716512.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk9aQqeGF8QvL8LUzoNwE4lcJpZzEZJ9SmSWdDqCnzZlhbirf3l3GEvmrNRvuTwsY31FJE-PB4JQGig2d0njyAO1JqTCVo3y0zYpIEEDVNghFxiGTD1Q3uQVy_5sv2vF9V3az3i0s4-rsW/s320/image026-716512.png" id="BLOGGER_PHOTO_ID_6009472785320699298" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure OLE DB Connection Manager<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM2BpsCuhXeSds_wGqHGol8G3xb9HBZuskJluW6n4R-VyLFc74dpvEvjXTjBKrceCd2VfqwBsaQO2JQuUfpR3hdsE-pnAq6XxHs0J-iSud4vkS9vMEnc7RAu5fOgaV-tJ_3Ngt7M5upcbV/s1600/image027-718411.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM2BpsCuhXeSds_wGqHGol8G3xb9HBZuskJluW6n4R-VyLFc74dpvEvjXTjBKrceCd2VfqwBsaQO2JQuUfpR3hdsE-pnAq6XxHs0J-iSud4vkS9vMEnc7RAu5fOgaV-tJ_3Ngt7M5upcbV/s320/image027-718411.png" id="BLOGGER_PHOTO_ID_6009472794879447442" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connection Manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWAB_VIYhGd-NlxDsgNDg6ZyKyLLKcCZHW15aGFRS8BopMitfMzeTPk2m12wvfUMSG-XvYTlpZwpuQw5pp95peHcSNXcT_FnKVth9eJ6MeNf5vzfBKdrLZlNGdlsGZ-l1dAAv9eZddul5V/s1600/image028-720672.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWAB_VIYhGd-NlxDsgNDg6ZyKyLLKcCZHW15aGFRS8BopMitfMzeTPk2m12wvfUMSG-XvYTlpZwpuQw5pp95peHcSNXcT_FnKVth9eJ6MeNf5vzfBKdrLZlNGdlsGZ-l1dAAv9eZddul5V/s320/image028-720672.png" id="BLOGGER_PHOTO_ID_6009472802714480546" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result Connection Manager will be created as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connection Manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi721P9SeRsAvUNoPSMQTEE6FADzgJtcLjQiGEUypIdJ7MrQX_7DlyWIFfFkvAR5QTJrSSDL4fUXiul1BU4usr5UyS9ZNOJlL8mSeI19sxMVnTKVyr8lKHMHThLihCn_RgS4ZIqxPDIFMc4/s1600/image029-722745.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi721P9SeRsAvUNoPSMQTEE6FADzgJtcLjQiGEUypIdJ7MrQX_7DlyWIFfFkvAR5QTJrSSDL4fUXiul1BU4usr5UyS9ZNOJlL8mSeI19sxMVnTKVyr8lKHMHThLihCn_RgS4ZIqxPDIFMc4/s320/image029-722745.png" id="BLOGGER_PHOTO_ID_6009472809894972898" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next logical step is to add Data Flow Task to organize data export<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Flow Task <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMkOw-I28irtuCyqPXrt6iYeoErUT4EDg-_MDF8jC8ix0-aJx8czohWChtLtbPsGurg54k57QEAliVTPwM_X5OGuERRraRE6SBgZdXhP0cidrU_ei8af5pIpmuV_3AO8JfImYPPl1Lui0r/s1600/image030-724782.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMkOw-I28irtuCyqPXrt6iYeoErUT4EDg-_MDF8jC8ix0-aJx8czohWChtLtbPsGurg54k57QEAliVTPwM_X5OGuERRraRE6SBgZdXhP0cidrU_ei8af5pIpmuV_3AO8JfImYPPl1Lui0r/s320/image030-724782.jpg" id="BLOGGER_PHOTO_ID_6009472817949446738" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Inside a Data Flow Task I'm going to create OLE DB Source and Flat File Destination<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Flow Task<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2iLt0RhRlg8qAyYFXu5LvQwozfZ6kZ_IaHmcO419NuADExmmipTJsG_7QEiU5Gap6AcA8Lya2b7wtOArJHrlfU_FTykEKUOm-q0JngQZ2o5lbBtqfhRW9QVdwstDP-hiEpUF1YxuJwxBw/s1600/image031-726357.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2iLt0RhRlg8qAyYFXu5LvQwozfZ6kZ_IaHmcO419NuADExmmipTJsG_7QEiU5Gap6AcA8Lya2b7wtOArJHrlfU_FTykEKUOm-q0JngQZ2o5lbBtqfhRW9QVdwstDP-hiEpUF1YxuJwxBw/s320/image031-726357.jpg" id="BLOGGER_PHOTO_ID_6009472829601768562" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll bind OLE DB Source to AlexTable table or AlexView view<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>OLE DB Source – Connection manager <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwSKdHBuNWKzi-_UkrzGB-ev0LX9LbgwlLOTr98I4jVU40hm-qMQ9YlCgitBfEGg7acCKW8rOl_OaE8MiPSDp1Ia_IYXjsdMv2rFuUddENQhPe4eFOTMCKj2jsRbfVYOsiksz9jx6yZPlV/s1600/image032-728400.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwSKdHBuNWKzi-_UkrzGB-ev0LX9LbgwlLOTr98I4jVU40hm-qMQ9YlCgitBfEGg7acCKW8rOl_OaE8MiPSDp1Ia_IYXjsdMv2rFuUddENQhPe4eFOTMCKj2jsRbfVYOsiksz9jx6yZPlV/s320/image032-728400.jpg" id="BLOGGER_PHOTO_ID_6009472837926373026" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>OLE DB Source – Columns</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpvBidqsdu6sx4IHLPmgM_0pccQRxQgFdESCz8f-cBJQO84TmB3asjXJtukLSgn7t4vHLUNEVDL7YdhOG5veOKOWQR9PTKfpH7UN78atXX_T27R9hPgYxIluVdDCZbkh__9MQRWjmqpe5j/s1600/image033-730328.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpvBidqsdu6sx4IHLPmgM_0pccQRxQgFdESCz8f-cBJQO84TmB3asjXJtukLSgn7t4vHLUNEVDL7YdhOG5veOKOWQR9PTKfpH7UN78atXX_T27R9hPgYxIluVdDCZbkh__9MQRWjmqpe5j/s320/image033-730328.jpg" id="BLOGGER_PHOTO_ID_6009472844589770706" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I'll define Flat File Destination details starting from Flat File Format. I'll select Delimited there<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Flat File Format <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8b1PbRDnvLSR0-kmtZxhXTRe90_fdWFfg75DQml98etpB5PFCHnfwCHSBYktFkDLELuJTuwx8BbKrvZUaoovjdVUA3_A-w0OpHVPoxoEniSUE43REnzinfNxnBuq7hfhTsLGP5gTRzxdV/s1600/image034-732989.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8b1PbRDnvLSR0-kmtZxhXTRe90_fdWFfg75DQml98etpB5PFCHnfwCHSBYktFkDLELuJTuwx8BbKrvZUaoovjdVUA3_A-w0OpHVPoxoEniSUE43REnzinfNxnBuq7hfhTsLGP5gTRzxdV/s320/image034-732989.png" id="BLOGGER_PHOTO_ID_6009472859831612114" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Flat File Destination – Connection Manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN0TqFYFsKxUSvf0zl_agnHmhV_DD29AGuDQZMYwKigE6HoXZv1JuBJJK2GHFj0r7pBvfYScoQKzifUdIo6VCowyS2J-n3jscC0CEgciKZP07-nuTa2ZYzL79MAbtNqvJF8hAUcIL88WRX/s1600/image035-734523.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN0TqFYFsKxUSvf0zl_agnHmhV_DD29AGuDQZMYwKigE6HoXZv1JuBJJK2GHFj0r7pBvfYScoQKzifUdIo6VCowyS2J-n3jscC0CEgciKZP07-nuTa2ZYzL79MAbtNqvJF8hAUcIL88WRX/s320/image035-734523.jpg" id="BLOGGER_PHOTO_ID_6009472862103347442" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I'll specify a file name to be used <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Flat File Destination - General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnZFSp2Brw15AGkKB8Qt0d_KCdoFmD_7MAJy0kuzDnbLUwgMiTupVmb9ckYcUOnkNCFt17FojkOdTIDJdwYBZSWkhfuHc4EW0qqocdmxXGKHbVbWdc6OmqWLWOJF1X1nZoKb_MnqMI2-EA/s1600/image036-736584.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnZFSp2Brw15AGkKB8Qt0d_KCdoFmD_7MAJy0kuzDnbLUwgMiTupVmb9ckYcUOnkNCFt17FojkOdTIDJdwYBZSWkhfuHc4EW0qqocdmxXGKHbVbWdc6OmqWLWOJF1X1nZoKb_MnqMI2-EA/s320/image036-736584.png" id="BLOGGER_PHOTO_ID_6009472871213413266" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I'll make sure my file will contain needed columns<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Flat File Destination - Columns<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP9sAd1UozsyWzUv5TDD03R-xJqtHPHRnoMOX_JWYUbAXfqTBkTJSaI74srRzimXywpv_0fh1Yvse6jkJcWyqJLkAP5uIG3UJt2PmwHdWMhMneRgKK3UPmxrOQzIl98JIlS1NXRyTRqPrr/s1600/image037-739131.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP9sAd1UozsyWzUv5TDD03R-xJqtHPHRnoMOX_JWYUbAXfqTBkTJSaI74srRzimXywpv_0fh1Yvse6jkJcWyqJLkAP5uIG3UJt2PmwHdWMhMneRgKK3UPmxrOQzIl98JIlS1NXRyTRqPrr/s320/image037-739131.png" id="BLOGGER_PHOTO_ID_6009472884067075906" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can also review explicit mapping between Source and Destination on Mapping screen. Please note that you Source and Destination must be connected<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Flat File Destination - Mapping<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRj_5PTTl0euhkYbFcKMoqDup0P9jqZN-6ea29d1SX6PlklqszOJRJ7sVr-0f3uUjUNtPNDg7YoW4tQw0hkr2s2hotIjHMr3DUMBS9DNBDB-TcP7SSCeouRUedXg2UfXBmGq30sprzQLAD/s1600/image038-741210.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRj_5PTTl0euhkYbFcKMoqDup0P9jqZN-6ea29d1SX6PlklqszOJRJ7sVr-0f3uUjUNtPNDg7YoW4tQw0hkr2s2hotIjHMr3DUMBS9DNBDB-TcP7SSCeouRUedXg2UfXBmGq30sprzQLAD/s320/image038-741210.jpg" id="BLOGGER_PHOTO_ID_6009472893311157010" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When configured Data Flow Task will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Flow Task<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0UnQKYldBILuR2AsmL_vf207xo9APRUR0PtbBpIMncTrLToYt7Xmcm-EXmYR4lm1ZJ_wIvWkRqdWzmkveQzqgngtCEfidszj1rlEuFeMvS0lAparMnmhWHEIGSVciW4PdC1nyEU30wVT/s1600/image039-743458.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ0UnQKYldBILuR2AsmL_vf207xo9APRUR0PtbBpIMncTrLToYt7Xmcm-EXmYR4lm1ZJ_wIvWkRqdWzmkveQzqgngtCEfidszj1rlEuFeMvS0lAparMnmhWHEIGSVciW4PdC1nyEU30wVT/s320/image039-743458.jpg" id="BLOGGER_PHOTO_ID_6009472899568792722" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And now we'll be ready to execute integration. Preliminary result will look like this<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivT55LnK93-_JuAHtFbaK5RuCJOXvRBVECLZYkVNHRzBn2Og2OZRv35WdpVR6jwdMnHTWTBk4JTJHK4EY_yzRkHIj4y76r9kGrEqd82rXPYHgr72zft9djYXKVE3HG4aQxZeUHmHaCsMAl/s1600/image040-745569.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivT55LnK93-_JuAHtFbaK5RuCJOXvRBVECLZYkVNHRzBn2Og2OZRv35WdpVR6jwdMnHTWTBk4JTJHK4EY_yzRkHIj4y76r9kGrEqd82rXPYHgr72zft9djYXKVE3HG4aQxZeUHmHaCsMAl/s320/image040-745569.jpg" id="BLOGGER_PHOTO_ID_6009472911202495490" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result of execution AlexFile.txt file will be generated in predefined folder<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3DZOW3wUjXgVYKBTbl_OPEylKn4WBlAIl-gnbWpoCkZ20nfljEARUOyh_DK2zM8YEmCVKVWDv-ztTOWg_YAceJy3LeCCDKn21K4UEaYlYP-Rqe1uP1JgfLAZu9JV7Tjpq61UR7auei9S/s1600/image041-747711.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP3DZOW3wUjXgVYKBTbl_OPEylKn4WBlAIl-gnbWpoCkZ20nfljEARUOyh_DK2zM8YEmCVKVWDv-ztTOWg_YAceJy3LeCCDKn21K4UEaYlYP-Rqe1uP1JgfLAZu9JV7Tjpq61UR7auei9S/s320/image041-747711.png" id="BLOGGER_PHOTO_ID_6009472919024400274" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next step would be to deploy AlexProject to SSIS<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project - Deploy <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYCoErkYy44_DkpHI8ps5PzpLs9EeZhHG8XldF040g_ydFD8WXp3eztLpux-Y4ChuV9Sgul7TgMnETjt6_Gh78AaRxZQMQlSgafgO6FwMfvDGLvdcYZ5S-T4iFee2zhQ-_icNP6C_9mhB_/s1600/image042-749301.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYCoErkYy44_DkpHI8ps5PzpLs9EeZhHG8XldF040g_ydFD8WXp3eztLpux-Y4ChuV9Sgul7TgMnETjt6_Gh78AaRxZQMQlSgafgO6FwMfvDGLvdcYZ5S-T4iFee2zhQ-_icNP6C_9mhB_/s320/image042-749301.png" id="BLOGGER_PHOTO_ID_6009472924781246818" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At this point you may see the following message<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Message<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjycJpxu3D1N0kQWoIDHXiJ9h9_jK95fn1Q4HOBMqUYw467hwE7UN6TMZZdLFBTYAwqVPMrNePo4nv8_i1onlwnV9GjynPOKKtqdd-9LAZSkczIG70Me5K-NMZjPiutt5_bv800I0pN4lvK/s1600/image043-751632.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjycJpxu3D1N0kQWoIDHXiJ9h9_jK95fn1Q4HOBMqUYw467hwE7UN6TMZZdLFBTYAwqVPMrNePo4nv8_i1onlwnV9GjynPOKKtqdd-9LAZSkczIG70Me5K-NMZjPiutt5_bv800I0pN4lvK/s320/image043-751632.png" id="BLOGGER_PHOTO_ID_6009472936652173138" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
All you need to do at this point is to create SSISDB catalog as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Catalog <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ2rctoLfo3_Q4dCULOmLzyZu2x66IpXbPzZSlRLjqRRPvFjLTTnJgvmukH8kuYPCEMLMTSmV_wQOVlNmxyFTC0R5OjKy1mJftLLjeKoFqmL4lU_1VuDBevMcKyN9yJfyZtQ9qtBmIWv6c/s1600/image044-753394.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ2rctoLfo3_Q4dCULOmLzyZu2x66IpXbPzZSlRLjqRRPvFjLTTnJgvmukH8kuYPCEMLMTSmV_wQOVlNmxyFTC0R5OjKy1mJftLLjeKoFqmL4lU_1VuDBevMcKyN9yJfyZtQ9qtBmIWv6c/s320/image044-753394.png" id="BLOGGER_PHOTO_ID_6009472944050808082" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Folder<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglwgPUoDiFyIgFv4GRQZ2r5VC8voOo3QcQqOy1tVXdsdWXd_yepbks16lsEAip_Ez1SExTCo_DjrO73n7eLAsp5JwHwtiWK7hvGv9-JoFkaP0seAty9tQBMa74KcKM9YbHOs-h78pz7zM_/s1600/image045-755411.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglwgPUoDiFyIgFv4GRQZ2r5VC8voOo3QcQqOy1tVXdsdWXd_yepbks16lsEAip_Ez1SExTCo_DjrO73n7eLAsp5JwHwtiWK7hvGv9-JoFkaP0seAty9tQBMa74KcKM9YbHOs-h78pz7zM_/s320/image045-755411.png" id="BLOGGER_PHOTO_ID_6009472950653709666" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that deployment will be successful<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Deployment Results<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN_V4y2NZdJYTOGQicMnN7DEagRf5XVMUDwWrVgewZ4m7i_GT0grToxeIIninGPmqpcvJzsLPb5qqbbMUVevKuvUkmzA6tVxvhfaIlmd3F_JiYCil2luU0uC5jGCSLUQ9CaKFzv0PaLGb8/s1600/image046-757457.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN_V4y2NZdJYTOGQicMnN7DEagRf5XVMUDwWrVgewZ4m7i_GT0grToxeIIninGPmqpcvJzsLPb5qqbbMUVevKuvUkmzA6tVxvhfaIlmd3F_JiYCil2luU0uC5jGCSLUQ9CaKFzv0PaLGb8/s320/image046-757457.png" id="BLOGGER_PHOTO_ID_6009472961724195714" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And your package will show up in the list of packages<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Packages<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl3w3YM1fL5VMH7MURHUugArwGJROdYJlhPdWPfW8_3pMEsV7r4vTcIE7mDsdoi7Jid8RNojnMCRBP827sAMyHyKnwvOaE5BvSBvzEl7u3_9REdRD6bc6Z3ntaSY6qw-XeeNRX9fTd1qMq/s1600/image047-759311.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl3w3YM1fL5VMH7MURHUugArwGJROdYJlhPdWPfW8_3pMEsV7r4vTcIE7mDsdoi7Jid8RNojnMCRBP827sAMyHyKnwvOaE5BvSBvzEl7u3_9REdRD6bc6Z3ntaSY6qw-XeeNRX9fTd1qMq/s320/image047-759311.png" id="BLOGGER_PHOTO_ID_6009472968795888258" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Package<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBkKfqKhTyhwVXmmznlxI-J7JVlftqAblmb4xsaD1hKQ466r8xTgBAfbCDLtHtp30-q7W9WgBceTNoDMEQKBxGWlLx6Lkmm_UbJ11H_Yr2_i91vm1P-R98LQvN1zJVcPR4JwosYaASySsf/s1600/image048-761158.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBkKfqKhTyhwVXmmznlxI-J7JVlftqAblmb4xsaD1hKQ466r8xTgBAfbCDLtHtp30-q7W9WgBceTNoDMEQKBxGWlLx6Lkmm_UbJ11H_Yr2_i91vm1P-R98LQvN1zJVcPR4JwosYaASySsf/s320/image048-761158.jpg" id="BLOGGER_PHOTO_ID_6009472978145427954" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The last step will be to set up this package for periodic execution as a Batch job<o:p></o:p></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">In order to automate and schedule the execution of SQL Server Integration Services packages you can use SQL Server Agent. Please find more info about </span>SQL Agent job for packages here: <a href="http://technet.microsoft.com/en-us/library/ms141701.aspx"> http://technet.microsoft.com/en-us/library/ms141701.aspx</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Thus we'll go ahead and create a new Job<o:p></o:p></span></div>
<div class="MsoNormal">
<i><span lang="EN"></span></i> </div>
<div class="MsoNormal">
<i><span lang="EN">New Job - General<o:p></o:p></span></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq15VtNJhKvH_b6fB4BfD1-v9lsnSfqXvvsGPnORtnxOMVcdZaEApjVgmny6rFUGCe1M5fxl9SxA0Fl6QVkJcWmznnVtslpX-3Tx5r-YTN9UGNsQ9_BXDTlaxP04__tFIjRvmGrepBfbe1/s1600/image049-763212.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq15VtNJhKvH_b6fB4BfD1-v9lsnSfqXvvsGPnORtnxOMVcdZaEApjVgmny6rFUGCe1M5fxl9SxA0Fl6QVkJcWmznnVtslpX-3Tx5r-YTN9UGNsQ9_BXDTlaxP04__tFIjRvmGrepBfbe1/s320/image049-763212.png" id="BLOGGER_PHOTO_ID_6009472988354944530" /></a><span lang="EN"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Similar to the first scenario we'll create a Step<o:p></o:p></span></div>
<div class="MsoNormal">
<i><span lang="EN"></span></i> </div>
<div class="MsoNormal">
<i><span lang="EN">New Job - Steps <o:p></o:p></span></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH8WoBKkIcKFON33oQJhumKkgJDyDVLBISIMpQuUpRLQsfyJY-6nIJsFBDF4CA8b6uzHpvbA_9UfkmeYFbe6neyDk2ise2xFl4_eqQrFDSD5RS8yPud-kY-kQNz4ewuCRTdoaVG4jvWU0q/s1600/image050-764964.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH8WoBKkIcKFON33oQJhumKkgJDyDVLBISIMpQuUpRLQsfyJY-6nIJsFBDF4CA8b6uzHpvbA_9UfkmeYFbe6neyDk2ise2xFl4_eqQrFDSD5RS8yPud-kY-kQNz4ewuCRTdoaVG4jvWU0q/s320/image050-764964.png" id="BLOGGER_PHOTO_ID_6009472994912324034" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that when I create a new step I'll specify Job Step Type = "SQL Server Integration Services Package" which will allow me to bind this execution step to SSIS package I created earlier<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job Step - General<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAaBD2ME2kW09CgUq_5DHgBtwZrKn03Q36u92vh12c6-Iy-Od29ODi2F4c1UAuviM9Ah5Qj4hSj5A8hEic1lPeuRXzJD_xQWwshrMrZj3RZlS9OIBRwwy8FuIFQi6M065CXKJh8ALDsZny/s1600/image051-767351.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAaBD2ME2kW09CgUq_5DHgBtwZrKn03Q36u92vh12c6-Iy-Od29ODi2F4c1UAuviM9Ah5Qj4hSj5A8hEic1lPeuRXzJD_xQWwshrMrZj3RZlS9OIBRwwy8FuIFQi6M065CXKJh8ALDsZny/s320/image051-767351.png" id="BLOGGER_PHOTO_ID_6009473002035218498" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select an SSIS Package<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZHlGzbOuxdOC6MFpjrycuWLCggXpXHkM3t3y1mWVzYoZPJMX6LF-JgPtx5e-3Ywi6Dlp-2mm4h8wWOFEM5tWyQs1tHTO_6TFO-YcBLzDqOVmOkvLhGxxcRqZXGOENks7q8Ghc-YQ7Z83y/s1600/image052-769380.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZHlGzbOuxdOC6MFpjrycuWLCggXpXHkM3t3y1mWVzYoZPJMX6LF-JgPtx5e-3Ywi6Dlp-2mm4h8wWOFEM5tWyQs1tHTO_6TFO-YcBLzDqOVmOkvLhGxxcRqZXGOENks7q8Ghc-YQ7Z83y/s320/image052-769380.png" id="BLOGGER_PHOTO_ID_6009473012630357474" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Again similar to previous scenario I'll define a schedule<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Job Properties - Schedules<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNBknQ0fMyOanDKdREAlxaQL4TlD9hQ7nh-y6nMr8H5TQye8jjLz4sRqqd9xV6RqwHaFgr7BKSy4LZAFizJqq4VDjrbf-cjRqZ7fgBR8m6ZyS1rc7aXjWINwC75cUF3e4TBF1khkWvFk_m/s1600/image053-771594.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNBknQ0fMyOanDKdREAlxaQL4TlD9hQ7nh-y6nMr8H5TQye8jjLz4sRqqd9xV6RqwHaFgr7BKSy4LZAFizJqq4VDjrbf-cjRqZ7fgBR8m6ZyS1rc7aXjWINwC75cUF3e4TBF1khkWvFk_m/s320/image053-771594.png" id="BLOGGER_PHOTO_ID_6009473018923746210" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Job Schedule<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUQhFq2bX8PIVCTcn_aGasQgI48zeRDkH3gx51NW9xMO8srClre1kNw23xrqmrMozd8OKu79hPq7jkX7icMsuBoI8ZTxJjRn07ezB2SXOHPFHW8B2Ncq44Ycnd0B0SMkwhTiKe7zBTURX/s1600/image054-773368.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoUQhFq2bX8PIVCTcn_aGasQgI48zeRDkH3gx51NW9xMO8srClre1kNw23xrqmrMozd8OKu79hPq7jkX7icMsuBoI8ZTxJjRn07ezB2SXOHPFHW8B2Ncq44Ycnd0B0SMkwhTiKe7zBTURX/s320/image054-773368.png" id="BLOGGER_PHOTO_ID_6009473029907041618" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result my new job gets created and it is ready for periodic execution<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Jobs<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8gtLGiYLZVphJGqdHO-yOBp84COzg1aplBkkvWne9_neATsnKdccVk7Gu2of6iLhO7ZhyKQ8AVhXSo_hnDhWj1OXiw1GRcDPUanC1nzOtfK6aFwjk8wIHnJIf75Z5N7Wv2D6MKIqEFSOZ/s1600/image055-776341.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8gtLGiYLZVphJGqdHO-yOBp84COzg1aplBkkvWne9_neATsnKdccVk7Gu2of6iLhO7ZhyKQ8AVhXSo_hnDhWj1OXiw1GRcDPUanC1nzOtfK6aFwjk8wIHnJIf75Z5N7Wv2D6MKIqEFSOZ/s320/image055-776341.png" id="BLOGGER_PHOTO_ID_6009473042409870194" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Remark: In this article I used a simple SQL approach to organize data export. Depending on your requirements you may have some more sophisticated requirements around file generation logic, additional requirements around data logging, XSLT engine interaction, advanced security, etc. which can lead you to other approaches to consider. Please also review other articles in this series which highlight different approaches to the same task and their details <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to implement File Exchange data export integration with Microsoft Dynamics AX 2012 using SQL approach. In particular I described how one can implement data export by using SQL Job or SSIS package. I also focused on several important aspects for continuous integration (data export) such as process automation using batch jobs, generation of files with predefined names, etc.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Dynamics ERP, Microsoft Dynamics AX 2012, Integration, File Exchange, Data Export, SQL, CSV, XSLT.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Call to action:</b> If you liked this article please take a moment to share your experiences and interesting scenarios you came across in comments. This info will definitely help me to pick the right topic to highlight in my future blogs<o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com2tag:blogger.com,1999:blog-4565800100410709901.post-57343810661547436572014-05-03T23:43:00.001-07:002014-05-04T02:13:45.030-07:00Microsoft Dynamics AX 2012 – File Exchange (Export) using Web Services (WS)<div class="WordSection1">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – File Exchange (Export) using Web Services (WS)</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document to illustrate how to implement integration with Microsoft Dynamics AX 2012 based on File Exchange. </div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<b>Challenge: </b>In certain scenarios you need to implement integration with Microsoft Dynamics AX 2012 by means of File Exchange which is dictated by the software you integrate to or other architectural considerations. For the purposes of integration with Microsoft Dynamics AX 2012 based on File Exchange you can use Web Services approach. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> The recommended way to integrate with Microsoft Dynamics AX 2012 is by using Web Services. As we know Microsoft Dynamics AX 2012 supports AIF Document Web Services and WCF Custom Web Services. In this article I'll implement integration with Microsoft Dynamics AX 2012 based on File Exchange using AIF Document Web Services and WCF Custom Web Services. My goal for this integration will be to organize continuous data export (CSV data feed) from Microsoft Dynamics AX 2012 using WCF Custom Web Services. I will also pay close attention to how to use built-in capabilities of AIF Outbound ports and File system adapter, so I can spend the most of the time focusing on business scenario itself (for example, what data I want to export to a file) and not on technical aspects (for example, how to export data into a file) <o:p> </o:p></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b></b> </div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
For the purpose of this walkthrough I'd want to use WCF Custom Web Services which allow me to write a minimum code and provide a great flexibility when implementing data export scenario. Please also note that in this scenario as the result I want to get a CSV (Comma Separated Value) file.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In my scenario I'll be exporting a custom data based on a brand-new data model I've introduced<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1wjNU-f59C6H4EI0awUXdqawyPx630dO2-67FPtcUJoAZEy23yW_SKNFH9rTquHE5ftw5nf2mwEfTYCRMUAeQKX4hdy2HWQq9RWiw0RN28J6TswLeWNV3hd8XZ9gDQXQi7xqlsR5MT4b4/s1600/image001-736211.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1wjNU-f59C6H4EI0awUXdqawyPx630dO2-67FPtcUJoAZEy23yW_SKNFH9rTquHE5ftw5nf2mwEfTYCRMUAeQKX4hdy2HWQq9RWiw0RN28J6TswLeWNV3hd8XZ9gDQXQi7xqlsR5MT4b4/s320/image001-736211.png" id="BLOGGER_PHOTO_ID_6009457408930335842" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to implement WCF Custom Web Services I'll have to develop Service Contract and Data Contacts classes. To facilitate this effort I created 2 simple jobs which will help me to generate a backbone of Service Contract and Data Contacts classes based on existing data model<o:p></o:p></div>
<div class="MsoNormal">
Please see how I implemented ServiceContract and DataContract jobs below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ServiceContract Job</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> ServiceContract(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> ClassBuild classBuild;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> header;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> newClassName = <span style="color: darkred;">"AlexServiceContract"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> header = <span style="color: darkred;"> 'public class '</span>+ newClassName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild = <b><span style="color: darkblue;">new</span></b> ClassBuild(newClassName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'classdeclaration'</span>, header + <span style="color: darkred;">'\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'createEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void createEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'readEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void readEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'updateEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void updateEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'deleteEntity'</span>, <span style="color: darkred;">'[SysEntryPointAttribute(true)]'</span> + <span style="color: darkred;"> '\n'</span> + <span style="color: darkred;">'public void deleteEntity()'</span> + <span style="color: darkred;"> '\n{\n}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.classNode().AOTcompile(<b><span style="color: red;">1</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
ServiceContract job simply creates Service Contract class with number of methods (createEntity, readEntity, updateEntity, deleteEntity). I'm going to implement readEntity method for data export below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>DataContract Job</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> DataContract(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> ClassBuild classBuild;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> header;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> vars;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> newClassName = <span style="color: darkred;">"AlexDataContract"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> DictTable dictTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> DictField dictField;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> DictType dictType;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> TableId tableId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> FieldId fieldId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> ExtendedTypeId typeId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> tableName = <span style="color: darkred;">"AlexTable"</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> fieldName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> typeName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> i;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> header = <span style="color: darkred;"> 'public class '</span> + newClassName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild = <b><span style="color: darkblue;">new</span></b> ClassBuild(newClassName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> tableId = <b><span style="color: darkblue;">tableName2id</span></b>(tableName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictTable = <b><span style="color: darkblue;">new</span></b> DictTable(tableId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (dictTable)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">for</span></b> (i=<b><span style="color: red;">1</span></b>; i<= dictTable.fieldCnt(); i++)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fieldId = dictTable.fieldCnt2Id(i);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictField = <b><span style="color: darkblue;">new</span></b> DictField(tableId, fieldId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">if</span></b> (dictField)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> typeId = dictField.typeId();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (typeId != <b><span style="color: red;">0</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictType = <b><span style="color: darkblue;">new</span></b> DictType(typeId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (dictType)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!dictField.isSystem())<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fieldName = <b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkred;">"%1"</span>, dictField.name());<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> typeName = <b><span style="color: darkblue;">strFmt</span></b>(<span style="color: darkred;">"%1"</span>, dictType.name());<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(fieldName, <span style="color: darkred;">'[DataMemberAttribute]'</span> + <span style="color: darkred;"> '\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="color: darkred;">'public '</span> + typeName + <span style="color: darkred;"> ' '</span> + fieldName + <span style="color: darkred;">'('</span> + typeName + <span style="color: darkred;"> ' _'</span> + fieldName + <span style="color: darkred;">' = '</span> + fieldName + <span style="color: darkred;"> ')'</span> + <span style="color: darkred;">'\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="color: darkred;">'{'</span> + <span style="color: darkred;">'\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="color: darkred;">'\t'</span> + fieldName + <span style="color: darkred;"> ' = _'</span> + fieldName + <span style="color: darkred;">';'</span> + <span style="color: darkred;"> '\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="color: darkred;">'\t'</span> + <span style="color: darkred;">'return '</span> + fieldName + <span style="color: darkred;">';'</span> + <span style="color: darkred;">'\n'</span> +<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="color: darkred;">'}'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> vars += <span style="color: darkred;">'\t'</span> + typeName + <span style="color: darkred;"> "\t"</span> + fieldName + <span style="color: darkred;">';'</span> + <span style="color: darkred;"> '\n'</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.addMethod(<span style="color: darkred;">'classdeclaration'</span>, <span style="color: darkred;">'[DataContractAttribute]'</span> + <span style="color: darkred;"> '\n'</span> + header + <span style="color: darkred;">'\n{\n'</span> + vars + <span style="color: darkred;"> '}\n'</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> classBuild.classNode().AOTcompile(<b><span style="color: red;">1</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
DataContract job is little bit more interesting because it allows to generate a full-blown Data Contract class with methods for all data elements based on a table (business entity) provided as input<o:p></o:p></div>
<div class="MsoNormal">
As the result I got the following Service Contract and Data Contract classes <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AlexDataContract</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">class</span></b> AlexDataContract<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID AlexID(AlexID _AlexID = AlexID)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID = _AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName AlexName(AlexName _AlexName = AlexName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName = _AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>AlexServiceContract</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">class</span></b> AlexServiceContract<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> createEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> deleteEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> readEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> updateEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now I'll implement Service Contract class readEntity method in order to export data from my custom table<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<i>readEntity method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(AlexDataContract)), SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> List readEntity()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexDataContract alexEntity;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexTable alexTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> List alexList = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> alexTable<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity = <b><span style="color: darkblue;">new</span></b> AlexDataContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity.AlexID(alexTable.AlexID);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity.AlexName(alexTable.AlexName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexList.addEnd(alexEntity);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> alexList;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Technically at this point I have Service Contract and Data Contract classes implemented to the extend when I can use them for data export</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>Service Contract and Data Contract classes</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7hbU8pFr3IWb_fszIHZfwiVUY0QIXmo2n3y2jXtHLOBfWQ6iLXZ0VQni3tY1xNc5R8BIC8S87BCYoxBxIelAgNpeXtnUSXPgy_6vZVsPklXr8NqxWfB7dqekFtWDurwpT8I_S0aCoRKrj/s1600/image002-738777.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7hbU8pFr3IWb_fszIHZfwiVUY0QIXmo2n3y2jXtHLOBfWQ6iLXZ0VQni3tY1xNc5R8BIC8S87BCYoxBxIelAgNpeXtnUSXPgy_6vZVsPklXr8NqxWfB7dqekFtWDurwpT8I_S0aCoRKrj/s320/image002-738777.png" id="BLOGGER_PHOTO_ID_6009457419466853730" /></a> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACWG7xoPmJWONEIcBBPs-37bW03MY60h2Jt-UR3SD3i3L-9IsCFMKO_B7H-zdfdyiOOyFZ5wA5_RCA4jWxq3fGm4R5rBBfv_Z4fkR74_9Om-Tn2mcREegHEm1KMuDHzH2fTFCS5eIbtF9/s1600/image003-740862.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjACWG7xoPmJWONEIcBBPs-37bW03MY60h2Jt-UR3SD3i3L-9IsCFMKO_B7H-zdfdyiOOyFZ5wA5_RCA4jWxq3fGm4R5rBBfv_Z4fkR74_9Om-Tn2mcREegHEm1KMuDHzH2fTFCS5eIbtF9/s320/image003-740862.png" id="BLOGGER_PHOTO_ID_6009457425887864322" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next I'll create a Custom Web Service based on Service Contract class as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Custom Web Service</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoHZxK6e7I4SS8IZYYYSM8914mqttnir7wVohnzDb_3muF21eeCS9eOz2btbtaFW7Afq6Qa7APTbIZNvT-mXa5xq3DTEkjBhNVsDjsuieF4Te5cV-yxwO4sNCQJfmeSrPS5LJHtnQxg4ix/s1600/image004-743151.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoHZxK6e7I4SS8IZYYYSM8914mqttnir7wVohnzDb_3muF21eeCS9eOz2btbtaFW7Afq6Qa7APTbIZNvT-mXa5xq3DTEkjBhNVsDjsuieF4Te5cV-yxwO4sNCQJfmeSrPS5LJHtnQxg4ix/s320/image004-743151.png" id="BLOGGER_PHOTO_ID_6009457440163824626" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Upon Custom Web Service creation I added all exposed at this point operations<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlZjSW4_j9jqdrNUR45uRlDKrdhoHIbHS6SKjf6DaalJ2D2JMRYcoJixWMpGQzRV_2hoIdnprbTfLX-h0So5viV2mb9VwA-3-TmN_9nRmYJkQ6h1vZG542jm0RKd3jQL4gIcWKNxHzmQS/s1600/image005-745751.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxlZjSW4_j9jqdrNUR45uRlDKrdhoHIbHS6SKjf6DaalJ2D2JMRYcoJixWMpGQzRV_2hoIdnprbTfLX-h0So5viV2mb9VwA-3-TmN_9nRmYJkQ6h1vZG542jm0RKd3jQL4gIcWKNxHzmQS/s320/image005-745751.png" id="BLOGGER_PHOTO_ID_6009457447541508258" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I will assign Custom Web Service to Service Group for deployment<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvWIoBF_Jgvq-7HLcqBlSxlvkW9UV_v0EP6sN2eUS3GdtxuKj6k6HDb1bBX45Ktn3qukWy4W4wXbVjJuV5vNCunTDhV_KSh31l6JUEHlgiAF42iu4pnnrksWQbzO8FvccjAh2HhhxS2M9I/s1600/image006-747285.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvWIoBF_Jgvq-7HLcqBlSxlvkW9UV_v0EP6sN2eUS3GdtxuKj6k6HDb1bBX45Ktn3qukWy4W4wXbVjJuV5vNCunTDhV_KSh31l6JUEHlgiAF42iu4pnnrksWQbzO8FvccjAh2HhhxS2M9I/s320/image006-747285.png" id="BLOGGER_PHOTO_ID_6009457454635120914" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After deployment I'll get an Inbound port created <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound port</i> <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtPccLFfbd7GjRUeMLWwAtfkJBEJ-xCoZMLMuAAdIf3oPQKtG4RzG8lWHLmsDZfyFLoa_18dGN0PDRAwfsrJ7xW25bPaTNvPFWz9B4XVas7sidgy7WnImPSX5sEWMyoiy9XSwLe99uKPG-/s1600/image007-749660.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtPccLFfbd7GjRUeMLWwAtfkJBEJ-xCoZMLMuAAdIf3oPQKtG4RzG8lWHLmsDZfyFLoa_18dGN0PDRAwfsrJ7xW25bPaTNvPFWz9B4XVas7sidgy7WnImPSX5sEWMyoiy9XSwLe99uKPG-/s320/image007-749660.jpg" id="BLOGGER_PHOTO_ID_6009457464784422882" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Before I move on I'll quickly create a simple .NET Client program to test out my Custom Web Service <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>.NET Client </i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> AlexTestClient.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.Xml.Serialization;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> System.IO;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> AlexTestClient<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">AlexServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">AlexDataContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">[] alexEntities = client.readEntity(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">AlexDataContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> alexEntity </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> alexEntities)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">"Name:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> + alexEntity.AlexName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">XmlSerializer</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> serializer = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">XmlSerializer</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">typeof</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">(</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">AlexDataContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">[]));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">TextWriter</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> textWriter = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">StreamWriter</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">@"C:\Users\Administrator\Documents\Alex\Alex.xml"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: yellow;"> serializer.Serialize(textWriter, alexEntities);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> textWriter.Close(); <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">"Success!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; line-height: 105%; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that in this .NET Client program I used XmlSerializer object in order to convert the data I read from Microsoft Dynamics AX 2012 (based on AlexDataContract) into a file (for the sake of simplicity XML file)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's review how this XML file looks like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLZy9lyYNnHayDYsNYMWHn-LGV8RoWg49Bg8EuSZrZ_58DyO3CueyNDCeGoc8BXdERx8dwTqYgkt_vap_kEkyqLlFJ0pyf4Mm9pkkgdcaBym0QJNsrry4EFGeI8vmnCcBmIP84lW2-QsEq/s1600/image008-751390.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLZy9lyYNnHayDYsNYMWHn-LGV8RoWg49Bg8EuSZrZ_58DyO3CueyNDCeGoc8BXdERx8dwTqYgkt_vap_kEkyqLlFJ0pyf4Mm9pkkgdcaBym0QJNsrry4EFGeI8vmnCcBmIP84lW2-QsEq/s320/image008-751390.png" id="BLOGGER_PHOTO_ID_6009457474198846882" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Okay! My Custom Web Service works fine, so now we're going to create an Outbound port and leverage built-in File system adapter and Outbound transforms (XSLT) in order to export a CSV file. </div>
<div class="MsoNormal">
So without further due I'll create an Outbound port <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Outbound port<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM9JASkRtOKsOdZAllcjVRF8YWzMTlxopgfxkOLIhoixhZWoR42eIvgVXDke4xl01tKGxqllg127VbyduB6wvLJ9HDHVWs1r0Abz22A3CvFQLhiuiYM2fKJbILmM2lBV0IRjP_dOTfTK-0/s1600/image009-753605.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM9JASkRtOKsOdZAllcjVRF8YWzMTlxopgfxkOLIhoixhZWoR42eIvgVXDke4xl01tKGxqllg127VbyduB6wvLJ9HDHVWs1r0Abz22A3CvFQLhiuiYM2fKJbILmM2lBV0IRjP_dOTfTK-0/s320/image009-753605.jpg" id="BLOGGER_PHOTO_ID_6009457483553324018" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For data export scenario I'll only need readEntity operation <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select service operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqLKBRl5zHZo1qDLi0qBCnfNTIsjBLFyQmluiWiuGtPEaACUW6YMs59uO9qEqpgAPemJGIsI5FAL-X7oRXrEXRKCuA1CbW4Fphx2nPiMIkTeVg2ymiaxD8pW0Gn_Fc5nJc5qS_r4nG3bov/s1600/image010-755894.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqLKBRl5zHZo1qDLi0qBCnfNTIsjBLFyQmluiWiuGtPEaACUW6YMs59uO9qEqpgAPemJGIsI5FAL-X7oRXrEXRKCuA1CbW4Fphx2nPiMIkTeVg2ymiaxD8pW0Gn_Fc5nJc5qS_r4nG3bov/s320/image010-755894.jpg" id="BLOGGER_PHOTO_ID_6009457494557734914" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Also in order to automatically convert XML output into CSV output I'm going to use XSLT transform<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Outbound transforms <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhICizjmTj5CvKzFoQAK7TUWkUVZ2ny74UGTrDsd5ASQ_ctWPtsije0Bmh41dOpnlZcQKRTiKwDMdgQVze5nfpssmnvoa-Ft4d14ujjy_9FM2E6P-OxnL3k_efKmcSsvDejQbTNJd0tHvGL/s1600/image011-757984.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhICizjmTj5CvKzFoQAK7TUWkUVZ2ny74UGTrDsd5ASQ_ctWPtsije0Bmh41dOpnlZcQKRTiKwDMdgQVze5nfpssmnvoa-Ft4d14ujjy_9FM2E6P-OxnL3k_efKmcSsvDejQbTNJd0tHvGL/s320/image011-757984.png" id="BLOGGER_PHOTO_ID_6009457501907498834" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the sake of simplicity I'll provide a dummy XSLT transform for now<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Manage transforms<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpQRsGerZluKocAEBtSdYqB1Oh1m2wxhST8r_LTCSVV5Jt7K2f5ugEXaowGr21vUa6bPmr9zF4s-BImyZ4DnVOXyTPWOUMhTEb80xTHRyZD99RB9Be07fxhdzsbV7cuWpoA16MGoHjheF9/s1600/image012-760289.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpQRsGerZluKocAEBtSdYqB1Oh1m2wxhST8r_LTCSVV5Jt7K2f5ugEXaowGr21vUa6bPmr9zF4s-BImyZ4DnVOXyTPWOUMhTEb80xTHRyZD99RB9Be07fxhdzsbV7cuWpoA16MGoHjheF9/s320/image012-760289.png" id="BLOGGER_PHOTO_ID_6009457511458210562" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can find more info about Microsoft Dynamics AX 2012 Outbound exchange here: <a href="http://technet.microsoft.com/en-us/library/hh696875.aspx">http://technet.microsoft.com/en-us/library/hh696875.aspx</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In a nutshell in order to organize Outbound exchange you will need to use the following:<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Step 1: AifSendService to queue up record for processing<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Step 2: AifOutboundProcessingService to create actual AIF message<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Step 3: AifGatewaySendService to generate resulting file<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
But before I continue with WCF Custom Web Service approach I want to implement the same Outbound exchange by using AIF Document Service, so I'll be able to contrast differences between Outbound exchange using WCF Custom Web Service and Outbound exchange using AIF Document Service<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to introduce AIF Document Service to support my scenario I can use AIF Create document service wizard available in Tools > AIF<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off I'll create a query to support AIF Document Service<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Query<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyXmaGJEwDlyx3CpyQdp2nzz-z58Kb0M-kLGSb6pmjPmP-gI-tQDDrmOCN_i1j79y_nL9a845uaJu9_U8eKnqv3DsJY6xaCtpfSMHZ_l-lhIq_EhBrx7gWe2yyfgOg0_gnnWSWI412dru6/s1600/image013-762151.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyXmaGJEwDlyx3CpyQdp2nzz-z58Kb0M-kLGSb6pmjPmP-gI-tQDDrmOCN_i1j79y_nL9a845uaJu9_U8eKnqv3DsJY6xaCtpfSMHZ_l-lhIq_EhBrx7gWe2yyfgOg0_gnnWSWI412dru6/s320/image013-762151.png" id="BLOGGER_PHOTO_ID_6009457521125987074" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I'll run Create document service wizard to generate all necessary artifacts for AIF Document Service. Let's very quickly run through it<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service Wizard (Welcome)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9n87p4USnwNiBm8TGNOaAJNv0Qs7mIoRMJmRWmnOhYdjkVvmlQEhS4mZnNgRNw_PN9C53boNXBxTmk3q8YDSqLH8PJdbVW16aOgvldfttGMHLOj_Q3srz4EZobpdr3o_p3sWDsxkEnNY-/s1600/image014-764466.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9n87p4USnwNiBm8TGNOaAJNv0Qs7mIoRMJmRWmnOhYdjkVvmlQEhS4mZnNgRNw_PN9C53boNXBxTmk3q8YDSqLH8PJdbVW16aOgvldfttGMHLOj_Q3srz4EZobpdr3o_p3sWDsxkEnNY-/s320/image014-764466.png" id="BLOGGER_PHOTO_ID_6009457530357079378" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service Wizard (Select document parameters)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Td0PdynC9EsVVHielg0ReXamJKqg_WDpkJIh6PELx1b5CsFk0B8N3J3uTsWdt6ws0-5qHBubGls7qkniV2fJdsTa2a3QK4_E93IA7ZtjnFItO94GwU0dnojZQNOZu4d4nkEIbsrxvQdM/s1600/image015-766329.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4Td0PdynC9EsVVHielg0ReXamJKqg_WDpkJIh6PELx1b5CsFk0B8N3J3uTsWdt6ws0-5qHBubGls7qkniV2fJdsTa2a3QK4_E93IA7ZtjnFItO94GwU0dnojZQNOZu4d4nkEIbsrxvQdM/s320/image015-766329.png" id="BLOGGER_PHOTO_ID_6009457538309051778" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service Wizard (Select code generation parameters)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH3wirJxxGINLDXqGIFH_lr1I8XpjltswRVN41S7e5lZa3Fhy7sJ4fYubTbOj6tvl2DJ47JdH07SavnqN_mqhgLlZYLc_pgo3p3FB50lLjvSoWJA7GggtN-fYSz5bj831P7swVfQD0WtP1/s1600/image016-768613.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH3wirJxxGINLDXqGIFH_lr1I8XpjltswRVN41S7e5lZa3Fhy7sJ4fYubTbOj6tvl2DJ47JdH07SavnqN_mqhgLlZYLc_pgo3p3FB50lLjvSoWJA7GggtN-fYSz5bj831P7swVfQD0WtP1/s320/image016-768613.png" id="BLOGGER_PHOTO_ID_6009457544910091954" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service Wizard (Generate code)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAyz7A372BnqNlQmYkCGQyiiIyGz4zjpeoDVc4NQ4C2zCWRoZVldllhXWTHV8giTcqgPJ6aJz8m_kq_6bu9flJveJLa3bEVmohj85Nl0geMeKtavCBW85g-6Qm0erBi8H4K6jQUZclfLCb/s1600/image017-770712.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAyz7A372BnqNlQmYkCGQyiiIyGz4zjpeoDVc4NQ4C2zCWRoZVldllhXWTHV8giTcqgPJ6aJz8m_kq_6bu9flJveJLa3bEVmohj85Nl0geMeKtavCBW85g-6Qm0erBi8H4K6jQUZclfLCb/s320/image017-770712.png" id="BLOGGER_PHOTO_ID_6009457554887132306" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service Wizard (Completed)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW3LfgLEGiFaH5W5Qk0jzTqhUvaC4NNp-UrH0ToAQ9v9d5sHka3pX-gmkVfCAfI90KuJZY4YynfrXCGXve33lpRQ9rTfv3ZEOUJ22Py2OmrpD38tqZJokpIro-bBUYL7t74gMls4ARpNF6/s1600/image018-772832.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW3LfgLEGiFaH5W5Qk0jzTqhUvaC4NNp-UrH0ToAQ9v9d5sHka3pX-gmkVfCAfI90KuJZY4YynfrXCGXve33lpRQ9rTfv3ZEOUJ22Py2OmrpD38tqZJokpIro-bBUYL7t74gMls4ARpNF6/s320/image018-772832.png" id="BLOGGER_PHOTO_ID_6009457563683274290" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result AxdAlexDocument project gets created with all necessary artifacts included<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL_Q5RT-OjkDwXCfb4hzQi8i4GVPqtTF84QyKKT1-_jVHw4QixlBqVHqXvUasQ1CPjyexoyLid0DsmMG6Gj-uG9n0XDOIyDP5Tw6mjc5AxypE4XHeDHITpfj6UJuBDW7Getwe2YsdsouIY/s1600/image019-775565.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL_Q5RT-OjkDwXCfb4hzQi8i4GVPqtTF84QyKKT1-_jVHw4QixlBqVHqXvUasQ1CPjyexoyLid0DsmMG6Gj-uG9n0XDOIyDP5Tw6mjc5AxypE4XHeDHITpfj6UJuBDW7Getwe2YsdsouIY/s320/image019-775565.png" id="BLOGGER_PHOTO_ID_6009457575339646978" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I'll also need to resolve some compilation errors by removing unnecessary in my scenario methods<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AxAlexTable class – cache methods <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDeuvZII4lCKW0YwLVFbb13kch7HnlT8MZovHtQmQAMoUi0285DuDbEpGaSGmzDGoJ0t5Fll_3dH1F2pxR2AsmMnZ0wL0yIhOI6mSWNfeHnDBcKlggLD0JOQNRyy5SIrVzG8E31CHg1evP/s1600/image020-777742.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDeuvZII4lCKW0YwLVFbb13kch7HnlT8MZovHtQmQAMoUi0285DuDbEpGaSGmzDGoJ0t5Fll_3dH1F2pxR2AsmMnZ0wL0yIhOI6mSWNfeHnDBcKlggLD0JOQNRyy5SIrVzG8E31CHg1evP/s320/image020-777742.png" id="BLOGGER_PHOTO_ID_6009457582838857538" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here's how my AIF Document Service looks like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AIF Document Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm1AXyM2gViTitLEAWjkWpuVJMWG9RaL9NVjp4Hq_yTgthxyaqDguheisMj06mh5Z5UX041Rfjl9exJ3onRTpzzmqweLDyAiGEEwx9U0BboNcDcNmf6iJoa7QZpgnHulpB1DZkKzCKFdsm/s1600/image021-779890.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm1AXyM2gViTitLEAWjkWpuVJMWG9RaL9NVjp4Hq_yTgthxyaqDguheisMj06mh5Z5UX041Rfjl9exJ3onRTpzzmqweLDyAiGEEwx9U0BboNcDcNmf6iJoa7QZpgnHulpB1DZkKzCKFdsm/s320/image021-779890.png" id="BLOGGER_PHOTO_ID_6009457599905147282" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly I'll include into to Service Group for deployment<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl5bVOwJFMR-UrELsJnAO96GhER312d0ildSxJeBT-yfgbEaIKKQoPHy6tiyqYpUYzZiGET4pn6_N5dS4WUz7-A2d-1nAx4ttvcmPMbkIqiAFA2HUGD8hjYvr5hv4QI-Ra749vHlxXjkuH/s1600/image022-781547.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl5bVOwJFMR-UrELsJnAO96GhER312d0ildSxJeBT-yfgbEaIKKQoPHy6tiyqYpUYzZiGET4pn6_N5dS4WUz7-A2d-1nAx4ttvcmPMbkIqiAFA2HUGD8hjYvr5hv4QI-Ra749vHlxXjkuH/s320/image022-781547.png" id="BLOGGER_PHOTO_ID_6009457602288712754" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After my AIF Document Service is deployed I can create Outbound port<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Outbound port<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ1-pjpE9I4PSbE83m7795ZFAhX8ZhYKSmZskvEU43P1Cuu401CU6MNuh6E3a2hJ6sUA0MrtquhyphenhyphenaKgIHSCFbZ1vTnEJrWnTWHD8_mhjEIzBIEcSTPEU2h7NTn11iH8DsnAahQMrwSXHfp/s1600/image023-783194.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ1-pjpE9I4PSbE83m7795ZFAhX8ZhYKSmZskvEU43P1Cuu401CU6MNuh6E3a2hJ6sUA0MrtquhyphenhyphenaKgIHSCFbZ1vTnEJrWnTWHD8_mhjEIzBIEcSTPEU2h7NTn11iH8DsnAahQMrwSXHfp/s320/image023-783194.jpg" id="BLOGGER_PHOTO_ID_6009457608627438482" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And expose service operations<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select service operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh15H6uMsmx_wimh2Fq2tVjaPjA_US8DyFPoOp0V2EFuCGbmvRH0D-ylz7t2rPKXZzh7ZkDomLnhyrt2oL2mAVDq1NyPABnG6sz527REL7tIexfktu86mhCLl5LuDORMEeAzaO4DPN-lCYh/s1600/image024-785677.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh15H6uMsmx_wimh2Fq2tVjaPjA_US8DyFPoOp0V2EFuCGbmvRH0D-ylz7t2rPKXZzh7ZkDomLnhyrt2oL2mAVDq1NyPABnG6sz527REL7tIexfktu86mhCLl5LuDORMEeAzaO4DPN-lCYh/s320/image024-785677.jpg" id="BLOGGER_PHOTO_ID_6009457617879103474" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can find numerous example of functionalities in standard Microsoft Dynamics AX 2012 which submit a record to be processed through Outbound port. The interesting thing in our scenario is that we want to organize a continuous data export (data feed) process for integration. That's why I wrote a small X++ job to help me submit records for processing through Outbound port (Step 1)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ Job: Submit records using AIF Document Web Service</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> AlexSendJob(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifConstraint aifConstraint = <b><span style="color: darkblue;">new</span></b> AifConstraint() ;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifConstraintList aifConstraintList = <b><span style="color: darkblue;">new</span></b> AifConstraintList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifActionId actionId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifEndpointList endpointList = <b><span style="color: darkblue;">new</span></b> AifEndpointList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifOutboundPort outboundPort;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> Query query;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> query = <b> <span style="color: darkblue;">new</span></b> Query(<b><span style="color: darkblue;">queryStr</span></b>(AlexQuery));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> actionId = AifSendService::getDefaultSendAction(<b><span style="color: darkblue;">classnum</span></b>(AlexDocumentService), AifSendActionType::SendByQuery);</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifConstraint.parmType(AifConstraintType::NoConstraint);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifConstraintList.addConstraint(aifConstraint);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> endpointList = AifSendService::getEligibleEndpoints(actionId, aifConstraintList);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifSendService::submitFromQuery(actionId, endpointList, query, AifSendMode::Async);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that default action is "AlexDocumentService.read" when submitting records based on query<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When records are submitted we'll see the following entry in Queue manager<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Queue manager <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7213XrfONvDFJYl7iUQJVduRneD0yC21wMnIUXJWDrPuYmDscg7T0XQnjKZi11foeqvdoWkSBuz2ZE-g-2Oj_XLx8VYXdiGDQuDjy1hfVgpn7XsaWe-W7idEUp1fJDB_PKtlgy2JJz0jZ/s1600/image025-789080.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7213XrfONvDFJYl7iUQJVduRneD0yC21wMnIUXJWDrPuYmDscg7T0XQnjKZi11foeqvdoWkSBuz2ZE-g-2Oj_XLx8VYXdiGDQuDjy1hfVgpn7XsaWe-W7idEUp1fJDB_PKtlgy2JJz0jZ/s320/image025-789080.jpg" id="BLOGGER_PHOTO_ID_6009457636102172130" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
On Step 2 I'll use another simple X++ Job to create actual AIF message by using AifOutboundProcessingService<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ Job</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> AlexOutboundProcessingJob(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifOutboundProcessingService aifOutboundProcessingService = <b><span style="color: darkblue;">new</span></b> AifOutboundProcessingService();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifOutboundProcessingService.run();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result we'll be able to see appropriate entry on History form<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>History<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIUvd9fDzZ6yfiTaZq04cV6CbE8P77RWUeuN9Fq2MrSFzzaxVrtNWShrfOYRmr5_7ZxeeeUal3XDi9QiabW1mAdjyTRhsl0IT7Qodc-NC07RFaj7ts2n8JEZgwUAFEltCt6zqJL4SonDi/s1600/image026-791158.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilIUvd9fDzZ6yfiTaZq04cV6CbE8P77RWUeuN9Fq2MrSFzzaxVrtNWShrfOYRmr5_7ZxeeeUal3XDi9QiabW1mAdjyTRhsl0IT7Qodc-NC07RFaj7ts2n8JEZgwUAFEltCt6zqJL4SonDi/s320/image026-791158.jpg" id="BLOGGER_PHOTO_ID_6009457644386273698" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we can review Document log<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Document log<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_P7eoHtrrlNeCLc-rGJ6nr-hww_nGO2FamknpbET7r71U5_l47UgBpf5epw-3PJM-fnsZiZy33iPtWEVS2uRqJMG-x-f_3_liw_bONc6e1QymWD36AolVxJJs42_IzQNND1K9FUTruVKs/s1600/image027-793582.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_P7eoHtrrlNeCLc-rGJ6nr-hww_nGO2FamknpbET7r71U5_l47UgBpf5epw-3PJM-fnsZiZy33iPtWEVS2uRqJMG-x-f_3_liw_bONc6e1QymWD36AolVxJJs42_IzQNND1K9FUTruVKs/s320/image027-793582.png" id="BLOGGER_PHOTO_ID_6009457655345035026" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And finally get to the XML message itself<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JH2GELwwXSnfqz9SaSDpkipTZ5FU_50nniMeCyMFvGkWhIkNcfNbgxHB23ApouHLDF366w9EgI-DQvgicjleCuc-tKChO83_Y8jlta7BtGI6aoXJd5i6gztxWChVVf3aBUNeuApYdIX4/s1600/image028-795396.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JH2GELwwXSnfqz9SaSDpkipTZ5FU_50nniMeCyMFvGkWhIkNcfNbgxHB23ApouHLDF366w9EgI-DQvgicjleCuc-tKChO83_Y8jlta7BtGI6aoXJd5i6gztxWChVVf3aBUNeuApYdIX4/s320/image028-795396.jpg" id="BLOGGER_PHOTO_ID_6009457660065033074" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<?xml version="1.0" encoding="utf-16"?><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexDocument xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/AlexDocument"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<DocPurpose>Original</DocPurpose><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<SenderId>USMF</SenderId><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexTable class="entity"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<_DocumentHash>47d6ff0fc52fd53de82f9df0dc1d37e4</_DocumentHash><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>1</AlexID><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 1</AlexName><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecId>5637144576</RecId><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecVersion>1</RecVersion><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexTable><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexTable class="entity"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<_DocumentHash>03935629a0cabf8606b2ae1d7e163830</_DocumentHash><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>2</AlexID><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 2</AlexName><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecId>5637144577</RecId><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecVersion>1</RecVersion><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexTable><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexTable class="entity"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<_DocumentHash>b006c8c97d261b4bc5c4aea65b06aed7</_DocumentHash><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>3</AlexID><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 3</AlexName><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecId>5637145329</RecId><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<RecVersion>1</RecVersion><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexTable><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexDocument><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</MessageParts><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
On Step 3 in order to generate a file I'll use another simple X++ job <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ job</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> AlexGatewaySendJob(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifGatewaySendService aifGatewaySendService = <b><span style="color: darkblue;">new</span></b> AifGatewaySendService();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifGatewaySendService.run();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result we'll see file created in the folder<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzO0kfHDVLWEk7SRrba1mkBDZYfGHQtEUBMoGk5MQDuUBGjs3PZxFOFbmKRTgrSgb3Tu_mCmsTiAlB-FtP6vO0LN0KoPw2waFXTwAkU-Ncpax_114WHm9vdmYlmGuxdPheYzd8MqMIAbql/s1600/image029-797755.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzO0kfHDVLWEk7SRrba1mkBDZYfGHQtEUBMoGk5MQDuUBGjs3PZxFOFbmKRTgrSgb3Tu_mCmsTiAlB-FtP6vO0LN0KoPw2waFXTwAkU-Ncpax_114WHm9vdmYlmGuxdPheYzd8MqMIAbql/s320/image029-797755.png" id="BLOGGER_PHOTO_ID_6009457669731957010" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN_lZWbQNjORwGRDfPKdKjd72bXezsMltDpjoo3AmuLES_qVFWDn7r5X8UNll_Uw78hGOsm_uc7Km_Gy-SgrcEkRYrmGieQ4lDGkBtW40gSHAzTTVqN0QIUdC2GeQH2wA40BHE69tMYmN-/s1600/image030-799883.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN_lZWbQNjORwGRDfPKdKjd72bXezsMltDpjoo3AmuLES_qVFWDn7r5X8UNll_Uw78hGOsm_uc7Km_Gy-SgrcEkRYrmGieQ4lDGkBtW40gSHAzTTVqN0QIUdC2GeQH2wA40BHE69tMYmN-/s320/image030-799883.jpg" id="BLOGGER_PHOTO_ID_6009457679820359522" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML</i></div>
<div class="MsoNormal">
<em></em> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<?xml version="1.0" encoding="UTF-8"?><Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><Header><MessageId>{126F755E-9E21-4A85-B187-344A73824778}</MessageId><Action>http://schemas.microsoft.com/dynamics/2008/01/services/AlexDocumentService/find</Action></Header><Body><MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><AlexDocument xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/AlexDocument"><DocPurpose>Original</DocPurpose><SenderId>USMF</SenderId><AlexTable class="entity"><_DocumentHash>47d6ff0fc52fd53de82f9df0dc1d37e4</_DocumentHash><AlexID>1</AlexID><AlexName>Value 1</AlexName><RecId>5637144576</RecId><RecVersion>1</RecVersion></AlexTable><AlexTable class="entity"><_DocumentHash>03935629a0cabf8606b2ae1d7e163830</_DocumentHash><AlexID>2</AlexID><AlexName>Value 2</AlexName><RecId>5637144577</RecId><RecVersion>1</RecVersion></AlexTable><AlexTable class="entity"><_DocumentHash>b006c8c97d261b4bc5c4aea65b06aed7</_DocumentHash><AlexID>3</AlexID><AlexName>Value 3</AlexName><RecId>5637145329</RecId><RecVersion>1</RecVersion></AlexTable></AlexDocument></MessageParts></Body></Envelope><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Great! Experiment with AIF Document Service was successful, so now we'll come back to our WCF Custom Service and try to run through the same process to generate the file<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
On Step 1 we'll submit records for processing through Outbound port<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>X++ Job: Submit records using WCF Custom Web Service</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> AlexSendJob(Args _args)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifConstraint aifConstraint = <b><span style="color: darkblue;">new</span></b> AifConstraint() ;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifConstraintList aifConstraintList = <b><span style="color: darkblue;">new</span></b> AifConstraintList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifActionId actionId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifEndpointList endpointList = <b><span style="color: darkblue;">new</span></b> AifEndpointList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifOutboundPort outboundPort;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> Query query;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> query = <b> <span style="color: darkblue;">new</span></b> Query(<b><span style="color: darkblue;">queryStr</span></b>(AlexQuery));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;">actionId = <span style="color: darkred;">"AlexService.readEntity"</span>;</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifConstraint.parmType(AifConstraintType::NoConstraint);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> aifConstraintList.addConstraint(aifConstraint);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> endpointList = AifSendService::getEligibleEndpoints(actionId, aifConstraintList);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifSendService::submitFromQuery(actionId, endpointList, query, AifSendMode::Async);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I used actionId = "AlexService.readEntity" explicitly in the code above. This is because a default submit action when submitting based on query is meant to be "AlexService.read" which is dictated by AIF, and in my WCF Custom Web Service I used a custom operation called "readEntity"<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that in order to successfully submit records for processing I'll have to provide a valid argument for my custom operation "readEntity". This is dictated by AifSendService.getValidSendParameter method as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AifSendService.getValidSendParameter method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">private</span></b> Object getValidSendParameter(AifActionId actionId, Object sendParameter)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifDocumentClassId parameterClassId;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifEntityKeyList entityKeyList;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> DictMethod dictMethod;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">boolean</span></b> isValid = <b><span style="color: darkblue;">false</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (sendParameter == <b><span style="color: darkblue;">null</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS118921"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictMethod = AifParameterLookup::getActionMethod(actionId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (dictMethod.parameterCnt() == <b><span style="color: red;">1</span></b>)<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">if</span></b> (dictMethod.parameterType(<b><span style="color: red;">1</span></b>) == Types::Class)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> parameterClassId = dictMethod.parameterId(<b><span style="color: red;">1</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">if</span></b> (parameterClassId == <b><span style="color: darkblue;">classidget</span></b>(sendParameter))<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> isValid = <b><span style="color: darkblue;">true</span></b>;</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">else</span></b> <b><span style="color: darkblue;">if</span></b> ((parameterClassId == <b><span style="color: darkblue;">classnum</span></b>(AifEntityKeyList)) && (<b><span style="color: darkblue;">classidget</span></b>(sendParameter) == <b><span style="color: darkblue;">classnum</span></b>(AifEntityKey)))<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="color: green;">// If the operation has an entityKeyList parameter and the send parameter was an entity key,</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="color: green;">// then convert to an entitykey list</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> entityKeyList = <b><span style="color: darkblue;">new</span></b> AifEntityKeyList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> entityKeyList.addEntityKey(sendParameter);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> sendParameter = entityKeyList;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> isValid = <b><span style="color: darkblue;">true</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!isValid)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS118922"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> sendParameter;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to bypass this issue I used AifQueryCriteria object as argument just like it is implemented in AIF Document Service read operation. This is how readEntity method will look like before I submit<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>readEntity method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(AlexDataContract)), SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> List readEntity(<span style="background: yellow; mso-highlight: yellow;">AifQueryCriteria _queryCriteria = <b><span style="color: darkblue;">null</span></b></span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexDataContract alexEntity;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexTable alexTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> List alexList = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> alexTable<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity = <b><span style="color: darkblue;">new</span></b> AlexDataContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity.AlexID(alexTable.AlexID);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexEntity.AlexName(alexTable.AlexName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexList.addEnd(alexEntity);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> alexList;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result we'll be see the following entry in Queue manager<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Queue manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJS4M0F6ds7GUXEPeGcyd9gb9FqDhs_ILXwhmcykak7MzB3KYlFVHsEZzFbTjZhbSsQq1DY9fv6piOMJWM0ay6dwiHiJ6i333QE1xlkhhR6vwzqgNJZ4qj1nHlc8REURsHiXI3gt8rR5qG/s1600/image031-701786.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJS4M0F6ds7GUXEPeGcyd9gb9FqDhs_ILXwhmcykak7MzB3KYlFVHsEZzFbTjZhbSsQq1DY9fv6piOMJWM0ay6dwiHiJ6i333QE1xlkhhR6vwzqgNJZ4qj1nHlc8REURsHiXI3gt8rR5qG/s320/image031-701786.jpg" id="BLOGGER_PHOTO_ID_6009457689688745410" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However we'll still need to do one thing left on Step 2. This time the issue is that Class List (return type) is not Serializable</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>Queue manager</i> </div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7lzdfCqjMffWZY1haTAqoWjo5sER95n6u-rhafhEbySO4z7FyJ0m8F9CqaY-DAsfDdGY_UMqExk_PtlL-WD81xbUbmz10bVwduP_TNN_lL6gnbwzPIkds8k0pnIdaeN_SS8OOK1etMO45/s1600/image032-703965.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7lzdfCqjMffWZY1haTAqoWjo5sER95n6u-rhafhEbySO4z7FyJ0m8F9CqaY-DAsfDdGY_UMqExk_PtlL-WD81xbUbmz10bVwduP_TNN_lL6gnbwzPIkds8k0pnIdaeN_SS8OOK1etMO45/s320/image032-703965.jpg" id="BLOGGER_PHOTO_ID_6009457699746873746" /></a></div>
<o:p></o:p><div class="MsoNormal">
</div>
<div class="MsoNormal">
It is another requirement dictated by AIF<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AifDispatcher.serializeObject method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">static</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">private</span></b> AifXml serializeObject(classId xmlSerializableClassId, Object object)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXmlSerializable serializableObject;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> SysDictClass dictClass;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml objectXml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (object == <b><span style="color: darkblue;">null</span></b>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> objectXml = AifDispatcher::serializeNullObject(xmlSerializableClassId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> dictClass = <b><span style="color: darkblue;">new</span></b> SysDictClass(xmlSerializableClassId);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (!dictClass.isImplementing(<b><span style="color: darkblue;">classnum</span></b>(AifXmlSerializable)))<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> <b><span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strfmt</span></b>(<span style="color: darkviolet;">"@SYS112335"</span>, classId2Name(xmlSerializableClassId)));</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> serializableObject = object;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> objectXml = serializableObject.serialize();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> objectXml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that formally according to AIF return type class has to implement AifXmlSerializable interface<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to resolve this issue I implemented a brand-new custom <b>Serializable</b> AlexDataContractItemList class. Then my readEntity method looked like this<i><o:p></o:p></i></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>readEntity method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;">AlexDataContractItemList</span> readEntity(<span style="background: yellow; mso-highlight: yellow;">AifQueryCriteria _queryCriteria = <b><span style="color: darkblue;">null</span></b></span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{ <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexTable alexTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;">AlexDataContractItem alexItem;<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> AlexDataContractItemList alexItemList = AlexDataContractItemList::construct();</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> alexTable<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> alexItem = <b><span style="color: darkblue;">new</span></b> AlexDataContractItem();<o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> alexItem.AlexID(alexTable.AlexID);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> alexItem.AlexName(alexTable.AlexName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> alexItemList.addAlexItem(alexItem);</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <span style="background: yellow; mso-highlight: yellow;">alexItemList</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please see implementation of <b>Serializable</b> AlexDataContractItemList class below. Please note that I serialized it "manually" by providing schemas, etc.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First I implemented AlexDataContractItem class which represents a single record<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AlexDataContractItem class X++ implementation</i></div>
<div class="MsoNormal">
<em></em> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">class</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexDataContractItem <b><span style="color: darkblue;">implements</span></b> <span style="background: yellow; mso-highlight: yellow;"> AifXmlSerializable</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexNamespace(<span style="color: darkred;">'http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexItem(<span style="color: darkred;">'AlexItem'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexData(<span style="color: darkred;">'AlexData'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexRecord(<span style="color: darkred;">'AlexRecord'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexID(<span style="color: darkred;">'AlexID'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexName(<span style="color: darkred;">'AlexName'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID AlexID(AlexID _AlexID = AlexID)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexID = _AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> AlexID;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName AlexName(AlexName _AlexName = AlexName)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexName = _AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> AlexName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">void</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> deserialize(AifXml xml)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifDocumentName getRootName()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> #AlexItem;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml getSchema()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> schema =<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;">@'<?xml version="1.0" encoding="utf-8"?><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><xsd:schema targetNamespace="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlns:tns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlns:xsd="http://www.w3.org/2001/XMLSchema"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> elementFormDefault="qualified"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexItem" type="tns:AlexItem"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:complexType name="AlexItem"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexData" type="tns:AlexData"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:complexType><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:complexType name="AlexData"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:sequence ><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexRecord" type="tns:AlexRecord" maxOccurs="unbounded"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:complexType><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:complexType name="AlexRecord"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexID" type="xsd:string"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexName" type="xsd:string"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:complexType><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"></xsd:schema>'</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> schema;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml serialize()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml xml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> XmlTextWriter xmlWriter;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter = XmlTextWriter::newXml();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.formatting(XmlFormatting::None);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartDocument();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartElement2(#AlexItem, #AlexNamespace);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartElement2(#AlexData, #AlexNamespace);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartElement2(#AlexRecord, #AlexNamespace);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeElementString(#AlexID, AlexID);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeElementString(#AlexName, AlexName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndElement();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndElement();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndElement();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndDocument();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xml = xmlWriter.writeToString();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.close();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> xml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
And then I implemented AlexDataContractItemList class which represents a list of records which exactly what I need as readEntity method return type<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AlexDataContractItemList class X++ implementation</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">class</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexDataContractItemList <b><span style="color: darkblue;">implements</span></b> <span style="background: yellow; mso-highlight: yellow;"> AifXmlSerializable</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> Array alexArray;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> alexItemCount;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexNamespace(<span style="color: darkred;">'http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItemList'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> #define.AlexItemList(<span style="color: darkred;">'AlexItemList'</span>)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> addAlexItem(AlexDataContractItem _alexItem)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexArray.value(alexItemCount+<b><span style="color: red;">1</span></b>, _alexItem);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexItemCount++;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AlexDataContractItem getAlexItem(<b><span style="color: darkblue;">int</span></b> _index)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> alexArray.value(_index);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> getAlexItemCount()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> alexItemCount;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">void</span></b> deserialize(AifXml xml)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifDocumentName getRootName()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> #AlexItemList;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml getSchema()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;">@'<?xml version="1.0" encoding="utf-8"?><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><xsd:schema targetNamespace="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItemList"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlns:tns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItemList"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlns:ek="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlns:xsd="http://www.w3.org/2001/XMLSchema"<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> elementFormDefault="qualified"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:import namespace="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem" schemaLocation="AlexItem.xsd"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element name="AlexItemList" type="tns:AlexItemList"/><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:complexType name="AlexItemList"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> <xsd:element minOccurs="0" maxOccurs="unbounded" ref="ek:AlexItem" /><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:sequence><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"> </xsd:complexType><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="color: darkred; font-family: Consolas; font-size: 8pt; line-height: 105%;"></xsd:schema>'</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">void</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">new</span></b>()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexArray = <b><span style="color: darkblue;">new</span></b> Array(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml serialize()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml xml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> AifXml alexItemXml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> XmlTextWriter xmlWriter;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> XmlTextReader xmlReader;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> x;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter = XmlTextWriter::newXml();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.formatting(XmlFormatting::None);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartDocument();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeStartElement2(#AlexItemList, #AlexNamespace);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">for</span></b>(x=<b><span style="color: red;">1</span></b>; x <= this.getAlexItemCount(); x++)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> alexItemXml = this.getAlexItem(x).serialize();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b>(alexItemXml)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">try</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlReader = XmlTextReader::newXml(alexItemXml);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlReader.whitespaceHandling(XmlWhitespaceHandling::None);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlReader.moveToContent();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeRaw(xmlReader.readOuterXml());<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlReader.close();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">catch</span></b>(Exception::Error)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strfmt</span></b>(<span style="color: darkred;">"Unable to serialize item"</span>));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndElement();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.writeEndDocument();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xml = xmlWriter.writeToString();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> xmlWriter.close();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> xml;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">static</span></b> AlexDataContractItemList construct()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> <b><span style="color: darkblue;">new</span></b> AlexDataContractItemList();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
You can find inspiration when implementing Serializable classes by looking at standard EntityKey and EntityKeyList classes in Microsoft Dynamics AX 2012 <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result after Step 3 file will be generated<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML - Record<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6HJ65TxLOoGBr3nlWieOZZikJ6q3rebYQnj9ztZqO4uOiSt4qYOv0fRZ9jlAogA6Og2OOO7M92aIaWaSGTobb1ktUShg36iuI0QZzhyphenhyphen0zMUlOgMgBBFxTiCDAfkzSg_tXXuHdoQFyREdO/s1600/image033-706108.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6HJ65TxLOoGBr3nlWieOZZikJ6q3rebYQnj9ztZqO4uOiSt4qYOv0fRZ9jlAogA6Og2OOO7M92aIaWaSGTobb1ktUShg36iuI0QZzhyphenhyphen0zMUlOgMgBBFxTiCDAfkzSg_tXXuHdoQFyREdO/s320/image033-706108.png" id="BLOGGER_PHOTO_ID_6009457710058853506" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML - Record</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<?xml version="1.0" encoding="UTF-8"?><Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><Header><MessageId>{03C75358-C243-4997-AD87-4F37F4E66ADE}</MessageId><Action>http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/readEntity</Action></Header><Body><MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>1</AlexID><AlexName>Value 1</AlexName></AlexRecord></AlexData></AlexItem></MessageParts></Body></Envelope><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>XML – List of records</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="Picture_x0020_40" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:0;width:364.8pt;height:274.8pt;z-index:251659264;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical:top;mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> <v:imagedata src="cid:image034.png@01CF6729.7FAB0C30" o:title="" /> <w:wrap type="square"/> </v:shape><![endif]--><![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5gjoRAQ0fJuTctMzAyP_FxVUZo2nY2ZyrIy7rfIV-UQOw3jMbu_yZelIxYx9UtNRNpOdewKUaH9gxyyO2LjLWGC0ObUKJcwZLC2vyx7i5df19fZwLrz1Q1S2vGRwyAqRZMeJzYafQHGB9/s1600/image034-708361.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5gjoRAQ0fJuTctMzAyP_FxVUZo2nY2ZyrIy7rfIV-UQOw3jMbu_yZelIxYx9UtNRNpOdewKUaH9gxyyO2LjLWGC0ObUKJcwZLC2vyx7i5df19fZwLrz1Q1S2vGRwyAqRZMeJzYafQHGB9/s320/image034-708361.png" id="BLOGGER_PHOTO_ID_6009457717843768178" /></a><![endif]><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<o:p> </o:p><i>XML – List of records</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<?xml version="1.0" encoding="UTF-8"?><Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><Header><MessageId>{21614C10-265B-47E0-97A8-E83B0BD0177A}</MessageId><Action>http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/readEntity</Action></Header><Body><MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message"><AlexItemList xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItemList"><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>1</AlexID><AlexName>Value 1</AlexName></AlexRecord></AlexData></AlexItem><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>2</AlexID><AlexName>Value 2</AlexName></AlexRecord></AlexData></AlexItem><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>3</AlexID><AlexName>Value 3</AlexName></AlexRecord></AlexData></AlexItem><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>4</AlexID><AlexName>Value 4</AlexName></AlexRecord></AlexData></AlexItem><AlexItem xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/AlexItem"><AlexData><AlexRecord><AlexID>5</AlexID><AlexName>Value 5</AlexName></AlexRecord></AlexData></AlexItem></AlexItemList></MessageParts></Body></Envelope><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Finally after we apply Outbound transformation (XSLT) we can get to the final result<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<i>CSV</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
"", "1", "Value 1"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"", "2", "Value 2"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"", "3", "Value 3"<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now before we wrap up I want to discuss a few more things critical for this scenario:<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>How to automate data export and organize continuous integration by using Batch jobs<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>How to continuously generate a file with the same name<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>How to apply XSLT transform in order to convert XML file into CSV file <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Speaking about Batch jobs we can certainly establish a set of Batch jobs to periodically execute Step 1, Step 2 and Step 3 in batch. For this purpose you can establish universal AIFProcessing batch job to handle outbound and inbound (if needed) messages as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch jobs<o:p></o:p></i></div>
<div class="MsoNormal">
<b><span style="color: red;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: red;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOU8dtfO0P41WnI9MM6hz4yKbVGLmZSVT06SDNyDeCLm-jBQ1vpMqACWHMO-KxwiNbVfS5veUjnhSaZBjGrZu-EUNfTsZccsoZ-fmOrkiPajRl2A32ENC5MntCUpChNPt1s3d1hiRtx6Ts/s1600/image035-710601.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOU8dtfO0P41WnI9MM6hz4yKbVGLmZSVT06SDNyDeCLm-jBQ1vpMqACWHMO-KxwiNbVfS5veUjnhSaZBjGrZu-EUNfTsZccsoZ-fmOrkiPajRl2A32ENC5MntCUpChNPt1s3d1hiRtx6Ts/s320/image035-710601.jpg" id="BLOGGER_PHOTO_ID_6009457727548248866" /></a></span><span style="color: red;"><o:p></o:p></span></b></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Batch tasks<o:p></o:p></i></div>
<div class="MsoNormal">
<b><span style="color: red;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: red;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEWqeiKIojZg2EM-opvZPANKYxQ3dLw_GdoJrpzrrf_5ctlwVq33Ls2DC87KyvPQ8jQjawMO01DMn1U4rgAdO7b6VKwPVRBUyftQa_7MwYpmLk2PxXKJxYP90IfSHFZ9PDj9ccztAoTYDD/s1600/image036-713117.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEWqeiKIojZg2EM-opvZPANKYxQ3dLw_GdoJrpzrrf_5ctlwVq33Ls2DC87KyvPQ8jQjawMO01DMn1U4rgAdO7b6VKwPVRBUyftQa_7MwYpmLk2PxXKJxYP90IfSHFZ9PDj9ccztAoTYDD/s320/image036-713117.jpg" id="BLOGGER_PHOTO_ID_6009457737608587186" /></a></span><span style="color: red;"><o:p></o:p></span></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that you can also create a Batchable class Step 1 and include it into consolidated Batch job<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's switch to how to continuously generate a file with the same name<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that when you generate a file using File system adapter AIF will assign it a unique name (for example, "20140501_185022_0330838_00001.xml"). This is dictated by AIF and it happens during integration channel processing as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AifFileSystemSendAdapter.getNewOutFileName method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">private</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> getNewOutFileName()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> filename;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> curTimestamp;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> counterText;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> fileNumberMaxLength = <b><span style="color: red;">5</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="color: green;">// BP Deviation Documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> curTimestamp = fileSystem.GetCurrentTimestamp();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> counter = (prevTimestamp == curTimestamp)? counter + <b><span style="color: red;">1</span></b>:<b><span style="color: red;">1</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> prevTimestamp = curTimestamp;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> counterText = <b><span style="color: darkblue;">strrep</span></b>(<b><span style="color: darkblue;">int2str</span></b>(<b><span style="color: red;">0</span></b>), fileNumberMaxLength) + <b><span style="color: darkblue;">int2str</span></b>(counter);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> filename = curTimestamp + #FileNameSeparatorCharacter + <b><span style="color: darkblue;">substr</span></b>(counterText, <b><span style="color: darkblue;">strlen</span></b>(counterText) - fileNumberMaxLength + <b><span style="color: red;">1</span></b>, fileNumberMaxLength) + #XmlFileExtension;</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> filename;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Here's how generated file may look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File name<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQRLicwpmSnYn28HS4pbcvGMB7dSL0JdrighvHg_jH2OH0da3ojbD5Rx_8IDdre7F082vn88YWLPyGRSdLgRwUG52rk8N03lbjpJDNWfFA4I9YqkXu5tpsC0OALGzYvryboJb3WE2zdSuU/s1600/image037-714934.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQRLicwpmSnYn28HS4pbcvGMB7dSL0JdrighvHg_jH2OH0da3ojbD5Rx_8IDdre7F082vn88YWLPyGRSdLgRwUG52rk8N03lbjpJDNWfFA4I9YqkXu5tpsC0OALGzYvryboJb3WE2zdSuU/s320/image037-714934.png" id="BLOGGER_PHOTO_ID_6009457749650812850" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to consistently generate file with the same name you will have to implement appropriate business logic based on your requirements. In my case for the sake of simplicity I hardcoded file name to be "Alex.txt"<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AifFileSystemSendAdapter.getNewOutFileName method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">private</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> getNewOutFileName()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> filename;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> curTimestamp;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> counterText;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">int</span></b> fileNumberMaxLength = <b><span style="color: red;">5</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="color: green;">// BP Deviation Documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> curTimestamp = fileSystem.GetCurrentTimestamp();<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> counter = (prevTimestamp == curTimestamp)? counter + <b><span style="color: red;">1</span></b>:<b><span style="color: red;">1</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> prevTimestamp = curTimestamp;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> counterText = <b><span style="color: darkblue;">strrep</span></b>(<b><span style="color: darkblue;">int2str</span></b>(<b><span style="color: red;">0</span></b>), fileNumberMaxLength) + <b><span style="color: darkblue;">int2str</span></b>(counter);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> filename = curTimestamp + #FileNameSeparatorCharacter + <b><span style="color: darkblue;">substr</span></b>(counterText, <b><span style="color: darkblue;">strlen</span></b>(counterText) - fileNumberMaxLength + <b><span style="color: red;">1</span></b>, fileNumberMaxLength) + #XmlFileExtension;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> filename = <span style="color: darkred;">"Alex.txt"</span>;</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">return</span></b> filename;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result I can generate a file with needed name<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>File name<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVsw1zYwbq-7-CmfXvbY8iRog7XglcRIrgeFW4LcACBhsuyiyvxp5K0FMvq0u0-7mSL3gIEyGKxSPRk5qelWxkt2BXJHqoDaY1OESQGfJEzQhMuM8l9fyZbY-SfkfhzjsIz-9ot5xzQdUC/s1600/image038-717181.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVsw1zYwbq-7-CmfXvbY8iRog7XglcRIrgeFW4LcACBhsuyiyvxp5K0FMvq0u0-7mSL3gIEyGKxSPRk5qelWxkt2BXJHqoDaY1OESQGfJEzQhMuM8l9fyZbY-SfkfhzjsIz-9ot5xzQdUC/s320/image038-717181.jpg" id="BLOGGER_PHOTO_ID_6009457758779922562" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The only issue you will have to overcome though will be "File already exists" issue when you generate your file over and over again (more than once)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Exceptions<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeA8APWDZlbwK9_pxaubF3ghspRTVxaw6cWYH-qPZBfFb-mPfGM7mvdJmHtH-NO4Ymn810Z8hqGYbhXNqDp_ldYsgcuaJ3hcZx_Z2rJOhNb2d_CkcY0PSt7-y-YL3lfFo25RISIDQBWeI9/s1600/image039-718975.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeA8APWDZlbwK9_pxaubF3ghspRTVxaw6cWYH-qPZBfFb-mPfGM7mvdJmHtH-NO4Ymn810Z8hqGYbhXNqDp_ldYsgcuaJ3hcZx_Z2rJOhNb2d_CkcY0PSt7-y-YL3lfFo25RISIDQBWeI9/s320/image039-718975.jpg" id="BLOGGER_PHOTO_ID_6009457767143565970" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This issue occurs because of exception which gets generated in AifFileSystemSendAdapter.commit method</div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<i>AifFileSystemSendAdapter.commit method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">void</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> commit()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> wipFileName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!adapterIntialized)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS95134"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (outputFileWritten)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">try</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> wipFileName = outputDirectory + currentWipFileName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i> <span style="color: green;">// BP Deviation Documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <span style="background: yellow; mso-highlight: yellow;"> fileSystem.MoveFile(wipFileName, outputDirectory + currentOutputFileName);</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">catch</span></b> (Exception::CLRError)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strfmt</span></b>(<span style="color: darkviolet;">"@SYS95804"</span>, wipFileName, AifUtil::getClrErrorMessage()));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outputFileWritten = <b><span style="color: darkblue;">false</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> currentWipFileName = <span style="color: darkred;">""</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> currentOutputFileName = <span style="color: darkred;">""</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In my example in order to overcome this issue I simply delete an old file if it exists in the folder where I'm going to put a new file <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>AifFileSystemSendAdapter.commit method</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 105%;">void</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> commit()<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">str</span></b> wipFileName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (!adapterIntialized)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS95134"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">if</span></b> (outputFileWritten)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">try</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> wipFileName = outputDirectory + currentWipFileName;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="background: yellow; color: darkblue; mso-highlight: yellow;">if</span></b><span style="background: yellow; mso-highlight: yellow;"> (fileSystem.FindFiles(outputDirectory, currentOutputFileName)) <o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="background: yellow; font-family: Consolas; font-size: 8pt; line-height: 105%; mso-highlight: yellow;"> fileSystem.DeleteFile(outputDirectory + currentOutputFileName);</span><span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <i><span style="color: green;">// BP Deviation Documented</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> fileSystem.MoveFile(wipFileName, outputDirectory + currentOutputFileName);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b><span style="color: darkblue;">catch</span></b> (Exception::CLRError)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> <b> <span style="color: darkblue;">throw</span></b> error(<b><span style="color: darkblue;">strfmt</span></b>(<span style="color: darkviolet;">"@SYS95804"</span>, wipFileName, AifUtil::getClrErrorMessage()));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> outputFileWritten = <b><span style="color: darkblue;">false</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> currentWipFileName = <span style="color: darkred;">""</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> currentOutputFileName = <span style="color: darkred;">""</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt; line-height: 105%;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
At the end I want to discuss XSLT transforms required to convert XML file to CSV file. In the example above I used a dummy XSLT transform which still extracted text from original XML. This happens because XSLT engines use so called built-in templates which automatically find nodes that are not specifically matched by any template rule. These built-in templates automatically find text among other things in the XML source when no explicit template matches that text, that's why I could extract text from XML even without having a meaningful XSLT transform<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Dummy XSLT transform</i></div>
<div class="MsoNormal">
<i><b><span style="color: red;"><o:p></o:p></span></b></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<stylesheet version="1.0" <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
xmlns="http://www.w3.org/1999/XSL/Transform"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<output method="text"/><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</stylesheet><b><span style="color: red;"><o:p></o:p></span></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<b><span style="color: red;"><o:p> </o:p></span></b></div>
<div class="MsoNormal">
<i>Result</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
"{AA4A06AF-0FBE-45AA-A5DE-CFED502922F6}",<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"http://schemas.microsoft.com/dynamics/2008/01/services/AlexService/readEntity"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"1Value 12Value 23Value 3"<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<i><o:p> </o:p></i></div>
<div class="MsoNormal">
Please note that some unnecessary header elements were also extracted into result file<o:p></o:p></div>
<div class="MsoNormal">
Instead you can build a meaningful XSLT transform which will generate you CSV file in expected format<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Manage transforms</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxsHrPUJJJ3d9xo4vt7DSGK7cu1DE4lwPhlgaav9uCcca7uO8_EF2vAx33_l3QLQjYEA_H_rc4baOA8kU3MCL4ncvg07qXBOrTyKTeGGk1d6OrI9PbWv4t32rj_34boLeVwgoV_oOVe0n/s1600/image040-721228.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxsHrPUJJJ3d9xo4vt7DSGK7cu1DE4lwPhlgaav9uCcca7uO8_EF2vAx33_l3QLQjYEA_H_rc4baOA8kU3MCL4ncvg07qXBOrTyKTeGGk1d6OrI9PbWv4t32rj_34boLeVwgoV_oOVe0n/s320/image040-721228.png" id="BLOGGER_PHOTO_ID_6009457771967849682" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For example, the following XSLT transform converts XML file into CSV file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XML Input</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<AlexData><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>1</AlexID> <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 1</AlexName> <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>2</AlexID> <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 2</AlexName><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexID>3</AlexID> <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<AlexName>Value 3</AlexName><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexRecord><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</AlexData><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>XSLT transform</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:stylesheet version="1.0"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:output method="text" encoding="iso-8859-1"/><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:strip-space elements="*" /><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:template match="/*/child::*"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:for-each select="child::*"><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:if test="position() != last()">"<xsl:value-of select="normalize-space(.)"/>", </xsl:if><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<xsl:if test="position() = last()">"<xsl:value-of select="normalize-space(.)"/>"<xsl:text>&#xD;</xsl:text><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</xsl:if><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</xsl:for-each><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</xsl:template><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
</xsl:stylesheet><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>CSV Output</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="margin-bottom: 0in;">
"1", "Value 1"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"2", "Value 2"<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: 0in;">
"3", "Value 3"<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Remark: In this article I used AIF Outbound port and File system adapter to organize data export. Depending on your requirements you can certainly use Web Services as is and implement your own integration client, for example, custom .NET integration client which reads info from Microsoft Dynamics AX 2012 via Inbound port and generates a CSV file. However please note that in this case you will have to implement file generation logic, data logging, XSLT engine interaction, advanced security (if needed) and other functionalities manually, as opposed to using AIF when all of the above comes with the framework <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to implement File Exchange data export integration with Microsoft Dynamics AX 2012 using Web Services and Outbound ports. In particular I contrasted experience you would have when using WCF Custom Web Services and AIF Document Services. I also focused on several important aspects for continuous integration (data export) such as process automation using batch jobs, generation of files with predefined names, etc.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Dynamics ERP, Microsoft Dynamics AX 2012, Integration, File Exchange, Data Export, WCF Custom Services, AIF Document Services, XML, CSV, XSLT.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Call to action:</b> If you liked this article please take a moment to share your experiences and interesting scenarios you came across in comments. This info will definitely help me to pick the right topic to highlight in my future blogs<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com15tag:blogger.com,1999:blog-4565800100410709901.post-33140995642721725092014-03-22T01:53:00.000-07:002014-03-22T02:02:04.374-07:00Rapid Business Apps Development Series – Part 2 (Expression Blend)<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Rapid Business Apps Development Series – Part 2 (Expression Blend)</strong><br />
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this series is to illustrate how to rapidly develop business applications integrated with Microsoft Dynamics AX 2012. In this document we'll focus primarily on User Interface, other documents in this series will cover Web Services and Communication Infrastructure, and more. <br />
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>Often times companies in the world have professional Designers or people who have design skills in staff. These people know how to create a truly amazing User Experiences embracing Windows 8 UX principles and they are usually familiar with some graphical design software packages. The question is how *I* as a Designer can quickly design a modern Windows 8 business app. Say one of typical Manufacturing industry workloads could be for Production Manager who wants to review the list of Production orders to be aware of what's going on while he/she is on the go (away from the desk) inside or outside of facility and potentially take some actions. <o:p></o:p></div>
<div class="MsoNormal">
<b></b><br />
<b>Solution:</b> Microsoft has a variety of Windows 8 Apps integrated with Microsoft Dynamics AX 2012 available in the Store, as well as published a detailed guidance on how to develop secure mobile apps integrated with Microsoft Dynamics AX 2012. In this document I'll look at things from designer perspective who is likely familiar with some graphical design software packages, has knowledge of HTML5/CSS and experience in web design using Expression Blend. In this walkthrough I'll try to be one of those web designers who wants to design a concept modern Windows 8 App for Production Manager described above within less than 1 hour. All I need in this particular case is a PC running Windows 8.1 and Blend for Visual Studio 2013 installed on it. <span lang="EN">You can visually build engaging and sophisticated user interfaces for Windows 8 apps by using the accurate design surface and tools in Blend for Visual Studio.<o:p></o:p></span></div>
<div class="MsoNormal">
<br />
Please note that in this document I assume that the reader has web design skills, has a desire to quickly design modern Windows 8 App for business and will be ready to collaborate with a developer in order to add appropriate business logic when bringing the app to life.<o:p></o:p></div>
<div class="MsoNormal">
<br />
Please find more info about Blend for Visual Studio 2013 here: <a href="http://msdn.microsoft.com/en-us/library/jj171012.aspx">http://msdn.microsoft.com/en-us/library/jj171012.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b><br />
<b>Important:</b> Please note that as I Designer I'll be able to design my app by using Blend for Visual Studio 2013 graphical user interface and only minimally touching HTML/CSS code, and I'll collaborate with developer when it comes to displaying dynamic data or there's a need to work on some complex aspects of User Interface which would require coding. <o:p></o:p></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b></b><br />
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt;"><o:p> </o:p></span></b></div>
<div class="MsoNormal">
Let's begin!<o:p></o:p></div>
<div class="MsoNormal">
<br />
In the previous walkthrough (Part 1) we have defined a business scenario for Production Manager App. <o:p></o:p></div>
<div class="MsoNormal">
<br />
Now since we know what we want to build, we can discuss what we will be using to do that <o:p></o:p></div>
<div class="MsoNormal">
<br />
All I'll be given is Windows 8.1 PC and Blend for Visual Studio 2013 installed.<o:p></o:p></div>
<div class="MsoNormal">
<br />
The idea is to utilize Windows 8 Hub App standard Visual Studio 2013 template and rich visual tools of Blend which will give me a jump start for Production Manager App design. Please note that most of the work I'll do below will be template transformation using rich graphical user interface of Blend. Let's see how far we can get with standard Visual Studio Hub App template and Blend for Visual Studio 2013. My goal is still to do this within less than 1 hour<o:p></o:p></div>
<div class="MsoNormal">
<br />
Let's get to work now<o:p></o:p></div>
<div class="MsoNormal">
<br />
First step will be to create a Project based on Visual Studio 2013 Hub App template<o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Visual Studio 2013 – Hub App<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnRX50VVVfJC2s5RQd2E1lhUK_U0syhh1l0Y4oZabUme4dYX-C5rlrngnh8w6XuaybDVx-txsh2eDvCma8-BMrEfPCy5FHv0o2E-mOlJVxzUDIXiEiLnpdW2uA6OjA8-8BlZbq4oCQX7dh/s1600/image001-755407.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnRX50VVVfJC2s5RQd2E1lhUK_U0syhh1l0Y4oZabUme4dYX-C5rlrngnh8w6XuaybDVx-txsh2eDvCma8-BMrEfPCy5FHv0o2E-mOlJVxzUDIXiEiLnpdW2uA6OjA8-8BlZbq4oCQX7dh/s320/image001-755407.jpg" id="BLOGGER_PHOTO_ID_5993534328783778450" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Hub App template will give me a desired pages structure, navigation and more right away<o:p></o:p></div>
<div class="MsoNormal">
<br />
Let's review what we've already got<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfaZrWRSPG_-__0Lz35InJeDJX0tAE49UjwVfAX9Ui71R11i_dvLXd4tvGF7qdrrW2Jb0Kt1YV6CZ7-9Bk1r_NjuoNP0mTno5visDlrKxF4L8ei0NUHWP3t_2rWqkWPOfxOOJ0EjitZhu/s1600/image002-757572.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfaZrWRSPG_-__0Lz35InJeDJX0tAE49UjwVfAX9Ui71R11i_dvLXd4tvGF7qdrrW2Jb0Kt1YV6CZ7-9Bk1r_NjuoNP0mTno5visDlrKxF4L8ei0NUHWP3t_2rWqkWPOfxOOJ0EjitZhu/s320/image002-757572.png" id="BLOGGER_PHOTO_ID_5993534336011871010" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
For example, this is how our future Overview screen looks like in Blend graphical user interface. Web designers will certainly find themselves at home using Blend user interface.<o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Overview screen (All production orders)<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxFVqHu444BegbJolBc3FZr_4w_zT6alDeKc8LHiuinBqrR6jSmHvgwZ9gfxlTrOS1ZqMyCfNh2ZimAq9jabt9ku2869lUE4weh1_iJX7hSbUyKERZSfSMkLaCeBgS2RktDJw1kzLw831X/s1600/image003-759464.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxFVqHu444BegbJolBc3FZr_4w_zT6alDeKc8LHiuinBqrR6jSmHvgwZ9gfxlTrOS1ZqMyCfNh2ZimAq9jabt9ku2869lUE4weh1_iJX7hSbUyKERZSfSMkLaCeBgS2RktDJw1kzLw831X/s320/image003-759464.jpg" id="BLOGGER_PHOTO_ID_5993534346956978258" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
In Blend you will have access to all possible types of standard HTML and Windows 8 specific WinJS controls <o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Windows App Controls<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr170GJIi7iRRUmpgw4X3EUBinydKYTV8Ez0t0HQyW-LQ7axK7APimkB5h-AJf4mr0J88BSHYMmv0cpsg3qIx2YsqnAO2nLSxREkssBQoeTHqSD1AytCUPN2eyxDc2tk_EpZEz4WY3LsUx/s1600/image004-761995.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr170GJIi7iRRUmpgw4X3EUBinydKYTV8Ez0t0HQyW-LQ7axK7APimkB5h-AJf4mr0J88BSHYMmv0cpsg3qIx2YsqnAO2nLSxREkssBQoeTHqSD1AytCUPN2eyxDc2tk_EpZEz4WY3LsUx/s320/image004-761995.png" id="BLOGGER_PHOTO_ID_5993534357766927506" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>HTML Elements<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6S7QmwNeYVbR69gvqgn8u1k7nEhbFLIj-wljrkzVE4EDj5GG6_6i_2LkrkbR_q8ov52pSNB8Et3atOQVRWTTgW8aConDV995imV10iQ-aMsQfOgZ_hDCv4ZXeY14PpK_ruh24gO4IQJAd/s1600/image005-764840.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6S7QmwNeYVbR69gvqgn8u1k7nEhbFLIj-wljrkzVE4EDj5GG6_6i_2LkrkbR_q8ov52pSNB8Et3atOQVRWTTgW8aConDV995imV10iQ-aMsQfOgZ_hDCv4ZXeY14PpK_ruh24gO4IQJAd/s320/image005-764840.png" id="BLOGGER_PHOTO_ID_5993534366614570610" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Please note that in Blend graphical user interface you can use drag-n-drop, copy and paste, selections of valid values/properties from drop-down lists and other techniques you are used to in graphical design software packages, as well as to have access to HTML/CSS code if necessary <o:p></o:p></div>
<div class="MsoNormal">
<br />
Our first step will be to change the title of our app<o:p></o:p></div>
<div class="MsoNormal">
<br />
In order to do that I will simply double click on text "BlendApp1" on the canvas and change it to "Manufacturing Companion". Please note that underlying HTML code will automatically be changed to which you can immediately observe in hub.html displayed in lower pane of the screen<o:p></o:p></div>
<div class="MsoNormal">
<br />
Now our Overview screen will look like this<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipa9BVeAS8MKUdvUTWa5K_oqsdZ1Mzlp0aa0NkX3gXJ-uJqipxfK3TnO8-Gd7yIYaptZ2o4HahYKhyphenhyphen3xhwZ-wyVqPAxMWhGGZVp7TrEjCjsv9-Vy_zg6yG2LG8PaGqDc3dzFHkUQv3jqzm/s1600/image006-766855.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipa9BVeAS8MKUdvUTWa5K_oqsdZ1Mzlp0aa0NkX3gXJ-uJqipxfK3TnO8-Gd7yIYaptZ2o4HahYKhyphenhyphen3xhwZ-wyVqPAxMWhGGZVp7TrEjCjsv9-Vy_zg6yG2LG8PaGqDc3dzFHkUQv3jqzm/s320/image006-766855.jpg" id="BLOGGER_PHOTO_ID_5993534376646488562" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Next I'd like to change a color schema<o:p></o:p></div>
<div class="MsoNormal">
<br />
In order to do that I'll simply right click on ui-dark.css reference and then change it to ui-light.css using drop-down selection on Edit Style Reference form <o:p></o:p></div>
<div class="MsoNormal">
<br />
Now we got a light color schema which looks better to me<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0nVS-HsPmkXvghJecH0CzqTDDJ8LRFdSUGxr2tkV-O8q0xbcK-OT_tbDWvmvit_FOPZQKUeyxWH8x7K97znv2s2CaIQow6yIqYpbqwrk5z0UbmkbnJ2ixsVn6LbRtYhxYXRVvJOZi3oGg/s1600/image007-769305.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0nVS-HsPmkXvghJecH0CzqTDDJ8LRFdSUGxr2tkV-O8q0xbcK-OT_tbDWvmvit_FOPZQKUeyxWH8x7K97znv2s2CaIQow6yIqYpbqwrk5z0UbmkbnJ2ixsVn6LbRtYhxYXRVvJOZi3oGg/s320/image007-769305.jpg" id="BLOGGER_PHOTO_ID_5993534390499856898" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Next I'll make our app look friendlier and more professional by adding a background image<o:p></o:p></div>
<div class="MsoNormal">
<br />
Here's the image I want to use for my Production Manager App <o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnMY9-xaWcEQFyAAuHZ481nVwQgpHiv-p5mSJF4loFlh-W2qO6Zpfg3AY_FKR7oM3t4sWl92LpYKAd7_dfVhZk2uQ8B6QW5VUdrU6ksdBDtqJq4P8yVkv6Qr0inhf95GajjfqV-V2XB-Zb/s1600/image008-771629.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnMY9-xaWcEQFyAAuHZ481nVwQgpHiv-p5mSJF4loFlh-W2qO6Zpfg3AY_FKR7oM3t4sWl92LpYKAd7_dfVhZk2uQ8B6QW5VUdrU6ksdBDtqJq4P8yVkv6Qr0inhf95GajjfqV-V2XB-Zb/s320/image008-771629.jpg" id="BLOGGER_PHOTO_ID_5993534398131783554" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
I put the file into images folder and add it to the project<o:p></o:p></div>
<div class="MsoNormal">
<br />
Now all I need to do is to change Hero image "background-image: url" property in CSS Properties pane on the right hand side<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhul_3cYwZNWTVQ8CpiWf9XNncpBlfJwU5eMdnGQwiSi8jYr6xqYKeRiuksNhLLWKCd3lA3gvtPKXmbQP1NPu7TQMk55JrAJo4Xx3poJXT7U1URHBMBp1DxKLosxOA4aAw87905AsLQY22I/s1600/image009-773277.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhul_3cYwZNWTVQ8CpiWf9XNncpBlfJwU5eMdnGQwiSi8jYr6xqYKeRiuksNhLLWKCd3lA3gvtPKXmbQP1NPu7TQMk55JrAJo4Xx3poJXT7U1URHBMBp1DxKLosxOA4aAw87905AsLQY22I/s320/image009-773277.jpg" id="BLOGGER_PHOTO_ID_5993534407469284850" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Now our app looks even better<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpeJ4-F1tITSve2DzIGe9eTTLog5kWe3UwJop8_h1-4fK1pRfQSc0gvAA3VoDpncIOM-igjhU1cWGS4YXvPlwqrPTFucPO4x4wUmgX6Lvpyr-atkPPnlStXS-kqljHkze608cfdZHQbzOn/s1600/image010-775374.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpeJ4-F1tITSve2DzIGe9eTTLog5kWe3UwJop8_h1-4fK1pRfQSc0gvAA3VoDpncIOM-igjhU1cWGS4YXvPlwqrPTFucPO4x4wUmgX6Lvpyr-atkPPnlStXS-kqljHkze608cfdZHQbzOn/s320/image010-775374.jpg" id="BLOGGER_PHOTO_ID_5993534416411512322" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Please note that our Overview screen currently looks busy and truly all we need for our app is Section 3. That's why on the next step we're going to simply our template. In order to simplify a template you may want to get rid of some UI elements at all by deleting them, or you may want to comment some UI element out instead. Please note that you can install an add-in for Blend which will allow you to comment/uncomment HTML code using Blend graphical user interface and without touching the code itself. For example, you can use BlendShortcuts add-in available on CodePlex for this purpose: <a href="http://blendshortcuts.codeplex.com/">http://blendshortcuts.codeplex.com/</a><o:p></o:p></div>
<div class="MsoNormal">
<br />
In my case I'll comment out appropriate HTML manually using HTML editor in Blend. Please note that Blend conveniently highlights appropriate block of HTML when you select particular UI element on the canvas which makes Designer life much easier.<o:p></o:p></div>
<div class="MsoNormal">
<br />
Now Overview page looks like what we need<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaL5GEBzE8mgEtyDGhcK4yY1JG5edTW9w0SfspA_iheRAluL5qCRDnwQT4Y1iIna63QXaRDnK5bTvZf6BCFQY9sN5JWdvVEACjtey313vYDpUfLv2Lhl4P-S8Rw_9vpci3jmJ34BJoPaOF/s1600/image011-777395.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaL5GEBzE8mgEtyDGhcK4yY1JG5edTW9w0SfspA_iheRAluL5qCRDnwQT4Y1iIna63QXaRDnK5bTvZf6BCFQY9sN5JWdvVEACjtey313vYDpUfLv2Lhl4P-S8Rw_9vpci3jmJ34BJoPaOF/s320/image011-777395.jpg" id="BLOGGER_PHOTO_ID_5993534423668468866" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Next we'll further modify Hub page<o:p></o:p></div>
<div class="MsoNormal">
<br />
This time we will copy and paste styles from Section to Hub to make it look like we need<o:p></o:p></div>
<div class="MsoNormal">
<br />
Please note that you can copy styles from one CSS document to another, and/or introduce new styles as appropriate using copy and paste technique in Blend <o:p></o:p></div>
<div class="MsoNormal">
<br />
This is how Overview screen looks like right now<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1_wkurr-vS5hVYjyNrPWnnaquPUCPtjmMWYXPMf4c69J-yzvVHG6hK2o-USk3c9MJW5H8RNMp21tWnqQhN0Jhea490WyAAv_iwptg2q5iFoxGXQphDf3D3CBkkp4mvO6K5zELNwjN27IO/s1600/image012-779588.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1_wkurr-vS5hVYjyNrPWnnaquPUCPtjmMWYXPMf4c69J-yzvVHG6hK2o-USk3c9MJW5H8RNMp21tWnqQhN0Jhea490WyAAv_iwptg2q5iFoxGXQphDf3D3CBkkp4mvO6K5zELNwjN27IO/s320/image012-779588.jpg" id="BLOGGER_PHOTO_ID_5993534432618919522" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Just for the reference I'll provide HTML/CSS source code for Hub and Section pages, so we will be able to get an idea about changes we introduced in code <o:p></o:p></div>
<div class="MsoNormal">
<br />
Let's look at how the source code looked like <b><u>Before</u></b> changes<o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Hub.html</i><br />
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">!DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hubPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- WinJS references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/css/default.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/hub/hub.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/js/data.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/hub/hub.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hubpage fragment"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">aria-label</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Header content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">role</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="banner"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.BackButton"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="titlearea win-type-ellipsis"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pagetitle"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Manufacturing Companion</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">aria-label</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Main content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">role</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="main"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hub"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.Hub"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hero"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.HubSection"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="section3"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.UI.HubSection"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-res</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{ winControl: {'header': 'Section3'} }"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-options</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="itemTemplate"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.Binding.Template"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">img</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="#"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="src: backgroundImage; alt: title"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="win-type-medium"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: title"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="win-type-small"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: description"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="itemslist win-selectionstylefilled"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.UI.ListView"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-options</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> selectionMode: 'none',<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemDataSource: select('.pagecontrol').winControl.section3DataSource,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="top-image-row"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="sub-image-row"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Hub.css</i><br />
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header[role=banner]</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">position</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">relative</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">z-index</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section[role=main]</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row-span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">z-index</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-surface</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-high-contrast-adjust</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">none</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-image</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">url(/images/gears.jpg)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-size</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">cover</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-right</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">padding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">780px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero:-ms-lang(ar,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">dv,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">fa,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">he,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ku-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">pa-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">prs,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ps,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sd-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">syr,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ug,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ur,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">qps-plocm)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-right</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">display</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">none</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">420px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.subtext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">7px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">9px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">440px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.item-title</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">4px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.article-header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">15px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">100%</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-5px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-container</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">36px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">229px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">310px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">img</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">150px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">310px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.top-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">260px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.top-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">img</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.sub-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">20px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">display</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flexbox</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flex-flow</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">nowrap</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flex-pack</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">justify</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.sub-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">img</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">95px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">130px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Section.html<o:p></o:p></i><br />
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">!DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sectionPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- WinJS references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/css/default.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/section/section.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/js/data.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/section/section.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- These templates are used to display each item in the ListView declared below. --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="headertemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <h2 class="group-subtitle" data-win-res="{ 'innerHTML': 'SectionSubtitle' }"></h2><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img class="group-image" src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <h4 class="group-description" data-win-bind="innerHTML: description"></h4><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="itemtemplate"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.Binding.Template"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">img</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-image"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="#"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="src: backgroundImage; alt: title"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-info"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-title"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: title"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="win-type-ellipsis"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: subtitle"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-description"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: description"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- The content that will be loaded and displayed. --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="sectionpage fragment"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">aria-label</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Header content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">role</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="banner"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.BackButton"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="titlearea win-type-ellipsis"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pagetitle"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">section</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">aria-label</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Main content"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">role</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="main"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="itemslist win-selectionstylefilled"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">aria-label</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="List of this section's items"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.UI.ListView"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-options</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> selectionMode: 'none',<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> layout: {type: WinJS.UI.GridLayout, groupHeaderPosition: 'left'},<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> currentItem: {type: WinJS.UI.ObjectType.item, index: 0, hasFocus: true}, <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemDataSource: select('.pagecontrol').winControl.itemDataSource,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemTemplate: select('.itemtemplate'),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> oniteminvoked: select('.pagecontrol').winControl.itemInvoked<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> groupDataSource: select('.pagecontrol').winControl.groupDataSource,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> groupHeaderTemplate: select('.headertemplate'),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> --></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">section</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Section.css<o:p></o:p></i><br />
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.sectionpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section[role=main]</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row-span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">100%</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">position</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">relative</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">100%</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">z-index</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">0</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">This selector is used to prevent ui-dark/light.css from overwriting changes<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> to .win-surface.</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">*/</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-horizontal.win-viewport</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-surface</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">35px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">50px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">50px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">128px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-groupheader</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-columns</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-rows</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">auto</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">auto</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">display</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">100%</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">0</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">40px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">padding</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">0</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">480px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-groupheader:-ms-lang(ar,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">dv,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">fa,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">he,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ku-Arab,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">pa-Arab,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">prs,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ps,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">sd-Arab,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">syr,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ug,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ur,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">qps-plocm)</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">40px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">0</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-groupheader</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.group-subtitle</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-row</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">14px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">6px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">max-height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">48pt</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-groupheader</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.group-image</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-row</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">2</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">background-color</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">rgba(147,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">149,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">152,</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1)</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">240px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">0</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">20px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">480px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-groupheader</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.group-description</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-row</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">55px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-container</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">11px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">33px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">33px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">5px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-columns</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">110px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-rows</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">display</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">110px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">padding</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">7px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">480px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-column</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-title</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">4px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">max-height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">20px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-description</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">max-height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">60px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
And this is how the source code looks like <b><u>After</u></b> changes <br />
<o:p></o:p></div>
<div class="MsoNormal">
<i>Hub.html</i><br />
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">!DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hubPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- WinJS references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/css/default.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/hub/hub.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/js/data.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/pages/hub/hub.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hubpage fragment"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">aria-label</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Header content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">role</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="banner"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.BackButton"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">button</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="titlearea win-type-ellipsis"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pagetitle"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Manufacturing Companion</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">span</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">aria-label</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Main content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">role</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="main"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hub"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.Hub"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="hero"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.HubSection"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="section3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.HubSection"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-res</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{ winControl: {'header': 'Section3'} }"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-options</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <div class="itemTemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <img src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <div class="win-type-medium" data-win-bind="textContent: title"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <div class="win-type-small" data-win-bind="textContent: description"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> --></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item</span><span style="background: red; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">T</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">emplate"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.Binding.Template"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">img</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-image"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="#"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="src: backgroundImage; alt: title"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-info"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-title"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: title"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="win-type-ellipsis"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: subtitle"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="item-description"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="textContent: description"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="itemslist win-selectionstylefilled"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-control</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="WinJS.UI.ListView"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">data-win-options</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> selectionMode: 'none',<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> itemDataSource: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">select('.pagecontrol').winControl.section3ItemDataSource,</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemDataSource: select('.pagecontrol').winControl.section3DataSource<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> --></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="top-image-row"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="sub-image-row"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <img src="/images/gray.png" /><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <div class="win-type-small"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </div><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Hub.css<o:p></o:p></i><br />
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">header[role=banner]</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">position</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">relative</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">z-index</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">section[role=main]</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-grid-row-span</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">z-index</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-surface</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-high-contrast-adjust</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">none</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-image</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">url(/images/gears.jpg)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-size</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">cover</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-right</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">padding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">780px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero:-ms-lang(ar,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">dv,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">fa,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">he,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ku-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">pa-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">prs,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ps,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sd-Arab,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">syr,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ug,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ur,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">qps-plocm)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-right</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-80px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hero</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">display</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">none</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">420px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section1</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.subtext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">7px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">9px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">440px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.item-title</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">4px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section2</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.article-header</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">15px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section3</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section3</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.itemslist</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-right</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-5px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.win-container</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-bottom</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">11px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-left</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">33px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-right</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">33px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">5px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-columns</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">110px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">10px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-rows</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">1fr</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">display</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">110px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">padding</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">7px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">480px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-column</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hub</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.section3</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-title</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin-top</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">4px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">max-height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">20px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.sectionpage</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.itemslist</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-info</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.item-description</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">max-height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">60px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.hubpage .hub .section3 .win-container {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> margin-bottom: 36px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> margin-left: 10px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> margin-right: 10px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> .hubpage .hub .section3 .win-item {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> height: 229px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> width: 310px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> .hubpage .hub .section3 .win-item img {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> height: 150px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> margin-bottom: 10px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> width: 310px;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">*/</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.win-hub-section-content</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">overflow-y</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">hidden</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.top-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">260px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">10px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.top-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">img</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100%</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.sub-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-bottom</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">20px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">display</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flexbox</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flex-flow</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">nowrap</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-flex-pack</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">justify</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hubpage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.hub</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.section4</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.sub-image-row</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">img</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">95px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">130px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
For the next step it would be nice to introduce some meaningful demo data. As a Designer my preference would be to create a file with demo data and then give it to developer to embed this into the app. In this case I can fully control how demo data will look like and I'll not need to touch the code. This will be easy to do using JSON file format<o:p></o:p><br />
</div>
<div class="MsoNormal">
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. Please find more info about JSON here: <a href="http://www.json.org/">http://www.json.org/</a><o:p></o:p></div>
<div class="MsoNormal">
<br />
I'll then create data.json file <o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhesto00HChx5DnnSM3bNLA3rdFACOGqFhGMtvh37j5R9ieOqwqCgOnxRRR75L26qoR0J-lQ4RLEzfQU5Lh-f8Nf4zv_SimjLj4LXVfplXEeFxN75PU6MevE8YXKV6ERxHP4auYiy6Rh5pL/s1600/image013-781252.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhesto00HChx5DnnSM3bNLA3rdFACOGqFhGMtvh37j5R9ieOqwqCgOnxRRR75L26qoR0J-lQ4RLEzfQU5Lh-f8Nf4zv_SimjLj4LXVfplXEeFxN75PU6MevE8YXKV6ERxHP4auYiy6Rh5pL/s320/image013-781252.jpg" id="BLOGGER_PHOTO_ID_5993534438705286098" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
And put my demo data in there in key-value pairs in correspondence with JSON format<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXp2ociBQcsuahDa6yTidmGNjq86VgZ8HAuNpNOwrMH-I2MXDhdji5yZCIjmDLOgKaZiJTat_gctedd_Pnw7jC9PJnxAL4_s70TnZgxsphOLWopPD_GGwtGfWtrmWJjXAmEQNnM_VbvKcZ/s1600/image014-783111.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXp2ociBQcsuahDa6yTidmGNjq86VgZ8HAuNpNOwrMH-I2MXDhdji5yZCIjmDLOgKaZiJTat_gctedd_Pnw7jC9PJnxAL4_s70TnZgxsphOLWopPD_GGwtGfWtrmWJjXAmEQNnM_VbvKcZ/s320/image014-783111.jpg" id="BLOGGER_PHOTO_ID_5993534447455155874" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Here's the full listing of my demo data file (data.json) <br />
<o:p> </o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[{ "groupkey": "current", "grouptitle": "Current orders", "groupsubtitle": "Current orders", "groupbackgroundImage": "../../images/gear.png", "description": "Group description", "title": "Production order 101", "subtitle": "Production order 101", "description": "Item description", "content": "Item content", "backgroundImage": "../../images/gear.png" },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{ "groupkey": "current", "grouptitle": "Current orders", "groupsubtitle": "Current orders", "groupbackgroundImage": "../../images/gear.png", "description": "Group description", "title": "Production order 102", "subtitle": "Production order 102", "description": "Item description", "content": "Item content", "backgroundImage": "../../images/gear.png" },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{ "groupkey": "delayed", "grouptitle": "Delayed orders", "groupsubtitle": "Delayed orders", "groupbackgroundImage": "../../images/gear.png", "description": "Group description", "title": "Production order 201", "subtitle": "Production order 201", "description": "Item description", "content": "Item content", "backgroundImage": "../../images/gear.png" },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{ "groupkey": "delayed", "grouptitle": "Delayed orders", "groupsubtitle": "Delayed orders", "groupbackgroundImage": "../../images/gear.png", "description": "Group description", "title": "Production order 202", "subtitle": "Production order 202", "description": "Item description", "content": "Item content", "backgroundImage": "../../images/gear.png" }]</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
After that I'll add this file to the project, so my developer can use it<o:p></o:p><br />
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1luSo9pzQZK2d9vmF3f-EUL_6v6ZzrsiB-xiiWppchTVys3hRh3y7Mn4l3VE-995VvSIGFf5SzISSt3Dq1HuXS1Ftk1GwK-5o9iAVfqHLbGo24Ybmh4Lwpf5F569jLXuXcLoPT1V_kw4_/s1600/image015-785257.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1luSo9pzQZK2d9vmF3f-EUL_6v6ZzrsiB-xiiWppchTVys3hRh3y7Mn4l3VE-995VvSIGFf5SzISSt3Dq1HuXS1Ftk1GwK-5o9iAVfqHLbGo24Ybmh4Lwpf5F569jLXuXcLoPT1V_kw4_/s320/image015-785257.png" id="BLOGGER_PHOTO_ID_5993534455622500210" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
You also noticed that I put "backgroundImage" URL for the product being produced in Production order. So I'll also need to make sure this image is available at the path specified in demo data file. For this purpose I'll add gear image file to images folder <br />
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCUJRVRg9x7yq9NGUyB1Z-kMFmTWkx-g2ifR0BZT0AyAOghi4selOs3GCIfDtgDNK5UCFrAYM1cKTr98EcY45BYh1lZOn9XW-u2i6fEgnH-9KMuQECTwQwHZYrxTlAWwlu2OAWyVg38py/s1600/image016-787621.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnCUJRVRg9x7yq9NGUyB1Z-kMFmTWkx-g2ifR0BZT0AyAOghi4selOs3GCIfDtgDNK5UCFrAYM1cKTr98EcY45BYh1lZOn9XW-u2i6fEgnH-9KMuQECTwQwHZYrxTlAWwlu2OAWyVg38py/s320/image016-787621.jpg" id="BLOGGER_PHOTO_ID_5993534467124714370" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
And subsequently I'll add this file to the project<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlg_qAprV8sH6qu9TmOB582GJ33UZdnkBF0Fsm0HSZ084sUUQvQdWxrUkjSj8LnD3Jz-5wZEO1mOgN1pOSv5PijPRoNO7cWbH-C5KO6Q-BaaVAMm0fudchKVhHkZOKrYSmvRdt61WjBL_-/s1600/image017-789703.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlg_qAprV8sH6qu9TmOB582GJ33UZdnkBF0Fsm0HSZ084sUUQvQdWxrUkjSj8LnD3Jz-5wZEO1mOgN1pOSv5PijPRoNO7cWbH-C5KO6Q-BaaVAMm0fudchKVhHkZOKrYSmvRdt61WjBL_-/s320/image017-789703.png" id="BLOGGER_PHOTO_ID_5993534473754186530" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Now my developer can pick this file up and display the demo data appropriately<o:p></o:p></div>
<div class="MsoNormal">
<br />
The only preparation work we have to do before my developer can programmatically parse demo data file out will be to change data.json file Property Package Action = Content<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXpA7utz6Utxy6Bk44yLTv6N-rxGNBidmyFaCt_TJ4oOE5lnI1_jIvmueRyltnBctCsCO3Qgx6nqtnQeRwHRR2YzvJKButw6KPJqf_L9MTkoakx-idNmN1YNmStuiKkbbPZNS_ddEyIPtU/s1600/image018-792042.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXpA7utz6Utxy6Bk44yLTv6N-rxGNBidmyFaCt_TJ4oOE5lnI1_jIvmueRyltnBctCsCO3Qgx6nqtnQeRwHRR2YzvJKButw6KPJqf_L9MTkoakx-idNmN1YNmStuiKkbbPZNS_ddEyIPtU/s320/image018-792042.png" id="BLOGGER_PHOTO_ID_5993534485535441682" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Now my developer will do the following modifications to data.js file in order to display demo data properly. I'll provide source code below just for your information<o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Data.js</i><br />
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"use strict"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoItems = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> WinJS.Binding.List();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">//var list = new WinJS.Binding.List();</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> list = generateDemoData();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groupedItems = list.createGrouped(<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groupKeySelector(item) { </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item.group.key; },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groupDataSelector(item) { </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item.group; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> );<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> // TODO: Replace the data with your real data.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> // You can add data from asynchronous sources whenever it becomes available.<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> generateSampleData().forEach(function (item) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> list.push(item);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> */</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.Namespace.define(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Data"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> items: groupedItems,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groups: groupedItems.groups,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> getItemReference: getItemReference,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> getItemsFromGroup: getItemsFromGroup,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> resolveGroupReference: resolveGroupReference,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> resolveItemReference: resolveItemReference<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Get a reference for an item, using the group key and item title as a</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// unique reference to the item that can be easily serialized.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> getItemReference(item) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> [item.group.key, item.title];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// This function returns a WinJS.Binding.List containing only the items</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// that belong to the provided group.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> getItemsFromGroup(group) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> list.createFiltered(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (item) { </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item.group.key === group.key; });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Get the unique group corresponding to the provided group key.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> resolveGroupReference(key) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groupedItems.groups.getItemFromKey(key).data;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Get a unique item from the provided string array, which should contain a</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// group key and an item title.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> resolveItemReference(reference) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">for</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> i = 0; i < groupedItems.length; i++) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item = groupedItems.getAt(i);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (item.group.key === reference[0] && item.title === reference[1]) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Returns an array of sample data that can be added to the application's</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// data list. </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> generateSampleData() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> itemContent = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Content"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> itemDescription = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Description"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> groupDescription = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Description"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// These three strings encode placeholder images. You will want to set the</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// backgroundImage property in your real data to be URLs to images.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> darkGray = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY3B0cPoPAANMAcOba1BlAAAAAElFTkSuQmCC"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> lightGray = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY7h4+cp/AAhpA3h+ANDKAAAAAElFTkSuQmCC"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> mediumGray = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY5g8dcZ/AAY/AsAlWFQ+AAAAAElFTkSuQmCC"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Each of these sample groups must have a unique key to be displayed</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// separately.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> sampleGroups = [<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { key: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"group6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Title: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Group Subtitle: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, backgroundImage: darkGray, description: groupDescription }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Each of these sample items should have a reference to a particular</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// group.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> sampleItems = [<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[0], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[0], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[0], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[0], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[0], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[1], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[1], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[1], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[2], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 7"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 7"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[3], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[4], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[4], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[4], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[4], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 2"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 3"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 4"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 5"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 6"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 7"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 7"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { group: sampleGroups[5], title: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Title: 8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, subtitle: </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Item Subtitle: 8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, description: itemDescription, content: itemContent, backgroundImage: lightGray }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> sampleItems;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> objectFindByKey(array, key, value) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">for</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> i = 0; i < array.length; i++) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">if</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (array[i][key] === value) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">return</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> array[i];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">return</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">null</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> generateDemoData() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> WinJS.xhr({ url: </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"data/data.json"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }).then(<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> complete(r) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> orderList = JSON.parse(r.responseText);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoGroups = [];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">for</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> i = 0; i < orderList.length; i++) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoGroup = objectFindByKey(demoGroups, </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">'key'</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, orderList[i].groupkey);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">if</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (demoGroup == </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">null</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoGroup = { key: orderList[i].groupkey, title: orderList[i].grouptitle, subtitle: orderList[i].groupsubtitle, backgroundImage: orderList[i].groupbackgroundImage };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoGroups.push(demoGroup);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoItems.push({ group: demoGroup, title: orderList[i].title, subtitle: orderList[i].subtitle, description: orderList[i].description, content: orderList[i].content, backgroundImage: orderList[i].backgroundImage }); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> error(er)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">//TODO:</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">return</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> demoItems; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">})();<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that in data.json file I provided info about group particular item belongs to with the info about this item, that's why I needed to dynamically compose the list of groups for reuse. In order to simplify this task I introduced objectFindByKey JavaScript function. Ultimately I used WinJS.xhr (XML HTTP Request) to read the info from the file just like I'd read this through a Web Services<o:p></o:p></div>
<div class="MsoNormal">
<br />
Alternatively we could use Windows.Storage.StorageFile.getFileFromApplicationUriAsync method to access the file, and then Windows.Storage.FileIO.readTextAsync method to parse out info which contains a single JSON object definition, or Windows.Storage.FileIO.readLinesAsync method to parse out info which may contains one JSON object per line (for example, group versus item) <o:p></o:p></div>
<div class="MsoNormal">
Before we'll take a look at the result I'll also need to ask my developer to make a necessary adjustment in Hub.js to work with groups data properly <br />
<o:p></o:p></div>
<div class="MsoNormal">
<i>Hub.js</i><br />
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="779"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"use strict"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> nav = WinJS.Navigation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> session = WinJS.Application.sessionState;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> util = WinJS.Utilities;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Get the groups used by the data-bound sections of the Hub.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> var section3Group = Data.resolveGroupReference("group4");<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> var section3Items = Data.getItemsFromGroup(section3Group);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> */</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3Group</span><span style="background: red; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">s</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> = Data.groups;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3Items = Data.items;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.UI.Pages.define(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/pages/hub/hub.html"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> processed: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (element) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">return</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.Resources.processAll(element);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// This function is called whenever a user navigates to this page. It</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// populates the page elements with the app's data.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ready: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (element, options) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> hub = element.querySelector(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">".hub"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">).winControl;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> hub.onheaderinvoked = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> args.detail.section.onheaderinvoked(args);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> hub.onloadingstatechanged = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args.srcElement === hub.element && args.detail.loadingState === </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"complete"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> hub.onloadingstatechanged = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> hub.element.focus();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: Initialize the page here.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">navigateToGroup: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (key) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> nav.navigate(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"/pages/section/section.html"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, { groupKey: key });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> },</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3DataSource: section3Items.dataSource,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> */</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3GroupDataSource: section3Groups.dataSource,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3ItemDataSource: section3Items.dataSource,</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/*<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> section3HeaderNavigate: util.markSupportedForProcessing(function (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> nav.navigate("/pages/section/section.html", { title: args.detail.section.header, groupKey: section3Group.key });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> */</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> section3ItemNavigate: util.markSupportedForProcessing(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> item = Data.getItemReference(section3Items.getAt(args.detail.itemIndex));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> nav.navigate(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"/pages/item/item.html"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, { item: item });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> unload: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: Respond to navigations away from this page.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> updateLayout: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (element) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/// <param name="element" domElement="true" /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: Respond to changes in layout.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> },<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">})();</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now we can take a look at the result<o:p></o:p><br />
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg48Th8x33Ph2un_4FK4UpR1kAGXXpHLeRknCu2dtCL0JKPCVYxzyc1CXPsbZeKcFyA3k_sYQJriLPQY899_Z1s-hYeQ54bk-YHKbum9tM2UInpGk9r7gqjTLJb1CZmh1yweWLg3AZCqB6w/s1600/image019-794506.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg48Th8x33Ph2un_4FK4UpR1kAGXXpHLeRknCu2dtCL0JKPCVYxzyc1CXPsbZeKcFyA3k_sYQJriLPQY899_Z1s-hYeQ54bk-YHKbum9tM2UInpGk9r7gqjTLJb1CZmh1yweWLg3AZCqB6w/s320/image019-794506.jpg" id="BLOGGER_PHOTO_ID_5993534497574664866" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Please note that the challenge when using dynamic demo data (for example, from the file) is that you will not see the data at design time, but only at run time. So it would make sense to use static demo data for design and then switch to dynamic demo data at the end <o:p></o:p></div>
<div class="MsoNormal">
<br />
Next I'll also change the title of the section from "Section 3" to "Production order" to better reflect a nature of the data<o:p></o:p></div>
<div class="MsoNormal">
<br />
In this case section title is defined in resources.resjson file which you can find in strings/en-US folder <br />
as displayed below<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilcXzd6leQsfWz6oWmxBTkWHxtCzbjroBvXliWysuMR7KNVVhuDaZV6oROBlrVVxWacN_jcGPgIL5vNcUsuDlzQTIeUQu7kP-X-oMi20suG3wzX4nYqph2YJLbWsey7r7iYeHr7IfpsQHi/s1600/image020-796608.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilcXzd6leQsfWz6oWmxBTkWHxtCzbjroBvXliWysuMR7KNVVhuDaZV6oROBlrVVxWacN_jcGPgIL5vNcUsuDlzQTIeUQu7kP-X-oMi20suG3wzX4nYqph2YJLbWsey7r7iYeHr7IfpsQHi/s320/image020-796608.jpg" id="BLOGGER_PHOTO_ID_5993534503407651586" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
You can open this file in Blend or simply in Notepad in order to make necessary changes<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZONYWGa9DvUuNzDfnY664FIzFN8K0utcUUFt1uHebE34rrzg5ItnIypcJAFSii2d-YOVqLIOTfJZl-DY5jVDyHTzZzJzegFN5D39_alX0Jm7BbBy4CjPaijIGxnR0Lz_MJ0nLHOKVSF2W/s1600/image021-798648.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZONYWGa9DvUuNzDfnY664FIzFN8K0utcUUFt1uHebE34rrzg5ItnIypcJAFSii2d-YOVqLIOTfJZl-DY5jVDyHTzZzJzegFN5D39_alX0Jm7BbBy4CjPaijIGxnR0Lz_MJ0nLHOKVSF2W/s320/image021-798648.jpg" id="BLOGGER_PHOTO_ID_5993534514821910642" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Please find more info about how to load string resources in Windows 8 Apps here: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh465248.aspx">http://msdn.microsoft.com/en-us/library/windows/apps/hh465248.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Now Overview screen will look like the following at design time<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNEykEWuNY0L35HqeM-Fkj7NVs7FiJc-ASGQUa_ZxfUsT25PfZTI-P5NIo35cFmymQrQzrPbcVmQrgJFolBp7gKMgko1A0Wgp44t9dak9gNq3l3NzM84WnxAOx2zhibrM2XELPYunTDBYx/s1600/image022-700546.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNEykEWuNY0L35HqeM-Fkj7NVs7FiJc-ASGQUa_ZxfUsT25PfZTI-P5NIo35cFmymQrQzrPbcVmQrgJFolBp7gKMgko1A0Wgp44t9dak9gNq3l3NzM84WnxAOx2zhibrM2XELPYunTDBYx/s320/image022-700546.jpg" id="BLOGGER_PHOTO_ID_5993534520850504178" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
And like this at run time. As you can see our dynamic demo data gets properly displayed on Overview screen<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM8R6GQL6YYLo_Pc9Bla97lSn36jXGXj5glC2j9r23rHJdO0WfDqzMO93TrrbXLO10Nx4POt-KqJCrLNkD95ztEAaClKQc5Lba-lmiG-1hGBxnm-1lePVRlbva4t_g3AlUgm5DDnh9nYDL/s1600/image023-702904.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiM8R6GQL6YYLo_Pc9Bla97lSn36jXGXj5glC2j9r23rHJdO0WfDqzMO93TrrbXLO10Nx4POt-KqJCrLNkD95ztEAaClKQc5Lba-lmiG-1hGBxnm-1lePVRlbva4t_g3AlUgm5DDnh9nYDL/s320/image023-702904.jpg" id="BLOGGER_PHOTO_ID_5993534536066462610" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
For Item screen we're going to create design completely from scratch<o:p></o:p></div>
<div class="MsoNormal">
<br />
For this purpose we will use a rich capabilities in Blend which allows you to work with Html attributes (for example, display properties, Grid columns, h2 textContent, etc.), CSS attributes (for example, create CSS classes, etc.), manipulate with image using drag-n-drop technique and more, more, more. I just listed some of the features I used when I was designing Item screen using graphical user interface in Blend <o:p></o:p></div>
<div class="MsoNormal">
<br />
Please note how easy it is to design a page when you have full visibility of all UI elements at real-time when designing and also a full control over all possible properties for these UI elements<o:p></o:p></div>
<div class="MsoNormal">
I'll just provide couple of examples<o:p></o:p></div>
<div class="MsoNormal">
<br />
This is how you can very quickly "drag-n-drop" Item page structure which consists of <article>, number of <div>'s, <image>'s and <h2> tags. In particular I want to highlight how to define design grid structure for the <article>. Please note how I specified "display: -ms-grid;" property for <article> tag in CSS Properties pane on the right hand side <o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguSO4tKjPKTY15-Kn14pzX52AaF_Wi1MA2jbI0J2EHDyucr8u6tK6AfrQ8ODxnLIfE57OEe-FXN14VQITAGahA0mt33pEw8IFCdX5ju66p4rKpbELByM8g_SEP7-WI8rYp-YDSUhPRPcq_/s1600/image024-704473.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguSO4tKjPKTY15-Kn14pzX52AaF_Wi1MA2jbI0J2EHDyucr8u6tK6AfrQ8ODxnLIfE57OEe-FXN14VQITAGahA0mt33pEw8IFCdX5ju66p4rKpbELByM8g_SEP7-WI8rYp-YDSUhPRPcq_/s320/image024-704473.jpg" id="BLOGGER_PHOTO_ID_5993534537414471634" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
For newly created UI elements I also wanted to introduce a dedicated CSS classes which is very easy to do by right-clicking on appropriate UI element and selecting "Add New Class" function<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqTwVLB3Rmt_NZqVDJ87VLaWov9bovJ9A0fcplW_3gpxweq5Pa2pER16b_ymtjFbUcJxNzZepyLNBwZpgkcj_aeR3EHRbiGEH__wTWb-oEo6I_1qpWlWG6xzJyg90d5jwBucI1NDxuIDeD/s1600/image025-707200.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqTwVLB3Rmt_NZqVDJ87VLaWov9bovJ9A0fcplW_3gpxweq5Pa2pER16b_ymtjFbUcJxNzZepyLNBwZpgkcj_aeR3EHRbiGEH__wTWb-oEo6I_1qpWlWG6xzJyg90d5jwBucI1NDxuIDeD/s320/image025-707200.jpg" id="BLOGGER_PHOTO_ID_5993534551843880130" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
And, of course, it is very intuitive to work with HTML Attributes/properties in Blend. For example, this is how I defined labels for sections headers (textContent = Overview) <o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgr4VH7g9_Vg-O4ZcEJ8GynYNun0M0CqYiFNV6BCTPTMcbdrXPqC_qbZ5F7XPK1M1ToEJdxh5QzTRdESeuMb-nfj4ssRSY9Pv6O62bqOEKUmKxdqCUcY975S02yCEYvc-liyOniF30tSju/s1600/image026-709436.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgr4VH7g9_Vg-O4ZcEJ8GynYNun0M0CqYiFNV6BCTPTMcbdrXPqC_qbZ5F7XPK1M1ToEJdxh5QzTRdESeuMb-nfj4ssRSY9Pv6O62bqOEKUmKxdqCUcY975S02yCEYvc-liyOniF30tSju/s320/image026-709436.jpg" id="BLOGGER_PHOTO_ID_5993534560224838690" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
As the result you can very quickly and precisely design Item screen like this<o:p></o:p></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM0SeCjq6X6sfs28EEwxcgOlFO-aO1mXjZKZsQwl5q2-0gJ_eh0VhNxkpmD1usoRaV6h8pBODGkIPScomwkqK3dQO2NESqWhm6AIdRF5xw9vuSDvvzdkG-URx0qjCfGIFv9IVbb3jsUokL/s1600/image027-711688.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM0SeCjq6X6sfs28EEwxcgOlFO-aO1mXjZKZsQwl5q2-0gJ_eh0VhNxkpmD1usoRaV6h8pBODGkIPScomwkqK3dQO2NESqWhm6AIdRF5xw9vuSDvvzdkG-URx0qjCfGIFv9IVbb3jsUokL/s320/image027-711688.jpg" id="BLOGGER_PHOTO_ID_5993534568143091570" /></a><o:p></o:p></div>
<div class="MsoNormal">
<br />
Using Blend Designers can create amazing User Experiences to truly delight people<o:p></o:p></div>
<div class="MsoNormal">
<br />
In conclusion I'll provide an example of modern Concept Windows 8 App built which was built to make Driver's life easier. Imagine that your company manages a fleet of vehicles and assigns delivery tasks to drivers. The typical workload for Driver role would be to review the list of Delivery routes for the day, get info about all the stops on the way and delivery addresses, obtain optimal driving directions using Bing Maps, etc. This concept app is called Driver Companion and it was demonstrated at Convergence 2014 event. I hope this app will be a good inspiration for you to go ahead and build your own beautiful modern Windows 8 apps for business.<o:p></o:p></div>
<div class="MsoNormal">
<i>Driver Companion - Welcome<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgqWvGcPes38XrIRMY4OG8wtnoPObNpq5wx9uYzzTDtSkD7V_RWx7D_sB3oy3bNWt_TwWHLhRveTE-JNioh79x3k0lshR7H7hvXgD0sD9YVUbG_V8C43P3hNrdwG7lN6j1oTSY2IwvA_JZ/s1600/image028-713912.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgqWvGcPes38XrIRMY4OG8wtnoPObNpq5wx9uYzzTDtSkD7V_RWx7D_sB3oy3bNWt_TwWHLhRveTE-JNioh79x3k0lshR7H7hvXgD0sD9YVUbG_V8C43P3hNrdwG7lN6j1oTSY2IwvA_JZ/s320/image028-713912.jpg" id="BLOGGER_PHOTO_ID_5993534581084976754" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Driver Companion – My schedule<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoIYykzTu0NSYHG3AwbfP1aT2Jm-rjSf8_-FUEIfUDdpLorlQDPH73uiHXFAm4d9PJebGDTXXsjpJIEfoApkAnxiJkEfk_2lJCtDQal9pnvNrG74LV3JvZJhPL1Fpu5aBpOKqpXVNEKsW3/s1600/image029-716290.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoIYykzTu0NSYHG3AwbfP1aT2Jm-rjSf8_-FUEIfUDdpLorlQDPH73uiHXFAm4d9PJebGDTXXsjpJIEfoApkAnxiJkEfk_2lJCtDQal9pnvNrG74LV3JvZJhPL1Fpu5aBpOKqpXVNEKsW3/s320/image029-716290.jpg" id="BLOGGER_PHOTO_ID_5993534588828988146" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i><br />
<i>Driver Companion – Bing Maps<o:p></o:p></i></div>
<div class="MsoNormal">
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicFHvrOW86I07bwTgQfAnbIIX_gWBTlpTAWHpUBbYsyyiqCBIS8GjnwB0UH0YoyR2QrcZfeOM-CwELtv8_XfL_lXT4p7WTVc0y9H2Lr_R5iwkhtNz73H8-XV_-7E8rlylxw6XHc0TVx5GB/s1600/image030-718303.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicFHvrOW86I07bwTgQfAnbIIX_gWBTlpTAWHpUBbYsyyiqCBIS8GjnwB0UH0YoyR2QrcZfeOM-CwELtv8_XfL_lXT4p7WTVc0y9H2Lr_R5iwkhtNz73H8-XV_-7E8rlylxw6XHc0TVx5GB/s320/image030-718303.jpg" id="BLOGGER_PHOTO_ID_5993534597168924898" /></a><o:p></o:p></div>
<div class="MsoNormal">
<b></b><br />
<b>Summary:</b> This document describes how use Blend for Visual Studio 2013 to very quickly design a modern Windows 8 App which implements a real-world Manufacturing industry scenario for Production Manager role. I also provided an example of the app for Driver role which was built using rapid business app development technique and the guidance published by Microsoft on how to build Secure Mobile Apps for Microsoft Dynamics AX 2012. <o:p></o:p></div>
<div class="MsoNormal">
<br />
Please find more info about how to build Secure Mobile Apps for Microsoft Dynamics AX 2012 in White Paper here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a> <o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b><br />
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b><br />
<b>Tags:</b> Dynamics ERP, Apps, Windows 8.1, Blend for Visual Studio 2013, HTML5, CSS, Hub App, User Interface, Manufacturing, Production Manager.<o:p></o:p></div>
<div class="MsoNormal">
<b></b><br />
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com2tag:blogger.com,1999:blog-4565800100410709901.post-89392837499102944082014-03-20T15:34:00.001-07:002014-03-20T15:38:20.629-07:00Rapid Business Apps Development Series – Part 3 (Project Siena)<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Rapid Business Apps Development Series – Part 3 (Project Siena)<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this series is to illustrate how to rapidly build business applications integrated with Microsoft Dynamics AX 2012. In this document we'll focus primarily on User Interface, other documents in this series will cover Web Services and Communication Infrastructure, and more. </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>Small and large companies in the world have employees who use IT systems on a daily basis. These people are Users, Power Users, Business Analysts, etc. Often times they don't have development skills or know a little about it. Would it be great if *I*, for example, as a Business Analyst who understands business inside-out were able to quickly build Windows 8 Apps for business? Probably I would demand this experience to be as simple as just to use Microsoft Excel, for example. I this walkthrough we will consider one of Manufacturing industry workloads for Production Manager who wants to review the list of Production orders to be aware of what's going on while he/she is on the go (away from the desk) inside or outside of facility and potentially take some actions. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Microsoft has a variety of Windows 8 Apps integrated with Microsoft Dynamics AX 2012 available in the Store, as well as published a detailed guidance on how to develop secure mobile apps integrated with Microsoft Dynamics AX 2012. In this document I'll look at things from customer perspective who may have people with in depth understanding of the business, but maybe without any development skills. In this walkthrough I'll try to be one of those Business Analysts who wants to develop a concept modern Windows 8 App for Production Manager described above within 10 mins or so. All I need in this particular case is a PC running Windows 8.1 and Project Siena App installed on it. <span style="color: black;">Microsoft Project Siena (code name) is a new technology for business experts and other app imagineers. Now, without any programming, you can create apps that harness the power of corporate data and content, and web services.</span><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in this document I assume that the reader may not have any development skills, but certainly has a desire to quickly build modern Windows 8 App for business.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about Project Siena here: <a href="http://www.microsoft.com/en-us/projectsiena/default.aspx"> http://www.microsoft.com/en-us/projectsiena/default.aspx</a><o:p></o:p></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b></b> </div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt;"><o:p> </o:p></span></b></div>
<div class="MsoNormal">
Let's begin!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In the previous walkthrough (Part 1) we have defined a business scenario for Production Manager App. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now since we know what we want to build, we can discuss what we will be using to do that <o:p></o:p></div>
<div class="MsoNormal">
All I'll be given is Windows 8.1 PC. And in order to start building my App I'll need to install Project Siena App from Windows Store. Please find more info about Project Siena App here: <a href="http://apps.microsoft.com/windows/en-us/app/microsoft-project-siena/5ae47651-e8f3-4e41-aab7-e19ab1b80180"> http://apps.microsoft.com/windows/en-us/app/microsoft-project-siena/5ae47651-e8f3-4e41-aab7-e19ab1b80180</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In Project Siena I as Business Analyst will be able to design screens for my App, define the data to work with and much more. My goal is still to do this within 10 minutes<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's get to work now<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First step will be to launch Project Siena App. The first thing you will see will be a blank Screen 1 inviting you to add your first visual element to the App.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Screen 1 – Add Visual<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1igPQ6e7EIDChwpnkeNCtHYvfU8Is5VAQn5D6ofA1uYOf1vSpbLPtua0Rip_qV927dPzFLCgZ9P72MneHY5sef9eHbiGYRpqLjPAApyzF9Vklwm8y0jJ155-PCdvfFVs_x_OVqC0pJ2Wy/s1600/image001-790516.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1igPQ6e7EIDChwpnkeNCtHYvfU8Is5VAQn5D6ofA1uYOf1vSpbLPtua0Rip_qV927dPzFLCgZ9P72MneHY5sef9eHbiGYRpqLjPAApyzF9Vklwm8y0jJ155-PCdvfFVs_x_OVqC0pJ2Wy/s320/image001-790516.jpg" id="BLOGGER_PHOTO_ID_5993003627292085698" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Project Siena provides a wide range of User Interface controls at your fingertips. You can find everything from a simple text label to camera and video player control. <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Visuals<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtPV5GHspGy-vVtyR8aFTY41L5o_02i2C8yVIz_2zpNQCDCUyzOOKPPmUxv5WF1r8Vf9OmlRpkbrYYdPo3NzFiPfnCGSgPFa6ns4f_aoUu7s4J96j0V0W33XIkyV1YhPKOsM16SpbK3t1r/s1600/image002-793672.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtPV5GHspGy-vVtyR8aFTY41L5o_02i2C8yVIz_2zpNQCDCUyzOOKPPmUxv5WF1r8Vf9OmlRpkbrYYdPo3NzFiPfnCGSgPFa6ns4f_aoUu7s4J96j0V0W33XIkyV1YhPKOsM16SpbK3t1r/s320/image002-793672.png" id="BLOGGER_PHOTO_ID_5993003632552576834" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Project Siena also provides an extended list of Galleries in order to display and work with lists/groups of items<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Galleries<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnNtAqU81TRZL6FcgUSrwT0HOtzK8QlKhMhF_tFgRe_HZ8_0eAv0P_m3Iapq2Egw2E2XpfQFoGz2-02wHfzmR99ti_PlEcN_jqtwEBLTJWj6B0dTcoWvfzzFvRvXYxYKT6-dSXQehw2Zk/s1600/image003-795757.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDnNtAqU81TRZL6FcgUSrwT0HOtzK8QlKhMhF_tFgRe_HZ8_0eAv0P_m3Iapq2Egw2E2XpfQFoGz2-02wHfzmR99ti_PlEcN_jqtwEBLTJWj6B0dTcoWvfzzFvRvXYxYKT6-dSXQehw2Zk/s320/image003-795757.png" id="BLOGGER_PHOTO_ID_5993003643139840338" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As well as a long list of shapes as described below. Please note that among these shapes we also have "Back arrow" and "Next arrow" to facilitate the organization of navigation<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Shapes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii3poFlEPd1Q1hQXneeCgkmIyCf4LZr1RQHa2-NsGhTVlqCkDCHZgnXghXrQsYXtYPYdDaBYavdSbpXct-a8pHLbTjVFKsqrRGFRUwLOwnkz2eWndjI2U_Vf52HmWW5yNtB_8Tys69wPtu/s1600/image004-797679.png"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii3poFlEPd1Q1hQXneeCgkmIyCf4LZr1RQHa2-NsGhTVlqCkDCHZgnXghXrQsYXtYPYdDaBYavdSbpXct-a8pHLbTjVFKsqrRGFRUwLOwnkz2eWndjI2U_Vf52HmWW5yNtB_8Tys69wPtu/s320/image004-797679.png" id="BLOGGER_PHOTO_ID_5993003655132079538" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Before we get to the actual design of the App screen we'll first define our data set. For the sake of simplicity I'll be using Excel file with information about Production orders as described below. In next walkthroughs we'll cover aspects of how to import and export data to/from Microsoft Dynamics AX 2012 in more details.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCNGYpbjoGfaY3ioAiACi6g05xzYwfnLaNO6DVvcAk969geWRkbnHWrcRjMpwAb9oSUAhwjmR2sl5Uy17J4ty1iLrM81gmouZwBfdLM7CXyrqjBfEQNtJ8XVo6yo7xzsJ-780W1luwBnDO/s1600/image005-700229.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCNGYpbjoGfaY3ioAiACi6g05xzYwfnLaNO6DVvcAk969geWRkbnHWrcRjMpwAb9oSUAhwjmR2sl5Uy17J4ty1iLrM81gmouZwBfdLM7CXyrqjBfEQNtJ8XVo6yo7xzsJ-780W1luwBnDO/s320/image005-700229.jpg" id="BLOGGER_PHOTO_ID_5993003665679486418" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I created Excel table which is currently required so Project Siena Importer can import the data into the App<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once Excel file is ready to go we can now Import data into the App using Excel Data Source<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Sources<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs0-N1Oo8AfyYLDSQpplg9cf52kEKKX9lR-YFXfY4JT273qfJDHlSJDqCO33cfrR3y1m4ql5uTQKX7CKFJlcpiFh3rwmWPfn1iXSNt1Ypc1vjOWjheor_OgBGL2IfQ9-aO9XXWvox4fxLm/s1600/image006-701615.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs0-N1Oo8AfyYLDSQpplg9cf52kEKKX9lR-YFXfY4JT273qfJDHlSJDqCO33cfrR3y1m4ql5uTQKX7CKFJlcpiFh3rwmWPfn1iXSNt1Ypc1vjOWjheor_OgBGL2IfQ9-aO9XXWvox4fxLm/s320/image006-701615.jpg" id="BLOGGER_PHOTO_ID_5993003670262575186" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once the data gets imported you can also review it in Project Siena<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Excel tables (Importer)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZ9xy3Drc-HZnOuKKGmYewYj0Rpx6u2JO3L2cWnw8eAGv72wGTJyoWIilm7KFoL4uHwz-eTbXTkbRKOBIEsrhwhOuToqGbVrdn7p6wlCHqa6sJVk3bVnWL7J4ZyeJ97_tbl4dFkUu0gUL/s1600/image007-704057.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUZ9xy3Drc-HZnOuKKGmYewYj0Rpx6u2JO3L2cWnw8eAGv72wGTJyoWIilm7KFoL4uHwz-eTbXTkbRKOBIEsrhwhOuToqGbVrdn7p6wlCHqa6sJVk3bVnWL7J4ZyeJ97_tbl4dFkUu0gUL/s320/image007-704057.jpg" id="BLOGGER_PHOTO_ID_5993003680760265394" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it's time to design screens for our App.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
It is very easy to build the App in Project Siena using its very intuitive drag-n-drop User Interface. So after a few minutes of designing this is what I've got. As you can see I used number of Labels, Image for Hero graphics, Custom Gallery to represent the list of Production orders, and another image and rectangles to design how each list element will look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Manufacturing Companion – Screen 1<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-oe-PQYLVdjtgnFGo5WCsAh2byTu7-fS3O2KEFjcWbrpXTOLHlPgvpl5tuC2H-evGJteQ-i7kAsmmFbozz1jxOzXZOgy_t-kqAxtmiIzYQsVom5GLSbniVOpDhJCn3h8XpG-t521rTv8o/s1600/image008-706325.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-oe-PQYLVdjtgnFGo5WCsAh2byTu7-fS3O2KEFjcWbrpXTOLHlPgvpl5tuC2H-evGJteQ-i7kAsmmFbozz1jxOzXZOgy_t-kqAxtmiIzYQsVom5GLSbniVOpDhJCn3h8XpG-t521rTv8o/s320/image008-706325.jpg" id="BLOGGER_PHOTO_ID_5993003689930249682" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
It will also take me only few minutes to design Screen 2 with the details of selected Production order. In this case I used image in Overview section, 2 Labels as section headers and number of Labels with specifics about Production order<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Manufacturing Companion – Screen 2<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkBXPbrzZaEa8H7H5H1ioGhu_H1pOyTjuhT33O7ZXbMsrc8GKj0zWxmrb8Zrlvnhh5f2oJYYrn7m8KEyGn3Gat9fDlFB5L0bFShflUx0HHsNlZTDsBLqjL_m5_BOvPwnId8iFkyAgN7q9r/s1600/image009-708453.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkBXPbrzZaEa8H7H5H1ioGhu_H1pOyTjuhT33O7ZXbMsrc8GKj0zWxmrb8Zrlvnhh5f2oJYYrn7m8KEyGn3Gat9fDlFB5L0bFShflUx0HHsNlZTDsBLqjL_m5_BOvPwnId8iFkyAgN7q9r/s320/image009-708453.jpg" id="BLOGGER_PHOTO_ID_5993003698635270610" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to implement navigation from Screen 1 to Screen 2 when particular Production order is selected all you need to do is to define OnSelect behavior (in this case I defined it on image object). You typically don't need to type much because Project Siena will try to suggest you appropriate selections depending on the situation (for example, from the drop-down list) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Behavior<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU8rnGmPBKqejs_OKIfEXlhUJ32EnfToC0BU8O5ZV45QVMWnnm57NUPMOacPQWJsd64eL3q6aqtSauR-SK0AUM103TfiCkeDI04JeEZPwjFCS8WoC0iXpQVxOYUopglJwTP4AntzogKqw2/s1600/image010-710879.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU8rnGmPBKqejs_OKIfEXlhUJ32EnfToC0BU8O5ZV45QVMWnnm57NUPMOacPQWJsd64eL3q6aqtSauR-SK0AUM103TfiCkeDI04JeEZPwjFCS8WoC0iXpQVxOYUopglJwTP4AntzogKqw2/s320/image010-710879.jpg" id="BLOGGER_PHOTO_ID_5993003704777213682" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Another typical task would be to take into account a context – selected list element – in order to display appropriate Production order details. This is very easy to do as well by defining Label Text property based on elements of your data set <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Dynamic data<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitN225UWqevlfAajnRJWOKkfCyvolJaHsGBPkrzNIXBz6BnjYnYKLtLYqTBHNinPLX-rMgLY4K534wyU1pB5Sdo4r1Hkhntz8-EPh_SXKZo9JLzzCwmNtHwfJogywty6cK8nBoYs-uAm4P/s1600/image011-713144.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitN225UWqevlfAajnRJWOKkfCyvolJaHsGBPkrzNIXBz6BnjYnYKLtLYqTBHNinPLX-rMgLY4K534wyU1pB5Sdo4r1Hkhntz8-EPh_SXKZo9JLzzCwmNtHwfJogywty6cK8nBoYs-uAm4P/s320/image011-713144.jpg" id="BLOGGER_PHOTO_ID_5993003718746183234" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
There're couple of things left before our App will become operational. One of them is to provide a "Back button" in order to navigate from Production order Details screen back to Production orders List screen. In this case we'll use "Back button" from the list of Shapes. Similar to our previous example we'll override OnSelect behavior by specifying what Screen we have to navigate to <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Navigation (Shapes > Back button)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlTjS_jltpPaF53LgHeNFkBJdbvNm3m596Ueohfpcsw1ioAJGGxmIKC4wu63Nj1uq9BLe-BaYzMEyyNRlZ_Ma5K2R4YQiMi-PaJ4rk-6Stm3WtS46PXa8Dl8kKzXHEiMmGkIqtzEY1Tcdr/s1600/image012-716211.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlTjS_jltpPaF53LgHeNFkBJdbvNm3m596Ueohfpcsw1ioAJGGxmIKC4wu63Nj1uq9BLe-BaYzMEyyNRlZ_Ma5K2R4YQiMi-PaJ4rk-6Stm3WtS46PXa8Dl8kKzXHEiMmGkIqtzEY1Tcdr/s320/image012-716211.jpg" id="BLOGGER_PHOTO_ID_5993003731125313266" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Finally we'll use Excel-like aggregate function to display statistics about how many Production orders we currently have on the screen ("4 Current orders"). For this task we will override Text property of Label control using "CountRows" built-in function<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Statistics <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0KFXyCFNSLMTcxSibUbQpg9NZjqvDed8slxc7G24yr4MHLKUxCUfEmbYcPbkQlK3qhQONnRglonFOtgJJEw8iNTzvBmU5OgGcfHLa85biw7sWHEIr800tOawNjX6t7RrsdKag7l6cTsh-/s1600/image013-717726.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0KFXyCFNSLMTcxSibUbQpg9NZjqvDed8slxc7G24yr4MHLKUxCUfEmbYcPbkQlK3qhQONnRglonFOtgJJEw8iNTzvBmU5OgGcfHLa85biw7sWHEIr800tOawNjX6t7RrsdKag7l6cTsh-/s320/image013-717726.jpg" id="BLOGGER_PHOTO_ID_5993003735656938418" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result within 10 minutes we have our Production Manager App ready!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When you are ready to publish your App you can use File > Publish function which will create a Published Package to use for App installation. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At the end of this walkthrough we'll also review an anatomy of Project Siena artifacts (more from Developer point of View)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Project Siena file contains all info about the structure of you App<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project Siena file (App1) <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2YV4p9b8rEfa9cKovtS-M7Qktx7zQaKSE_xRDoOyS5lLPJ7tZSP7NdTvF_8MVb0Y9_XnXPCcw1hgrRyBPVGtv6mQbsj2qVvDBfqojXhdGC7ebFsGgPnq0vycHa1B3zQs-Jny5LyOyYMyL/s1600/image014-720184.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2YV4p9b8rEfa9cKovtS-M7Qktx7zQaKSE_xRDoOyS5lLPJ7tZSP7NdTvF_8MVb0Y9_XnXPCcw1hgrRyBPVGtv6mQbsj2qVvDBfqojXhdGC7ebFsGgPnq0vycHa1B3zQs-Jny5LyOyYMyL/s320/image014-720184.jpg" id="BLOGGER_PHOTO_ID_5993003748087945842" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After you Publish your App the system will create a PublishedPackage folder which will have a subfolder with all necessary artifacts as well as InstallApp file used to install your App on a target machine<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>PublishedPackage folder<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbZJ84dI6ajOcX8OCuysgUQRCxMg8PPQ_Ms-D79K19XoyBcF3lC50ZJzid6kN36yGcQkrrJOorlFOM5FunfyKycR1Mcu900PMfKas01iiv5qKvw6rmbc5AqP4nGozqoTM4uEDnmLuaEuwK/s1600/image015-721967.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbZJ84dI6ajOcX8OCuysgUQRCxMg8PPQ_Ms-D79K19XoyBcF3lC50ZJzid6kN36yGcQkrrJOorlFOM5FunfyKycR1Mcu900PMfKas01iiv5qKvw6rmbc5AqP4nGozqoTM4uEDnmLuaEuwK/s320/image015-721967.jpg" id="BLOGGER_PHOTO_ID_5993003760351461202" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Here's how a typical contents of Artifacts folder looks like <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SienaApp1 - Artifacts<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR21rAzU9kxPn_hZUp6UApebEYHwMiJkcXSZm131_bx9D69VOU87bBWrmurS7liGclvLsvbJkXO4hPe4CqqmsshnRiqZnMolWvjHvIrFJ5_nCpWpmhfedHW5ViCr2VwE1DX5E6UarIK4my/s1600/image016-724563.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR21rAzU9kxPn_hZUp6UApebEYHwMiJkcXSZm131_bx9D69VOU87bBWrmurS7liGclvLsvbJkXO4hPe4CqqmsshnRiqZnMolWvjHvIrFJ5_nCpWpmhfedHW5ViCr2VwE1DX5E6UarIK4my/s320/image016-724563.jpg" id="BLOGGER_PHOTO_ID_5993003766949039074" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
If we come back to App1 Project Siena file it is an archive which contains a number of files<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App1 - Archive <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PJuS1w3eH4XDDbPB1yXBdGWT8uzpz940l6Gq-2rGjjp1dTkLxwTeD5-G_CFiEiuTeXiLrNthNaDfZQt2Y2lZqcrnmVy-pApiGr2gmt1KIY_dr5MtPJFQKpUkpZGZiNfWnfk4CQKeLo4B/s1600/image017-726198.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_PJuS1w3eH4XDDbPB1yXBdGWT8uzpz940l6Gq-2rGjjp1dTkLxwTeD5-G_CFiEiuTeXiLrNthNaDfZQt2Y2lZqcrnmVy-pApiGr2gmt1KIY_dr5MtPJFQKpUkpZGZiNfWnfk4CQKeLo4B/s320/image017-726198.jpg" id="BLOGGER_PHOTO_ID_5993003776602448242" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For example, Properties.json file contains a general info about your App<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZeWrd8g4c2FIMSWU3XjGGzNAlJVz0b9xwPsNQrMz0m-r7n271gIRzeZGognwDl9EaCHYwACGuifIbhEwJJR2CQ3tD-bSIP3FTzInTt4s2Z8XSp9OTEtrZEpGTz-zYkC-1dsjVKy2ROEjk/s1600/image018-728592.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZeWrd8g4c2FIMSWU3XjGGzNAlJVz0b9xwPsNQrMz0m-r7n271gIRzeZGognwDl9EaCHYwACGuifIbhEwJJR2CQ3tD-bSIP3FTzInTt4s2Z8XSp9OTEtrZEpGTz-zYkC-1dsjVKy2ROEjk/s320/image018-728592.jpg" id="BLOGGER_PHOTO_ID_5993003784804817746" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly InstallApp is another archive which contains a number of files<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>InstallApp<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEholuHOq5PhZLTs4bjLKJ6g-87HSYXW_g_O5oziiwRFXdlLi1ddI28R8aLgTNWG7kboPg7QRM2EVQdBYdghKSFjPMuhI9CYJK-oLB7ZWeoErM-rj7uaZgaKKp1v7oOy9lcsCrVeU8S4UfgH/s1600/image019-730882.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEholuHOq5PhZLTs4bjLKJ6g-87HSYXW_g_O5oziiwRFXdlLi1ddI28R8aLgTNWG7kboPg7QRM2EVQdBYdghKSFjPMuhI9CYJK-oLB7ZWeoErM-rj7uaZgaKKp1v7oOy9lcsCrVeU8S4UfgH/s320/image019-730882.jpg" id="BLOGGER_PHOTO_ID_5993003790988479346" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now you can also compare Project Siena file structure with typical Visual Studio 2013 Windows 8 App file structure in order to see some similarities and differences <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App1 – Visual Studio 2013 Windows 8 HTML5/JavaScript App (1)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPKS8M0yW6YL_hPgNP_MWKO2-iq2Iqe-VgwqNlGQ83ZrZlLPSAAhblh0XO8Xj7FVH0vmzSDILIk0QlYPxii3A28HI8gGG2Z_y6WQeGf5lIYdi-dmdjot36ivW5yi7p92l_kIYeXGlpXBlv/s1600/image020-732639.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPKS8M0yW6YL_hPgNP_MWKO2-iq2Iqe-VgwqNlGQ83ZrZlLPSAAhblh0XO8Xj7FVH0vmzSDILIk0QlYPxii3A28HI8gGG2Z_y6WQeGf5lIYdi-dmdjot36ivW5yi7p92l_kIYeXGlpXBlv/s320/image020-732639.jpg" id="BLOGGER_PHOTO_ID_5993003801666857458" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App1 – Visual Studio 2013 Windows 8 HTML5/JavaScript App (2)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlcH2kAwAkLmJv-z3CTmnoufl__bF4rmnu50HofRv-1nR4leqPXX6dJWXDLcrB_EQY2hwGf4ZqfayK-Pbt3c3aza9Q0JLwHfjbZY-qabgbJFgYgiFVT2rFTHPVG86Puj75-Gy27-XGzs1v/s1600/image021-734824.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlcH2kAwAkLmJv-z3CTmnoufl__bF4rmnu50HofRv-1nR4leqPXX6dJWXDLcrB_EQY2hwGf4ZqfayK-Pbt3c3aza9Q0JLwHfjbZY-qabgbJFgYgiFVT2rFTHPVG86Puj75-Gy27-XGzs1v/s320/image021-734824.jpg" id="BLOGGER_PHOTO_ID_5993003809596533218" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App1 – Visual Studio 2013 Windows 8 HTML5/JavaScript App (3)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqaWLYh2z1QhUPYIgUwON5IEuMmDxbnQCoCf8Y04M22vmvSemxDwKUWuFmNXEdfkQCvbDQRP_GWDCFapmqWGde7lwOfrhbXIPOVjFfPOWPB-7Sz-9BgTlNlGmIYXBEdH_pet7xFVpoNiTj/s1600/image022-746927.jpg"><img alt="" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqaWLYh2z1QhUPYIgUwON5IEuMmDxbnQCoCf8Y04M22vmvSemxDwKUWuFmNXEdfkQCvbDQRP_GWDCFapmqWGde7lwOfrhbXIPOVjFfPOWPB-7Sz-9BgTlNlGmIYXBEdH_pet7xFVpoNiTj/s320/image022-746927.jpg" id="BLOGGER_PHOTO_ID_5993003864192171666" /></a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how Business Analysts and other company Users can use Project Siena App to rapidly build modern Windows 8 App implementing a real-world scenarios. Microsoft Project Siena (code name) is the beta release of a new technology for business experts, business analysts, consultants and other app imagineers. It allows you to create powerful, interactive, device-first and cloud-connected apps in a matter of a few hours – as easily as editing a document. I encourage you to check out other examples of Apps you can build using Project Siena on Channel 9 here: <a href="http://channel9.msdn.com/Blogs/Microsoft-Project-Siena">http://channel9.msdn.com/Blogs/Microsoft-Project-Siena</a><o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Dynamics ERP, Apps, Windows 8.1, Project Siena, HTML5, CSS, JavaScript, User Interface, Manufacturing, Production Manager.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com3tag:blogger.com,1999:blog-4565800100410709901.post-5720486032512909252014-03-16T02:33:00.000-07:002014-03-16T02:34:09.106-07:00Rapid Business Apps Development Series – Part 1 (Visual Studio Templates)<div class="WordSection1"> <div style="mso-element:para-border-div;border:none;border-bottom:solid #5B9BD5 1.0pt;padding:0in 0in 4.0pt 0in"> <p class="MsoTitle" align="center" style="text-align:center">Rapid Business Apps Development Series – Part 1 (Visual Studio Templates)<o:p></o:p></p> </div> <p class="MsoNormal"><b>Purpose: </b>The purpose of this series is to illustrate how to rapidly develop business applications integrated with Microsoft Dynamics AX 2012. In this document we'll focus primarily on User Interface, other documents in this series will cover Web Services and Comminication Infrastructure, and more. <o:p></o:p></p> <p class="MsoNormal"><b>Challenge: </b>Lots of developers in the world enjoy developing Windows 8 Apps for business, as well as lots of organizations in the world enjoy using Windows 8 Apps for business. The question is how quickly *I* can develop a business app. Say one of typical Manufacturing industry workloads could be for Production Manager who wants to review the list of Production orders to be aware of what's going on while he/she is on the go (away from the desk) inside or outside of facility and potentially take some actions. <o:p></o:p></p> <p class="MsoNormal"><b>Solution:</b> Microsoft has a variety of Windows 8 Apps integrated with Microsoft Dynamics AX 2012 available in the Store, as well as published a detailed guidance on how to develop secure mobile apps integrated with Microsoft Dynamics AX 2012. In this document I'll look at things from partner or customer perspective who may have people familiar with HMTL5/JavaScript and web development in house, but maybe never developed Windows 8 Apps before. In this walkthrough I'll try to be one of those web and/or .NET developers who wants to develop a concept modern Windows 8 App for Production Manager described above within 1 hour or so. All I need in this particular case is a PC running Windows 8.1 and Visual Studio 2013 installed on it. In order to very quickly develop a concept modern Windows 8 App I'll leverage Visual Studio Hub template and transform it the way I need to achieve the result. Please note that in this walkthrough I'm playing a Developer role, in other documents in this series I'll explain how Business Users can also quickly create modern Windows 8 Apps using Microsoft technology.<o:p></o:p></p> <p class="MsoNormal">Please note that in this document I assume that the reader has development background, some experience in web development (CSS/HTML/JavaScript) and understanding of the purpose for WinJS libarary.<o:p></o:p></p> <p class="MsoNormal">Please find more info about WinJS here: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx"> http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx</a> <o:p> </o:p></p> <p class="MsoNormal"><b>Important:</b> Before I begin I want to call out the fact that I will provide a lot of source code (CSS/HTML/JavaScript) in this article, however the amount of code I'll actually write by hand will be very minimal because I'll mostly be doing a template transformation. And the reason for providing a source code is solely for your convenience when comparing <b><u>Before</u></b> and <b><u>After</u></b> some changes have been introduced <o:p> </o:p></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;background:white"> <b>Walkthrough<o:p></o:p></b></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;background:white"> <b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></b></p> <p class="MsoNormal">Let's begin with conceptual design of Production Manager App<o:p></o:p></p> <p class="MsoNormal">For this purpose we can use PowerPoint to define 3 main screens for Production Manager App<o:p></o:p></p> <p class="MsoNormal">Overview screen with a list of Production orders <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4sCLM3N-D1eFTVUzlYetkL3J0di2iT4VKInglVs-461LRyBVbLueakfJm_8Qh6RR63GUC4ZjSE7JsNq9SorS8ZNO1EnlUWWjg9SDS4WEFu3w6R_05b6vDK3b06CXt52O41o4lL7uzN5nx/s1600/image001-749124.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4sCLM3N-D1eFTVUzlYetkL3J0di2iT4VKInglVs-461LRyBVbLueakfJm_8Qh6RR63GUC4ZjSE7JsNq9SorS8ZNO1EnlUWWjg9SDS4WEFu3w6R_05b6vDK3b06CXt52O41o4lL7uzN5nx/s320/image001-749124.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318099955965778" /></a><o:p></o:p></p> <p class="MsoNormal">Group screen displaying Production orders for selected group with more details<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjyciU2UP62HovL8K4Ez_a8pLEoqH2rkTFmW9A-lD3HWdhMdSAMitTSN_yS3ldm3GZRN08WKSsq8BN85mh5F2X1_nQqresbAic_pTvzu3u673jS4kSo1koqQSbGDJ1F50gmt3lyH1hiMKd/s1600/image002-751108.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjyciU2UP62HovL8K4Ez_a8pLEoqH2rkTFmW9A-lD3HWdhMdSAMitTSN_yS3ldm3GZRN08WKSsq8BN85mh5F2X1_nQqresbAic_pTvzu3u673jS4kSo1koqQSbGDJ1F50gmt3lyH1hiMKd/s320/image002-751108.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318109780367506" /></a><o:p></o:p></p> <p class="MsoNormal">Production order screen displaying details of selected Production order<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxZjFC_IndGQWloUn0Q6IBpHOEKEBxFJQC6C-ka1zxk6R7gyw5voMO5oAgwXY6yu9p23EfNHt2SNwMwkhV4ioFpiZGSq_cZv31MH1z4bvSpzdmhI1MFJj65j35V_mp4x_G_j8li3rx4LST/s1600/image003-753150.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxZjFC_IndGQWloUn0Q6IBpHOEKEBxFJQC6C-ka1zxk6R7gyw5voMO5oAgwXY6yu9p23EfNHt2SNwMwkhV4ioFpiZGSq_cZv31MH1z4bvSpzdmhI1MFJj65j35V_mp4x_G_j8li3rx4LST/s320/image003-753150.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318115396714514" /></a> <o:p></o:p></p> <p class="MsoNormal">Now since we know what we want to build, we can discuss what we will be using to do that <o:p></o:p></p> <p class="MsoNormal">All I'll be given is Windows 8.1 PC and Visual Studio 2013 installed<o:p></o:p></p> <p class="MsoNormal">The idea is to utilize Windows 8 Hub App standard Visual Studio 2013 template which will give me a jump start for Production Manager App development. Please note that most of the work I'll do below will be template transformation with a minimum new code written. Let's see how far we can get with standard Visual Studio Hub App template. My goal is still to do this within 1 hour<o:p></o:p></p> <p class="MsoNormal">Let's get to work now<o:p></o:p></p> <p class="MsoNormal">First step will be to create a Project based on Visual Studio 2013 Hub App template<o:p></o:p></p> <p class="MsoNormal"><i>Visual Studio 2013 – Hub App<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGGaQMexb6X23vz97rknA2SrwTmv1iExAXNu1HMQFE8MNeCwjnJ65gkwG2PujGKiAh6gQc_9Ae0eTMiuWf6bTeqwgvxLbF1Vc6Sh6OkgdknR-POdhsDt_JUH7Z_UF767Id6KCYcnME8wD1/s1600/image004-755315.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGGaQMexb6X23vz97rknA2SrwTmv1iExAXNu1HMQFE8MNeCwjnJ65gkwG2PujGKiAh6gQc_9Ae0eTMiuWf6bTeqwgvxLbF1Vc6Sh6OkgdknR-POdhsDt_JUH7Z_UF767Id6KCYcnME8wD1/s320/image004-755315.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318125756716994" /></a><o:p></o:p></p> <p class="MsoNormal">Hub App template will give me a desired pages structure, navigation and more right away<o:p></o:p></p> <p class="MsoNormal">Let's review what we've already got<o:p></o:p></p> <p class="MsoNormal"><i>Overview screen (All production orders)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOxCax2C4xCJCnj27XVDpH3mwKarI4oqPX13sRcOUEFfVtMYD94_kHKJ3_HuXYdGYDG6hsl63SRJ1RZVvfdPYQLLJuFYswEKbqi2uInvhCPHvrcYySNYngCg4SLl1N4JWFjotqygz85HjK/s1600/image005-756744.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOxCax2C4xCJCnj27XVDpH3mwKarI4oqPX13sRcOUEFfVtMYD94_kHKJ3_HuXYdGYDG6hsl63SRJ1RZVvfdPYQLLJuFYswEKbqi2uInvhCPHvrcYySNYngCg4SLl1N4JWFjotqygz85HjK/s320/image005-756744.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318129941873394" /></a><o:p></o:p></p> <p class="MsoNormal"><i>Group screen (Group of production orders)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_zpS2Fezpa0yRwBpTuNt09ifDMrz0eDgJR_hJAD2QjxB2tRexYABGsSTpYQnQpGFb0RqaNCA5WBIsIixJyWOcWXLB4BknJFkWm-g0mNsaS6kQziAebcOSz_cFbMYHIr15Xr2WymRwtUES/s1600/image006-758592.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_zpS2Fezpa0yRwBpTuNt09ifDMrz0eDgJR_hJAD2QjxB2tRexYABGsSTpYQnQpGFb0RqaNCA5WBIsIixJyWOcWXLB4BknJFkWm-g0mNsaS6kQziAebcOSz_cFbMYHIr15Xr2WymRwtUES/s320/image006-758592.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318139909630706" /></a><o:p></o:p></p> <p class="MsoNormal"><i>Item screen (Production order)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc3F2ONEVZonYH5-Swen8DGMmR9H1vk7IjyLMH9QPUw5BmrT_P_3MPHwtvBVq2A7WFRNlEs1PCv4ZAOI5WPevZ-puthmrrJve8-FHd1VxsjCzX5CMC87MtfBzpNsYATYfgAhZuBOdpt03p/s1600/image007-760027.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc3F2ONEVZonYH5-Swen8DGMmR9H1vk7IjyLMH9QPUw5BmrT_P_3MPHwtvBVq2A7WFRNlEs1PCv4ZAOI5WPevZ-puthmrrJve8-FHd1VxsjCzX5CMC87MtfBzpNsYATYfgAhZuBOdpt03p/s320/image007-760027.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318147995282530" /></a><o:p></o:p></p> <p class="MsoNormal">Please note that Item screen in Hub App template is empty. Item screen is also empty in Visual Studio 2013 Grid App template <o:p></o:p></p> <p class="MsoNormal"><i>Visual Studio 2013 – Grid App<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtn78mBX7bLNJ_8VVynLd826uV4VyAibp0NyvscL5cdrkSNkTalteMAtUHM7ZACNbcwgNa4Up86RjtL0jAm1ike4Uz3Jg6W6mU-TuFgEG6kzhShdtmZMUkSmHoQbrD2hk-z09PzzdTWEhl/s1600/image008-761441.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtn78mBX7bLNJ_8VVynLd826uV4VyAibp0NyvscL5cdrkSNkTalteMAtUHM7ZACNbcwgNa4Up86RjtL0jAm1ike4Uz3Jg6W6mU-TuFgEG6kzhShdtmZMUkSmHoQbrD2hk-z09PzzdTWEhl/s320/image008-761441.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318150299510098" /></a><o:p></o:p></p> <p class="MsoNormal">However I know that Item screen has non-empty layout in Visual Studio 2012 – Grid App template<o:p></o:p></p> <p class="MsoNormal"><i>Visual Studio 2012 – Grid App (Overview screen)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjekj7KA9aVjBROQ5_FbIQzdMbntAO24iYOHgZXiKmsnVBAcVSBLVYPw3qc0CWyy9Ij2_ei670CMZvH0ViSYMNEzPxt7QwBgsw3gW3VnHlhw1Lg6h7x-vvzsQyFJzt7yZyPmmjPPNdlmUJs/s1600/image009-763220.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjekj7KA9aVjBROQ5_FbIQzdMbntAO24iYOHgZXiKmsnVBAcVSBLVYPw3qc0CWyy9Ij2_ei670CMZvH0ViSYMNEzPxt7QwBgsw3gW3VnHlhw1Lg6h7x-vvzsQyFJzt7yZyPmmjPPNdlmUJs/s320/image009-763220.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318159825311330" /></a><o:p></o:p></p> <p class="MsoNormal"><i>Visual Studio 2012 – Grid App (Group screen)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNtZXF6W-ADbG4F0zK_xcM0RcsXbHQ10ZBc_-KS5lXc2rk-2kNGM2GktOHfflw7lAaOfMKlCHpT7L9bLTQPkt65UPIXMd0MhYCbm1gU8ATP02zrSPl9GeVshxZOC2sQgMWyzrBHLkesjE6/s1600/image010-765013.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNtZXF6W-ADbG4F0zK_xcM0RcsXbHQ10ZBc_-KS5lXc2rk-2kNGM2GktOHfflw7lAaOfMKlCHpT7L9bLTQPkt65UPIXMd0MhYCbm1gU8ATP02zrSPl9GeVshxZOC2sQgMWyzrBHLkesjE6/s320/image010-765013.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318167927822370" /></a><o:p></o:p></p> <p class="MsoNormal"><i>Visual Studio 2012 – Grid App (Item screen)<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8xhL6z4FwuftiYhSMKrxGSRKHb9jtTy7Mg87We85qQQYk3JJe6GydSQr-whrqpOyrCwAi90qPPuxzUd5YQR1dYEgWbgSswSdJJ813bS7mGMdVLGte3pyuvJh1J6YwOMGLsBFV7J-egaj/s1600/image011-766524.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8xhL6z4FwuftiYhSMKrxGSRKHb9jtTy7Mg87We85qQQYk3JJe6GydSQr-whrqpOyrCwAi90qPPuxzUd5YQR1dYEgWbgSswSdJJ813bS7mGMdVLGte3pyuvJh1J6YwOMGLsBFV7J-egaj/s320/image011-766524.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318173213508082" /></a><o:p></o:p></p> <p class="MsoNormal">So in order to have some initial layout for Item screen I'll borrow the source code for Item screen from Visual Studio 2012 Grid App template into my Visual Studio 2013 Hub App project<o:p></o:p></p> <p class="MsoNormal">All I have to do now is Copy-and-Paste contents of ItemDetail folder from Visual Studio 2012 Grid App into my project <o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="390" valign="top" style="width:233.75pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> Visual Studio 2013 Hub App<o:p></o:p></p> </td> <td width="390" valign="top" style="width:233.75pt;border:solid windowtext 1.0pt;border-left:none;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> Visual Studio 2012 Grid App<o:p></o:p></p> </td> </tr> <tr> <td width="390" valign="top" style="width:233.75pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6IOtvkqLDRLDqTPxHk9APY5K0rW7Ajg9iz0T-onyq2ozOs3o_c95xVhYOkGsRyAZv5oM7Wd9RF-5jzXk_kYy1mXVPHaqT9L7-W0fZVH_QvGyIqsQCKbViywBZJd2CiGmXUZoeKhl029-/s1600/image012-768349.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6IOtvkqLDRLDqTPxHk9APY5K0rW7Ajg9iz0T-onyq2ozOs3o_c95xVhYOkGsRyAZv5oM7Wd9RF-5jzXk_kYy1mXVPHaqT9L7-W0fZVH_QvGyIqsQCKbViywBZJd2CiGmXUZoeKhl029-/s320/image012-768349.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318182909220114" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1456442384"> </o:OLEObject> </xml><![endif]--><o:p></o:p></p> </td> <td width="390" valign="top" style="width:233.75pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI6Soz-B8Up6bZy3zGkN_uiZo6QD2M2tIfEibRIWo5MnIJUaGNCQXAPPh25CureRgEAF3NSEFyfzHIb_RTEecix_Lx5cqvzVt97XLKnMdkCtwDonznFQFDOJd3BDU80WXPyh9Wjcb_Ov2o/s1600/image013-770068.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI6Soz-B8Up6bZy3zGkN_uiZo6QD2M2tIfEibRIWo5MnIJUaGNCQXAPPh25CureRgEAF3NSEFyfzHIb_RTEecix_Lx5cqvzVt97XLKnMdkCtwDonznFQFDOJd3BDU80WXPyh9Wjcb_Ov2o/s320/image013-770068.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318191703992082" /></a><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="PBrush" ShapeID="_x0000_i1026" DrawAspect="Content" ObjectID="_1456442385"> </o:OLEObject> </xml><![endif]--><o:p></o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Just for your information this is how Item page source code looks like in 2 projects <o:p></o:p></p> <p class="MsoNormal">Item.css<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Item.html<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">itemPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-dark.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itempage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- TODO: Content goes here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Item.js<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.resolveItemReference(options.item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Initialize the page here.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">ItemDetail.css<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">block</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a multi-column, horizontally scrolling article by default.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-fill</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-gap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">calc(100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">183px)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">133px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">19px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-subtitle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">16px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">240px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">460px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">p</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">snapped)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a single column, vertically scrolling article in snapped mode.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">300px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">140px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">fullscreen-portrait)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemdetailpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">ItemDetail.html<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">itemDetailPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.1.0/css/ui-dark.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.1.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.1.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/itemDetail/itemDetail.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/itemDetail/itemDetail.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemdetailpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="win-backbutton"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Back"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">disabled</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">type</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="button"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-content"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">ItemDetail.js<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/itemDetail/itemDetail.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = options && options.item ? Data.resolveItemReference(options.item) : Data.items.getAt(0);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.group.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-subtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).src = item.backgroundImage;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).alt = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).innerHTML = item.content;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">After I copy the source code for Item page from Visual Studio 2012 Grid App into my project I'll have to correct the code appropriately <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXC8f_hG3AhSzYV9nYBkgA8TB4ObkFqUZSPdYs5Elk3aWzA1bgDKhUi9usBeKe1hmV87DgfDbLViR1wWo03WFe5RBvIhWCKTzWkRzR6M94aEj23pKkIs_8diHGj-Ktsu4u-yHIINyl8QSL/s1600/image014-771442.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXC8f_hG3AhSzYV9nYBkgA8TB4ObkFqUZSPdYs5Elk3aWzA1bgDKhUi9usBeKe1hmV87DgfDbLViR1wWo03WFe5RBvIhWCKTzWkRzR6M94aEj23pKkIs_8diHGj-Ktsu4u-yHIINyl8QSL/s320/image014-771442.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318195288561042" /></a><o:p></o:p></p> <p class="MsoNormal">In particular I'll simply replace (Ctrl+H) "itemdetailpage" with "itempage" in Item.css<o:p></o:p></p> <p class="MsoNormal"><i>Item.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">block</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a multi-column, horizontally scrolling article by default.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-fill</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-gap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">calc(100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">183px)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">133px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">19px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-subtitle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">16px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">240px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">460px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">p</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">snapped)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a single column, vertically scrolling article in snapped mode.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">300px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">140px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">fullscreen-portrait)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Also I will merge code (copy-and-paste) into Item.html and add <article> tag as shown below<o:p></o:p></p> <p class="MsoNormal"><i>Item.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">itemPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-dark.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itempage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-content"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Similarly I will merge code (copy-and-paste) in Item.js<o:p></o:p></p> <p class="MsoNormal"><i>Item.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.resolveItemReference(options.item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-subtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).src = item.backgroundImage;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).alt = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).innerHTML = item.content;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">".content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).focus();</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">The next step will be to change the title of our app<o:p></o:p></p> <p class="MsoNormal">In order to do that I will modify default.html, hub.html and package.appxmanifest replacing (Ctrl+H) "App1" with "Manufacturing Companion"<o:p></o:p></p> <p class="MsoNormal">Now our Overview screen will look like this<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvvquVe-oGoGs0W3lcl13PwDXurV4Rm3FXimvwMN5pxnuTNpgSaBvlXRizrR4HaskuSW7ZqoMZNnHVNK0TmPduO6Ujs_YxDXaJ_RcCtKXeOJjHM4t0OYxI6R95qKBnzWGLLptuSExBachm/s1600/image015-773638.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvvquVe-oGoGs0W3lcl13PwDXurV4Rm3FXimvwMN5pxnuTNpgSaBvlXRizrR4HaskuSW7ZqoMZNnHVNK0TmPduO6Ujs_YxDXaJ_RcCtKXeOJjHM4t0OYxI6R95qKBnzWGLLptuSExBachm/s320/image015-773638.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318201594852706" /></a><o:p></o:p></p> <p class="MsoNormal">Next I'd like to change a color schema<o:p></o:p></p> <p class="MsoNormal">In order to do that I'll modify default.html, hub.html, item.html and section.html replacing "<span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:blue;background:white;mso-highlight:white">ui-dark.css</span>" to "<span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:blue;background:white;mso-highlight:white">ui-light.css</span>"<o:p></o:p></p> <p class="MsoNormal">Now we got a light color schema which looks better to me<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDS6Qytq_xQMsOfnizfhz-D8dnSxCPLykfRqnk8WIFegc_CEHkyQZ_Kt8BF5aYKa2WKJKLBj7_syqVE87R8KSyv_kd7D8he2Uafy5yc3oTXKZywjhSSr0u9MNf7CEbXD14SUhEDC79jMCr/s1600/image016-775176.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDS6Qytq_xQMsOfnizfhz-D8dnSxCPLykfRqnk8WIFegc_CEHkyQZ_Kt8BF5aYKa2WKJKLBj7_syqVE87R8KSyv_kd7D8he2Uafy5yc3oTXKZywjhSSr0u9MNf7CEbXD14SUhEDC79jMCr/s320/image016-775176.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318212850611682" /></a><o:p></o:p></p> <p class="MsoNormal">Next I'll make our app look friendlier and more professional by adding a background image<o:p></o:p></p> <p class="MsoNormal">Here's the image I want to use for my Production Manager App <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEV03CHcqmWYjhC6Ef6zlTyPOV8QRCZPaV6ERo_4fx54BifwU658lbW_AX-NL0D-N6sT7Zi2pXERsefvHwZ-oGjAKaAD3QaA9mrKPPNO6c8ByzceqrdhR_KMGjNES3Gg77xoG5lLmj_Y04/s1600/image017-777183.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEV03CHcqmWYjhC6Ef6zlTyPOV8QRCZPaV6ERo_4fx54BifwU658lbW_AX-NL0D-N6sT7Zi2pXERsefvHwZ-oGjAKaAD3QaA9mrKPPNO6c8ByzceqrdhR_KMGjNES3Gg77xoG5lLmj_Y04/s320/image017-777183.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318218050585858" /></a><o:p></o:p></p> <p class="MsoNormal">Please note that I purchased rights to use this background image from one of digital images providers. Then I put the file into images folder<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3wUokEQZeJds2tSFN-wy6Nv6zogL-KQY8FFrZGfpAIOjlv4ZXhafTKIJvXOX8Tod860mNA3zJnPqH-TDBRXm44of8VLKPvENZQnGub0sQW8blOmd2muQUvZFtCv69dZa_GtsV27m6aa1S/s1600/image018-779023.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3wUokEQZeJds2tSFN-wy6Nv6zogL-KQY8FFrZGfpAIOjlv4ZXhafTKIJvXOX8Tod860mNA3zJnPqH-TDBRXm44of8VLKPvENZQnGub0sQW8blOmd2muQUvZFtCv69dZa_GtsV27m6aa1S/s320/image018-779023.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318226520715090" /></a><o:p></o:p></p> <p class="MsoNormal">And add it to the project<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn6iPH3EviyFxA55CuIdev6L06IlhDWZ35X2ED06UzzwsLPnIiAufva0Td24464KWBknPuTOIR69Q41xPKr5CsDHZyxsVZP31ZA7i6u59jjGswnSi466BgzyoxDplDBNH1BG9BObWbOwS4/s1600/image019-780442.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn6iPH3EviyFxA55CuIdev6L06IlhDWZ35X2ED06UzzwsLPnIiAufva0Td24464KWBknPuTOIR69Q41xPKr5CsDHZyxsVZP31ZA7i6u59jjGswnSi466BgzyoxDplDBNH1BG9BObWbOwS4/s320/image019-780442.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318232977833330" /></a><o:p></o:p></p> <p class="MsoNormal">Now all I need to do is to replace "background-image: url" property in Hub.css<o:p></o:p></p> <p class="MsoNormal">Hub.css (Before) <o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> …<o:p></o:p></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-high-contrast-adjust</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">background-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">url(/images/gray.png)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-size</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">cover</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">780px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}</span><o:p></o:p></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> …<o:p></o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Hub.css (After)<o:p></o:p></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> …<o:p></o:p></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-high-contrast-adjust</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">background-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">url(/images/gears.jpg)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-size</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">cover</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">780px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}</span><o:p></o:p></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> …<o:p></o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now our app looks even better<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE-xPcN3a1zJqtJuLwGF88dhsgg0mYR-Rjs-q6dH4x8kaVOhMRXAZmOkQV-nhKH36K1EyYifl_GyAKjiXnFV_A6IzThnQJOw72AuyZuRnZiG1S9-rhYKsRGrt0yyXLRsN8fi90A2E2mo5r/s1600/image020-782582.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE-xPcN3a1zJqtJuLwGF88dhsgg0mYR-Rjs-q6dH4x8kaVOhMRXAZmOkQV-nhKH36K1EyYifl_GyAKjiXnFV_A6IzThnQJOw72AuyZuRnZiG1S9-rhYKsRGrt0yyXLRsN8fi90A2E2mo5r/s320/image020-782582.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318241301153154" /></a><o:p></o:p></p> <p class="MsoNormal">Please note that our Overview screen currently looks busy and truly all we need for our app is Section 3. That's why on the next step we're going to simply our template<o:p></o:p></p> <p class="MsoNormal">Let's dive into the code more!<o:p></o:p></p> <p class="MsoNormal">In order to simplify Hub page I will simply comment out unwanted Sections 1, 2 and 4<o:p></o:p></p> <p class="MsoNormal"><i>Hub.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">hubPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hubpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.Hub"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hero"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-res</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ winControl: {'header': 'Section3'} }"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="win-type-medium"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="win-type-small"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.section3DataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="top-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="sub-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal">Now it looks like this is what we need<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLPHKA2YIBwQt68eslPsMKYveYlVQiSKsRbvuSdVdkC7wuEi-hhrybhwRx-d-TYztIQYixHK3vuIULXVas9HlPQE9ZmS1lseMHVJ8XW_wCzEjrWzanXUKiW_1Xg4Jrr3nnMZdp7s9qPjMq/s1600/image021-784429.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLPHKA2YIBwQt68eslPsMKYveYlVQiSKsRbvuSdVdkC7wuEi-hhrybhwRx-d-TYztIQYixHK3vuIULXVas9HlPQE9ZmS1lseMHVJ8XW_wCzEjrWzanXUKiW_1Xg4Jrr3nnMZdp7s9qPjMq/s320/image021-784429.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318251221147170" /></a><o:p></o:p></p> <p class="MsoNormal">Now it is time to simplify Section page<o:p></o:p></p> <p class="MsoNormal">In order to do that I'll also comment out appropriate code in HTML and get rid of "headerTemplate" and "groupDataSource"<o:p></o:p></p> <p class="MsoNormal"><i>Section.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">sectionPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- These templates are used to display each item in the ListView declared below. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="headertemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h2 class="group-subtitle" data-win-res="{ 'innerHTML': 'SectionSubtitle' }"></h2><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img class="group-image" src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="group-description" data-win-bind="innerHTML: description"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemtemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="win-type-ellipsis"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="sectionpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="List of this section's items"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout, groupHeaderPosition: 'left'},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> currentItem: {type: WinJS.UI.ObjectType.item, index: 0, hasFocus: true}, <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.itemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.itemtemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.itemInvoked<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupDataSource: select('.pagecontrol').winControl.groupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupHeaderTemplate: select('.headertemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now I don't use "groupDataSource" so I'll also need to comment it out in JavaScript<o:p></o:p></p> <p class="MsoNormal"><i>Section.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ui = WinJS.UI;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ui.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/section/section.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/// <field type="WinJS.Binding.List" /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> _items: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">null</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> processed: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Resources.processAll(element);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called to initialize the page.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> init: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group = Data.resolveGroupReference(options.groupKey);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items = Data.getItemsFromGroup(group);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> pageList = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">//this.groupDataSource = pageList.groups.dataSource;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.itemDataSource = pageList.dataSource;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.itemInvoked = ui.eventHandler(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._itemInvoked.bind(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">));<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"header[role=banner] .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = options.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> listView = element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".itemslist"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).winControl;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> listView.element.focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> unload: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.dispose();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function updates the page layout in response to layout changes.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> updateLayout: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/// <param name="element" domElement="true" /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Respond to changes in layout.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> _itemInvoked: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.getAt(args.detail.itemIndex);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Navigation.navigate(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, { item: Data.getItemReference(item) });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now our Group screen looks like this <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6oEvTMubRmZLFRH13g7Eoj2D4GCAcbR-P0R3huBsbjxZpP-8-Wq1HgjYzxY4rFOzg14Sr1U8dHm9pCqXCA6DdJaOU1AuYM9MbEUwDA2SG80SEjV964___dfdEGuHKGuDbs9szOJFnnVKh/s1600/image022-785975.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6oEvTMubRmZLFRH13g7Eoj2D4GCAcbR-P0R3huBsbjxZpP-8-Wq1HgjYzxY4rFOzg14Sr1U8dHm9pCqXCA6DdJaOU1AuYM9MbEUwDA2SG80SEjV964___dfdEGuHKGuDbs9szOJFnnVKh/s320/image022-785975.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318257997462178" /></a><o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Next we'll further modify Hub page<o:p></o:p></p> <p class="MsoNormal">This time we will copy and paste code from Section to Hub to make it look like we need<o:p></o:p></p> <p class="MsoNormal">Let's look at how the source code looked like <b><u>Before</u></b> changes<o:p></o:p></p> <p class="MsoNormal"><i>Hub.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">hubPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hubpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.Hub"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hero"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.UI.HubSection"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-res</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{ winControl: {'header': 'Section3'} }"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="itemTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="win-type-medium"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="win-type-small"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> itemDataSource: select('.pagecontrol').winControl.section3DataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="top-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="sub-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Hub.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header[role=banner]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section[role=main]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-surface</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-high-contrast-adjust</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">url(/images/gears.jpg)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-size</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">cover</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">780px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero:-ms-lang(ar,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">dv,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">fa,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">he,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ku-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">pa-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">prs,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ps,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">sd-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">syr,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ug,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ur,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">qps-plocm)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">420px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.subtext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">9px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">440px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">4px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.article-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">15px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-container</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">36px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">229px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">310px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">150px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">310px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">260px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-flexbox</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-flow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">nowrap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-pack</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">justify</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">95px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">130px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Section.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">sectionPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- These templates are used to display each item in the ListView declared below. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="headertemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <h2 class="group-subtitle" data-win-res="{ 'innerHTML': 'SectionSubtitle' }"></h2><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img class="group-image" src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <h4 class="group-description" data-win-bind="innerHTML: description"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="itemtemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="win-type-ellipsis"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="sectionpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="List of this section's items"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> layout: {type: WinJS.UI.GridLayout, groupHeaderPosition: 'left'},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> currentItem: {type: WinJS.UI.ObjectType.item, index: 0, hasFocus: true}, <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> itemDataSource: select('.pagecontrol').winControl.itemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> itemTemplate: select('.itemtemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> oniteminvoked: select('.pagecontrol').winControl.itemInvoked<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupDataSource: select('.pagecontrol').winControl.groupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupHeaderTemplate: select('.headertemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Section.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section[role=main]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">This selector is used to prevent ui-dark/light.css from overwriting changes<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> to .win-surface.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-horizontal.win-viewport</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-surface</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">35px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">50px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">50px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">128px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">40px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-groupheader:-ms-lang(ar,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">dv,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">fa,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">he,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">ku-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">pa-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">prs,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">ps,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">sd-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">syr,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">ug,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">ur,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">qps-plocm)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">40px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.group-subtitle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">14px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">48pt</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.group-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">background-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">rgba(147,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">149,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">152,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">240px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.group-description</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">55px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-container</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">11px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">4px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-description</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">And this is how the source code looks like <b><u>After</u></b> changes <o:p></o:p></p> <p class="MsoNormal"><i>Hub.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">hubPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hubpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.Hub"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hero"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-res</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ winControl: {'header': 'Section3'} }"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="itemTemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-medium" data-win-bind="textContent: title"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="win-type-small" data-win-bind="textContent: description"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:red;mso-highlight:red">T</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">emplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="win-type-ellipsis"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.section3DataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="top-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="sub-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Hub.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header[role=banner]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section[role=main]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-surface</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-high-contrast-adjust</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">url(/images/gears.jpg)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-size</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">cover</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">780px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero:-ms-lang(ar,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">dv,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">fa,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">he,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ku-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">pa-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">prs,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ps,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">sd-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">syr,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ug,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ur,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">qps-plocm)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">420px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.subtext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">9px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">440px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">4px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.article-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">15px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.win-container</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">11px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">4px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-description</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">.hubpage .hub .section3 .win-container {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-bottom: 36px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-left: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-right: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .hubpage .hub .section3 .win-item {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> height: 229px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> width: 310px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .hubpage .hub .section3 .win-item img {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> height: 150px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-bottom: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> width: 310px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">260px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-flexbox</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-flow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">nowrap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-pack</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">justify</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">95px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">130px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">This is how Overview screen looks like right now<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0hvUZmuJvYOQ0y7mksTf7UsI3QpMEzJqFPt3FlBUD49cXPqOxLs38jFXdhCNr8KMHeAO77LAuoOUa6U__7kN2pBhj6zS7R4j2IQedhCFjQuG0k8jgl_SJQNyDQsBMM4UsHia6nuv-fOko/s1600/image023-787746.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0hvUZmuJvYOQ0y7mksTf7UsI3QpMEzJqFPt3FlBUD49cXPqOxLs38jFXdhCNr8KMHeAO77LAuoOUa6U__7kN2pBhj6zS7R4j2IQedhCFjQuG0k8jgl_SJQNyDQsBMM4UsHia6nuv-fOko/s320/image023-787746.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318262046588738" /></a><o:p></o:p></p> <p class="MsoNormal">We did a Copy and paste of code from Section to Hub above. The interesting thing is that we didn't introduce a net new code above as we are still modifying templates. Please also note that in Hub.html "<span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item</span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:blue;background:red;mso-highlight:red">T</span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:blue;background:white;mso-highlight:white">emplate"</span>" T (capital T). Substitute "<span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span>" with "<span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;line-height:106%;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span>"<o:p></o:p></p> <p class="MsoNormal">Our next step is to add Demo Data to Production Manager App<o:p></o:p></p> <p class="MsoNormal">For this purpose we will simply Demo Data in Data.js and introduce groups<o:p></o:p></p> <p class="MsoNormal">Let's review how source code looked like <b><i>Before</i></b> changes<o:p></o:p></p> <p class="MsoNormal"><i>Data.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Binding.List();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems = list.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Replace the data with your real data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// You can add data from asynchronous sources whenever it becomes available.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData().forEach(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.push(item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Namespace.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Data"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> items: groupedItems,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groups: groupedItems.groups,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference: getItemReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup: getItemsFromGroup,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference: resolveGroupReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference: resolveItemReference<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a reference for an item, using the group key and item title as a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// unique reference to the item that can be easily serialized.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference(item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> [item.group.key, item.title];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function returns a WinJS.Binding.List containing only the items</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// that belong to the provided group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup(group) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.createFiltered(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key === group.key; });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get the unique group corresponding to the provided group key.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference(key) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems.groups.getItemFromKey(key).data;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a unique item from the provided string array, which should contain a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group key and an item title.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference(reference) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">for</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> i = 0; i < groupedItems.length; i++) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = groupedItems.getAt(i);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item.group.key === reference[0] && item.title === reference[1]) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Returns an array of sample data that can be added to the application's</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// data list. </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData() {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Content:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// These three strings encode placeholder images. You will want to set the</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// backgroundImage property in your real data to be URLs to images.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> darkGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY3B0cPoPAANMAcOba1BlAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> lightGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY7h4+cp/AAhpA3h+ANDKAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> mediumGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY5g8dcZ/AAY/AsAlWFQ+AAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample groups must have a unique key to be displayed</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// separately.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"group6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Title: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Subtitle: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: darkGray, description: groupDescription }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample items should have a reference to a particular</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[2], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 7"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 7"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[3], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[4], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[4], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[4], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[4], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 5"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 6"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 7"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 7"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[5], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title: 8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Subtitle: 8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now we'll look at how source code looks like <b><u>After</u></b> changes<o:p></o:p></p> <p class="MsoNormal"><i>Data.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Binding.List();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems = list.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Replace the data with your real data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// You can add data from asynchronous sources whenever it becomes available.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData().forEach(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.push(item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Namespace.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Data"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> items: groupedItems,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groups: groupedItems.groups,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference: getItemReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup: getItemsFromGroup,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference: resolveGroupReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference: resolveItemReference<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a reference for an item, using the group key and item title as a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// unique reference to the item that can be easily serialized.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference(item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> [item.group.key, item.title];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function returns a WinJS.Binding.List containing only the items</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// that belong to the provided group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup(group) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.createFiltered(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key === group.key; });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get the unique group corresponding to the provided group key.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference(key) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems.groups.getItemFromKey(key).data;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a unique item from the provided string array, which should contain a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group key and an item title.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference(reference) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">for</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> i = 0; i < groupedItems.length; i++) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = groupedItems.getAt(i);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item.group.key === reference[0] && item.title === reference[1]) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Returns an array of sample data that can be added to the application's</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// data list. </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData() {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Content:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// These three strings encode placeholder images. You will want to set the</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// backgroundImage property in your real data to be URLs to images.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> darkGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY3B0cPoPAANMAcOba1BlAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> lightGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY7h4+cp/AAhpA3h+ANDKAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> mediumGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY5g8dcZ/AAY/AsAlWFQ+AAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample groups must have a unique key to be displayed</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// separately.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> var sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group1", title: "Group Title: 1", subtitle: "Group Subtitle: 1", backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group2", title: "Group Title: 2", subtitle: "Group Subtitle: 2", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group3", title: "Group Title: 3", subtitle: "Group Subtitle: 3", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group4", title: "Group Title: 4", subtitle: "Group Subtitle: 4", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group5", title: "Group Title: 5", subtitle: "Group Subtitle: 5", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { key: "group6", title: "Group Title: 6", subtitle: "Group Subtitle: 6", backgroundImage: darkGray, description: groupDescription }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"current"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"delayed"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, backgroundImage: lightGray, description: groupDescription }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample items should have a reference to a particular</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> var sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[1], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[1], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[1], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[2], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[3], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[4], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[4], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[4], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[4], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> { group: sampleGroups[5], title: "Item Title: 8", subtitle: "Item Subtitle: 8", description: itemDescription, content: itemContent, backgroundImage: lightGray }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, description: itemDescription, content: itemContent, backgroundImage: mediumGray }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now after we populated required minimum Demo Data I'll introduce some more adjustments in Overview screen. This time I'll copy headerTemplate from Grid. Please also note isHeaderStatic: true, this is because I don't want Section header to be clickable (actionable) <o:p></o:p></p> <p class="MsoNormal"><i>Hub.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">hubPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hubpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.Hub"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hero"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-res</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{ winControl: {'header': 'Section3'} }"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="{ isHeaderStatic: true }"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> data-win-options="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="headerTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">style</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">black</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="group-header win-type-x-large"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="groupKey: key"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">onclick</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">Application.navigator.pageControl.navigateToGroup(event.srcElement.groupKey)</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">style</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">background-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">white</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">; </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">border-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">white</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="group-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="itemTemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-bind="textContent: title"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small" data-win-bind="textContent: description"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="win-type-ellipsis"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h6</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: description"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">groupHeaderTemplate: select('.section3 .headerTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"> groupDataSource: select('.pagecontrol').winControl.section3GroupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">section3ItemDataSource</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupHeaderTemplate: select('.section3 .headerTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> groupDataSource: select('.pagecontrol').winControl.section3GroupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> itemDataSource: select('.pagecontrol').winControl.section3ItemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="top-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="sub-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now as I changed the way how I work with groups I'll also need to do appropriate adjustments in Hub.js <o:p></o:p></p> <p class="MsoNormal"><i>Hub.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> nav = WinJS.Navigation;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> session = WinJS.Application.sessionState;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> util = WinJS.Utilities;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get the groups used by the data-bound sections of the Hub.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> var section3Group = Data.resolveGroupReference("group4");<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> var section3Items = Data.getItemsFromGroup(section3Group);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> section3Group</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:red;mso-highlight:red">s</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> = Data.groups;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> section3Items = Data.items;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/hub/hub.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> processed: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Resources.processAll(element);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> hub = element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).winControl;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> hub.onheaderinvoked = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> args.detail.section.onheaderinvoked(args);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> };<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> hub.onloadingstatechanged = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args.srcElement === hub.element && args.detail.loadingState === </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"complete"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> hub.onloadingstatechanged = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">null</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> hub.element.focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Initialize the page here.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">navigateToGroup: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> (key) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> nav.navigate(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"/pages/section/section.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, { groupKey: key });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> },</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> section3DataSource: section3Items.dataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> section3GroupDataSource: section3Groups.dataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> section3ItemDataSource: section3Items.dataSource,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> section3HeaderNavigate: util.markSupportedForProcessing(function (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> nav.navigate("/pages/section/section.html", { title: args.detail.section.header, groupKey: section3Group.key });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> }),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> section3ItemNavigate: util.markSupportedForProcessing(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.getItemReference(section3Items.getAt(args.detail.itemIndex));<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> nav.navigate(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, { item: item });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> unload: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Respond to navigations away from this page.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> updateLayout: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/// <param name="element" domElement="true" /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Respond to changes in layout.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();</span><o:p></o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Before we take a look at the app again I will do one more adjustment related to Section3 header (Production orders)<o:p></o:p></p> <p class="MsoNormal"><i>Resources.resjson<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// For details on localizing a Windows app, see: http://go.microsoft.com/fwlink/?LinkId=212836</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section 1"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section1Subtext"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Lorem ipsum dolor sit nonumy sed consectetuer ising elit, sed diam"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section1Description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Lorem ipsum dolor sit amet, consectetur ising elit, sed diam nonummy nibh uismod tincidunt ut laoreet suscipit lobortis nisl ut wisi quipexerci quis consequat minim veniam, quis nostrud. exerci tation ullam corper."</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section 2"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section2ItemTitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section2ItemSubtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Sub Title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section2Subtext"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Quisque in porta lorem dolor amet sed consectetuer ising elit, sed diam non my nibh uis mod wisi quip."</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section2Description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Lorem ipsum dolor sit amet, consectetur ising elit, sed diam nonummy nibh uismod tincidunt ut laoreet suscipit lobortis nisl ut wisi quipexerci quis consequat minim veniam, quis nostrud. exerci tation ullam corper."</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section 4"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section4Description"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Lorem ipsum dolor sit amet, consectetur ising elit, sed diam nonummy nibh uismod tincidunt ut laoreet suscipit lobortis nisl ut wisi quipexerci quis consequat minim veniam, quis nostrud. exerci tation ullam corper."</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"DescriptionText"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Description text:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"SectionSubtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Section subtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}</span><o:p></o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now Overview screen looks like this<o:p></o:p></p> <p class="MsoNormal">Please note that now we have a meaningful Prodcution orders Demo Data displayed in groups <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtstP3xt0hkXWLs7VGuDJQqAcTsUQxFAmA3Xq9tKD66UFAyPzzK5cbcTVFKAA7p3x94Rkgk6ccBlBZdUQVXrConyV4gc5RYQGtaUzQJIAyF8NddglRqho1zt8bqoyOTaVhqRgwFPlZPmmc/s1600/image024-789297.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtstP3xt0hkXWLs7VGuDJQqAcTsUQxFAmA3Xq9tKD66UFAyPzzK5cbcTVFKAA7p3x94Rkgk6ccBlBZdUQVXrConyV4gc5RYQGtaUzQJIAyF8NddglRqho1zt8bqoyOTaVhqRgwFPlZPmmc/s320/image024-789297.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318270312688722" /></a><o:p></o:p></p> <p class="MsoNormal">In fact if you navigate to Group screen you will see that Section title is Undefined <o:p></o:p></p> <p class="MsoNormal">In order to fix that we'll resolve group reference explicitly as shown below<o:p></o:p></p> <p class="MsoNormal"><i>Section.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ui = WinJS.UI;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ui.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/section/section.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/// <field type="WinJS.Binding.List" /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> _items: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">null</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> processed: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Resources.processAll(element);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called to initialize the page.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> init: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group = Data.resolveGroupReference(options.groupKey);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items = Data.getItemsFromGroup(group);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> pageList = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">//this.groupDataSource = pageList.groups.dataSource;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.itemDataSource = pageList.dataSource;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">.itemInvoked = ui.eventHandler(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._itemInvoked.bind(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">));<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("header[role=banner] .pagetitle").textContent = options.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> group = Data.resolveGroupReference(options.groupKey);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"header[role=banner] .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = group.title;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> listView = element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".itemslist"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).winControl;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> listView.element.focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> unload: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.dispose();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function updates the page layout in response to layout changes.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> updateLayout: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/// <param name="element" domElement="true" /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Respond to changes in layout.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> _itemInvoked: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (args) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">this</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">._items.getAt(args.detail.itemIndex);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Navigation.navigate(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, { item: Data.getItemReference(item) });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now Group screen will have a valid title <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikaFHZpkFspEqs3Q1A9SMzE7fVNansDLS8MvVIJIVQMd2eH5O5WbuL_h8Xoq5CZaEsKMpW_wOvprUFu0b8BTz9fm6JBmMioBjwJ-7LAAgA5jAhyphenhyphenNJHKwkP2_DdXSQTp8JmW0USlBbg3P8L/s1600/image025-791443.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikaFHZpkFspEqs3Q1A9SMzE7fVNansDLS8MvVIJIVQMd2eH5O5WbuL_h8Xoq5CZaEsKMpW_wOvprUFu0b8BTz9fm6JBmMioBjwJ-7LAAgA5jAhyphenhyphenNJHKwkP2_DdXSQTp8JmW0USlBbg3P8L/s320/image025-791443.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318281075007666" /></a><o:p></o:p></p> <p class="MsoNormal">By now we aligned a layout of Overview and Group screens and it will make sense to introduce some real Demo data into the app<o:p></o:p></p> <p class="MsoNormal"><i>Data.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Binding.List();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems = list.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Replace the data with your real data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// You can add data from asynchronous sources whenever it becomes available.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData().forEach(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.push(item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Namespace.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Data"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> items: groupedItems,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groups: groupedItems.groups,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference: getItemReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup: getItemsFromGroup,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference: resolveGroupReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference: resolveItemReference<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a reference for an item, using the group key and item title as a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// unique reference to the item that can be easily serialized.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference(item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> [item.group.key, item.title];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function returns a WinJS.Binding.List containing only the items</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// that belong to the provided group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup(group) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.createFiltered(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key === group.key; });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get the unique group corresponding to the provided group key.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference(key) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems.groups.getItemFromKey(key).data;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a unique item from the provided string array, which should contain a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group key and an item title.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference(reference) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">for</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> i = 0; i < groupedItems.length; i++) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = groupedItems.getAt(i);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item.group.key === reference[0] && item.title === reference[1]) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Returns an array of sample data that can be added to the application's</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// data list. </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData() {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Content:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// These three strings encode placeholder images. You will want to set the</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// backgroundImage property in your real data to be URLs to images.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> darkGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY3B0cPoPAANMAcOba1BlAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> lightGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY7h4+cp/AAhpA3h+ANDKAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> mediumGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY5g8dcZ/AAY/AsAlWFQ+AAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample groups must have a unique key to be displayed</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// separately.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> var sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group1", title: "Group Title: 1", subtitle: "Group Subtitle: 1", backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group2", title: "Group Title: 2", subtitle: "Group Subtitle: 2", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group3", title: "Group Title: 3", subtitle: "Group Subtitle: 3", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group4", title: "Group Title: 4", subtitle: "Group Subtitle: 4", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group5", title: "Group Title: 5", subtitle: "Group Subtitle: 5", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group6", title: "Group Title: 6", subtitle: "Group Subtitle: 6", backgroundImage: darkGray, description: groupDescription }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"current"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: darkGray, description: groupDescription, </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"delayed"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: lightGray, description: groupDescription, </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample items should have a reference to a particular</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> var sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 8", subtitle: "Item Subtitle: 8", description: itemDescription, content: itemContent, backgroundImage: lightGray }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: lightGray,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production #101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Scheduled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Product 01"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, qty: 1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production #102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Scheduled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Product 02"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, qty: 1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: darkGray,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production #201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Started"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Product 03"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, qty: 1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, backgroundImage: mediumGray, <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Production #202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Started"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Product 04"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">, qty: 1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">At this point Overview and Group screens look good and it is time to modify Item screen appropriately <o:p></o:p></p> <p class="MsoNormal">Let's review how source code looked like <b><u>Before</u></b> changes<o:p></o:p></p> <p class="MsoNormal"><i>Item.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">block</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">Define a multi-column, horizontally scrolling article by default.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">column-fill</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">column-gap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">column-width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">calc(100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">183px)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">133px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">19px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-subtitle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">16px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">240px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">460px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">p</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">snapped)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a single column, vertically scrolling article in snapped mode.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">300px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">140px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">fullscreen-portrait)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Item.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">itemPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itempage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-subtitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h4</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-content"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Item.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.resolveItemReference(options.item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-subtitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).src = item.backgroundImage;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).alt = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .item-content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).innerHTML = item.content;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">I'd also recommend you to open Item page in Blend (<article>) to get better insight into page layout<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0TIrnKjrLkia1HQ1ATE0xdLqSTNKbB-gFCL1pLP9MbhocM92JJIytwe0jAs8KAJB7FIKfznvVcGIeGREL44jhzHEZF7dkAUkG0CzrtM7oBjXXSX538RmsrwDb19iYJIOniPYD2pJhvkrl/s1600/image026-792902.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0TIrnKjrLkia1HQ1ATE0xdLqSTNKbB-gFCL1pLP9MbhocM92JJIytwe0jAs8KAJB7FIKfznvVcGIeGREL44jhzHEZF7dkAUkG0CzrtM7oBjXXSX538RmsrwDb19iYJIOniPYD2pJhvkrl/s320/image026-792902.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318283117641906" /></a><o:p></o:p></p> <p class="MsoNormal">The idea now is to add more info about Production order on Item screen <o:p></o:p></p> <p class="MsoNormal">Let's look at how source code looks like <b><u>After</u></b> changes<o:p></o:p></p> <p class="MsoNormal"><i>Item.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">block</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a multi-column, horizontally scrolling article by default.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-fill</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-gap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">column-width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">calc(100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">183px)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">120px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">133px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">550px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">250px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">350px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">; </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.overview</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.overview</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">520px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">520px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.details</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> } <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">.other</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> { <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">.itempage .content article header .item-title {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-bottom: 19px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .itempage .content article header .item-subtitle {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-bottom: 16px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-top: 0;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> } <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .itempage .content article .item-image {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> height: 240px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> width: 460px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> -ms-grid-column: 1;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .itempage .content article .item-content p {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-top: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-bottom: 20px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> -ms-grid-column: 3;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">snapped)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-x</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">Define a single column, vertically scrolling article in snapped mode.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">300px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">140px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">60px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">280px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">@media</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">screen</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">and</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-view-state</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">fullscreen-portrait)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itempage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> </td> </tr> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;border-top:none;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white"><o:p> </o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Item.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">itemPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/item/item.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itempage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <header> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h2 class="item-title"></h2><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="item-subtitle"></h4> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </header><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <img class="item-image" src="#" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <div class="item-content"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="overview"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">Overview</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="details"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">&nbsp;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-name"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-id"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">id</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-group"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">group</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-state"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">state</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-product"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">product</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-operator"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">operator</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-qty"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">qty</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="other"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">Other</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">article</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">After we've done necessary changes we can see how page layout was visually changed in Blend <o:p></o:p></p> <p class="MsoNormal"><i>Blend<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjukvNp985qc7luvZ8dHgHY1MHdB6ZRww8IBso-crG6M1BPlH-spsCsyjk4uZARzcz5ciOxOaMnMIxfUBpFL1ep_19mNmarSL_secKmteU6Sj8w4xAM2seTsUVjGzVG7V8r7KPRdgx6cSg/s1600/image027-794818.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjukvNp985qc7luvZ8dHgHY1MHdB6ZRww8IBso-crG6M1BPlH-spsCsyjk4uZARzcz5ciOxOaMnMIxfUBpFL1ep_19mNmarSL_secKmteU6Sj8w4xAM2seTsUVjGzVG7V8r7KPRdgx6cSg/s320/image027-794818.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318292278159778" /></a><o:p></o:p></p> <p class="MsoNormal">The only thing left now is to supply appropriate Demo Data in Item.js <o:p></o:p></p> <p class="MsoNormal"><i>Item.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.resolveItemReference(options.item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("article .item-title").textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("article .item-subtitle").textContent = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("article .item-image").src = item.backgroundImage;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("article .item-image").alt = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> element.querySelector("article .item-content").innerHTML = item.content;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">//element.querySelector("article .overview .item-image").src = item.image;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-name"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Name: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.name;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-id"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"ID :"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.id;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-group"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Group: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.group.name;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-state"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"State: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.state;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-product"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Product: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.product;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-operator"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Operator: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.operator; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .details .item-qty"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"Quantity: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> + item.qty;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now Item screen looks like this <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9f7_omrUZhvbb_vs7nqbrVGtJnLYHzYITdbWSZZN5cIH46HkQ-9zguY1OI0Fuq8MumM8uqvFDsunXO6p0PhpW2ALjsI9CvGNUTkwnIuhV_W_y3aeET0oNP7GNR_w5v2qF8euEl0t9M4y/s1600/image028-796359.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix9f7_omrUZhvbb_vs7nqbrVGtJnLYHzYITdbWSZZN5cIH46HkQ-9zguY1OI0Fuq8MumM8uqvFDsunXO6p0PhpW2ALjsI9CvGNUTkwnIuhV_W_y3aeET0oNP7GNR_w5v2qF8euEl0t9M4y/s320/image028-796359.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318301269601570" /></a><o:p></o:p></p> <p class="MsoNormal">Please note that in order to define table layout for Item screen we used "ms-grid" property in CSS<o:p></o:p></p> <p class="MsoNormal">Next we'll come back to Hub and Section pages in order to modify ListView to display appropriate information <o:p></o:p></p> <p class="MsoNormal"><i>Hub.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header[role=banner]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section[role=main]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-surface</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-high-contrast-adjust</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">url(/images/gears.jpg)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-size</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">cover</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">780px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero:-ms-lang(ar,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">dv,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">fa,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">he,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ku-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">pa-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">prs,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ps,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">sd-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">syr,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ug,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ur,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">qps-plocm)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-80px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hero</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">none</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">420px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.subtext</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">9px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">440px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-title</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">4px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.article-header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">15px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-container</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">11px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">.hubpage .hub .section3 .itemslist .item .item-info .item-title {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-top: 4px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> max-height: 20px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> overflow: hidden;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .sectionpage .itemslist .item .item-info .item-description {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> max-height: 60px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> overflow: hidden;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">.hubpage .hub .section3 .win-container {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> margin-bottom: 36px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> margin-left: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> margin-right: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> .hubpage .hub .section3 .win-item {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> height: 229px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> width: 310px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> .hubpage .hub .section3 .win-item img {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> height: 150px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> margin-bottom: 10px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> width: 310px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-hub-section-content</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow-y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">260px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">400px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.top-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-flexbox</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-flow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">nowrap</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-flex-pack</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">justify</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hubpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.hub</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.section4</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sub-image-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">95px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">130px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Hub.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">hubPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/hub/hub.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hubpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- Customize the Hub control by modifying the HubSection controls here. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hub"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.Hub"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="hero"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section1" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section1'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" width="420" height="280" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="subtext win-type-x-large" data-win-res="{ textContent: 'Section1Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section1Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section2" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section2'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="item-title win-type-medium" data-win-res="{ textContent: 'Section2ItemTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="article-header win-type-x-large" data-win-res="{ textContent: 'Section2Subtext' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-xx-small" data-win-res="{ textContent: 'Section2ItemSubTitle' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section2Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="section3"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.HubSection"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-res</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ winControl: {'header': 'Section3'} }"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{ isHeaderStatic: true }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> data-win-options="{ onheaderinvoked: select('.pagecontrol').winControl.section3HeaderNavigate }"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="headerTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">style</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">black</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="group-header win-type-x-large"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="groupKey: key"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">onclick</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Application.navigator.pageControl.navigateToGroup(event.srcElement.groupKey)</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">style</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">white</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">; </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">border-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">white</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="group-title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="textContent: title"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="itemTemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-bind="textContent: title"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small" data-win-bind="textContent: description"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemTemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="item-title" data-win-bind="textContent: title"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h6 class="win-type-ellipsis" data-win-bind="textContent: subtitle"></h6><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="item-description" data-win-bind="textContent: description"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-name"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: name"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-id"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: id"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-state"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: state"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> groupHeaderTemplate: select('.section3 .headerTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> groupDataSource: select('.pagecontrol').winControl.section3GroupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.section3 .itemTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.section3ItemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.section3ItemNavigate<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> groupHeaderTemplate: select('.section3 .headerTemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> groupDataSource: select('.pagecontrol').winControl.section3GroupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.section3ItemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="section4" data-win-control="WinJS.UI.HubSection" data-win-options="{ isHeaderStatic: true }" data-win-res="{ winControl: {'header': 'Section4'} }"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="top-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="sub-image-row"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img src="/images/gray.png" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-medium" data-win-res="{ textContent: 'DescriptionText' }"></div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="win-type-small"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <span data-win-res="{ textContent: 'Section4Description' }"></span><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Okay, we now can see the data we wanted to display on ListView tiles <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj950uj46_b0Ugq5wR-Yf4ZLehl9f2CjgLJkKFdikLjAza14QbVKIT0V4az9al2UK_NkihxhOjFmIXMzRRzwlLNjSE0Lj8BO7RHjsdcX822rAkKRD03jZ95ct8LS1MiKcE-33f9SsYmDcFp/s1600/image029-798736.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj950uj46_b0Ugq5wR-Yf4ZLehl9f2CjgLJkKFdikLjAza14QbVKIT0V4az9al2UK_NkihxhOjFmIXMzRRzwlLNjSE0Lj8BO7RHjsdcX822rAkKRD03jZ95ct8LS1MiKcE-33f9SsYmDcFp/s320/image029-798736.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318309949198002" /></a><o:p></o:p></p> <p class="MsoNormal">I like what we've got on Hub page, so I'm going to copy-and-paste this code into Section from Hub<o:p></o:p></p> <p class="MsoNormal"><i>Section.css<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section[role=main]</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row-span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">position</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">relative</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">z-index</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">This selector is used to prevent ui-dark/light.css from overwriting changes<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> to .win-surface.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-horizontal.win-viewport</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-surface</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">35px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">50px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">50px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">128px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">auto</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">100%</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">40px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-groupheader:-ms-lang(ar,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">dv,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">fa,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">he,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ku-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">pa-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">prs,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ps,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">sd-Arab,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">syr,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ug,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">ur,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">qps-plocm)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">40px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.group-subtitle</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">14px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">6px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">max-height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">48pt</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.group-image</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">background-color</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">rgba(147,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">149,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">152,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1)</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">240px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">20px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-groupheader</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.group-description</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-row</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">55px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">overflow</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">hidden</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.win-container</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-bottom</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">11px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-left</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-right</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">33px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">margin-top</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">5px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-columns</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">10px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-rows</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1fr</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">display</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">-ms-grid</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">height</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">110px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">padding</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">7px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">width</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">480px</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.sectionpage</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.itemslist</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">.item-info</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">-ms-grid-column</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">3</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">/*</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">.sectionpage .itemslist .item .item-info .item-title {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> margin-top: 4px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> max-height: 20px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> overflow: hidden;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> .sectionpage .itemslist .item .item-info .item-description {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> max-height: 60px;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> overflow: hidden;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> }</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow">*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal"><i>Section.html<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">!DOCTYPE</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">meta</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">charset</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="utf-8"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">sectionPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">title</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- WinJS references --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/css/ui-light.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/base.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="//Microsoft.WinJS.2.0/js/ui.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/css/default.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">link</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">href</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.css"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">rel</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="stylesheet"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/js/data.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="/pages/section/section.js"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">script</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">head</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- These templates are used to display each item in the ListView declared below. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <div class="headertemplate" data-win-control="WinJS.Binding.Template"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <h2 class="group-subtitle" data-win-res="{ 'innerHTML': 'SectionSubtitle' }"></h2><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <img class="group-image" src="#" data-win-bind="src: backgroundImage; alt: title" /><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> <h4 class="group-description" data-win-bind="innerHTML: description"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> </div><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemtemplate"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.Binding.Template"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">img</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">src</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="#"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="src: backgroundImage; alt: title"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="item-info"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="item-title" data-win-bind="textContent: title"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h6 class="win-type-ellipsis" data-win-bind="textContent: subtitle"></h6><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> <h4 class="item-description" data-win-bind="textContent: description"></h4><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:yellow;mso-highlight:yellow"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-name"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: name"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-id"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: id"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="item-state"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">data-win-bind</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">="textContent: state"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:yellow;mso-highlight:yellow">h2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!-- The content that will be loaded and displayed. --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="sectionpage fragment"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Header content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="banner"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.BackButton"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">button</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="titlearea win-type-ellipsis"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="pagetitle"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">span</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">h1</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">header</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="Main content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">role</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="main"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">class</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="itemslist win-selectionstylefilled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">aria-label</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="List of this section's items"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-control</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="WinJS.UI.ListView"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">data-win-options</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">="{<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> selectionMode: 'none',<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> layout: {type: WinJS.UI.GridLayout, groupHeaderPosition: 'left'},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> currentItem: {type: WinJS.UI.ObjectType.item, index: 0, hasFocus: true}, <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemDataSource: select('.pagecontrol').winControl.itemDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> itemTemplate: select('.itemtemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> oniteminvoked: select('.pagecontrol').winControl.itemInvoked<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> }"></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"><!--<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> groupDataSource: select('.pagecontrol').winControl.groupDataSource,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> groupHeaderTemplate: select('.headertemplate'),<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:darkgreen;background:white;mso-highlight:white"> --></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">section</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">div</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">body</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon;background:white;mso-highlight:white">html</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">Now the list of grouped Production orders on Group screen looks exactly like Production orders list on Overview screen <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2DIDt9D1fMPR2UgkaGw1HFs4hhu_JkPM046TaivfDP7K1F90reJtVzjxVg2HMuNfAAKyANqofnf1KPtIzkz1NvvNFaJPLzdhFQXiHPwc_1odXOZlK8lhvxLC3UJZvFK_EIlfg8fWVANRP/s1600/image030-701866.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2DIDt9D1fMPR2UgkaGw1HFs4hhu_JkPM046TaivfDP7K1F90reJtVzjxVg2HMuNfAAKyANqofnf1KPtIzkz1NvvNFaJPLzdhFQXiHPwc_1odXOZlK8lhvxLC3UJZvFK_EIlfg8fWVANRP/s320/image030-701866.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318321485184626" /></a><o:p></o:p></p> <p class="MsoNormal">Of course, to make our app look cool we'll need to add some graphical elements such as Pictures<o:p></o:p></p> <p class="MsoNormal">To simplify the task I'll add a default image for the product produced by Production order - Gear<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXXUGR1ZfXppGrsN8i-A96uTZI1SXIYEZOjP7nk9JkDD1f6sX5_LLWCOylqrA_oSs3yAWJLKSsIsDxH-tyVJ76oYLB_YeIHnznXyRaTWb1UYhmUHQqxk58DgQzzJUnumAxSMzzTGmQyi45/s1600/image031-703446.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXXUGR1ZfXppGrsN8i-A96uTZI1SXIYEZOjP7nk9JkDD1f6sX5_LLWCOylqrA_oSs3yAWJLKSsIsDxH-tyVJ76oYLB_YeIHnznXyRaTWb1UYhmUHQqxk58DgQzzJUnumAxSMzzTGmQyi45/s320/image031-703446.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318329710250002" /></a><o:p></o:p></p> <p class="MsoNormal">After I copied this image to images folder I'll also add it to the project <o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRVp59awVI3J1AsQ3wBVQTULKwwhsYzcGyDNLsuXiSZE1NbhIqmkCBP8JFsOcJaT-JeRM1pFjri-i2Fw7d4Qzmy9jSQaSpRMciUjqFoLdspgxYlIGQbhUW0sKrEL89-AbYBlK3g2u6hH6C/s1600/image032-705568.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRVp59awVI3J1AsQ3wBVQTULKwwhsYzcGyDNLsuXiSZE1NbhIqmkCBP8JFsOcJaT-JeRM1pFjri-i2Fw7d4Qzmy9jSQaSpRMciUjqFoLdspgxYlIGQbhUW0sKrEL89-AbYBlK3g2u6hH6C/s320/image032-705568.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318339927591106" /></a><o:p></o:p></p> <p class="MsoNormal">Now logically we'd need to modify our Demo Data to account for Images<o:p></o:p></p> <p class="MsoNormal"><i>Data.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="margin-left:-.25pt;border-collapse:collapse;border:none"> <tbody> <tr> <td width="719" valign="top" style="width:431.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list = </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Binding.List();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems = list.createGrouped(<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupKeySelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key; },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDataSelector(item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group; }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> );<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// TODO: Replace the data with your real data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// You can add data from asynchronous sources whenever it becomes available.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData().forEach(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.push(item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.Namespace.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Data"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> items: groupedItems,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groups: groupedItems.groups,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference: getItemReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup: getItemsFromGroup,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference: resolveGroupReference,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference: resolveItemReference<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a reference for an item, using the group key and item title as a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// unique reference to the item that can be easily serialized.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemReference(item) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> [item.group.key, item.title];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function returns a WinJS.Binding.List containing only the items</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// that belong to the provided group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> getItemsFromGroup(group) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> list.createFiltered(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item) { </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item.group.key === group.key; });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get the unique group corresponding to the provided group key.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveGroupReference(key) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupedItems.groups.getItemFromKey(key).data;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Get a unique item from the provided string array, which should contain a</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group key and an item title.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> resolveItemReference(reference) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">for</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> i = 0; i < groupedItems.length; i++) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = groupedItems.getAt(i);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">if</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (item.group.key === reference[0] && item.title === reference[1]) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Returns an array of sample data that can be added to the application's</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// data list. </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> generateSampleData() {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Content:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> itemDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Item Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> groupDescription = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group Description:"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// These three strings encode placeholder images. You will want to set the</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// backgroundImage property in your real data to be URLs to images.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> darkGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY3B0cPoPAANMAcOba1BlAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> lightGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY7h4+cp/AAhpA3h+ANDKAAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> mediumGray = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXY5g8dcZ/AAY/AsAlWFQ+AAAAAElFTkSuQmCC"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> defaultimg = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"../../images/gear.png"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample groups must have a unique key to be displayed</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// separately.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> var sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group1", title: "Group Title: 1", subtitle: "Group Subtitle: 1", backgroundImage: darkGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group2", title: "Group Title: 2", subtitle: "Group Subtitle: 2", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group3", title: "Group Title: 3", subtitle: "Group Subtitle: 3", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group4", title: "Group Title: 4", subtitle: "Group Subtitle: 4", backgroundImage: lightGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group5", title: "Group Title: 5", subtitle: "Group Subtitle: 5", backgroundImage: mediumGray, description: groupDescription },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { key: "group6", title: "Group Title: 6", subtitle: "Group Subtitle: 6", backgroundImage: darkGray, description: groupDescription }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleGroups = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"current"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: darkGray, description: groupDescription, name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Current orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { key: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"delayed"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, backgroundImage: lightGray, description: groupDescription, name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Delayed orders"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// Each of these sample items should have a reference to a particular</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// group.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> var sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[0], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[1], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[2], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[3], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[4], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 1", subtitle: "Item Subtitle: 1", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 2", subtitle: "Item Subtitle: 2", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 3", subtitle: "Item Subtitle: 3", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 4", subtitle: "Item Subtitle: 4", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 5", subtitle: "Item Subtitle: 5", description: itemDescription, content: itemContent, backgroundImage: lightGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 6", subtitle: "Item Subtitle: 6", description: itemDescription, content: itemContent, backgroundImage: mediumGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 7", subtitle: "Item Subtitle: 7", description: itemDescription, content: itemContent, backgroundImage: darkGray },<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> { group: sampleGroups[5], title: "Item Title: 8", subtitle: "Item Subtitle: 8", description: itemDescription, content: itemContent, backgroundImage: lightGray }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems = [<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*backgroundImage: lightGray,*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> image: defaultimg, backgroundImage: defaultimg,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production #101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"101"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Scheduled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Product 01"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, qty: 1},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[0], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Porduction order 102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*backgroundImage: darkGray,*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> image: defaultimg, backgroundImage: defaultimg,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production #102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"102"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Scheduled"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Product 02"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, qty: 1},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*backgroundImage: darkGray,*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> image: defaultimg, backgroundImage: defaultimg,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production #201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"201"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Started"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Product 03"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, qty: 1},<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> { group: sampleGroups[1], title: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, subtitle: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production order 202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, description: itemDescription, content: itemContent, </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow">/*backgroundImage: mediumGray,*/</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"> image: defaultimg, backgroundImage: defaultimg,</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> name: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Production #202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, id: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"202"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, state: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Started"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, product: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Product 04"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, operator: </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Alex Anikiev"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, qty: 1}<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ];<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">return</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> sampleItems;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoListParagraph"><o:p> </o:p></p> <p class="MsoNormal">As the result we'll see images on Overview and Item screens<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUuOGEAqGn7Fn8HMPGDIlxM58Pmo-O6pTiBb-pjNrSvIcIxnKAdmnv_dwxJvVyI3S0jDXzd2PsIJxDPEpav8nQ7H7s2URsNsPG1Z-0GhFPiv0NvpD42KR0QSPLXXI341w3iSC8fRmA5EhA/s1600/image033-706981.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUuOGEAqGn7Fn8HMPGDIlxM58Pmo-O6pTiBb-pjNrSvIcIxnKAdmnv_dwxJvVyI3S0jDXzd2PsIJxDPEpav8nQ7H7s2URsNsPG1Z-0GhFPiv0NvpD42KR0QSPLXXI341w3iSC8fRmA5EhA/s320/image033-706981.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318347422572850" /></a><o:p></o:p></p> <p class="MsoListParagraph"><o:p> </o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuxWSit1fo4oWOnJWJKm8eKIRnUVY4dJW-qcR-db0U0rxEiEVLDXV2QBp5mxrcZpSAqbSfsHtL714M1Dy56x6EwWcWYHk2ZRpxAFdPxBNjgnq_mZLS3KK1SUgbMDwJBfYM1FepxyFrPsB9/s1600/image034-709274.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuxWSit1fo4oWOnJWJKm8eKIRnUVY4dJW-qcR-db0U0rxEiEVLDXV2QBp5mxrcZpSAqbSfsHtL714M1Dy56x6EwWcWYHk2ZRpxAFdPxBNjgnq_mZLS3KK1SUgbMDwJBfYM1FepxyFrPsB9/s320/image034-709274.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318355528756930" /></a><o:p></o:p></p> <p class="MsoNormal">For Item screen we'll also need to supply image information in Item.js<o:p></o:p></p> <p class="MsoNormal"><i>Item.js<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="margin-left:-.25pt;border-collapse:collapse;border:none"> <tbody> <tr> <td width="719" valign="top" style="width:431.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> () {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"use strict"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> WinJS.UI.Pages.define(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"/pages/item/item.html"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">, {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// This function is called whenever a user navigates to this page. It</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">// populates the page elements with the app's data.</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> ready: </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">function</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> (element, options) {<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> item = Data.resolveItemReference(options.item);<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".titlearea .pagetitle"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white">/*<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> element.querySelector("article .item-title").textContent = item.title;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> element.querySelector("article .item-subtitle").textContent = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> element.querySelector("article .item-image").src = item.backgroundImage;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> element.querySelector("article .item-image").alt = item.subtitle;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> element.querySelector("article .item-content").innerHTML = item.content;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:white;mso-highlight:white"> */</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:yellow;mso-highlight:yellow">"article .overview .item-image"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">).src = item.image;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-name"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Name: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.name;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-id"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"ID :"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.id;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-group"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Group: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.group.name;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-state"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"State: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.state;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-product"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Product: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.product;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-operator"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Operator: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.operator; <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"article .details .item-qty"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).textContent = </span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">"Quantity: "</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> + item.qty;<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> <o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> element.querySelector(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">".content"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">).focus();<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> }<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"> });<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">})();<o:p></o:p></span></p> </td> </tr> </tbody> </table> <p class="MsoListParagraph"><o:p> </o:p></p> <p class="MsoNormal">Resulting Item screen will look like this<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXf89qqmZWO30-7UnA8CLIEV6FrY4nDYUs0Th8Y7FT6Vrk_qEqiTXKiMM4jtEck6W61Oj31ccDiMzLHoqACQUT-Z6eucfbq4lXxKD8zYqGSp59cxh1pIJVkSe8kaXV6ad8FyN-iOfbpZSH/s1600/image035-711074.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXf89qqmZWO30-7UnA8CLIEV6FrY4nDYUs0Th8Y7FT6Vrk_qEqiTXKiMM4jtEck6W61Oj31ccDiMzLHoqACQUT-Z6eucfbq4lXxKD8zYqGSp59cxh1pIJVkSe8kaXV6ad8FyN-iOfbpZSH/s320/image035-711074.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318367191614882" /></a><o:p></o:p></p> <p class="MsoNormal">Before we launch and try out our app we'll also modify Splash screen background to simply make it "white"<o:p></o:p></p> <p class="MsoNormal"><i>Package.appxmanifest<o:p></o:p></i></p> <table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none"> <tbody> <tr> <td width="779" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt"> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><?</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">xml</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">version</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1.0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">encoding</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">utf-8</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">?></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Package</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">xmlns</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">http://schemas.microsoft.com/appx/2010/manifest</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">xmlns:m2</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">http://schemas.microsoft.com/appx/2013/manifest</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Identity</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">53ba864c-9e2b-492e-89be-46632dbb7a6c</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Version</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">1.0.0.0</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Publisher</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">CN=Alex</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Properties</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">DisplayName</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">DisplayName</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">PublisherDisplayName</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">Alex</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">PublisherDisplayName</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Logo</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">images\storelogo.png</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Logo</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Properties</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Prerequisites</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">OSMinVersion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">6.3.0</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">OSMinVersion</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">OSMaxVersionTested</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">6.3.0</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">OSMaxVersionTested</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Prerequisites</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Resources</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Resource</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Language</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">x-generate</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Resources</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Applications</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Id</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">App</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">StartPage</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">default.html</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">m2:VisualElements</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">DisplayName</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Description</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">Manufacturing Companion</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">ForegroundText</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">light</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:yellow;mso-highlight:yellow">BackgroundColor</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">white</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Square150x150Logo</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">images\Logo.png</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"<o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Square30x30Logo</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">images\SmallLogo.png</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow"><!--</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> BackgroundColor="#464646" </span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:green;background:yellow;mso-highlight:yellow"> </span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:yellow;mso-highlight:yellow">--></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">m2:SplashScreen</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Image</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">images\splashscreen.png</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">m2:VisualElements</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Application</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Applications</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Capabilities</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Capability</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white;mso-highlight:white">Name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">internetClient</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> /></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Capabilities</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p> </o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal;text-autospace:none"> <span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white"></</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;background:white;mso-highlight:white">Package</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white"><o:p></o:p></span></p> <p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal"> <o:p> </o:p></p> </td> </tr> </tbody> </table> <p class="MsoNormal"><o:p> </o:p></p> <p class="MsoNormal">The final step in this walkthrough will be to add Logo<o:p></o:p></p> <p class="MsoNormal">Please notice blank "logo" files in images folder <b><u>Before</u></b> I changed them<o:p></o:p></p> <p class="MsoListParagraph"><o:p> </o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xrIdpabhVLieLMV2Z42RgKrf9WWQappyVGNu4p4a7srdNWgSMiHQ1sd7U798BIMube523rjz9_9UdSJxGLFoTJ2Ykj28Kr-u63_nGaE3WtNFKmkCEqc2y6x1JVEH2f7Uh95xupR32Of5/s1600/image036-712496.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1xrIdpabhVLieLMV2Z42RgKrf9WWQappyVGNu4p4a7srdNWgSMiHQ1sd7U798BIMube523rjz9_9UdSJxGLFoTJ2Ykj28Kr-u63_nGaE3WtNFKmkCEqc2y6x1JVEH2f7Uh95xupR32Of5/s320/image036-712496.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318368949419938" /></a><o:p></o:p></p> <p class="MsoNormal">For the sake of simplicity I used the same Gear image for the logo<o:p></o:p></p> <p class="MsoNormal">Please see how "logo" files look like <b><u>After</u></b> changes<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9EbX4SgODGE1zUw-An2UmGIOjnSprFCAy04VX5ZupshcTIeme47DCs1hJJsAZaAko3P_mDEI9pAyaPD5u3fC2bNxsoDn5KTFxarPvV-H6b11GjAqVnZHrzXDRXyBzJ9jjdq-rDJWGgF14/s1600/image037-719482.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9EbX4SgODGE1zUw-An2UmGIOjnSprFCAy04VX5ZupshcTIeme47DCs1hJJsAZaAko3P_mDEI9pAyaPD5u3fC2bNxsoDn5KTFxarPvV-H6b11GjAqVnZHrzXDRXyBzJ9jjdq-rDJWGgF14/s320/image037-719482.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318399395258994" /></a><o:p></o:p></p> <p class="MsoNormal">As the result Splash screen will look like the following<o:p></o:p></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSynqzKAhFt8ZBxDpfQARuP2sgJvLDSS452kjECdqXFgMGTitkGFjHZp1d8DakKsXo_VIpqjrGK_kgjlMeIUC8In6DwT5qLvTbXAJ8t3ZIYosIWXPcxcgtuLEeIFhxtbFnbU0GxuYD664T/s1600/image038-721318.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSynqzKAhFt8ZBxDpfQARuP2sgJvLDSS452kjECdqXFgMGTitkGFjHZp1d8DakKsXo_VIpqjrGK_kgjlMeIUC8In6DwT5qLvTbXAJ8t3ZIYosIWXPcxcgtuLEeIFhxtbFnbU0GxuYD664T/s320/image038-721318.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318410298271874" /></a><o:p></o:p></p> <p class="MsoNormal">Now let's summarize the results. Within about 1 hour I was able to transform standard Visual Studio 2013 Hub App template to meet the needs of my Production Manager App <o:p></o:p></p> <p class="MsoNormal">Let's look at the result of Milestone 1 Production Manager App displaying info about Production orders<o:p></o:p></p> <p class="MsoNormal">Obviosuly there're more things to be done in this App before you could use it in production which I will cover in my next articles, but hopefully this walkthrough gives you an idea about how to make use of existing Visual Studio templates to boost up your progress <o:p></o:p></p> <p class="MsoNormal"><i>Milestone 1: Manufacturing Companion App with embedded Demo Data<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUuOGEAqGn7Fn8HMPGDIlxM58Pmo-O6pTiBb-pjNrSvIcIxnKAdmnv_dwxJvVyI3S0jDXzd2PsIJxDPEpav8nQ7H7s2URsNsPG1Z-0GhFPiv0NvpD42KR0QSPLXXI341w3iSC8fRmA5EhA/s1600/image033-706981.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUuOGEAqGn7Fn8HMPGDIlxM58Pmo-O6pTiBb-pjNrSvIcIxnKAdmnv_dwxJvVyI3S0jDXzd2PsIJxDPEpav8nQ7H7s2URsNsPG1Z-0GhFPiv0NvpD42KR0QSPLXXI341w3iSC8fRmA5EhA/s320/image033-706981.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318347422572850" /></a><o:p></o:p></p> <p class="MsoNormal">I my next walkthroughs I'll go further into details and cover other aspects of modern Windows 8 Apps development. I'll remind you that in this walkthrough I wanted to focus on User Interface. Obvisoubly it is very important to have a robust Web Services layer and Communication Infrastructure<o:p></o:p></p> <p class="MsoNormal">In conclusion I'll provide an example of modern Windows 8 App built by Memex Automation Inc. implementing Machine Operator workload. This app is powered by robust Web Services layer providing realtime data about equipment and machines on the shop floor including detailed OEE metrics, so Machine Operator can be well informed about how equipment and machines operate at all times. This app is called Merlin Companion and it is available in the Store <o:p></o:p></p> <p class="MsoNormal"><i>Merlin Companion<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijAw2vGxud2BAlwm4m1vuncB-HGTcQ_0Hd07iT5-NN1PrUO5HuPwH7I1j3rU9kSnkI0B4temAW4iDur7DNzqq5AxtEeUYcepnkbuNxbHGXi7sDqeLaDuEQ_s1htZba0eDzn_Tq9HKOPzFQ/s1600/image039-722791.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijAw2vGxud2BAlwm4m1vuncB-HGTcQ_0Hd07iT5-NN1PrUO5HuPwH7I1j3rU9kSnkI0B4temAW4iDur7DNzqq5AxtEeUYcepnkbuNxbHGXi7sDqeLaDuEQ_s1htZba0eDzn_Tq9HKOPzFQ/s320/image039-722791.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318414098744706" /></a><o:p></o:p></p> <p class="MsoNormal"><i>Merlin Companion<o:p></o:p></i></p> <p class="MsoNormal"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTeVXKtOcXv-l7P6-SXdVqqwNbV3USCwnd-iQxO39WCfaEC6eqmzQyWcrcB5HV24syPbECOyFSes5AL-_k_UPTi3w7luwLgXx9lo69vasosQBGivlSZIgiiQxzpbjM9lEV7gjPgidRPUEX/s1600/image040-729484.jpg"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTeVXKtOcXv-l7P6-SXdVqqwNbV3USCwnd-iQxO39WCfaEC6eqmzQyWcrcB5HV24syPbECOyFSes5AL-_k_UPTi3w7luwLgXx9lo69vasosQBGivlSZIgiiQxzpbjM9lEV7gjPgidRPUEX/s320/image040-729484.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5991318443296466834" /></a><o:p></o:p></p> <p class="MsoNormal">Please find more info about Memex Automation Inc. and Merlin product here: <a href="http://www.memex.ca/">http://www.memex.ca/</a><o:p></o:p></p> <p class="MsoNormal"><b>Summary:</b> This document describes how use standard Visual Studio 2013 Hub App template in order to very quickly build a modern Windows 8 App which implements a real-world Manufacturing industry scenario for Production Manager role. I also provided an example of the app built by partner – Memex Automation Inc. for Machine Operator role using rapid business app development technique. <o:p></o:p></p> <p class="MsoNormal">Please note that Microsoft continues to actively work on developing new modern Windows 8 Apps and implementing new workloads. For example, at Convergence 2014 a brand new Microsoft Shop Floor Control – Machine Operator App was presented. This app allows to perform job registrations against Shop Floor Control jobs in Microsoft Dynamics AX 2012 (start jobs, stop jobs, take a break, etc.), report good/bad quantities and much more. I'm sure a lot of companies across the globe will greatly benefit from using new Microsoft Shop Floor Control – Machine Operator App. I definitely recommend you to check it out! <o:p></o:p></p> <p class="MsoNormal"><b><span style="font-size:10.0pt;line-height:106%;font-family:"Arial","sans-serif";color:#222222">Author</span></b><span style="font-size:10.0pt;line-height:106%;font-family:"Arial","sans-serif";color:#222222">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="font-size:10.0pt;line-height:106%;font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></p> <p class="MsoNormal"><b>Tags:</b> Dynamics ERP, Apps, Windows 8.1, Visual Studio 2013, HTML5, CSS, JavaScript, Grid App, Hub App, User Interface, Manufacturing, Production Manager.<o:p></o:p></p> <p class="MsoNormal"><b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></p> </div> Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com6tag:blogger.com,1999:blog-4565800100410709901.post-67742224762244067912013-11-28T00:05:00.001-08:002013-11-28T00:15:09.375-08:00Microsoft Dynamics AX 2012 – WCF Custom Services<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – WCF Custom Services</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to illustrate how to develop and use Microsoft Dynamics AX 2012 WCF Custom Web Service in integration scenarios for composite (header-lines) business entities.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> <span lang="EN">In case the schema for business entity can be written as a simple data contract class with relevant data member attributes set you may want to develop .NET-like WCF Web Service exposing info about Microsoft Dynamics AX 2012 business entities</span>. The idea would be to have Data Contract(s) and Service Contract classes, and not to use AIF (Application Integration Framework) infrastructure – Document Services<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> <span lang="EN">In Microsoft Dynamics AX, you can create custom services to expose X++ functionality to external clients. Any existing X++ code can be exposed as a custom service simply by adding an attribute. Microsoft Dynamics AX provides standard attributes that can be set on the data contract class and its members to automatically serialize and de-serialize data that is sent and received across a network connection. Many predefined types, such as collections and tables, are also supported</span>. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough</b><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the purposes of this walkthrough I'm going to create WCF Custom Service for Inventory Adjustment Journal. The Data model for Inventory Adjustment Journal is pretty simple: InventJournalTable (journal header), InventJournalTrans (journal lines), InventDim (inventory dimensions). In particular I'll review header-line pattern in details<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First let's discuss existing implementation of Inventory Adjustment Journal Document Service using AIF (Application Integration Framework)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
There's a Query (AxdProfitLossJournal) behind Inventory Adjustment Journal Document Service (InventProfitLossJournalService)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Query (Axd)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKBTMY34LtqqHQeNEQV1A-z2AbmpY4qDOH1vuxy29znfA72Sz304vV19eCVtclje8JmjUbH-TKfVeyP0qPXBwgxB43hrbX5FS8lBkxkNakFNyctFD1S0Xh1uG04SEi3fo8eyMmFdmaTeQ/s1600/image001-753640.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218158589670018" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYKBTMY34LtqqHQeNEQV1A-z2AbmpY4qDOH1vuxy29znfA72Sz304vV19eCVtclje8JmjUbH-TKfVeyP0qPXBwgxB43hrbX5FS8lBkxkNakFNyctFD1S0Xh1uG04SEi3fo8eyMmFdmaTeQ/s320/image001-753640.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This Query defines data set structure which consists of InventJournalTable (journal header), InventJournalTrans (journal lines), InventDim, etc. tables. Please note that Query also sets up the hierarchy of data sources, for example, InventJournalTrans (journal lines) is linked to InventJournalTable (journal header) <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I've created a project and included related to Document Service objects in there <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project (Axd)</i> <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzNSIbbn-_greNkzFsPL7BH4WfpBG5UDkdXG6letgTkK-C521jll-ytDviqRi8lQWP68bGNKR8hZ14Fx4iGUXQmDMqCsQ0GWFsZRgFoU_kV8QlUhoVxPb5rGFPmzobQZpfud7prdg8TAs0/s1600/image002-756411.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218166977068770" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzNSIbbn-_greNkzFsPL7BH4WfpBG5UDkdXG6letgTkK-C521jll-ytDviqRi8lQWP68bGNKR8hZ14Fx4iGUXQmDMqCsQ0GWFsZRgFoU_kV8QlUhoVxPb5rGFPmzobQZpfud7prdg8TAs0/s320/image002-756411.png" /></a><i><o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The following artifacts will be the building blocks of Document Service:<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Service node<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Service, document object and data object classes (extends AifDocumentService, extends AifDocument, extends AfStronglyTypedDataContainer)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Data object type macro (AxdDCT)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Axd document class (extends AxdBase)<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>AxBC classes (extends AxInternalBase)<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>Job (GenerateXSDSchema)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Initially I included just some of artifacts listed above to the project, but we can also run Update Document Service Wizard and let the system group (other) supporting artifacts into a project as well<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Update Document Service</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1hVF_8jGz62TwHeVzN2c_Pq44Yp0B6LPzqjEW3xW1xga-kCSBZjqs5PdCOqwU46GsksdlrDy1X15PTTzXdQTncAfUsbAVMo6JYDoynO6PVZGBkDk7InkoMRg__I_wjvWlA8HD1_cbU3nG/s1600/image003-758911.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218180518780306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1hVF_8jGz62TwHeVzN2c_Pq44Yp0B6LPzqjEW3xW1xga-kCSBZjqs5PdCOqwU46GsksdlrDy1X15PTTzXdQTncAfUsbAVMo6JYDoynO6PVZGBkDk7InkoMRg__I_wjvWlA8HD1_cbU3nG/s320/image003-758911.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is how I generated another project which includes related AxBC classes, macros, etc.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project (Axd)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-MgLkjftz1Q1HS9Q080c0IFJ0QSaN7XsUqonjCFVptc6zIRboEaMp-NkE4zl7J-RSsw6gK3YCG9xCDy9hofCXsiTAkA_kxLAjIxRjdXkfnFi6BVRArmvk7PVeNF1oQsDUabNjWvssWjw/s1600/image004-761521.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218187970387202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-MgLkjftz1Q1HS9Q080c0IFJ0QSaN7XsUqonjCFVptc6zIRboEaMp-NkE4zl7J-RSsw6gK3YCG9xCDy9hofCXsiTAkA_kxLAjIxRjdXkfnFi6BVRArmvk7PVeNF1oQsDUabNjWvssWjw/s320/image004-761521.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Inventory Adjustment Document Service in Microsoft Dynamics AX 2012 exposes 3 operations (create, getChangedKeys, getKeys) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-ElAy2sGEhNPxhjdHV-aqs-uRF1hdCIMLfNcl73yb3Qtu_FgyWYnXPePVI1GYLHQDiYCTgdHkIZHIz-UxoaDZtYpK6XckiXLyt9z8roMIspLgfIw1ky0hjj_HWY7G6yUCw_s84oe6h01h/s1600/image005-763928.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218202229725586" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-ElAy2sGEhNPxhjdHV-aqs-uRF1hdCIMLfNcl73yb3Qtu_FgyWYnXPePVI1GYLHQDiYCTgdHkIZHIz-UxoaDZtYpK6XckiXLyt9z8roMIspLgfIw1ky0hjj_HWY7G6yUCw_s84oe6h01h/s320/image005-763928.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For deployment I included it into InventServices Services Group and ultimately deployed Inbound port<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPrMLdFJQ9FVkaU1t5kR4YAguZ4ivXJAnK6q9xiiGPIVncI0OdqOsbQ7M-QAi3hQ-RtHP2lzVoeF1pAB9F60zDXo9lWdXYYy1HO7QKHABEwD9uc9E4iQHctuGD8Xi2qS0bX98r5FpmHsp_/s1600/image006-766260.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218210668259538" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPrMLdFJQ9FVkaU1t5kR4YAguZ4ivXJAnK6q9xiiGPIVncI0OdqOsbQ7M-QAi3hQ-RtHP2lzVoeF1pAB9F60zDXo9lWdXYYy1HO7QKHABEwD9uc9E4iQHctuGD8Xi2qS0bX98r5FpmHsp_/s320/image006-766260.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that on the client side we can add Service Reference<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsAQRW4ti_iCGIgsg3QiCavMkGYYp7P8ae4UdQZj4Eim1VEaj_zrkgRO5x-lepQ5gi-pp_8DP1pXl2lrir5ED0Oi3QBjDhSvKNRndR9BbwqPsBQfKukLlSk2E362YrCjNqPR2QMKaZMh39/s1600/image007-768540.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218220539822242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsAQRW4ti_iCGIgsg3QiCavMkGYYp7P8ae4UdQZj4Eim1VEaj_zrkgRO5x-lepQ5gi-pp_8DP1pXl2lrir5ED0Oi3QBjDhSvKNRndR9BbwqPsBQfKukLlSk2E362YrCjNqPR2QMKaZMh39/s320/image007-768540.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And review the list of proxy classes generated in the client application<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Proxy classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuuqLlrv9rrF-ZNl7XOpish7-8WLy_hLUCp7qaVGjj8LuddX4396kNtWNpj2wndWkM0beq039pQCQeI_WZioy5kkQd3SmTT3JmWtIEju71YU-jBarOrgfn-AfQktkyTHchbK-_9-py6tq/s1600/image008-771011.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218233354473874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuuqLlrv9rrF-ZNl7XOpish7-8WLy_hLUCp7qaVGjj8LuddX4396kNtWNpj2wndWkM0beq039pQCQeI_WZioy5kkQd3SmTT3JmWtIEju71YU-jBarOrgfn-AfQktkyTHchbK-_9-py6tq/s320/image008-771011.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO4_Rh376pAqRbwsh6TPcHdPt12a1L1D5eWUM1IdP6E6iBsuoTppDuL9W02vpDHEhJCacmeOy7BR1ethmhda2C9e-qU44q3eTbh7tjEpyS_b0tWShUIXrTFY4gwMnSvjt0zzFoW-F-Pzr5/s1600/image009-773428.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218239863385202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO4_Rh376pAqRbwsh6TPcHdPt12a1L1D5eWUM1IdP6E6iBsuoTppDuL9W02vpDHEhJCacmeOy7BR1ethmhda2C9e-qU44q3eTbh7tjEpyS_b0tWShUIXrTFY4gwMnSvjt0zzFoW-F-Pzr5/s320/image009-773428.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As you can see it is a pretty long list where we have a lot of AIF specific classes describing types (EDTs), EntityKeys, etc. as well as Service Client class and Service Operations Request/Response classes<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can review a related walkthrough on how to create AIF Document Service in Microsoft Dynamics AX 2012 here: <a href="http://ax2012aifintegration.blogspot.com/2012/05/microsoft-dynamics-ax-2012-application.html"> http://ax2012aifintegration.blogspot.com/2012/05/microsoft-dynamics-ax-2012-application.html</a>. In this walkthrough you can also find an example (Source code) of how to consume it in .NET client application <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So now after we reviewed how we work with AIF Document Services it is time to switch to WCF Custom Services and review how we can develop WCF Custom Service for Inventory Adjustment Journal <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off we will look at InventJournalTable (journal header) and InventJournalLine (journal lines), and determine the required minimum of data which is required to create respective Data Contracts. For this purpose I'll inspect the list of mandatory fields on these tables and take a look at AutoReport field group to understand what fields I want to expose through Data Contacts<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>InventJournalTable <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9rYClSKSR5Uv2CgngRbwBtNn6pMxPp2O6EbgGN0CUCrc82jCvbnRigqGjgkhQqTzt6VHlH9Qs5DXCIutuiB34BuoXCMgE_oaaTaVF-uZEooRMbRluVxaDAYXPGoY4epdxbQQ15_GSY5fn/s1600/image010-776211.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218252724270690" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9rYClSKSR5Uv2CgngRbwBtNn6pMxPp2O6EbgGN0CUCrc82jCvbnRigqGjgkhQqTzt6VHlH9Qs5DXCIutuiB34BuoXCMgE_oaaTaVF-uZEooRMbRluVxaDAYXPGoY4epdxbQQ15_GSY5fn/s320/image010-776211.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For InventJournalTable (journal header) table it would make sense at least to include JournalId, JournalNameId and Description into journal header Data Contract <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>InventJournalLine<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxBEyadswfthDOSXPfIZamj0-zZf0Hk8BVdgkpLhtutFGEovh8UeVGPi-57wt1wJYvTDvg97jMPfTn8hyphenhypheng3Tj-g-fYaxJE7fMqu0Z9HbZjwIq1QDJkse0oXE-o9rPkMCG6-9bNJY6rku1K/s1600/image011-779015.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218265883217090" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxBEyadswfthDOSXPfIZamj0-zZf0Hk8BVdgkpLhtutFGEovh8UeVGPi-57wt1wJYvTDvg97jMPfTn8hyphenhypheng3Tj-g-fYaxJE7fMqu0Z9HbZjwIq1QDJkse0oXE-o9rPkMCG6-9bNJY6rku1K/s320/image011-779015.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For InventJournalTrans (journal lines) table it would make sense at least to include JournalId, LineNum, TransDate, ItemId and Qty into journal line Data Contract <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see below the Source code for Data Contracts I created for Journal header and Journal line<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Data Contract (Journal header)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> InventAdjustJournalContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalId journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalNameId journalNameId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalDescription description;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> List journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventJournalId JournalId(InventJournalId _journalId = journalId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalId = _journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventJournalNameId JournalNameId(InventJournalNameId _journalNameId = journalNameId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalNameId = _journalNameId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journalNameId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> JournalDescription Description(JournalDescription _description = description)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> description = _description;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> description;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalLineContract)), DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> List JournalLines(List _journalLines = journalLines)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLines = _journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Data Contract (Journal line)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">class</span></b> InventAdjustJournalLineContract<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalId journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> LineNum lineNum;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalTransDate transDate;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> ItemId itemId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventQtyJournal qty;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventJournalId JournalId(InventJournalId _journalId = journalId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalId = _journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> LineNum LineNum(LineNum _lineNum = lineNum)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> lineNum = _lineNum;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> lineNum;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> JournalTransDate TransDate(JournalTransDate _transDate = transDate)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> transDate = _transDate;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> transDate;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> ItemId ItemId(ItemId _itemId = itemId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> itemId = _itemId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> itemId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventQtyJournal Qty(InventQtyJournal _qty = qty)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> qty = _qty;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> qty;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I used parm method pattern to create get/set methods for each field, but I didn't use "parm" prefix because in .NET client application these methods will represent properties on Data Contract class (and, for example, I want to have "ItemId" instead of "parmItemId" property name)<o:p></o:p></div>
<div class="MsoNormal">
Also you probably noticed that as a part of Journal header Data Contract I introduced List variable called journalLines, this is because I want to encapsulate journal lines into journal header, so when I pass journal header its lines will be also passed along. This defines the hierarchy of data sources in data set (journal contains lines) and resembles Query we have behind AIF Document Service <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Finally I'll mention that I use EDTs in Data Contact classes and these types will be automatically translated into appropriate .NET types<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can develop Service Contract class to expose necessary operations. For the sake of this walkthrough I decided to expose the following operations:<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>getJournal: retrieves a single journal by JournalId<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>getRecentJournal: retrieves a list of 10 most recent journals<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>createJournal: creates journal header and related journal lines<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>createJournalLines: creates a list of journal headers <b> and/or</b> a list of journal lines associated with already existing journal headers or journal headers being created at the time<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's review Service Contract implementation below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Contract</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">class</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalService<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalContract getJournal(InventJournalId _journalId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalContract journal;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalLineContract journalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTable inventJournalTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTrans inventJournalTrans;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> List journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable = InventJournalTable::find(_journalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (inventJournalTable)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal = <b><span style="color: darkblue;">new</span></b> InventAdjustJournalContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalId(inventJournalTable.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalNameId(inventJournalTable.JournalNameId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.Description(inventJournalTable.Description);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLines = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> inventJournalTrans<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">index</span></b> <b><span style="color: darkblue;">hint</span></b> LineIdx<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">where</span></b> inventJournalTrans.JournalId == inventJournalTable.JournalId<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine = <b><span style="color: darkblue;">new</span></b> InventAdjustJournalLineContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.JournalId(inventJournalTrans.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.TransDate(inventJournalTrans.TransDate);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.ItemId(inventJournalTrans.ItemId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.LineNum(inventJournalTrans.LineNum);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.Qty(inventJournalTrans.Qty);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLines.addEnd(journalLine);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalLines(journalLines);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journal;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract)), SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> List getRecentJournals()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalContract journal;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalLineContract journalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTable inventJournalTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTrans inventJournalTrans;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> List journals;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> List journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journals = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <i><span style="color: green;">//10 most recent journals</span></i><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> <b><span style="color: darkblue;">firstOnly10</span></b> inventJournalTable<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">order</span></b> <b><span style="color: darkblue;">by</span></b> CreatedDateTime <b><span style="color: darkblue;">desc</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">where</span></b> inventJournalTable.JournalType == InventJournalType::LossProfit<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal = <b><span style="color: darkblue;">new</span></b> InventAdjustJournalContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalId(inventJournalTable.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalNameId(inventJournalTable.JournalNameId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.Description(inventJournalTable.Description);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLines = <b><span style="color: darkblue;">new</span></b> List(Types::Class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> <b><span style="color: darkblue;">select</span></b> inventJournalTrans<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">index</span></b> <b><span style="color: darkblue;">hint</span></b> LineIdx<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">where</span></b> inventJournalTrans.JournalId == inventJournalTable.JournalId<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine = <b><span style="color: darkblue;">new</span></b> InventAdjustJournalLineContract();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.JournalId(inventJournalTrans.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.TransDate(inventJournalTrans.TransDate);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.ItemId(inventJournalTrans.ItemId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.LineNum(inventJournalTrans.LineNum);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine.Qty(inventJournalTrans.Qty);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLines.addEnd(journalLine);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal.JournalLines(journalLines);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journals.addEnd(journal);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> journals;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> InventJournalId createJournal(InventAdjustJournalContract _journal)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalContract journal;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalLineContract journalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTable inventJournalTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalTableData journalTableData;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTrans inventJournalTrans;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalTransData journalTransData;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> ListIterator literator;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> LineNum lineNum;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">try</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">ttsbegin</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData = JournalTableData::newTable(inventJournalTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.clear();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.initValue();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalId = _journal.JournalId() ? _journal.JournalId() : journalTableData.nextJournalId();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalType = InventJournalType::LossProfit;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalNameId = _journal.JournalNameId() ? _journal.JournalNameId() :<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData.journalStatic().standardJournalNameId(inventJournalTable.JournalType);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.initFromInventJournalName(InventJournalName::find(inventJournalTable.JournalNameId));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (_journal.Description())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.Description = _journal.Description();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (inventJournalTable.validateWrite())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.insert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literator = <b><span style="color: darkblue;">new</span></b> ListIterator(_journal.JournalLines());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> (literator.more())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine = literator.value();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> lineNum++;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTransData = journalTableData.journalStatic().newJournalTransData(inventJournalTrans, journalTableData);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.clear();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initValue();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initFromInventJournalTable(inventJournalTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.Qty = journalLine.Qty();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.setInventDimId(InventDim::findOrCreateBlank().InventDimId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initFromInventTable(InventTable::find(journalLine.ItemId()), <b><span style="color: darkblue;">false</span></b>, <b><span style="color: darkblue;">false</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.LineNum = lineNum;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (inventJournalTrans.validateWrite())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTransData.insert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData.journalTable().update();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS18447"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literator.next();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS18447"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">ttscommit</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">catch</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> <span style="color: darkred;">""</span>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b> inventJournalTable.JournalId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">[AifCollectionTypeAttribute(<span style="color: darkred;">'_journals'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract)), <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> AifCollectionTypeAttribute(<span style="color: darkred;">'_journalLines'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalLineContract)), <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt;">public</span></b><span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">void</span></b> createJournalLines(List _journals, List _journalLines)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalContract journal;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventAdjustJournalLineContract journalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTable inventJournalTable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalTableData journalTableData;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> InventJournalTrans inventJournalTrans;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> JournalTransData journalTransData;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> ListIterator literatorJournal, literatorJournalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">try</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">ttsbegin</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literatorJournal = <b> <span style="color: darkblue;">new</span></b> ListIterator(_journals);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> (literatorJournal.more())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journal = literatorJournal.value();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData = JournalTableData::newTable(inventJournalTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.clear();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.initValue();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalId = journal.JournalId() ? journal.JournalId() : journalTableData.nextJournalId();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalType = InventJournalType::LossProfit;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.JournalNameId = journal.JournalNameId() ? journal.JournalNameId() :<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData.journalStatic().standardJournalNameId(inventJournalTable.JournalType);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.initFromInventJournalName(InventJournalName::find(inventJournalTable.JournalNameId));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (journal.Description())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.Description = journal.Description();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (inventJournalTable.validateWrite())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable.insert(); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> } <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS18447"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literatorJournal.next();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literatorJournalLine = <b><span style="color: darkblue;">new</span></b> ListIterator(_journalLines); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">while</span></b> (literatorJournalLine.more())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalLine = literatorJournalLine.value();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTable = InventJournalTable::find(journalLine.JournalId());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData = JournalTableData::newTable(inventJournalTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTransData = journalTableData.journalStatic().newJournalTransData(inventJournalTrans, journalTableData);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.clear();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initValue();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initFromInventJournalTable(inventJournalTable);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.Qty = journalLine.Qty();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.setInventDimId(InventDim::findOrCreateBlank().InventDimId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.initFromInventTable(InventTable::find(journalLine.ItemId()), <b><span style="color: darkblue;">false</span></b>, <b><span style="color: darkblue;">false</span></b>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> inventJournalTrans.LineNum = inventJournalTrans::lastLineNum(inventJournalTable.JournalId) + <b><span style="color: red;">1</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">if</span></b> (inventJournalTrans.validateWrite())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTransData.insert();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> journalTableData.journalTable().update();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">else</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">throw</span></b> error(<span style="color: darkviolet;">"@SYS18447"</span>);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> literatorJournalLine.next();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">ttscommit</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">catch</span></b><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> <b><span style="color: darkblue;">return</span></b>;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="font-family: Consolas; font-size: 8pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note the following:<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>getJournal method accepts JournalId parameters and returns Data Contract object<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>getRecentJournals method doesn't have parameters and returns a List of Data Contract objects<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>createJournal method accepts Data Contract object and returns JournalId <o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo2; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>createJournalLines method accepts 2 Lists of Data Contracts (Journal headers List and Journal lines List) and returns nothing<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in order to work with collection types such as Lists, etc. you can leverage AifCollectionTypeAttribute attribute. Let's review couple of AifCollectionTypeAttribute attribute usage scenarios <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case your method returns a List you will specify "return" as a first argument as shown below <o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;">AifCollectionTypeAttribute(<span style="color: darkred;">'return'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract))</span><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case your method accepts a List as parameter you will specify "_parameter" as a first argument as shown below<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;">AifCollectionTypeAttribute(<span style="color: darkred;">'_parameter'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract))</span><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that <span style="background: yellow; mso-highlight: yellow;"> "_parameter" in attribute definition</span> will have to correspond <span style="background: yellow; mso-highlight: yellow;"> to actual name of parameter for the method</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;">[AifCollectionTypeAttribute(<span style="background: yellow; color: darkred; mso-highlight: yellow;">'_journals'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract)), SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 106%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"> <b><span style="color: darkblue;">void</span></b> createJournals(List <span style="background: yellow; mso-highlight: yellow;"> _journals</span>)<o:p></o:p></span></div>
<div class="MsoNormal">
… <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Also you can pass multiple Lists (parameters) to the method at once, to do this you will specify appropriate AifCollectionTypeAttribute attributes through comma (,) as shown below<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;">[AifCollectionTypeAttribute(<span style="background: yellow; color: darkred; mso-highlight: yellow;">'_journals'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalContract)), <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"> AifCollectionTypeAttribute(<span style="background: yellow; color: darkred; mso-highlight: yellow;">'_journalLines'</span>, Types::Class, <b><span style="color: darkblue;">classStr</span></b>(InventAdjustJournalLineContract)), <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"> SysEntryPointAttribute(<b><span style="color: darkblue;">true</span></b>)]<o:p></o:p></span></div>
<div class="MsoNormal">
<b><span style="color: darkblue; font-family: Consolas; font-size: 8pt; line-height: 106%;">public</span></b><span style="font-family: Consolas; font-size: 8pt; line-height: 106%;"> <b><span style="color: darkblue;">void</span></b> createJournalLines(List <span style="background: yellow; mso-highlight: yellow;"> _journals</span>, List <span style="background: yellow; mso-highlight: yellow;">_journalLines</span>)<o:p></o:p></span></div>
<div class="MsoNormal">
…<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about AifCollectionTypeAttribute here: <a href="http://technet.microsoft.com/en-us/library/aifcollectiontypeattribute.aspx"> http://technet.microsoft.com/en-us/library/aifcollectiontypeattribute.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The interesting thing about createJournalLines method is that based on my design it allows to create journal headers <b>AND/OR</b> journal lines. This means that I can pass the list of journal headers OR list of journal lines OR 2 lists at once (AND). You have this flexibility with WCF Custom Services because typically you are not bound to predefined Query with hierarchical structure of data sources <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After I implemented Data Contracts and Service Contract <o:p> </o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-0OxQ8jWgLV-aqlFK_9tWqcGoJB0Q_FRa1oGxmhR6yuwyiUGsI1Qz09e26OB68IoxZOX0i3tGOlV4220fu2X74C8B6easP6LcBeG9tysHKVPksIDCU9iNa6ETUl6sid0gmbOQ7Hbc1BQY/s1600/image012-782272.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218278731919618" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-0OxQ8jWgLV-aqlFK_9tWqcGoJB0Q_FRa1oGxmhR6yuwyiUGsI1Qz09e26OB68IoxZOX0i3tGOlV4220fu2X74C8B6easP6LcBeG9tysHKVPksIDCU9iNa6ETUl6sid0gmbOQ7Hbc1BQY/s320/image012-782272.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I can now create Service<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG6JIM5W76I63RiYJHWj9NEuR5OgYIaDyCRSeFefAhlDZAbJZsEHPOY2pz156FhkHXIaVvghi_sRbvq-puUBNV9Fh8k05Fr0DXzwOLMLaOXQD9WdggzhHm-V94JyGwMbEHHcDXL_kD3nzu/s1600/image013-784764.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218292724788274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG6JIM5W76I63RiYJHWj9NEuR5OgYIaDyCRSeFefAhlDZAbJZsEHPOY2pz156FhkHXIaVvghi_sRbvq-puUBNV9Fh8k05Fr0DXzwOLMLaOXQD9WdggzhHm-V94JyGwMbEHHcDXL_kD3nzu/s320/image013-784764.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And add necessary operations<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI06mZow5hdAtGiHEaXYmC56Zm7rDpxUbXN1bqN7k6mi_pmLDbW-MeV0nuVU4aXnYw_MTfcKzPvwgwgBtEM42fqNv5nTh1FRVocgVUtYJkaQt3qaeEYh6clFkS_Xz0WDUPlsiFjmuxbhOM/s1600/image014-787264.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218301976513714" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI06mZow5hdAtGiHEaXYmC56Zm7rDpxUbXN1bqN7k6mi_pmLDbW-MeV0nuVU4aXnYw_MTfcKzPvwgwgBtEM42fqNv5nTh1FRVocgVUtYJkaQt3qaeEYh6clFkS_Xz0WDUPlsiFjmuxbhOM/s320/image014-787264.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I'll deploy Service Group which includes Service<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Service Group<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEW2NKkjqpwgrYJk-ezN7J6c9yx568o79wt-YzDZFzMstJdQKJRin710tNvzSzNt5E9G7KZ8hbQCGYI1TK5Qd43brWIwA5dbBBhQJBOAmndqI2rHVMEVfpRLDU_0acMqeudPRaXnHSxKWu/s1600/image015-789763.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218311768845618" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEW2NKkjqpwgrYJk-ezN7J6c9yx568o79wt-YzDZFzMstJdQKJRin710tNvzSzNt5E9G7KZ8hbQCGYI1TK5Qd43brWIwA5dbBBhQJBOAmndqI2rHVMEVfpRLDU_0acMqeudPRaXnHSxKWu/s320/image015-789763.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a next step in .NET client application I'll add Service reference<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Add Service reference<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKR67bd3ZXWosgunwVxSFreB5c9A3A4xT9bfVPa_zDfh9F0yo9hLBYvGfOLen6tuzFwZTEd3anKJkPXXDFdXNifZWA9Tn5BttFSy2o39vHLlqnfXnF0F1JdTspWzGm7v-kA1ACQyAEIeFU/s1600/image016-791928.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218320588212658" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKR67bd3ZXWosgunwVxSFreB5c9A3A4xT9bfVPa_zDfh9F0yo9hLBYvGfOLen6tuzFwZTEd3anKJkPXXDFdXNifZWA9Tn5BttFSy2o39vHLlqnfXnF0F1JdTspWzGm7v-kA1ACQyAEIeFU/s320/image016-791928.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And review the list of proxy classes generated in the client application<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Proxy classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG0HyaOfbdvRb0IVx1YWSJ1xICzFS3Gc70S6KFrxTKkorwDm_QFiAVCUYMc1lljqya72ugAwLAu8moswN2ZQ2F9vDbKd0_gCpR229gSlW3HFlUl4NJ_eseZdf1dPqbcWgu-MXsZazEFEO/s1600/image017-794525.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951218330657571042" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuG0HyaOfbdvRb0IVx1YWSJ1xICzFS3Gc70S6KFrxTKkorwDm_QFiAVCUYMc1lljqya72ugAwLAu8moswN2ZQ2F9vDbKd0_gCpR229gSlW3HFlUl4NJ_eseZdf1dPqbcWgu-MXsZazEFEO/s320/image017-794525.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As you can see the system generated less Proxy classes comparing to scenario with AIF Document Service (no extra classes for types (EDTs), etc.) and we still have Service client class, Service operations Request/Response classes, etc.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The very last step is to consume WCF Custom Service in .NET application<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's review the Source code below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code: getJournal</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal = client.getJournal(context, </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"X"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"JournalId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journal.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalLineContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journalLine </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal.JournalLines)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"ItemId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journalLine.ItemId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As you can see you work with Data Contract classes in .NET similarly to X++. Please note that you can call method synchronously (getJournal) or asynchronously (getJournalAsync)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 1pt;">
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
Source code: getRecentJournals</div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
<o:p></o:p> </div>
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] journals = client.getRecentJournals(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journals)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"JournalId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journal.JournalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalLineContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journalLine </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal.JournalLines)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"ItemId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journalLine.ItemId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 1pt;">
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
Source code: createJournal</div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
<o:p></o:p> </div>
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal.Description = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Alex's journal"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">[] journalLines = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">[2];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[0] = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[0].ItemId = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X1"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[0].Qty = 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[1] = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[0].ItemId = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X2"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLines[0].Qty = 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journal.JournalLines = journalLines;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journalId = client.createJournal(context, journal); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"JournalId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">InventAdjustJournalContract</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journal.Description = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Alex's journal"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">List</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">> journalLinesList = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">List</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">>();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine.ItemId = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X1"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine.Qty = 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLinesList.Add(journalLine);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">InventAdjustJournalLineContract</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine.ItemId = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X2"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLine.Qty = 1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journalLinesList.Add(journalLine);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> journal.JournalLines = journalLinesList.ToArray();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> journalId = client.createJournal(context, journal); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"JournalId:"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + journalId);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 1pt;">
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
The interesting thing about createJournal method is that in first code sample I used static array of journal lines (2), but in a real world scenario you may be dealing with dynamic array and you may not know exact number of elements in it upfront, that's why I provided a second code sample where I use List to add as many elements as I need and then convert List into Array by using List.ToArray() method </div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
<o:p></o:p></div>
<div class="MsoNormal" style="border: currentColor; padding: 0in;">
Remark: In createJournal method please make sure you assign appropriate InventDimId to avoid "Inventory dimension Site is mandatory and must consequently be specified.", etc.<o:p></o:p></div>
</div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about using Custom Services in Microsoft Dynamics AX 2012 here: <a href="http://technet.microsoft.com/en-us/library/hh509052.aspx">http://technet.microsoft.com/en-us/library/hh509052.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document described how to develop and use Microsoft Dynamics AX 2012 WCF Custom Web Service in integration scenarios for composite (header-lines) business entities. In particular we reviewed how to develop WCF Custom Service for Inventory Adjustment Journal<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics ERP, Microsoft Dynamics AX 2012, Integration, WCF, Custom Service, AIF, Application Integration Framework, Document Service.</div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com12tag:blogger.com,1999:blog-4565800100410709901.post-52689053789947768052013-11-27T18:12:00.001-08:002013-11-27T18:15:36.248-08:00MVVM – Windows 8 Store App using HTML5/WinJS Primer<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Windows 8 Store App using HTML5/WinJS Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog App using HTML5/WinJS</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts<b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll develop Windows 8 Store App using HMTL5/WinJS<o:p></o:p></div>
<div class="MsoNormal">
WinJS: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx"> http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough</b><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Other Languages > JavaScript > Windows Store > Blank App template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaOaYob_k9FJnZh7b0ylnL7ptAl-QcfpAeaSgf_qfKqDBoVizM86us6afeFGyEVPqaEjYNGlUn7Iry1bb2wjSYsT3684ExGnKfPFPksQBXFwA9wvayTkOzprGUHnguedtVGdMN7vWrC9BI/s1600/image005-727631.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951126995635373618" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaOaYob_k9FJnZh7b0ylnL7ptAl-QcfpAeaSgf_qfKqDBoVizM86us6afeFGyEVPqaEjYNGlUn7Iry1bb2wjSYsT3684ExGnKfPFPksQBXFwA9wvayTkOzprGUHnguedtVGdMN7vWrC9BI/s320/image005-727631.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog app<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw7fzVZaFeGdCtSMwDyvXqX724nC0wkm2oaDb2XuxO9Lh1vMjlIm8fUo2mdWGLgZHLcGfv0DUACdqqIGh2Rz-xVTtsL9QOxX4VNTGLK7m00yO_x7baSHg-oFAJkVI8-2jgMt80slEHjB_u/s1600/image003-730329.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951127001755546306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgw7fzVZaFeGdCtSMwDyvXqX724nC0wkm2oaDb2XuxO9Lh1vMjlIm8fUo2mdWGLgZHLcGfv0DUACdqqIGh2Rz-xVTtsL9QOxX4VNTGLK7m00yO_x7baSHg-oFAJkVI8-2jgMt80slEHjB_u/s320/image003-730329.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Please note that Windows provides two sets of APIs for building Windows Store apps: the Windows Runtime and the Windows Library for JavaScript. Windows Runtime JavaScript, C#, Visual Basic, and C++ APIs provide access to all core platform features. WinJS JavaScript APIs provide controls, CSS styles, and helper functions that help you write object-oriented code. The WinJS namespace covers functionality that is similar to the Windows.UI.XAML namespaces in the Windows Runtime.<o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">By other words WinJS is essentially JavaScript library developed by Microsoft which greatly facilitates your efforts in building authentic Windows 8 apps <o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review how I implemented Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product class (define) which has 2 attributes: ID and Name as a part of the model. For this purpose I introduce WinJS Namespace "Products" and declare Product class. Please find more info about WinJS Namespaces here: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh967793.aspx"> http://msdn.microsoft.com/en-us/library/windows/apps/hh967793.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The view model encapsulates presentation logic and state. Please see below how I introduce another WinJS Namespace "ProductsViewModel", declare products variable and assign the list of products to it<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Model and ViewModel: WinJS</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// For an introduction to the Blank template, see the following documentation:</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// http://go.microsoft.com/fwlink/?LinkId=232509</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"use strict"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.Binding.optimizeBindingReferences = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">true</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app = WinJS.Application;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> activation = Windows.ApplicationModel.Activation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.onactivated = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args.detail.kind === activation.ActivationKind.launch) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application has been newly launched. Initialize</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// your application here.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application has been reactivated from suspension.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Restore application state here.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> args.setPromise(WinJS.UI.processAll());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.oncheckpoint = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application is about to be suspended. Save any state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// that needs to persist across suspensions here. You might use the</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// WinJS.Application.sessionState object, which is automatically</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// saved and restored across suspension. If you need to complete an</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// asynchronous operation before your application is suspended, call</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// args.setPromise().</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">WinJS.Namespace.define(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"Products"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product: WinJS.Class.define(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> (id, name) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.id = id;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.name = name;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> })<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productsList = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> WinJS.Binding.List();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productsList.push(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Products.Product(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> WinJS.Namespace.define(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"ProductsViewModel"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, { products: productsList });<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.start();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">})();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that Model and ViewModel definition is done using WinJS Namespaces<o:p></o:p></div>
<div class="MsoNormal">
MVVM (Model-View-ViewModel) pattern implementation using WinJS conceptually will look similar to classic object-oriented languages such as C#.NET because we can introduce Namespaces and define necessary Classes. Please note that pure JavaScript (JS) does not have a notion of class, but it does have a notion of object<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review a view <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Important to mention is that in order to link view and view model by means of binding I used standard capabilities of WinJS library (data-win-bind property). Please find more info about data-win-bind property here: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/hh440968.aspx">http://msdn.microsoft.com/en-us/library/windows/apps/hh440968.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
You will also notice that I'm using more WinJS properties such as data-win-control, data-win-options, etc. For example, using data-win-control property I define that <div> will behave as ListView (WinJS.UI.ListView). ListView is one of standard controls in WinJS library for Windows 8 apps. Please find more info about ListView control here: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/br211837.aspx">http://msdn.microsoft.com/en-us/library/windows/apps/br211837.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic (specifically binding details). Please see below how easy it is to bind appropriate view model elements with UI controls for display. All I had to do was to specify the data source using win-data-options property and then implement binding using win-data-bind property. You will also notice that I applied a template to display catalog products in a form of grid <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View: HTML</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Products</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- WinJS references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/css/ui-dark.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/js/base.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/js/ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- App3 references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/css/default.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/js/default.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Products</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="mediumListIconTextTemplate"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.Binding.Template"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">width</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">282px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">height</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">70px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">padding</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">5px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">overflow</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">hidden</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">display</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">margin</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">5px</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">-ms-grid-column</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">2"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="innerText: id"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h4</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="innerText: name"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">h6</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="basicListView"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-control</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="WinJS.UI.ListView"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-win-options</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{itemDataSource : ProductsViewModel.products.dataSource, <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> itemTemplate: select('#mediumListIconTextTemplate'),<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> layout : {type: WinJS.UI.GridLayout}}"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">div</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I also did one small change to CSS file to define background color (darkgrey)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Style: CSS (Default.css)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">background-color</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">: </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">darkgrey</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@media</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">screen</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">and</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-view-state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">fullscreen-landscape)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@media</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">screen</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">and</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-view-state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">filled)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@media</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">screen</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">and</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-view-state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">snapped)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@media</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">screen</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">and</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">-ms-view-state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">fullscreen-portrait)</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that for each product I display its product ID and Name, and the style of ListView elements is pre-defined by WinJS library that's why I didn't even need to style ListView in CSS<o:p></o:p></div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSTm1KIxSNsk_4oGTwD61MDLFrIyIsWPVtWcBvUbLt5ygM6CFYaIdxNI3nFCGnr4P-ULa43EkRtsLPxKtvUNjTuY-8Ogq7hiUes0P5470b_cXfj9bWaoH48nnragOhsSoC5rfFoEu-3hJs/s1600/image004-732359.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5951127010219998194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSTm1KIxSNsk_4oGTwD61MDLFrIyIsWPVtWcBvUbLt5ygM6CFYaIdxNI3nFCGnr4P-ULa43EkRtsLPxKtvUNjTuY-8Ogq7hiUes0P5470b_cXfj9bWaoH48nnragOhsSoC5rfFoEu-3hJs/s320/image004-732359.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 Demo VM to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog <b>sample</b> App using HTML5/WinJS.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Windows 8 Store App, HTML5, WinJS, JavaScript, JS, Microsoft Dynamics AX 2012.</div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com1tag:blogger.com,1999:blog-4565800100410709901.post-31511579004790279302013-11-18T22:13:00.001-08:002013-11-18T22:16:44.803-08:00MVVM – Windows Phone 8 App using HTML5/JavaScript Primer<div class="WordSection1">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Windows Phone 8 App using HTML5/JavaScript Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows Phone 8 Product catalog App using HTML5/JavaScript</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts <b> </b> <b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll develop Windows Phone 8 App using HMTL5/JavaScript based on Windows Phone HTML5 App template<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Visual C# > Windows Phone > Windows Phone HTML5 App template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8buWIjb2uY-JaAg4ZrkBrHFB6bRJesg4EC34mJJJGHBGD0BFYwGbyplNEfcwyrUcrPUqixcyxE9TIAb4rh9t0Dp3vJgOoGh2YXyaMXzmI-1MUbtZrKlQXvBmj3aH3IRbaZCOMPVxrEG0_/s1600/image001-717341.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5947849462979406914" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8buWIjb2uY-JaAg4ZrkBrHFB6bRJesg4EC34mJJJGHBGD0BFYwGbyplNEfcwyrUcrPUqixcyxE9TIAb4rh9t0Dp3vJgOoGh2YXyaMXzmI-1MUbtZrKlQXvBmj3aH3IRbaZCOMPVxrEG0_/s320/image001-717341.jpg" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that essentially it is C#.NET App which wraps up HTML5 code with Web browser control. As opposed to Windows Store Apps written in HTML5/JavaScript where JavaScript (WinJS) is hosted in Windows runtime/OS, Windows Phone 8 Apps written in HTML5/JavaScript are not natively integrated with OS <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs1sm9TlzyHgcFRul3_HONGp2v8mCjt7Bb445j58fp1ZD3fKZMtnJEaSI99xRyMIZeNR7j-YgezpuRJj96cb3Ncju3Ca4gke7zRvd8JCYZ5rVx17HabcggSmQzWnjs7jYyB4A7sJSTJ50z/s1600/image002-720194.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5947849470225928754" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs1sm9TlzyHgcFRul3_HONGp2v8mCjt7Bb445j58fp1ZD3fKZMtnJEaSI99xRyMIZeNR7j-YgezpuRJj96cb3Ncju3Ca4gke7zRvd8JCYZ5rVx17HabcggSmQzWnjs7jYyB4A7sJSTJ50z/s320/image002-720194.png" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog app<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXTtKf6-wkzjzNOFAg42Qbo_9mavmOKhoSOUW4TiapBTC3vZhfSf64H5RLs8TEUXSNvz735Z-KwRMs2sI4z_Pw5fUN7rDYNmwJmgDFIi2kBX71ZiqAgaf_viL5zV06Fti5YCB1SAR92W8b/s1600/image003-721511.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5947849475080957426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXTtKf6-wkzjzNOFAg42Qbo_9mavmOKhoSOUW4TiapBTC3vZhfSf64H5RLs8TEUXSNvz735Z-KwRMs2sI4z_Pw5fUN7rDYNmwJmgDFIi2kBX71ZiqAgaf_viL5zV06Fti5YCB1SAR92W8b/s320/image003-721511.png" /></a></b></div>
<i><o:p></o:p></i><div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to execute JavaScript in Web browser control in Windows Phone 8 App I'll need to enable scripting (IsScriptEnabled="true") as showed below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>MainPage.xaml</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="HTML5App1.MainPage"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">d</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/expression/blend/2008"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.openxmlformats.org/markup-compatibility/2006"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Ignorable</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="d"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontFamily</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontFamilyNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontSize</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontSizeNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Foreground</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneForegroundBrush</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SupportedOrientations</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Orientation</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SystemTray.IsVisible</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--LayoutRoot is the root grid where all page content is placed--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="LayoutRoot"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Background</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Transparent"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">WebBrowser</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Browser"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> HorizontalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Stretch"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> VerticalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Stretch"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Loaded</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Browser_Loaded"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> NavigationFailed</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Browser_NavigationFailed"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">IsScriptEnabled</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="true" </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><!-- ApplicationBar --></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">phone</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">PhoneApplicationPage.ApplicationBar</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBar</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IsVisible</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="True"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IsMenuEnabled</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="True"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Mode</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Minimized"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBarIconButton</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IconUri</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/Assets/AppBar/appbar.back.rest.png"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IsEnabled</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="True"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="back"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Click</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="BackApplicationBar_Click"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBarIconButton</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IconUri</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/Assets/AppBar/appbar.next.rest.png"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> IsEnabled</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="True"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="forward"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Click</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="ForwardApplicationBar_Click"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBar.MenuItems</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBarMenuItem</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="home"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Click</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="HomeMenuItem_Click" /></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBar.MenuItems</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">shell</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ApplicationBar</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">phone</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">PhoneApplicationPage.ApplicationBar</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
As soon as I'm not going to use ApplicationBar I can delete this entire section<o:p></o:p></div>
<div class="MsoNormal">
Please note that index.html will look like this by default and I'm going to change it later<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>index.html</b></div>
<div class="MsoNormal">
<b><o:p></o:p></b> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">http-equiv</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Content-Type"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">content</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/html; charset=UTF-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">type</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="text/css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="/html/css/phone.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Windows Phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">p</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MY APPLICATION</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">p</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">id</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="page-title"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">p</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">page title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">p</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">div</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><b><o:p></o:p></b></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<b><o:p> </o:p></b></div>
<div class="MsoNormal">
Now let's review how I implemented Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product object (function) which has 2 attributes: ID and Name as a part of the model</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
The view model encapsulates presentation logic and state. Please see below how I define ObservableArray of products with respective function(s) (GetProducts) as a part of the view model<span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i></i> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i>Model and ViewModel: JS (JavaScript.js)</i></div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(id, name) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.id = ko.observable(id);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.name = ko.observable(name);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products = ko.observableArray();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.GetProducts = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products.push(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that Model and ViewModel definition is done in JavaScript (JS)<o:p></o:p></div>
<div class="MsoNormal">
MVVM (Model-View-ViewModel) pattern implementation is different in JavaScript (JS) comparing to classic object-oriented languages such as C#.NET. Please note that JavaScript (JS) has objects which can contain data and methods that act upon that data. Objects can contain other objects. JavaScript (JS) does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods. JavaScript (JS) does not have class-oriented inheritance, but it does have prototype-oriented inheritance<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review a view <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Important to mention is that in order to link view and view model by means of binding I used the capabilities of knockout.js JavaScript (JS) library <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Knockout (ko) is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically (e.g., changing depending on the user's actions or when an external data source changes), Knockout (ko) can help you implement it more simply and maintainably<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about Knockout (ko) JavaScript (JS) library here: <a href="http://knockoutjs.com/">http://knockoutjs.com</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic, and this is when I changed <b>index.html</b> populated by default from the template. Please see below how I iterate through the list of products and map view model object properties with elements of UI for display<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View: HTML <b>(index.html)</b></i></div>
<div class="MsoNormal">
<i><strong></strong><o:p></o:p></i> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://www.w3.org/1999/xhtml"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Product Catalog</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: red; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">"js/jquery-1.10.2.min.js"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: red; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">"js/knockout-2.3.0.js"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: red; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">"js/JavaScript.js"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> $(document).ready(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel.GetProducts();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ko.applyBindings(productViewModel);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> })<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">link</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">href</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: red; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: red;">"css/StyleSheet.css"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">rel</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="stylesheet"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Product Catalog</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="foreach: products"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="id"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: id"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="name"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: name"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
Please note that I also used JQuery JavaScript (JS) library because it is needed to be able to use $document variable. jQuery is a multi-browser (cf. <a href="http://en.wikipedia.org/wiki/Cross-browser" title="Cross-browser"><span style="color: windowtext; text-decoration: none;">cross-browser</span></a>) <a href="http://en.wikipedia.org/wiki/JavaScript_library" title="JavaScript library"> <span style="color: windowtext; text-decoration: none;">JavaScript library</span></a> designed to simplify the <a href="http://en.wikipedia.org/wiki/Client-side_scripting" title="Client-side scripting"> <span style="color: windowtext; text-decoration: none;">client-side scripting</span></a> of <a href="http://en.wikipedia.org/wiki/HTML" title="HTML"><span style="color: windowtext; text-decoration: none;">HTML</span></a>. Please find more info about JQuery JavaScript (JS) library here: <a href="http://jquery.com/">http://jquery.com</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
Please note that I created a CSS file to define a style<span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i></i> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i>Style: CSS (StyleSheet.css)</i></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<em></em><span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">td</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-style</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">solid</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">text-align</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">center</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#id</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#name</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I defined different styles to display product ID and Name<o:p></o:p></div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7zkD71icaQysae6l5WomdAsxoRF7utzwuwpY5r6V-v7HbGvv5GFgeAqSzBZ_wi36iSyoG2eQYzjjj5-E-3tcXqrmDhbo22xBBPV1YsoAcEee2BlfPBwewBEyt4AYNxqZThFtl6deES0DK/s1600/image004-723609.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5947849482483411634" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7zkD71icaQysae6l5WomdAsxoRF7utzwuwpY5r6V-v7HbGvv5GFgeAqSzBZ_wi36iSyoG2eQYzjjj5-E-3tcXqrmDhbo22xBBPV1YsoAcEee2BlfPBwewBEyt4AYNxqZThFtl6deES0DK/s320/image004-723609.jpg" /></a><o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Product catalog <b>sample</b> Windows Phone 8 App using HTML5/JavaScript.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Windows Phone 8 App, HTML5, JavaScript, JS, Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com5tag:blogger.com,1999:blog-4565800100410709901.post-84545719777706167032013-11-07T16:58:00.001-08:002013-11-07T17:05:30.501-08:00Microsoft Dynamics AX 2012 in Windows Azure (IaaS) [Distributed Install]<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 in Windows Azure (IaaS) <u>[Distributed Install]</u></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><u></u></strong><o:p></o:p> </div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to explain how to deploy Microsoft Dynamics AX 2012 in a distributed environment as Infrastructure-as-a-Service (IaaS) using Windows Azure platform.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Challenge:</b> You may want to deploy Microsoft Dynamics AX 2012 in a <b><u>distributed environment</u></b> as Infrastructure-as-a-Service (IaaS) for the purposes of POC (Proof of concept) for future use in Production. There're number of options when deploying Microsoft Dynamics AX 2012 in the Cloud, it may be a Private Cloud (Company data centers), Partner Private Cloud (Partner-hosted deployment), Public Cloud (for example, Windows Azure platform) or Hybrid Cloud (when part of the infrastructure still resides On-Premises). <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Windows Azure provides on-demand infrastructure that scales and adapts to your changing business needs. Whether you are creating new applications or running existing applications we provide best-in-class price-performance and end-to-end support. Please find more information about Windows Azure Infrastructure Services here:<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <a href="http://www.windowsazure.com/en-us/solutions/infrastructure">http://www.windowsazure.com/en-us/solutions/infrastructure</a><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Scenario</b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In this scenario I want to deploy Microsoft Dynamics AX 2012 in a <b><u>distributed environment</u></b> as Infrastructure-as-a-Service (IaaS) for the purposes of POC (Proof of concept) and see how I could run production instance of AX in the Cloud. <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough</b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the purposes of this walkthrough I created number of Windows Azure Virtual machines with Windows Server 2012 OS and installed different required Microsoft Dynamics AX 2012 components on different (dedicated) VMs. <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I assume that you already have Windows Azure Subscription account to complete this walkthrough. In case you don't you may want to sign up for the free trial here:<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <a href="http://www.windowsazure.com/en-us/pricing/free-trial">http://www.windowsazure.com/en-us/pricing/free-trial</a><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Before we begin I’ll provide a quick overview of what we are trying to achieve<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>Diagram</i></b></div>
<div class="MsoNormal">
<b><i><o:p></o:p></i></b> </div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:468pt;height:288.75pt' o:ole=""> <v:imagedata src="cid:image001.emz@01CEDBDA.80267300" o:title="" /> </v:shape><![endif]--><![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHzFI9xiL9w_L6J1KX3JPU2hA9EY-iyUUiNthpYZK8DSrwKWTOhlxP0eJCq3ctCn5Ol03M-F7iKESzO0tZeqYl61VEVCplnzS9QlngyFONUNnSiKXwK02OYHXsLZa8dQCVwMiI3gb7pt-A/s1600/image002-702056.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686288353348306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHzFI9xiL9w_L6J1KX3JPU2hA9EY-iyUUiNthpYZK8DSrwKWTOhlxP0eJCq3ctCn5Ol03M-F7iKESzO0tZeqYl61VEVCplnzS9QlngyFONUNnSiKXwK02OYHXsLZa8dQCVwMiI3gb7pt-A/s320/image002-702056.png" /></a><![endif]><!--[if gte mso 9]><xml> <o:OLEObject Type="Embed" ProgID="Visio.Drawing.15" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1445348635"> </o:OLEObject> </xml><![endif]--><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As you can see I’m going have dedicated VMs for Domain Controller, Microsoft SQL Server, AOS and Client, - all running Microsoft Windows Server 2012. Please note that my Domain Controller will also reside in the Cloud, however in the reality you may want to keep Domain Controller On-Premises and utilize the power of Windows Azure Active Directory for AD management. Windows Azure Active Directory (Windows Azure AD) is a modern, REST-based service that provides identity management and access control capabilities for your cloud applications. Windows Azure Active Directory allows you to sync with local Active Directory. Please find more info about Windows Azure Active Directory here: <a href="http://www.windowsazure.com/en-us/services/active-directory/">http://www.windowsazure.com/en-us/services/active-directory/</a> <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review the process step-by-step!<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual network<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvHxct3H3gY4pXr5Py1qNj7DMIWY19V_WXWXw7JWUkksQ8YNdfsNaAGa4YmjRgcsMhL-aeQpR3yZ4d0mJO_fA_KGV43HB28mgviZAYpfl0r4OHW0mnKfZkHRyvZHALiGA-LyvZjENlrFg/s1600/image003-706481.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686300582258994" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNvHxct3H3gY4pXr5Py1qNj7DMIWY19V_WXWXw7JWUkksQ8YNdfsNaAGa4YmjRgcsMhL-aeQpR3yZ4d0mJO_fA_KGV43HB28mgviZAYpfl0r4OHW0mnKfZkHRyvZHALiGA-LyvZjENlrFg/s320/image003-706481.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a first step I want to establish Virtual Network in the Cloud to connect my VMs, I’ll call it “AX” <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Network – Virtual Network Details<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcD0-n56VDtYnU7xDDhjJzhNcXnBSVafpZfaVfjuFZ1-83tKnixEti9fnFl48TfA8DLgdlMc0ssjb10H9j7RBINnocH2l0ap9eS32HbKt_5-l_MEhLNCZVI45X-Ky3E-6LYyNEKOGc3dN2/s1600/image004-708754.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686313588789874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcD0-n56VDtYnU7xDDhjJzhNcXnBSVafpZfaVfjuFZ1-83tKnixEti9fnFl48TfA8DLgdlMc0ssjb10H9j7RBINnocH2l0ap9eS32HbKt_5-l_MEhLNCZVI45X-Ky3E-6LYyNEKOGc3dN2/s320/image004-708754.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Network – DNS Servers and VPN Connectivity<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwHQ93dNPhWC3q_Lre4XN5vTwkP_ONkYr0GIKoN7lruEorINRW9H_WBa2cwJq5TvVNRY5B8ASAGmE9uqLb-Z0RZDPTEGV6u9v10jWQ8R2G-K06_fQB1YxRQn1nV4I2SSVfr6kLYgEFak7i/s1600/image005-712531.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686329902586226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwHQ93dNPhWC3q_Lre4XN5vTwkP_ONkYr0GIKoN7lruEorINRW9H_WBa2cwJq5TvVNRY5B8ASAGmE9uqLb-Z0RZDPTEGV6u9v10jWQ8R2G-K06_fQB1YxRQn1nV4I2SSVfr6kLYgEFak7i/s320/image005-712531.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Network – Virtual Network Address Spaces<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHajkwL0TkeeoJMLk5JO27RuPperofvLREk2o1YWXTxZbZd9xJUyIuKFQ3-s4ojXK1d1jRGdfvfidaWgeJSpl3Pj5GZV5QcBt47WltLWSbVOYm-qiYqCSqRs1KZyAnpeThMZD9t_bxFqT1/s1600/image006-714915.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686342957852946" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHajkwL0TkeeoJMLk5JO27RuPperofvLREk2o1YWXTxZbZd9xJUyIuKFQ3-s4ojXK1d1jRGdfvfidaWgeJSpl3Pj5GZV5QcBt47WltLWSbVOYm-qiYqCSqRs1KZyAnpeThMZD9t_bxFqT1/s320/image006-714915.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now once I create Virtual Network I can start provisioning Virtual Machines<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual network<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1IJZ5sTXOl5mtwiG_aQVp69W68AwvOWdQxzxcPY-fXI01oa1xC17638iNR81NTCB4fCBWvZYYoc9AxrcL5ecSl3_d6Znp_wuOnJc8GGRInfkLKSNvCmkTP-aTxWeJwPJzZBuAq4XT4t83/s1600/image007-718076.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686351961617874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1IJZ5sTXOl5mtwiG_aQVp69W68AwvOWdQxzxcPY-fXI01oa1xC17638iNR81NTCB4fCBWvZYYoc9AxrcL5ecSl3_d6Znp_wuOnJc8GGRInfkLKSNvCmkTP-aTxWeJwPJzZBuAq4XT4t83/s320/image007-718076.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For my Virtual Machines I’ll use Microsoft Windows Server 2012 Data Center available in the Gallery </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>Virtual machines<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8J8o-atyGI7pk75Am_jOKKydN1SDPZWx4HhX9qXwOpPxEKGR4ya9ii29xC5HxHGEyJYp2i7ud605RQv7Z6PoNFIwLRLEVVcAEvHb7yOHjToyVrrgDuMYD-pbH3y7nRf-MSz7uHazUI4Ke/s1600/image008-721203.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686362929369858" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8J8o-atyGI7pk75Am_jOKKydN1SDPZWx4HhX9qXwOpPxEKGR4ya9ii29xC5HxHGEyJYp2i7ud605RQv7Z6PoNFIwLRLEVVcAEvHb7yOHjToyVrrgDuMYD-pbH3y7nRf-MSz7uHazUI4Ke/s320/image008-721203.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine image selection<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTfI8s3_2xjX2xC07FqSmNz3JrQhXhfAsptp2APg3wrIiFkQ58GbUs4Hsu_xQFb95jcE0whyphenhyphencnQIJnKUklNbRdfzrXxrukovI4ixqmAsW1rZK8M1GgUabjGtnz4M1Cej21JA26x1D5obPI/s1600/image009-723315.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686377032496962" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTfI8s3_2xjX2xC07FqSmNz3JrQhXhfAsptp2APg3wrIiFkQ58GbUs4Hsu_xQFb95jcE0whyphenhyphencnQIJnKUklNbRdfzrXxrukovI4ixqmAsW1rZK8M1GgUabjGtnz4M1Cej21JA26x1D5obPI/s320/image009-723315.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHtL8CHY2jJY59MR_U_6EOhiHbLQZMbgTsxs3y5TWObY4ewz9KCijYgLVBq4v95cO2heQDar7eK-KqfBT1URfNH0gHKGkcWCP6lfFhrJE3E33VvnTzvSjYhJLHg1Aue631wZeLpXJl63lu/s1600/image010-725938.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686385525369458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHtL8CHY2jJY59MR_U_6EOhiHbLQZMbgTsxs3y5TWObY4ewz9KCijYgLVBq4v95cO2heQDar7eK-KqfBT1URfNH0gHKGkcWCP6lfFhrJE3E33VvnTzvSjYhJLHg1Aue631wZeLpXJl63lu/s320/image010-725938.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
To optimize performance I’m going to assign different sizes to different Virtual Machines, thus Domain controller will have Medium size, Client will have A5 size (2 cores), AOS will have A6 size (4 cores) and finally SQL Server will have A7 size (8 cores)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIfhg2hpMf8dJn4JDOEMQC2Vyr5itgHUHy8xqahYIzVgNLib35RMc0bfAZ3OHQCOWDZvmjtED5VGXl_8EuQaskvgxmDsDHCYDSdKMkVo2DyCAe3BjBF7R2IN_lSO3np3EQjprpgkygyBh/s1600/image011-728015.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686392074832882" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBIfhg2hpMf8dJn4JDOEMQC2Vyr5itgHUHy8xqahYIzVgNLib35RMc0bfAZ3OHQCOWDZvmjtED5VGXl_8EuQaskvgxmDsDHCYDSdKMkVo2DyCAe3BjBF7R2IN_lSO3np3EQjprpgkygyBh/s320/image011-728015.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I’ll add all my VMs to the same Virtual Network (AX) as depicted above<o:p></o:p></div>
<div class="MsoNormal">
By default Remote Desktop and PowerShell endpoints will be enabled for Virtual Machines <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja-W0O9XFzJ7jUHxjjKMtV0poSAJZNzduC9KMOnPHuxeQo9obDCweQ17EcwBtyq7GZMvh25lB2i68qLD5IdyESAK9SsL32t_s4Y_QdlOrcNJjNkCL0ZFmlzymjwc9PrQ0lsU7zCFzLt4tE/s1600/image012-730628.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686410529629826" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja-W0O9XFzJ7jUHxjjKMtV0poSAJZNzduC9KMOnPHuxeQo9obDCweQ17EcwBtyq7GZMvh25lB2i68qLD5IdyESAK9SsL32t_s4Y_QdlOrcNJjNkCL0ZFmlzymjwc9PrQ0lsU7zCFzLt4tE/s320/image012-730628.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result I’ll have a set of Virtual Machines created which will support my Microsoft Dynamics AX 2012 distributed environment<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual machines<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR913rN5mX7XdkZZUFrUtU7E5SHTzFyIyZEewR0P6n50s2zkrdpHfufX3EAa83QgjseAhTo3Dv7UUIZiLPs46haeBZplcxa-v7UnfYaSmQ8WYNsbaph8JHy_nTaY9rP2qwmQKnv8Z9kgnE/s1600/image013-733880.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686419984965106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR913rN5mX7XdkZZUFrUtU7E5SHTzFyIyZEewR0P6n50s2zkrdpHfufX3EAa83QgjseAhTo3Dv7UUIZiLPs46haeBZplcxa-v7UnfYaSmQ8WYNsbaph8JHy_nTaY9rP2qwmQKnv8Z9kgnE/s320/image013-733880.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please also note that all my VMs are connected to the same Virtual Network (AX)<o:p></o:p></div>
<div class="MsoNormal">
Now we can start working with Virtual Machines. My next step is to establish a Domain Controller<o:p></o:p></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>Domain Controller<o:p></o:p></i></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For this purpose on a dedicated machine (Domain Controller) I’ll install AD (Active Directory)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZAr7pQ80vxcwOD8sH5Gi7P3g1J0sg-58r1XbZMXQUMpLNRIeJ9kQ0qWif4c-EjPrPJ9C_-MNm37n25dg7eYMptLnMO_kjbznZMG5nq0w9qsFzsCAWpXgHSb84FLpF5-hhx4eU8sKcxgoz/s1600/image014-736012.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686426143999346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZAr7pQ80vxcwOD8sH5Gi7P3g1J0sg-58r1XbZMXQUMpLNRIeJ9kQ0qWif4c-EjPrPJ9C_-MNm37n25dg7eYMptLnMO_kjbznZMG5nq0w9qsFzsCAWpXgHSb84FLpF5-hhx4eU8sKcxgoz/s320/image014-736012.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Required features<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm8y0m04asGu36_Q5HIAv4pmnncQsgCHoZFKsEfCLGWNZGb4Olyjtg72PZtuWBbxIb86UgGyjVcFdiT3KYcHFHO_zpXBc8bTrES77T4_zDBySXV8-QZdaiAVV0_m9D9bkDFSq9TvoGamL7/s1600/image015-738370.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686440340347378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhm8y0m04asGu36_Q5HIAv4pmnncQsgCHoZFKsEfCLGWNZGb4Olyjtg72PZtuWBbxIb86UgGyjVcFdiT3KYcHFHO_zpXBc8bTrES77T4_zDBySXV8-QZdaiAVV0_m9D9bkDFSq9TvoGamL7/s320/image015-738370.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After AD role is installed on Domain Controller VM I’ll formally promote the server to domain controller<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Promote this server to a domain controller<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcE7vXeUb433q9MjG3IV2BF0O1c9QiaHeUDBn6iMyyTCsuIYT1g8EQMY_ffBRziciaxb8CNhJNZiUZ_WgMIdJd2WcAHQaiHW_fjmQ7VcDtlOqUAcivrEYubR-j2-1gvwt0JKPdviUmb-cx/s1600/image016-740733.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686447010814018" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcE7vXeUb433q9MjG3IV2BF0O1c9QiaHeUDBn6iMyyTCsuIYT1g8EQMY_ffBRziciaxb8CNhJNZiUZ_WgMIdJd2WcAHQaiHW_fjmQ7VcDtlOqUAcivrEYubR-j2-1gvwt0JKPdviUmb-cx/s320/image016-740733.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Active Directory Domain Services Configuration Wizard – Deployment Configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgSUx7jAEDa3Dgs8ieK8bT-wHjNdH53zoByjqa35cBZ24F6PmmqHlF-Q4kvj76SVENANDbAjMqEdF9_8xpx7LVVhdzLwL3a-LePGWwOPwtJjtg9IiakGsfOJ_EvrF4qJsvmBOR1GbfpkfS/s1600/image017-743257.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686460873688994" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgSUx7jAEDa3Dgs8ieK8bT-wHjNdH53zoByjqa35cBZ24F6PmmqHlF-Q4kvj76SVENANDbAjMqEdF9_8xpx7LVVhdzLwL3a-LePGWwOPwtJjtg9IiakGsfOJ_EvrF4qJsvmBOR1GbfpkfS/s320/image017-743257.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I’m establishing my custom/fake domain called “AX.COM”<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Roles and Server Group View<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-AtrU6RN2oYcbeKSdRHnI9TZJ4FqDcV-j0_z_89TyNnuiiWpP8fkLIzExNaoyPZLu2FSeEgE_C8ri-aOifWFG_-Uw-qD-pWwuvsRMf_KPktqx8Q9lgvNN7LC6YZULupguj2AKq17MLo5a/s1600/image018-745652.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686471141498738" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-AtrU6RN2oYcbeKSdRHnI9TZJ4FqDcV-j0_z_89TyNnuiiWpP8fkLIzExNaoyPZLu2FSeEgE_C8ri-aOifWFG_-Uw-qD-pWwuvsRMf_KPktqx8Q9lgvNN7LC6YZULupguj2AKq17MLo5a/s320/image018-745652.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result I successfully promoted the server to domain controller. Now I can check that it’s included into Domain AX.COM properly<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System - Domain<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVNdV5_Gy_uUFNLYc3qqtlgEMHtnWrpbxpQRyuhoMB1-TIgHEwc1ihK5RC_hxWMzw3J5cE2sR9iweaW5ZhFi83by5uCwwk9b8G7GGK7O3BW35eb_MXB_eYcIuVvLTW1562gwLpH9Lew-7W/s1600/image019-748623.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686488944234754" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVNdV5_Gy_uUFNLYc3qqtlgEMHtnWrpbxpQRyuhoMB1-TIgHEwc1ihK5RC_hxWMzw3J5cE2sR9iweaW5ZhFi83by5uCwwk9b8G7GGK7O3BW35eb_MXB_eYcIuVvLTW1562gwLpH9Lew-7W/s320/image019-748623.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
By running ipconfig command I can find out its IP address (local range), say it is 10.0.0.X<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Ipconfig<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQeNKi7Mb3aSQeKPkMqSnRcJ2dKBTyRqBzbMX-7cmBunUaMahP6n7dLXDitxsamJh652ctkxaT7uBMDIHhGoZhTcoFNFLB_hISrZUbHqupLNsBRO5RhkBMt5edSNxHncmkuiA8kEqYiDme/s1600/image020-751280.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686493853592450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQeNKi7Mb3aSQeKPkMqSnRcJ2dKBTyRqBzbMX-7cmBunUaMahP6n7dLXDitxsamJh652ctkxaT7uBMDIHhGoZhTcoFNFLB_hISrZUbHqupLNsBRO5RhkBMt5edSNxHncmkuiA8kEqYiDme/s320/image020-751280.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we’ll switch to SQL Server Virtual Machine<o:p></o:p></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>SQL<o:p></o:p></i></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
SQL Server Virtual Machine has not been added to the domain yet<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System - Domain <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyML3M9S6_y2UKHiLL9GKGDgUeI1U4WD8nZki0A5_IvWIoSU7kpPJ3TyOqcSZftyWyDO4ZNq9LJCZK0Ja706ssyH65r0LncB3k6Un3Eo1NRr23nvAG-s1TK2jAaLldcLZLuNTicFmtkfJv/s1600/image021-753470.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686505913702786" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyML3M9S6_y2UKHiLL9GKGDgUeI1U4WD8nZki0A5_IvWIoSU7kpPJ3TyOqcSZftyWyDO4ZNq9LJCZK0Ja706ssyH65r0LncB3k6Un3Eo1NRr23nvAG-s1TK2jAaLldcLZLuNTicFmtkfJv/s320/image021-753470.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So the next step will be to add SQL Server Virtual Machine to AX.COM domain<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System Properties - Change<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFOioDK-fIZzZgSne1WIh2cM4RqcwW5x18DfPG8jMujQtRbJlWHZLP-1PJ92cuow13b9s7Iqx8C4BfNqsEPKtNQ1N2GeBysfkKZ6HbWkFK9Mo6lNr3f1rRrhHT1zUdyCOJInG2fhyUXPb1/s1600/image022-755818.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686510887894002" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFOioDK-fIZzZgSne1WIh2cM4RqcwW5x18DfPG8jMujQtRbJlWHZLP-1PJ92cuow13b9s7Iqx8C4BfNqsEPKtNQ1N2GeBysfkKZ6HbWkFK9Mo6lNr3f1rRrhHT1zUdyCOJInG2fhyUXPb1/s320/image022-755818.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer Name/Domain Changes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbjRn8HY8cb1Ip-TRyGUG5UF8aburAmC3WRRMVGX6fsizjNqzfas1W2v2qDAeKx14_AYw3LSG40SkwVmpiot4W2uRPKR-AGd2Ky5F-M5Mp7SVw1R_tpIM8GrFIam3lNlH-r3_KImYe6VEl/s1600/image023-758317.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686525315915346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbjRn8HY8cb1Ip-TRyGUG5UF8aburAmC3WRRMVGX6fsizjNqzfas1W2v2qDAeKx14_AYw3LSG40SkwVmpiot4W2uRPKR-AGd2Ky5F-M5Mp7SVw1R_tpIM8GrFIam3lNlH-r3_KImYe6VEl/s320/image023-758317.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In Computer Name/Domain Change screen I’ll specify Member of Domain: AX.COM<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer Name/Domain Changes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2rN1POBJyAd7ei2xoRgYLyvl6HBTdQspAWHFzct5vjszpP9DP8XyRqUKvBvSvVIeq7g1VDzHpOEhcrstjzE88YEEOSSKp_9K1mN0c78_bu79Inq8FOUO9EygBEq8MqcJ_UMlhPi4qcA9L/s1600/image024-760454.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686535327989138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2rN1POBJyAd7ei2xoRgYLyvl6HBTdQspAWHFzct5vjszpP9DP8XyRqUKvBvSvVIeq7g1VDzHpOEhcrstjzE88YEEOSSKp_9K1mN0c78_bu79Inq8FOUO9EygBEq8MqcJ_UMlhPi4qcA9L/s320/image024-760454.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However at this point the system can’t connect to the Domain Controller <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer Name/Domain Changes - Error<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqrsw2bQ-R7zHt5Oah6E3LVGfGk0ny3ZD6v64RDwqDQr-i0LeB6X3XcEp5Bp2wnHN8CWAYHq6Bj9z8KM7OjpJvx2G8-QnnqbYVdx_Ghfzs2Ybd9eQ8WMoZNNJ1Q6WOdxdAtuvFaTVLiFTP/s1600/image025-763118.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686541665507602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqrsw2bQ-R7zHt5Oah6E3LVGfGk0ny3ZD6v64RDwqDQr-i0LeB6X3XcEp5Bp2wnHN8CWAYHq6Bj9z8KM7OjpJvx2G8-QnnqbYVdx_Ghfzs2Ybd9eQ8WMoZNNJ1Q6WOdxdAtuvFaTVLiFTP/s320/image025-763118.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
That’s why I will define a Default Gateway IP Address to let the system find Domain Controller <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Network and Sharing Center<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlsWpqV68WCAjTIIXF_b-ZqTGX3I2ehFHTvlsq5CiNt8i3sTvEkAE6v2MGfZjCEWeAOUq4r49q0FwBPOXB9S8kw80mEvwTpznLkSsDl5UGRvcUH3a2oRLtIC08H9mhMA2piyE1Uvkhwn79/s1600/image026-765831.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686555033333922" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlsWpqV68WCAjTIIXF_b-ZqTGX3I2ehFHTvlsq5CiNt8i3sTvEkAE6v2MGfZjCEWeAOUq4r49q0FwBPOXB9S8kw80mEvwTpznLkSsDl5UGRvcUH3a2oRLtIC08H9mhMA2piyE1Uvkhwn79/s320/image026-765831.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connection Ethernet - Status<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisujv1jJB9SX0pm0CMK89eZrmIPJAvhyrDhavmSkyjFNhkLf_8H1xWefpgaErz1Z2jt4ysjGsOElr7zB29TJiCC0PdotbbzN-KAhIzDF54XNJjnU3EgyDp8JB9lLJUJJVDd-MztU1i9yIq/s1600/image027-767903.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686564885136322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisujv1jJB9SX0pm0CMK89eZrmIPJAvhyrDhavmSkyjFNhkLf_8H1xWefpgaErz1Z2jt4ysjGsOElr7zB29TJiCC0PdotbbzN-KAhIzDF54XNJjnU3EgyDp8JB9lLJUJJVDd-MztU1i9yIq/s320/image027-767903.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connection Ethernet - Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcRreDEqNVP_bBJLw_Q9nOqngq073oB4T5G0cfgsgH-d8vRg7dLSrERXxbVxDRBuAE4G26yaGLhyPu_exgqtzLYjlMpuyoZ9fWPY_ZgD2LZjgLICxzydcBxV6OEFDwGoyjJe_ccIe0r9f4/s1600/image028-770254.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686577519163586" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcRreDEqNVP_bBJLw_Q9nOqngq073oB4T5G0cfgsgH-d8vRg7dLSrERXxbVxDRBuAE4G26yaGLhyPu_exgqtzLYjlMpuyoZ9fWPY_ZgD2LZjgLICxzydcBxV6OEFDwGoyjJe_ccIe0r9f4/s320/image028-770254.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Internet Protocol Version 4 (TCP/IPv4) - Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcgxL2tD1YE4UhwtixppIws_iDk6aLw60mkm3JY2DqlR6579ALczo7ggTBIOA6vkiXxfyL8K5Mb8bzLsA4orZbg8Lv6Xp2sT_t1akmo5kO3Pkc5DF7n0t-RuuLkbWSXF3z0iWDtFKkWM3G/s1600/image029-772667.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686588431517330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcgxL2tD1YE4UhwtixppIws_iDk6aLw60mkm3JY2DqlR6579ALczo7ggTBIOA6vkiXxfyL8K5Mb8bzLsA4orZbg8Lv6Xp2sT_t1akmo5kO3Pkc5DF7n0t-RuuLkbWSXF3z0iWDtFKkWM3G/s320/image029-772667.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Advanced TCP/IP Settings<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIxd-lEAVUtgtyAucsu3R3xCEj-Wx8QzpHe_QaQQP_1Rheg0Oua0oSVi7vVyndeAfT3gcVtmx3udqF1Xo4tsp9QSpELz1vDqG5T_RgAcxoDr18oRixRbyHo6Br-yFapoJClkppXyNXiPdk/s1600/image030-775960.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686598836719298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIxd-lEAVUtgtyAucsu3R3xCEj-Wx8QzpHe_QaQQP_1Rheg0Oua0oSVi7vVyndeAfT3gcVtmx3udqF1Xo4tsp9QSpELz1vDqG5T_RgAcxoDr18oRixRbyHo6Br-yFapoJClkppXyNXiPdk/s320/image030-775960.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Advanced TCP/IP Settings - DNS <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP67q0IXo4wvAhyNdm4elqrATQL_IEoguDNw4uEyMbFEtCqeADm9UlD9uo_sAMhk8toaxgHvntPHsFzYH_UVNBm0hN3fgcvrmipxeS4C2Mxa-H5fKIN8_auprUCiLbPIcgnzZAJUYZy4v7/s1600/image031-778288.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686609984264338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP67q0IXo4wvAhyNdm4elqrATQL_IEoguDNw4uEyMbFEtCqeADm9UlD9uo_sAMhk8toaxgHvntPHsFzYH_UVNBm0hN3fgcvrmipxeS4C2Mxa-H5fKIN8_auprUCiLbPIcgnzZAJUYZy4v7/s320/image031-778288.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I will explicitly specify IP Address of my Domain Controller (10.0.0.X) as DNS Server<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Advanced TCP/IP Settings - DNS <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_5SEMFI4sGX-N9kCq3H_kABzrKRhhQ9kdHSckSAfBEs_lSyfFzmQHjdkmoCe5BC_ofKNiqk7l-Cl1OLSbuiGo_0B0DshRckApF5Nr2F0_XWeZcyX0f6jX9Whvh75ILjc0ds-8n5k4YHQA/s1600/image032-780763.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686621651610210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_5SEMFI4sGX-N9kCq3H_kABzrKRhhQ9kdHSckSAfBEs_lSyfFzmQHjdkmoCe5BC_ofKNiqk7l-Cl1OLSbuiGo_0B0DshRckApF5Nr2F0_XWeZcyX0f6jX9Whvh75ILjc0ds-8n5k4YHQA/s320/image032-780763.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Finally I will commit changes to DNS setup<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result this IP Address will show up as Preferred DNS Server<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Internet Protocol Version 4 (TCP/IPv4) - Properties<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoxTjPek6Sk2SLnGXPec_s3fxetvDnAfMUAanWFQseFpCnXHhs_8AQF4P_ilRn2TMVGUOgAsvBw5A9eLN3cfVz514hffmoJzTEuFlGcyuB5qw9VbkvBDUfK3phTWABosAoxirR43f5aDf5/s1600/image033-783149.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686629086201554" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoxTjPek6Sk2SLnGXPec_s3fxetvDnAfMUAanWFQseFpCnXHhs_8AQF4P_ilRn2TMVGUOgAsvBw5A9eLN3cfVz514hffmoJzTEuFlGcyuB5qw9VbkvBDUfK3phTWABosAoxirR43f5aDf5/s320/image033-783149.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now when I try to add the machine to the domain the system will ask me Administrator credentials<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Security<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWXyhiGSBq33oOfgYelpPSo6RixywHFzXnsrEyGPfgVm8wQqZZIFTgNY8a6I38cvBgrOka7QOmCHu9lE1nxAuSiBEHVtVT9baex4o-dM_eBGSl7Xst7uy9Dx5XB7rx8LQgevYKafEzt30j/s1600/image034-785151.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686642310086514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWXyhiGSBq33oOfgYelpPSo6RixywHFzXnsrEyGPfgVm8wQqZZIFTgNY8a6I38cvBgrOka7QOmCHu9lE1nxAuSiBEHVtVT9baex4o-dM_eBGSl7Xst7uy9Dx5XB7rx8LQgevYKafEzt30j/s320/image034-785151.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And ultimately this machine will be added to the domain<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Computer Name/Domain Changes – Welcome to the AX.COM domain<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXS3E8lTaalAVHdvBTdcqloIVQsTUO6Sw3IHHqqFf7BNuR2kB7Cv12q3GPBjZHcldkxDKzDtSWgouuty16BqL3e1hdoHX9fRgnXO6esv2h7xfCVjXZ94VuwhqNc0PII9zlx_tF3wvVogJ0/s1600/image035-787597.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686650088180818" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXS3E8lTaalAVHdvBTdcqloIVQsTUO6Sw3IHHqqFf7BNuR2kB7Cv12q3GPBjZHcldkxDKzDtSWgouuty16BqL3e1hdoHX9fRgnXO6esv2h7xfCVjXZ94VuwhqNc0PII9zlx_tF3wvVogJ0/s320/image035-787597.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I can verify that SQL machine is added to the domain<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH5hHm_LP_NtMvX1fWCy6isCr93awQd8BVdGaHZUpAiUjR3nRk5X4Mr0g79WoYi-y1pfJ2b83jy2JMnfIKG7zD2zMImlyCE6qJM7IKo8_t9vvSRhhUoMaPpN_WzKKROJ4DQN5kAzgXJlM9/s1600/image036-790140.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686657115384354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH5hHm_LP_NtMvX1fWCy6isCr93awQd8BVdGaHZUpAiUjR3nRk5X4Mr0g79WoYi-y1pfJ2b83jy2JMnfIKG7zD2zMImlyCE6qJM7IKo8_t9vvSRhhUoMaPpN_WzKKROJ4DQN5kAzgXJlM9/s320/image036-790140.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I can also successfully ping AXPDC machine now<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The next step will be to install Microsoft SQL Server on SQL machine. For this example I chose to install Microsoft SQL Server 2012 <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Server 2012 Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3N_qOhPIdMrknKwqtULBulAtQ9RASIHD5IhlnU5Ulq_xv78BQARRKJb9waxv7s2pZJFg3PhOR0VZFYcfY_Aj9B_QjOjQPDO38zFncv9f8v1y5qH6PLsCBY7btZ9QMpdmbUuv6PXVr9VMl/s1600/image037-793004.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686676746126146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3N_qOhPIdMrknKwqtULBulAtQ9RASIHD5IhlnU5Ulq_xv78BQARRKJb9waxv7s2pZJFg3PhOR0VZFYcfY_Aj9B_QjOjQPDO38zFncv9f8v1y5qH6PLsCBY7btZ9QMpdmbUuv6PXVr9VMl/s320/image037-793004.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
During installation you may also note a Firewall warning which has to be taken care of to enable remote access to Microsoft SQL Server<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Server 2012 Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsltG8mpG25ZOmqwRPd0DovRXziYSaQAu1Qmn2KU7KO4wrNhwkceEeJ-fmavg1dk2GzGA7d76yxsFgBbE_-zP9OVVTwnhTmm8IrEVlgJw3mCSyP5EoWMDzPi6ywe2MzOs2K0o0htkioeS0/s1600/image038-796640.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686689674906946" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsltG8mpG25ZOmqwRPd0DovRXziYSaQAu1Qmn2KU7KO4wrNhwkceEeJ-fmavg1dk2GzGA7d76yxsFgBbE_-zP9OVVTwnhTmm8IrEVlgJw3mCSyP5EoWMDzPi6ywe2MzOs2K0o0htkioeS0/s320/image038-796640.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I’ll mark Full text search feature which is required by AX and also mark Management tools in order to install SSMS (SQL Server Management Studio)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>SQL Server 2012 Setup</i> <i><o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJEXj66eUOfqJY3fiKe3g2_f3z3t130vk5BhEL4c7RgMQp8HrmrOFlkRLhAxMg75yU9pCqn5pdC_Prck3ugcGLlxYmQvyKerxEBGJzYKETXWdoan3hpfBAjOWV1Yi9x5-V9Z4NoHs5-TGp/s1600/image039-799898.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686712039601842" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJEXj66eUOfqJY3fiKe3g2_f3z3t130vk5BhEL4c7RgMQp8HrmrOFlkRLhAxMg75yU9pCqn5pdC_Prck3ugcGLlxYmQvyKerxEBGJzYKETXWdoan3hpfBAjOWV1Yi9x5-V9Z4NoHs5-TGp/s320/image039-799898.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In order to be able to manage AD from any machine (including SQL machine) for convenience I’ll also install Remote Server Administration tools <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard - Remote Server Administration tools<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL3w1Bq-ORJoKfGO8EZ5fJsFr0nv8tnSmfxiYnsLATsz7pXYq5FLUCH87L2TKhUrAzE54ZMf4zPnBItR0oinDCK4UrBNb7pxHpm4Ga9oN3kKM3fXhBhvHFAZH6vk7-uAa-4cyXK-Sge6dh/s1600/image040-705105.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686724296555058" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL3w1Bq-ORJoKfGO8EZ5fJsFr0nv8tnSmfxiYnsLATsz7pXYq5FLUCH87L2TKhUrAzE54ZMf4zPnBItR0oinDCK4UrBNb7pxHpm4Ga9oN3kKM3fXhBhvHFAZH6vk7-uAa-4cyXK-Sge6dh/s320/image040-705105.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Required features<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS0r91SNj9XdxtfedmEWfx5cSt_pC56MvoDGVsYLatwsCftJLm-xjIBgGznwkBn5HYyvR4zsIUNoFLx6w2IqjwGz7lTxbhUd45mgRs52Cq1utkFwFTbHNuoY08X2o00qee0WotNUIBgDJ8/s1600/image041-707055.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686732851993122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS0r91SNj9XdxtfedmEWfx5cSt_pC56MvoDGVsYLatwsCftJLm-xjIBgGznwkBn5HYyvR4zsIUNoFLx6w2IqjwGz7lTxbhUd45mgRs52Cq1utkFwFTbHNuoY08X2o00qee0WotNUIBgDJ8/s320/image041-707055.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For simplicity I’ll turn off Firewall to enable remote access to SQL machine from other machines (such as AOS machine) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Firewall with Advanced Security – Firewall On/Off<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-KOYUGt747X7zH1u0W3P0KzoK1g6yncx-6PrpHQedZCX_w45sWuHR7sUFuyJtGmfuHs1Hc2L1CIlbZVRSrQxVA9OVYatEpTOeyRt8VY9qa7mQqd8-Hof89vtfRo0x7I0P4hYWDutHWEFM/s1600/image042-708964.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686740993305186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-KOYUGt747X7zH1u0W3P0KzoK1g6yncx-6PrpHQedZCX_w45sWuHR7sUFuyJtGmfuHs1Hc2L1CIlbZVRSrQxVA9OVYatEpTOeyRt8VY9qa7mQqd8-Hof89vtfRo0x7I0P4hYWDutHWEFM/s320/image042-708964.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Firewall with Advanced Security on Local Computer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZDjEznYaB0ogBPSfFpEytg7eo7FPSlxnSgvBiXCs0bHLfJ2mXTjcIMhhwg2u8VEzPGhjUwJETa6YD3TUs1F6c8IR9rJtwb1careESUYwvYZCHtXsY4ozpIvGjqXCEe3hUvkKUhs3YmqqH/s1600/image043-711457.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686749870873330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZDjEznYaB0ogBPSfFpEytg7eo7FPSlxnSgvBiXCs0bHLfJ2mXTjcIMhhwg2u8VEzPGhjUwJETa6YD3TUs1F6c8IR9rJtwb1careESUYwvYZCHtXsY4ozpIvGjqXCEe3hUvkKUhs3YmqqH/s320/image043-711457.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However the proper way to manage security is to add Firewall exceptions for specific ports/specific users<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Firewall with Advanced Security - Firewall exception<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZ0pPXJRZEHg9AsZ_svmtaq7icpSRdcf2-FnCy7i5mhyVjT7Yyjdn6ZUZigk_twSjHJYR3F2KGT71mfPXUwwKXW0_nxYCMt13hb-ExH5dFMj_iuUxsyA4eKyz37Am8RmRrcv0z7jykC-P/s1600/image044-713858.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686756098865650" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZ0pPXJRZEHg9AsZ_svmtaq7icpSRdcf2-FnCy7i5mhyVjT7Yyjdn6ZUZigk_twSjHJYR3F2KGT71mfPXUwwKXW0_nxYCMt13hb-ExH5dFMj_iuUxsyA4eKyz37Am8RmRrcv0z7jykC-P/s320/image044-713858.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Inbound Rule Wizard – Rule Type<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV0woyTzJjA1fEAMaVS_vViHpriXIYp7BP1yx-7_mDO-4R1A3sGUm4rYHxvw7R9fuSwLrtMFj1l_ysTQKe-MB3onOJT3oIpbwJIH_KcP06owUP-HsWDnamOahxCGNLTTWbeCLi8sb0X2dd/s1600/image045-716273.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686768562302834" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV0woyTzJjA1fEAMaVS_vViHpriXIYp7BP1yx-7_mDO-4R1A3sGUm4rYHxvw7R9fuSwLrtMFj1l_ysTQKe-MB3onOJT3oIpbwJIH_KcP06owUP-HsWDnamOahxCGNLTTWbeCLi8sb0X2dd/s320/image045-716273.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Inbound Rule Wizard – Protocol and Ports<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ4OY-5-1Q7lwbyWgUFizO3kAJgg2A9isUPkCeouzwa7gZb1NLKq40XK0L1EYebbvw2Q3i2dXZRbNwPALZhGjw9RAGcPnjjKn4zMFBl7Z5t-0EjwHtFol09GIFWGScb4GKIh3f3j5w6lz_/s1600/image046-718579.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686780117134194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQ4OY-5-1Q7lwbyWgUFizO3kAJgg2A9isUPkCeouzwa7gZb1NLKq40XK0L1EYebbvw2Q3i2dXZRbNwPALZhGjw9RAGcPnjjKn4zMFBl7Z5t-0EjwHtFol09GIFWGScb4GKIh3f3j5w6lz_/s320/image046-718579.jpg" /></a><i><o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please specify SQL Server port here<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Inbound Rule Wizard – Profile<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjavayPam4cmt8SQCLqkLBgvAvAKQJrJvfReZPK3-7h7CrAWWxKor2A08J_mg68Ezvq8WmLjIJg5fDH9GHK9vvus_40ycgqqOGhTn-an8JHqyJGrOzLTu_e8UCB1b3h1ikX6qvZmweH0Fbo/s1600/image047-720464.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686788018157458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjavayPam4cmt8SQCLqkLBgvAvAKQJrJvfReZPK3-7h7CrAWWxKor2A08J_mg68Ezvq8WmLjIJg5fDH9GHK9vvus_40ycgqqOGhTn-an8JHqyJGrOzLTu_e8UCB1b3h1ikX6qvZmweH0Fbo/s320/image047-720464.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Inbound Rule Wizard – Name<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevWJbZHKT4NNmrbK77H4zI2aiQ0OdumrlgGsvFZzoUiMWKJhqciGDUWO6MNlvzEelm5UdtVgXacqHCMlbjUki6nswNgRQelb55p7NEgnIIwA2_bluFDTaaPD4L2QPLwF_qOKou_dHM8qW/s1600/image048-722469.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686795719630530" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevWJbZHKT4NNmrbK77H4zI2aiQ0OdumrlgGsvFZzoUiMWKJhqciGDUWO6MNlvzEelm5UdtVgXacqHCMlbjUki6nswNgRQelb55p7NEgnIIwA2_bluFDTaaPD4L2QPLwF_qOKou_dHM8qW/s320/image048-722469.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find detailed info on how to <span lang="EN">Configure the Windows Firewall to Allow SQL Server Access here: </span><a href="http://technet.microsoft.com/en-us/library/cc646023.aspx">http://technet.microsoft.com/en-us/library/cc646023.aspx</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After all preparation work has been done we can now install Microsoft Dynamics AX 2012 Database<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1CSCiK1BvcWSqP52vhwJSBH2UStbE1rr0r0CdDKgDHmwRuFlUKPoFOQn-a-PTrCx9esimp8RK_KHZ8o1PKh0WYHAbMsKZus-nYgi_CxhhJRl9VZolLyfpUL5NgWSuXfzWuIsQchB5YKpy/s1600/image049-724313.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686806523304514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1CSCiK1BvcWSqP52vhwJSBH2UStbE1rr0r0CdDKgDHmwRuFlUKPoFOQn-a-PTrCx9esimp8RK_KHZ8o1PKh0WYHAbMsKZus-nYgi_CxhhJRl9VZolLyfpUL5NgWSuXfzWuIsQchB5YKpy/s320/image049-724313.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
It may also be a good idea to Disable automatic updates to prevent unwanted machine restarts<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it’s time to install and configure AOS<o:p></o:p></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>AOS<o:p></o:p></i></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off I’ll add AOS machine to the domain<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4NDsl0TExPMLh2IcMRNGinrZZrIbYTYqknimNthRRPb25CYwKvMsWnoKEVL6UdP6_d7lNxolduYbDkEGY5DjJhkWcTXi7hFEo7LL5yEjrXdUamqFgQnBEb1NJfIOoDrZOEK1gKAeOeSiX/s1600/image050-726150.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686815548598146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4NDsl0TExPMLh2IcMRNGinrZZrIbYTYqknimNthRRPb25CYwKvMsWnoKEVL6UdP6_d7lNxolduYbDkEGY5DjJhkWcTXi7hFEo7LL5yEjrXdUamqFgQnBEb1NJfIOoDrZOEK1gKAeOeSiX/s320/image050-726150.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then upon AOS installation I’ll connect it with Microsoft SQL Server by specifying SQL machine FQDN (fully qualified domain name)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4iUGemR9y-ZI3dRCoMgkaJ0UmP3hKI1qlw9uxMqPKC3s9YtppM66z6Wn9_rNRzXxynehNSPpdaS29KZmUhqG6HSzi_qVABCMvfr4059G_GyMII9g_Zto7Y3IffcLfWmgfXR5tl8RTEF5-/s1600/image051-728075.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686823105771794" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4iUGemR9y-ZI3dRCoMgkaJ0UmP3hKI1qlw9uxMqPKC3s9YtppM66z6Wn9_rNRzXxynehNSPpdaS29KZmUhqG6HSzi_qVABCMvfr4059G_GyMII9g_Zto7Y3IffcLfWmgfXR5tl8RTEF5-/s320/image051-728075.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that you may need to install some additional features for successful AOS installation such as .NET Framework 3.5 features, etc.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3ySNT1Rmtdln0okCFn6hYZXaem9zE2Ifm7YV_t9ufUBiOhtH_6Xetu50jdc-DAbt1wCkzU8__QxvuSZf7gU0m8VrrvrmJM2hGdT5FdEG63dR_f1QnIh5_ErjJpQx_hjA0dpbjEW4oE-ac/s1600/image052-730329.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686828702670850" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3ySNT1Rmtdln0okCFn6hYZXaem9zE2Ifm7YV_t9ufUBiOhtH_6Xetu50jdc-DAbt1wCkzU8__QxvuSZf7gU0m8VrrvrmJM2hGdT5FdEG63dR_f1QnIh5_ErjJpQx_hjA0dpbjEW4oE-ac/s320/image052-730329.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we have successfully installed AOS<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Hosts file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiyUwivCEVKmA90F1rNdwK4mU0yWfDFl11cI17Xt5SYug2ike9miYW_wrE6cdy-Cs0dbWS2sHFsx1vxEwQeHCxsfuVlKeTDTJWfAA-67nkk8SGANzGMBhwAutxbzXg5YKT0UImRmMQ1NwE/s1600/image053-732742.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686839737774290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiyUwivCEVKmA90F1rNdwK4mU0yWfDFl11cI17Xt5SYug2ike9miYW_wrE6cdy-Cs0dbWS2sHFsx1vxEwQeHCxsfuVlKeTDTJWfAA-67nkk8SGANzGMBhwAutxbzXg5YKT0UImRmMQ1NwE/s320/image053-732742.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a last step I’ll modify hosts file on AOS machine to provide IP Address for SQL machine<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Time for the Client now<o:p></o:p></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>Client<o:p></o:p></i></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly I’ll add Client machine to the domain first<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>System<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh393zmNmV5XwBCWT6a7W3cYBgQQxpEDV_1ehQL7e_yVRmnMC3HOzo6ioBXPvgVmJ8wjlLip1V8v-eRWvxq_aPFyzj0e_KPOvs7bcJl4Ss1lgcClSuhUE0lBusOpYqBJB0MPybDvn_dhyphenhyphen76/s1600/image054-738016.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686866695310802" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh393zmNmV5XwBCWT6a7W3cYBgQQxpEDV_1ehQL7e_yVRmnMC3HOzo6ioBXPvgVmJ8wjlLip1V8v-eRWvxq_aPFyzj0e_KPOvs7bcJl4Ss1lgcClSuhUE0lBusOpYqBJB0MPybDvn_dhyphenhyphen76/s320/image054-738016.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
On the Client machine I want to install RDS (Remote Desktop Services) role to expose AX Client app as RDS published app, that’s why I will go ahead with RDS install <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – RDS Quick Start<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfBhkXzVt-c5omHhoqNTdadk7dxr2gXHPF0dB65wrHbXfj2oIzPIY1Src_sOwavxr5edIrunLuahkMWM98dWgp4PKK_b0yBQQR5WyTXtgGxFQAZD-x4bZRNHIuvEZo2XaL5vuBNUNCO0BM/s1600/image055-740420.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686873562699650" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfBhkXzVt-c5omHhoqNTdadk7dxr2gXHPF0dB65wrHbXfj2oIzPIY1Src_sOwavxr5edIrunLuahkMWM98dWgp4PKK_b0yBQQR5WyTXtgGxFQAZD-x4bZRNHIuvEZo2XaL5vuBNUNCO0BM/s320/image055-740420.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – RDS (Completion)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFsTFqh9IieaWIMWt7IQuma8RW1gQgcyNELlp_gf61Z3OVnuMIJZCCn4g38wfBLt_O-YZDLWrjqmEM5F2WTEua5G-VquIG7zuz72tp6Xk2HtUnAFdMmm_mRrlZIcfFxB7fsdRpZkEjgV0/s1600/image056-742653.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686883409733090" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFsTFqh9IieaWIMWt7IQuma8RW1gQgcyNELlp_gf61Z3OVnuMIJZCCn4g38wfBLt_O-YZDLWrjqmEM5F2WTEua5G-VquIG7zuz72tp6Xk2HtUnAFdMmm_mRrlZIcfFxB7fsdRpZkEjgV0/s320/image056-742653.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we have RDS role installed on Client machine<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Roles and Server Group - RDS<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMPYR1S1NMEKNk0IM_mS10l7pU-nPABeLKVXqCqNzwsF6OPYOJkN-JeuLuelNgYeRtf4HSLAXx9s4EWa9utPHdNFAP5J1xtZ4Epyq8I_UcCQ384btaJCZKtYr4FZOpcAKaTiw3vznUWhWu/s1600/image057-744533.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686888902176386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMPYR1S1NMEKNk0IM_mS10l7pU-nPABeLKVXqCqNzwsF6OPYOJkN-JeuLuelNgYeRtf4HSLAXx9s4EWa9utPHdNFAP5J1xtZ4Epyq8I_UcCQ384btaJCZKtYr4FZOpcAKaTiw3vznUWhWu/s320/image057-744533.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Again for the convenience I’ll install AD tools on Client machine<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – AD tools <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEfYelPzOCZzqu6gkf8I3ElTGvQnAry6v5FKkqYFyoiqxhTEXkH9Xtobs8vc6Iu6hEt1nlnGAflSc8Xwbgg-TJSsx9MJRGR7Qqh61db4aFjBaQk-3XUjwBq7OCsnENRvsEH2GrnpIrh51z/s1600/image058-746567.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686900089317522" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEfYelPzOCZzqu6gkf8I3ElTGvQnAry6v5FKkqYFyoiqxhTEXkH9Xtobs8vc6Iu6hEt1nlnGAflSc8Xwbgg-TJSsx9MJRGR7Qqh61db4aFjBaQk-3XUjwBq7OCsnENRvsEH2GrnpIrh51z/s320/image058-746567.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – AD tools (Success)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-qI_hHW7ceunXCEyalLpbynoGtpNOhBXwZco9gP91AHo6i4uMP_cvtGHDBkp0WouGBNX_jeAwuPCMknfHf5I-W7xkKJ-YMSt4gKOGS6BkBlUtOIE7Oga0jjdQ2vDN41Loy3cZxsCK7rrY/s1600/image059-748904.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686914227824162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-qI_hHW7ceunXCEyalLpbynoGtpNOhBXwZco9gP91AHo6i4uMP_cvtGHDBkp0WouGBNX_jeAwuPCMknfHf5I-W7xkKJ-YMSt4gKOGS6BkBlUtOIE7Oga0jjdQ2vDN41Loy3cZxsCK7rrY/s320/image059-748904.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then upon Client installation I’ll connect it with AOS specifying AOS machine FQDN (fully qualified domain name)<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR_OnEdnsGn5hEjw6uL3HGtUMVsgBaS0RPMcbhrus1WCdcJsyeprA1zQGnUlFz9LlPlacT2gOs4KAMLF4ga1nhVXZGaqhO0ryMIpbMA2f8-MLkIDdHCYsAMVfAgWBgMeIqQU47ukL5s4fh/s1600/image060-751553.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686922745896162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR_OnEdnsGn5hEjw6uL3HGtUMVsgBaS0RPMcbhrus1WCdcJsyeprA1zQGnUlFz9LlPlacT2gOs4KAMLF4ga1nhVXZGaqhO0ryMIpbMA2f8-MLkIDdHCYsAMVfAgWBgMeIqQU47ukL5s4fh/s320/image060-751553.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Similarly when you install Client you may need some additional features installed such as .NET Framework 3.5 features, etc.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Elf4CWdUYvcaJcGeW75q33_c3XQ8wECztAF57K299hf-luMjZ-fipbwXj_fOtKAJVQvtNrhQPici2hnJfEClII_1fnR2uxx_M6QIzfnOvBgi8mb_78taHTNEd3uVhm_nmRQb8-qAQzKM/s1600/image061-753866.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686927563892866" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2Elf4CWdUYvcaJcGeW75q33_c3XQ8wECztAF57K299hf-luMjZ-fipbwXj_fOtKAJVQvtNrhQPici2hnJfEClII_1fnR2uxx_M6QIzfnOvBgi8mb_78taHTNEd3uVhm_nmRQb8-qAQzKM/s320/image061-753866.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we’ve got a Client as well<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The last step will be to modify hosts file to provide IP Address on AOS machine<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Hosts file<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4A1OPzXGB7X8sDtHIP1WpeaAE4Mn4eEKPmRhyphenhyphenjGS98DHZjfctoosY2KUsXcuW-T4EbE8qEcu9ULjApXOqtGQFj6aALGbjS-PtLYdz717G_3f160OwC71wcLQPpYOkvqCd2x8HtB07LhxQ/s1600/image062-756739.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686944581685106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4A1OPzXGB7X8sDtHIP1WpeaAE4Mn4eEKPmRhyphenhyphenjGS98DHZjfctoosY2KUsXcuW-T4EbE8qEcu9ULjApXOqtGQFj6aALGbjS-PtLYdz717G_3f160OwC71wcLQPpYOkvqCd2x8HtB07LhxQ/s320/image062-756739.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result I can now run Microsoft Dynamics AX 2012 in the Cloud using Client through RDP or as RDS published app (in a Web browser) <o:p></o:p></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i>Result<o:p></o:p></i></b></div>
<div class="MsoNormal">
<b><i></i></b> </div>
<div class="MsoNormal">
<b><i><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkDUI_LhsRw91DZdKkZ1S5lq7KBGcDxx2dGniRXo2iU3lCETJQ_Pxg19iv0G7qfT7PKJeCBTxs8_igrVi1s7gTti-njVQdvUv4eDp1jXY0Gjyb2xg2WSbdze-WsGLvzspIj1_3IptG4KIU/s1600/image063-758940.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5943686953990959554" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkDUI_LhsRw91DZdKkZ1S5lq7KBGcDxx2dGniRXo2iU3lCETJQ_Pxg19iv0G7qfT7PKJeCBTxs8_igrVi1s7gTti-njVQdvUv4eDp1jXY0Gjyb2xg2WSbdze-WsGLvzspIj1_3IptG4KIU/s320/image063-758940.jpg" /></a><o:p></o:p></i></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As you can see Windows Azure platform provides a very robust foundation for Infrastructure-as-a-Service (IaaS) scenarios for Line of Business (LOB) applications <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to deploy Microsoft Dynamics AX 2012 in a <b><u>distributed environment</u></b> as Infrastructure-as-a-Service (IaaS) using Windows Azure platform. In addition to Infrastructure-as-a-Service (IaaS) Windows Azure platform also offers Platform-as-a-Service (PaaS) and Software-as-a-Service (SaaS) capabilities which makes it a world-class Cloud platform. Please learn more about Windows Azure here:<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <a href="http://www.windowsazure.com/">http://www.windowsazure.com</a>. <o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics AX 2012, Windows Azure, Microsoft Cloud, IaaS, Infrastructure as a Service, Virtual Machine, Production install, Distributed install. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a></span>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><i><o:p> </o:p></i></b></div>
<div class="MsoNormal">
<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com1tag:blogger.com,1999:blog-4565800100410709901.post-88601592526363453682013-10-20T00:21:00.000-07:002013-10-20T00:56:16.349-07:00Microsoft Dynamics AX 2012 – Developing Apps [Not Secure]<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 – Developing Apps [Not Secure]</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Purpose:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> The purpose of this document is to illustrate how to integrate Microsoft Dynamics AX 2012 with external applications and explain different approaches to authentication and development.</span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Challenge:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> For the purposes of demonstration or Proof of Concept it may be needed to quickly develop external application which is integrated with Microsoft Dynamics AX 2012. There're also multiple development approaches you may want to choose and multiple authentication strategies you may want to use. <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><br /> </span><b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Solution:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> For the purposes of this walkthrough I'll use Microsoft Dynamics AX 2012 R2 deployed in Windows Azure and Microsoft Dynamics AX 2012 R2 Demo VM which can be downloaded from Customer/Partner Source. I'm going to develop external application which will integrate with Microsoft Dynamics AX 2012 using Document and Custom Web Service. Also I'll illustrate the use of Windows authentication and Claims-based authentication in integration scenarios. Please note that in this walkthrough I'm focusing on developing apps for POC [Not Secure], please refer to another article in this series about Developing Apps [Secure] leveraging Windows Azure Service Bus.</span><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><br /> </span><b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Task:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> Console Application which I'll develop in this walkthrough will display the info about Cases retrieved from Microsoft Dynamics AX 2012. I used Console Application for the sake of simplicity and this material will also be applicable in case you develop Windows 8, Windows Phone8 or Web apps integrated with Microsoft Dynamics AX 2012.</span><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt;"><br /> <b>Walkthrough:</b><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">First off I'll deploy Microsoft Dynamics AX 2012 in Windows Azure by creating Windows Azure VM(s)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt;"><o:p> </o:p></span></div>
<div class="MsoNormal">
<i>Endpoints <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzwVh2kd1cEy6c2SHX2dpO9LjTbu_wtBpS0Gs-WfrWA5W2ky4gqkk1ta12SUPYctr0qg2tdXilghRgHe_mr-FYBWVn705BWnG4EiEODVIgr2OGyR5kOY1twSCoCIf6xWgGz_-F7u-FpJhZ/s1600/image001-723330.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734544207316546" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzwVh2kd1cEy6c2SHX2dpO9LjTbu_wtBpS0Gs-WfrWA5W2ky4gqkk1ta12SUPYctr0qg2tdXilghRgHe_mr-FYBWVn705BWnG4EiEODVIgr2OGyR5kOY1twSCoCIf6xWgGz_-F7u-FpJhZ/s320/image001-723330.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">And exposing HTTP/HTTPS endpoint for the VM in order to establish connection to Microsoft Dynamics AX 2012 from external application [Not Secure]<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Endpoint – Add an endpoint to a virtual machine<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuP-DVnhhlNsrsd4CoC4vbPjrba1Opv0T3h7eMPxRWz9Iv4MH0Y-yKSA1-aOP1T0q7SmVGcNbbzoHX2k4gvl72fWrwU7ViWSSp-Xn7yk8v05bxx5fhiXLJN5fRxLf4sw45A9OuyHreBim2/s1600/image002-728264.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734563631548290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuP-DVnhhlNsrsd4CoC4vbPjrba1Opv0T3h7eMPxRWz9Iv4MH0Y-yKSA1-aOP1T0q7SmVGcNbbzoHX2k4gvl72fWrwU7ViWSSp-Xn7yk8v05bxx5fhiXLJN5fRxLf4sw45A9OuyHreBim2/s320/image002-728264.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Once we chose Add standalone endpoint we can now select endpoint name HTTP <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Endpoint – Specify the details of the endpoint<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-S4XuZh9gneDv2VnVKNu3dV4a0FAe1kyWI7W4d2-KbQH_XqkCOA59xsD3IPTyQ9TzJlpZiS_EEVpHW66oHEjEHlG3xyLT_QdkP7cnyWgN31rwLcKdhsFGG1J8-AhhrIH1WnxsEGqyvFkw/s1600/image003-731289.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734576541763890" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-S4XuZh9gneDv2VnVKNu3dV4a0FAe1kyWI7W4d2-KbQH_XqkCOA59xsD3IPTyQ9TzJlpZiS_EEVpHW66oHEjEHlG3xyLT_QdkP7cnyWgN31rwLcKdhsFGG1J8-AhhrIH1WnxsEGqyvFkw/s320/image003-731289.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">As the result HTTP endpoint will be exposed for the VM<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Endpoints<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0YdO8z73y9UPS3lsz2UYSKjyTnlkNKlwzRF-M4AFuwSNw-sgL8gQQgBpM9I_Y3u_uM_LcCzBIFSz0R7sTSG9wsntkMM0KjRt3E0PFdsgkYmHGyPC01F3QoKf1uw0Y2l8cfDYktdFfYkji/s1600/image004-734568.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734588244992450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0YdO8z73y9UPS3lsz2UYSKjyTnlkNKlwzRF-M4AFuwSNw-sgL8gQQgBpM9I_Y3u_uM_LcCzBIFSz0R7sTSG9wsntkMM0KjRt3E0PFdsgkYmHGyPC01F3QoKf1uw0Y2l8cfDYktdFfYkji/s320/image004-734568.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now we have to install Web Server Role on the VM in order to expose Web Services through HTTP/HTTPS<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles – Web Server (IIS)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyM1AiHSOcWjsmziR3UhoGUtVc10yHtuG98t3sYmJXaSSkYIOlHUetNB9vluxKVaQn7F-Pd4GpQPbXN6K3ayzzmb5zC3S1ZBEmod-gjH1AIo9NlHCbpaqGXZfnR-9QIfbRjAd9RHMpesdV/s1600/image005-737424.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734603140796562" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyM1AiHSOcWjsmziR3UhoGUtVc10yHtuG98t3sYmJXaSSkYIOlHUetNB9vluxKVaQn7F-Pd4GpQPbXN6K3ayzzmb5zC3S1ZBEmod-gjH1AIo9NlHCbpaqGXZfnR-9QIfbRjAd9RHMpesdV/s320/image005-737424.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles – Web Server (IIS)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6HFV-WioU9xMm3iqQ5-faJ9Ri9ytZPI2S-7EPu8xbM55kIEexOS1SGaDe2XfWs96mCC6dzOF7MhRWuJ2Ko-goc-6Hva6IPy3R4XmeYnDuwxgi8iQxvB8e0hwiJtD1IjS-qWz7bTwBKynY/s1600/image006-740458.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734612596475282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6HFV-WioU9xMm3iqQ5-faJ9Ri9ytZPI2S-7EPu8xbM55kIEexOS1SGaDe2XfWs96mCC6dzOF7MhRWuJ2Ko-goc-6Hva6IPy3R4XmeYnDuwxgi8iQxvB8e0hwiJtD1IjS-qWz7bTwBKynY/s320/image006-740458.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles – Web Server (IIS)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrNIeMQpkteDBFaNR3AHGlPBI-v7S_X28qJ1SXIOlZ5qgfFuhvoF8ct2_y8-jVmzmj0SmciXQiaaYv8OXHaQAtLDiQqkMJ49CcQEjinFh0ffauMRcLvlHeLTp6oJqltBO_EEO6W_sY6bQu/s1600/image007-744443.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734633633727906" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrNIeMQpkteDBFaNR3AHGlPBI-v7S_X28qJ1SXIOlZ5qgfFuhvoF8ct2_y8-jVmzmj0SmciXQiaaYv8OXHaQAtLDiQqkMJ49CcQEjinFh0ffauMRcLvlHeLTp6oJqltBO_EEO6W_sY6bQu/s320/image007-744443.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">After successful installation of Web Server (IIS) Role we can successfully access the following URL from the local machine:</span> <a href="http://azureax.cloudapp.net/">http://azureax.cloudapp.net/</a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS - Port 80<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1Vli1AMTYSgua-Tz15AfsJymWbM69nogA2GuKnn_W9PEDwXA1fFeRp1KxGe0_nW14zUS62ZqO3rm1yhxr-8TJNAgZ_XEGAP57B0aO1j-33xgqgJo2mk3YKOJoHBaleLpRKI493PLdoHdW/s1600/image008-747934.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734646292494658" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1Vli1AMTYSgua-Tz15AfsJymWbM69nogA2GuKnn_W9PEDwXA1fFeRp1KxGe0_nW14zUS62ZqO3rm1yhxr-8TJNAgZ_XEGAP57B0aO1j-33xgqgJo2mk3YKOJoHBaleLpRKI493PLdoHdW/s320/image008-747934.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">The next step is to install Web Services on IIS component for Microsoft Dynamics AX 2012<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 - Web Services on IIS<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAoh5gR7uG6x-uc-lxfHFDmt9OA7JJLhfT9ux6lkwl1gC3PRlZbpnWsZAdBNQFo-NT2kpAFsu19GwwHpZScQzbgF3WOn1u7ZUDh1umcjZfBqHpA-eudQzdkGF2vIVbaWdAsALagmJo3ttQ/s1600/image009-754816.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734677154722722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAoh5gR7uG6x-uc-lxfHFDmt9OA7JJLhfT9ux6lkwl1gC3PRlZbpnWsZAdBNQFo-NT2kpAFsu19GwwHpZScQzbgF3WOn1u7ZUDh1umcjZfBqHpA-eudQzdkGF2vIVbaWdAsALagmJo3ttQ/s320/image009-754816.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">During the installation you may encounter the following error which means that not all prerequisites have been installed on the machine before installation of Web Services on IIS<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Prerequisites details<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDGlumVHtApzk76Ec-rghm69PVQif5Dbtx74vlPPVeqjTBdMb_8LdrRKT7BunyPtvwNUwmDFDxA8G3RuO8UVEG2tCYY257pRtjg5kvmZgjbIPTvfYX_Dth3k-QGu9d2cocR1GtxcwA_6QQ/s1600/image010-757988.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734691773051042" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDGlumVHtApzk76Ec-rghm69PVQif5Dbtx74vlPPVeqjTBdMb_8LdrRKT7BunyPtvwNUwmDFDxA8G3RuO8UVEG2tCYY257pRtjg5kvmZgjbIPTvfYX_Dth3k-QGu9d2cocR1GtxcwA_6QQ/s320/image010-757988.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">In my case the problem was caused by the absence of Health and Diagnostics – Request Monitor component which is not installed by default with Web Server (IIS) Role<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles – Web Server (IIS)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhTRHcNBF_YemVljXLdDJHfz8MVuujy8bb5JeeHCSRGONE1xGtEFSPfc7kHzHc8qz197TTmowusboEwfHxG8QxUKbEYr8V-xw94l6u_rPvkPPcqxyNIBdbT2Te9EZUz16zH_OO15r0ueXw/s1600/image011-761846.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734704709849842" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhTRHcNBF_YemVljXLdDJHfz8MVuujy8bb5JeeHCSRGONE1xGtEFSPfc7kHzHc8qz197TTmowusboEwfHxG8QxUKbEYr8V-xw94l6u_rPvkPPcqxyNIBdbT2Te9EZUz16zH_OO15r0ueXw/s320/image011-761846.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">That's why I simply added Health and Diagnostics – Request Monitor component on the VM in order to avoid installation error<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now we can continue with Web Services on IIS installation process<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">The next step would be to specify Business Connector Proxy account information<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX Setup – Specify Business Connector Proxy account information<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixhYfudwKWZO2ypJTKgI6LfKk8jlbELHn7tnij8lxOnZL4JC9r_hMM4hqaVwKexvn1OZbrYMi6iWZvxGsESorQY9A02tMNoW_DT_uWL0r67BmED-1g_5h4DokifCsmXdWyI5NQz3WJsVnp/s1600/image012-766553.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734727226991874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixhYfudwKWZO2ypJTKgI6LfKk8jlbELHn7tnij8lxOnZL4JC9r_hMM4hqaVwKexvn1OZbrYMi6iWZvxGsESorQY9A02tMNoW_DT_uWL0r67BmED-1g_5h4DokifCsmXdWyI5NQz3WJsVnp/s320/image012-766553.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">After that we have to specify hosting Web site details as depicted below <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 Setup – Configure IIS for Web Services<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEyNcHK8HOk1mH7EBeO_I1kRckxmCb0R8rh1VgNhxTpiTq94hwv2OW9NCLbHJ0WtJddQoFmwdzwceivWcn0zId4kUQIUuSaDdttF1giUapBv8xOG07CPBH__1rXVg3qW4SdgmsyvkmkR8n/s1600/image013-769874.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734743207896818" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEyNcHK8HOk1mH7EBeO_I1kRckxmCb0R8rh1VgNhxTpiTq94hwv2OW9NCLbHJ0WtJddQoFmwdzwceivWcn0zId4kUQIUuSaDdttF1giUapBv8xOG07CPBH__1rXVg3qW4SdgmsyvkmkR8n/s320/image013-769874.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">And before we complete installation we will specify AOS account<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 Setup – Specify an AOS account<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOV-VWs2kD7ybCg4N4WHb_8kUBFEoiSkTQU7XqIAz-YvIOQcIFt9F68Qq7p-Yrpv_O1FjQ-zYbepP9AzWbV42dlQcGjrHCWA7FbFvaVBT16Ex5KQ12UENmg8QEKA58QphovZmOTyiOqY-J/s1600/image014-772828.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734750748668434" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOV-VWs2kD7ybCg4N4WHb_8kUBFEoiSkTQU7XqIAz-YvIOQcIFt9F68Qq7p-Yrpv_O1FjQ-zYbepP9AzWbV42dlQcGjrHCWA7FbFvaVBT16Ex5KQ12UENmg8QEKA58QphovZmOTyiOqY-J/s320/image014-772828.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">After you install Web Server (IIS) Role you may also need to configure it. Please refer to the following article about how to Configure IIS:</span> <a href="http://technet.microsoft.com/en-us/library/gg731848.aspx">http://technet.microsoft.com/en-us/library/gg731848.aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">By now we completed required installations and can think about authentication. For the sake of simplicity I'll enable Windows Authentication for Web Server (IIS) on Windows Azure VM<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles – Web Server (IIS)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAvYFoc8T83sFJVCWZzSFkCBTY-VjjkNI7mlX8v0HlbhsrURy_eoJ3oXMI8bcpgXiG49y5cSxpTtu9HNZFTBgcoUn8_gcBJYnzrbuTimpYi5PkrBa_wprslE4iMs6_iRfQneO3U9Eb0Lt/s1600/image015-776216.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734764692102274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAvYFoc8T83sFJVCWZzSFkCBTY-VjjkNI7mlX8v0HlbhsrURy_eoJ3oXMI8bcpgXiG49y5cSxpTtu9HNZFTBgcoUn8_gcBJYnzrbuTimpYi5PkrBa_wprslE4iMs6_iRfQneO3U9Eb0Lt/s320/image015-776216.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that Windows authentication is not appropriate for use in an Internet environment because that environment does not require or encrypt user credentials. Please refer to the following article about Configuring Windows authentication on IIS:</span> <a href="http://technet.microsoft.com/en-us/library/cc754628(v=ws.10).aspx">http://technet.microsoft.com/en-us/library/cc754628(v=ws.10).aspx</a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">However for the purposes of POC this is the quickest way for me to authenticate. That's why now I'll check that Windows authentication is enabled for Default Web Site > MicrosoftDynamicsAXAif60 in IIS Manager <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>IIS Manager<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV8A9ynQTpzMsaErZ5DYvN4LE3mw_TVQ-m6I0DKSovtxoL6NtDQUCAHY43CvGfI2Gz0KrqLOQNjEcWb2WotMSIo9kVb-hKgYabejP80s6bV38n_kkFqwbd0m-XM9uyztNfVZDz3UJYJQC/s1600/image016-779814.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734782838002162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNV8A9ynQTpzMsaErZ5DYvN4LE3mw_TVQ-m6I0DKSovtxoL6NtDQUCAHY43CvGfI2Gz0KrqLOQNjEcWb2WotMSIo9kVb-hKgYabejP80s6bV38n_kkFqwbd0m-XM9uyztNfVZDz3UJYJQC/s320/image016-779814.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">In Microsoft Dynamics AX 2012 I'll validate Web Site URL<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 – Web Sites (Validate)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVN4dzUxCMt2ecP_UbAt4EOidqD5JYLcxu-9UkOYg_zqLAD7PAbc0-1_v_zV3zcYxjRnaArTelMVeaqw1Pg5_fZ4BPpDKH088wTkgc3XYXT96nohAcZApwGuT5WdqfTGnxPejIxTSbvzwo/s1600/image017-782950.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734795996927122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVN4dzUxCMt2ecP_UbAt4EOidqD5JYLcxu-9UkOYg_zqLAD7PAbc0-1_v_zV3zcYxjRnaArTelMVeaqw1Pg5_fZ4BPpDKH088wTkgc3XYXT96nohAcZApwGuT5WdqfTGnxPejIxTSbvzwo/s320/image017-782950.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 – Web Sites (Validate Result)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5R0eQe33rWHBfnf5EfO7JLmDoBeWxXH5Qw3t0HFa_n7O05UjDQuPvdvxjqx2JPr-Z_Xpub7jOaj_UO32t5jqrP4nICa1BTWJY1H3tZ8tlqXFqppBg9aBNdrgUyjxdPh14T8EqpDC45u8Q/s1600/image018-786048.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734810836614930" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5R0eQe33rWHBfnf5EfO7JLmDoBeWxXH5Qw3t0HFa_n7O05UjDQuPvdvxjqx2JPr-Z_Xpub7jOaj_UO32t5jqrP4nICa1BTWJY1H3tZ8tlqXFqppBg9aBNdrgUyjxdPh14T8EqpDC45u8Q/s320/image018-786048.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">And then create Enhanced Inbound port <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Enhanced port / HTTP<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhShm9ibbaPdO8a0XR549Kc0_z6Ee7EqXAjDXeHQUKg5iglvwFRTB_DB2HWPNIfmXiz9XRywQT5Trbvfr9yahzSuD2karhqnqeZdKSON8HMLTl27NpE_KfnCgEgoxohZR7h75qeD_54dnRS/s1600/image019-789338.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734826783198146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhShm9ibbaPdO8a0XR549Kc0_z6Ee7EqXAjDXeHQUKg5iglvwFRTB_DB2HWPNIfmXiz9XRywQT5Trbvfr9yahzSuD2karhqnqeZdKSON8HMLTl27NpE_KfnCgEgoxohZR7h75qeD_54dnRS/s320/image019-789338.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">To expose standard CaseWebDetailService Document Web Service in Microsoft Dynamics AX 2012<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select Service Operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnqF7dGmMphtV_ilBi9a4Ro1ugV66sx5cxcV9OpLShZMjf-A_yVoFzMGTXr62EEhXWs9yZqvEh4xKPSIXBgt8U68NiJq5grXcVs8-ETwsrkb_At8RwpTyS5owQRBawLO5uc8ICSAX0CyhZ/s1600/image020-792446.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734842323693426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnqF7dGmMphtV_ilBi9a4Ro1ugV66sx5cxcV9OpLShZMjf-A_yVoFzMGTXr62EEhXWs9yZqvEh4xKPSIXBgt8U68NiJq5grXcVs8-ETwsrkb_At8RwpTyS5owQRBawLO5uc8ICSAX0CyhZ/s320/image020-792446.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">CaseWebDetailService Document Service will allow me to retrieve info about Cases in Microsoft Dynamics AX 2012 from external application<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white; line-height: normal; margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal">
<i>Document Data Policies <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjAFe8wzDtBv0W_ueLS6uYT_W8XqjuhXmb68a-nFyPUSWaos35llFpmn3QXzacV4fogdxyDkCvOJjtjp3LS0F3tTHOu1I0em6_5EDAo_wpffLOaw2s5sY5RDDYXmBaCMtRNJyVP5QmSwu9/s1600/image021-798618.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734865753532210" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjAFe8wzDtBv0W_ueLS6uYT_W8XqjuhXmb68a-nFyPUSWaos35llFpmn3QXzacV4fogdxyDkCvOJjtjp3LS0F3tTHOu1I0em6_5EDAo_wpffLOaw2s5sY5RDDYXmBaCMtRNJyVP5QmSwu9/s320/image021-798618.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Once Enhanced Inbound port has been activated I can now access respective WSDL URI using the following URL:</span> <a href="http://azureax/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc">http://azureax/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">In order to access WSDL URI from external application I will use the full machine name as:</span> <a href="http://azureax.cloudapp.net/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc"> http://azureax.cloudapp.net/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc</a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Here's how WSDL URI looks like <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>RoutingService Service<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdZxJFpw0YHIv67AgIXeqmZ8CzWLB9nwA8OLiyGZl4CqxoGHfCNAFz4JGcYjRawhF2LMx1xp16sJofXivSTgrzNpGyHs6ochvnmyNO-kPJwBcPZO12seKJ5Abd2cLzcMyl8EhPgVZFmGaS/s1600/image022-701121.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734876706871746" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdZxJFpw0YHIv67AgIXeqmZ8CzWLB9nwA8OLiyGZl4CqxoGHfCNAFz4JGcYjRawhF2LMx1xp16sJofXivSTgrzNpGyHs6ochvnmyNO-kPJwBcPZO12seKJ5Abd2cLzcMyl8EhPgVZFmGaS/s320/image022-701121.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>RoutingService Service</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="heading1">
RoutingService Service<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black; font-family: "Verdana","sans-serif"; font-size: 8.5pt;"><o:p> </o:p></span></div>
<div class="intro">
<span style="font-size: 8.5pt;">You have created a service.<o:p></o:p></span></div>
<div class="intro">
<span style="font-size: 8.5pt;">To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black; font-family: "Verdana","sans-serif"; font-size: 8.5pt;"><o:p> </o:p></span></div>
<div style="background: rgb(229, 229, 204); border: 1pt solid rgb(240, 240, 224); mso-element: para-border-div; padding: 4pt;">
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;">svcutil.exe </span><a href="http://azureax.azureax0.local/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc?wsdl"><span style="font-size: 10pt;">http://azureax.azureax0.local/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc?wsdl</span></a><span style="color: black; font-size: 10pt;"><o:p></o:p></span></pre>
</div>
<span style="font-size: 8.5pt;">You can also access the service description as a single file:<o:p></o:p></span><br />
<div style="background: rgb(229, 229, 204); border: 1pt solid rgb(240, 240, 224); mso-element: para-border-div; padding: 4pt;">
<pre style="background: rgb(229, 229, 204);"><a href="http://azureax.azureax0.local/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc?singleWsdl"><span style="font-size: 10pt;">http://azureax.azureax0.local/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc?singleWsdl</span></a><span style="color: black; font-size: 10pt;"><o:p></o:p></span></pre>
</div>
<div class="intro">
<span style="font-size: 8.5pt;">This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:<o:p></o:p></span></div>
<div class="intro">
<b><span style="font-size: 8.5pt;">C#</span></b><span style="font-size: 8.5pt;"><o:p></o:p></span></div>
<div style="background: rgb(229, 229, 204); border: 1pt solid rgb(240, 240, 224); mso-element: para-border-div; padding: 4pt;">
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;">class </span><span style="color: teal; font-size: 10pt;">Test<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;">{<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;"> static void </span><span style="color: black; font-size: 10pt;">Main()<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"> {<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"> </span><span style="color: teal; font-size: 10pt;">RequestReplyRouterClient</span><span style="color: black; font-size: 10pt;"> client = </span><span style="color: blue; font-size: 10pt;">new </span><span style="color: teal; font-size: 10pt;">RequestReplyRouterClient</span><span style="color: black; font-size: 10pt;">();<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"><o:p> </o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"> // Use the 'client' variable to call operations on the service.<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"><o:p> </o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"> // Always close the client.<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"> client.Close();<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"> }<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;">}<o:p></o:p></span></pre>
</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black; font-family: "Verdana","sans-serif"; font-size: 8.5pt;"><o:p> </o:p></span></div>
<div class="intro">
<b><span style="font-size: 8.5pt;">Visual Basic</span></b><span style="font-size: 8.5pt;"><o:p></o:p></span></div>
<div style="background: rgb(229, 229, 204); border: 1pt solid rgb(240, 240, 224); mso-element: para-border-div; padding: 4pt;">
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;">Class </span><span style="color: teal; font-size: 10pt;">Test<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;"> Shared Sub </span><span style="color: black; font-size: 10pt;">Main()<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;"> Dim </span><span style="color: black; font-size: 10pt;">client As </span><span style="color: teal; font-size: 10pt;">RequestReplyRouterClient</span><span style="color: black; font-size: 10pt;"> = </span><span style="color: blue; font-size: 10pt;">New </span><span style="color: teal; font-size: 10pt;">RequestReplyRouterClient</span><span style="color: black; font-size: 10pt;">()<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"> ' Use the 'client' variable to call operations on the service.<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"><o:p> </o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: green; font-size: 10pt;"> ' Always close the client.<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: black; font-size: 10pt;"> client.Close()<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;"> End Sub<o:p></o:p></span></pre>
<pre style="background: rgb(229, 229, 204);"><span style="color: blue; font-size: 10pt;">End Class</span><span style="color: black; font-size: 10pt;"><o:p></o:p></span></pre>
</div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now let's develop a simple client application (Console application) to retrieve the info about Cases from Microsoft Dynamics AX 2012<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">For these purpose I quickly installed Visual Studio Express 2012 for Windows Desktop on my local machine and on Windows Azure VM from here: </span><a href="http://www.microsoft.com/visualstudio/eng/downloads">http://www.microsoft.com/visualstudio/eng/downloads</a>. <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> After that I'm going to create a project</span><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDgvRzjwBXjD9zv4dh4T1sZSKBE5__2mfyTHdkeJEuXlaIqHfCwNFVz3muy1TVm9Lyepb-ZZTjyEa1n4jAmp6l4Sk_lVlzh0NIDkZbc5rTEHZPM0HIklHgoHdH2pPlRgUsWWF_s5FBXW2T/s1600/image023-704566.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734889891096338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDgvRzjwBXjD9zv4dh4T1sZSKBE5__2mfyTHdkeJEuXlaIqHfCwNFVz3muy1TVm9Lyepb-ZZTjyEa1n4jAmp6l4Sk_lVlzh0NIDkZbc5rTEHZPM0HIklHgoHdH2pPlRgUsWWF_s5FBXW2T/s320/image023-704566.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">And add Service Reference using Web Service WSDL URI<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaGS2z7kUSB5tIW6JbRf2DZC0_A5Dk5epp7Ds-P7moFVRtCsMcsLgy1YnYg3RBWy-p-ELQLSXgUlb1RQs6-Gftcgz0efPRHB-QksESw4ZEWPopmxeZ8dzolHT29a-edDp74JX9tHypQWtF/s1600/image024-707436.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734904137062818" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaGS2z7kUSB5tIW6JbRf2DZC0_A5Dk5epp7Ds-P7moFVRtCsMcsLgy1YnYg3RBWy-p-ELQLSXgUlb1RQs6-Gftcgz0efPRHB-QksESw4ZEWPopmxeZ8dzolHT29a-edDp74JX9tHypQWtF/s320/image024-707436.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Once Service Reference has been added all necessary Proxy classes will be generated inside the project<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Proxy Classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3q3nFqDAJhJHo-HZyaYPl0-0CBCuYyK46niEkY_s200SsnSl3rkNiKkjskMHrPxCtEh2lvbQw7tQKF_LvhbXVE5tBT6vM6PoJ99MMRqc9Koa1ZeI9AAkRJZ2zPUIhHpuH61XYKaGsEkJy/s1600/image025-711016.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734921287636354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3q3nFqDAJhJHo-HZyaYPl0-0CBCuYyK46niEkY_s200SsnSl3rkNiKkjskMHrPxCtEh2lvbQw7tQKF_LvhbXVE5tBT6vM6PoJ99MMRqc9Koa1ZeI9AAkRJZ2zPUIhHpuH61XYKaGsEkJy/s320/image025-711016.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that CaseWebDetailService Web Service is a Document Web Service Microsoft Dynamics AX 2012, that's why the system generated all necessary AIF classes (Axd, etc)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">The source code for client application is presented below<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CaseWebDetailServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CaseWebDetailServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">client.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"azureax0"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"Administrator"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"pass@word1"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"DAT"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] entityKey = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[1];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0] = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">KeyField</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[1];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0] = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">KeyField</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0].Field = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"RecId"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0].Value = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"5637144576"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AxdCaseWebDetail</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> caseItem = client.read(context, entityKey);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (caseItem != </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">String</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Format(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"CaseId: {0}; Description: {1}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, caseItem.CaseDetail[0].CaseId, caseItem.CaseDetail[0].Description));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Done!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ex)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Error!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + ex.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that for the sake of simplicity I hardcoded user credentials. I'll also need to change endpoint address in App.config appropriately from "azureax.azureax0.local" to "azureax.cloudapp.net" to be able to resolve the name of Windows Azure VM from my local machine where I create my client application</span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span> </div>
<div class="MsoNormal">
<i>App.config</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><?</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">xml</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">version</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1.0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">encoding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">utf-8</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ?></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">startup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">supportedRuntime</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">version</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">v4.0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sku</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.NETFramework,Version=v4.5</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">startup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">reqReplyEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mode</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TransportCredentialOnly</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">transport</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">clientCredentialType</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Windows</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_CaseWebDetailService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mode</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TransportCredentialOnly</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">transport</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">clientCredentialType</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Windows</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">address</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">http://azureax.cloudapp.net/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindingConfiguration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">reqReplyEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">contract</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ServiceReference1.IRequestReplyRouter</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">reqReplyEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">address</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">=</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">http://azureax.cloudapp.net/MicrosoftDynamicsAXAif60/CaseManagement/xppservice.svc</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindingConfiguration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_CaseWebDetailService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">contract</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ServiceReference1.CaseWebDetailService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_CaseWebDetailService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">As the result I'll be able to retrieve info about Cases from Microsoft Dynamics AX 2012 in my client application which I ran from my local machine as well as from the same Windows Azure VM<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 - Cases <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI6y2mc9orfQ8ZDPAXRTmF085Ysj3jH5EIjJq98QK3qqt3K_XnFj-_hHZEMPAweZnO5ZlDLZzVBHjvV8K3a-F6SvuoJwU5lS0giKrY6vMW-54czYd41_gpRgnt1aaa2lkAX_DAkpxYuhgQ/s1600/image026-714207.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734933457419426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhI6y2mc9orfQ8ZDPAXRTmF085Ysj3jH5EIjJq98QK3qqt3K_XnFj-_hHZEMPAweZnO5ZlDLZzVBHjvV8K3a-F6SvuoJwU5lS0giKrY6vMW-54czYd41_gpRgnt1aaa2lkAX_DAkpxYuhgQ/s320/image026-714207.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012 – Table Browser<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSoFd5X1-aoLhY_7D0Vxcfi5-YcIJ2sOmZC_eZJhHYYsTVoQRqAmWg96I_GhJvc4gZ7C8-e0AK442XVNuXNfwBgMn2zOOQbhSkjEhY0DENqQqYb7nIecFFDwX3EeRQ8m8C4bFb-NCkJEet/s1600/image027-717944.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734950468898194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSoFd5X1-aoLhY_7D0Vxcfi5-YcIJ2sOmZC_eZJhHYYsTVoQRqAmWg96I_GhJvc4gZ7C8-e0AK442XVNuXNfwBgMn2zOOQbhSkjEhY0DENqQqYb7nIecFFDwX3EeRQ8m8C4bFb-NCkJEet/s320/image027-717944.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">As you can see I ran client application from my local machine as well as from the same Windows Azure VM<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result - Azure VM<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6sb6eiwVkkTjdI55EjE3vS8xcsWfTS1rBXjRpn7C9wRuIGQ5dQv4gz2MTvmsiHMER_fh14fMluFVqdWn2Pyr27PbxQoEMxpRu0Rukp9tNC5phNQJ_Pgzfswb-Hr6I1-m1rrK7xt9TxlOJ/s1600/image028-721354.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734961613941954" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6sb6eiwVkkTjdI55EjE3vS8xcsWfTS1rBXjRpn7C9wRuIGQ5dQv4gz2MTvmsiHMER_fh14fMluFVqdWn2Pyr27PbxQoEMxpRu0Rukp9tNC5phNQJ_Pgzfswb-Hr6I1-m1rrK7xt9TxlOJ/s320/image028-721354.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result - Local machine<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ12M2Rehg-IJTY-zICuk5yEv7r0F5vnD_Tq1iE7r_8Fhw0EtGKycyce4kUBsduaYrM7mq_Jvl_GBO2jaj5eiO5-D8EkjSvrcDhr84hHhzN4BbwabtWqW8jDSqu_nzeXrcRd7hOmmv1pHl/s1600/image029-724622.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734976576052978" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ12M2Rehg-IJTY-zICuk5yEv7r0F5vnD_Tq1iE7r_8Fhw0EtGKycyce4kUBsduaYrM7mq_Jvl_GBO2jaj5eiO5-D8EkjSvrcDhr84hHhzN4BbwabtWqW8jDSqu_nzeXrcRd7hOmmv1pHl/s320/image029-724622.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Okay, we got the result! However there's another way to authenticate against Microsoft Dynamics AX 2012 using AIF Intermediary proxy. The idea is very simple, you can use AIF Intermediary proxy in the scenarios when your external application has already taken care on authentication (using Claims-based authentication), so when you authenticate against Microsoft Dynamics AX 2012 you simply use a static integration account credentials (impersonation of AX integration user) also adding logon user information (email address which is already linked to AX integration user) <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">For example, I say that</span> <a href="mailto:alex@outlook.com">alex@outlook.com</a> <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> is a Claims user which is linked to AX integration user Admin. Please see below the setup required for this scenario</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">First I will create AX Claims user external</span> (<a href="mailto:alex@outlook.com">alex@outlook.com</a>) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>User – Claims user<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDQ3-BhSOAWuQrz8ui_FOUx_l5m0kul7NhKHDJD9OQOwLM1psSTJD4u34AI9SftQ-naUqsYUu-KAulPjpcHF1hn56yBm7_cyofa8v0uDGs2-8QiCx9YP4db6qzHjzO9_e9x7QcDTc7qdkX/s1600/image030-727219.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936734986927249426" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDQ3-BhSOAWuQrz8ui_FOUx_l5m0kul7NhKHDJD9OQOwLM1psSTJD4u34AI9SftQ-naUqsYUu-KAulPjpcHF1hn56yBm7_cyofa8v0uDGs2-8QiCx9YP4db6qzHjzO9_e9x7QcDTc7qdkX/s320/image030-727219.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Then I will have to specify the association between AX Claims user and AX integration user in Trusted intermediary users form for Inbound port<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound port – Security (Trusted Intermediary users)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_CyqK-Cpx5NXZKmW48XL1wRSaqdlG6m5USCPEdZoD95duRrJA2xYCgFuJ_iXu4bBcyoGu3pzE-I81sA4TiPiwoWk6VHbAWQfLBxotBrzCvvyb0_NtWsqqyiHShAhEyNV6mVoyJS7tOpnc/s1600/image031-730368.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735000538646930" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_CyqK-Cpx5NXZKmW48XL1wRSaqdlG6m5USCPEdZoD95duRrJA2xYCgFuJ_iXu4bBcyoGu3pzE-I81sA4TiPiwoWk6VHbAWQfLBxotBrzCvvyb0_NtWsqqyiHShAhEyNV6mVoyJS7tOpnc/s320/image031-730368.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that before you define the association you have to mark "Allow trusted intermediary to impersonate" checkbox [V] for Inbound port <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Trusted intermediaries<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_jkZyidBt2SE4xKB4IgJb32GdO_0EbAHa6fp1iqt5jYkJR4rGKRWD4jn-P5bPtYmnizMoUT4_U8qXgoyrGlfeO8qWeBsSIYhsuqBpnvcY2q77QGcmX6QE8UdvvoRXPzpx8D14GZIJ2TRA/s1600/image032-735259.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735022219714002" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_jkZyidBt2SE4xKB4IgJb32GdO_0EbAHa6fp1iqt5jYkJR4rGKRWD4jn-P5bPtYmnizMoUT4_U8qXgoyrGlfeO8qWeBsSIYhsuqBpnvcY2q77QGcmX6QE8UdvvoRXPzpx8D14GZIJ2TRA/s320/image032-735259.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that I associated</span> <a href="mailto:alex@outlook.com">alex@outlook.com</a> <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> Claims user with trusted intermediary user Admin in</span> <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> Microsoft Dynamics AX 2012<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now I'll change the source code little bit to call Web Services on behalf of external user<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> { <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CaseWebDetailServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CaseWebDetailServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">client.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"azureax0"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"Administrator"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"pass@word1"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"DAT"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">context.LogonAsUser = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"external\\alex@outlook.com"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] entityKey = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[1];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0] = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">EntityKey</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">KeyField</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[1];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0] = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">KeyField</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0].Field = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"RecId"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> entityKey[0].KeyData[0].Value = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"5637144576"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AxdCaseWebDetail</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> caseItem = client.read(context, entityKey);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (caseItem != </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">String</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Format(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"CaseId: {0}; Description: {1}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, caseItem.CaseDetail[0].CaseId, caseItem.CaseDetail[0].Description));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Done!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ex)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Error!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + ex.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that if you call this code as System Administrator you can successfully get the info about Case from Microsoft Dynamics AX 2012<o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikcsMq4vK2OHdcIXjgKGTRbvxUwFHOGOBv3mfSMg9giDIXLmxTKsDl2anvdb1zmfQGr2LqX2TnPnxnulH5vp29AistcDXE1ZfVFOmdNTz8Neuko6WI8i5ii-ynHCKevaXz5fHJiJVnFYyH/s1600/image033-740611.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735045697729474" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikcsMq4vK2OHdcIXjgKGTRbvxUwFHOGOBv3mfSMg9giDIXLmxTKsDl2anvdb1zmfQGr2LqX2TnPnxnulH5vp29AistcDXE1ZfVFOmdNTz8Neuko6WI8i5ii-ynHCKevaXz5fHJiJVnFYyH/s320/image033-740611.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">However if you call this code NOT as System Administrator your Web Service call will fail with authentication error<o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP80qoTOPJgbQYlQnYBs_DzcvWOpr6hoeMLG94wxCh7IkELVKa8h4kLBKvu6k8dPq6G8xwSt3eBctZVbQiTRxtpB-szWzDIVj1nJP8W38PAH9AdPVb1vM30yQWyaBxp5sG7TKCDzWPjK3r/s1600/image034-747086.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735067693961250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP80qoTOPJgbQYlQnYBs_DzcvWOpr6hoeMLG94wxCh7IkELVKa8h4kLBKvu6k8dPq6G8xwSt3eBctZVbQiTRxtpB-szWzDIVj1nJP8W38PAH9AdPVb1vM30yQWyaBxp5sG7TKCDzWPjK3r/s320/image034-747086.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">By</span> <span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> now we discussed how to use standard Document Service to retrieve information about Cases in Microsoft Dynamics AX 2012. Document Services in Microsoft Dynamics AX 2012 use AIF infrastructure/framework, that's why after we added corresponding Service Reference the system generated a number of AIF Proxy classes for us (Axd, etc)<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that you can also apply "pure WCF" approach by using Custom Services in Microsoft Dynamics AX 2012 when you don't use AIF, and define Data Contract and Service Contract in X++. Please find the reference on how to use Custom Services in Microsoft Dynamics AX 2012 here: </span><a href="http://technet.microsoft.com/en-us/library/hh509052.aspx">http://technet.microsoft.com/en-us/library/hh509052.aspx</a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">For Custom Service scenario I'll use local Microsoft Dynamics AX 2012 R2 Demo VM <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please see below how we can define Data Contact and Service Contract for Custom Web Service which will help us retrieve information about Cases in Microsoft Dynamics AX 2012 <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code – Data Contract Class</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">[DataContractAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">public class AlexCase<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> str alexCaseId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> str alexCaseDescription;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">public str caseId(str _alexCaseId = alexCaseId)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> alexCaseId = _alexCaseId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> return alexCaseId;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">}<o:p></o:p></span></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">[DataMemberAttribute]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">public str description(str _alexCaseDescription = alexCaseDescription)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> alexCaseDescription = _alexCaseDescription;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> return alexCaseDescription;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that in Data Contract I defined 2 fields (Id and Name) for the sake of simplicity<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code – Service Contract Class</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">class AlexCaseService<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">}</span><o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">[SysEntryPointAttribute(true)]<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">public AlexCase getCase()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> AlexCase alexCase;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> ;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> alexCase = new AlexCase();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> alexCase.caseId('1');<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> alexCase.description('AlexCase');<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;"> return alexCase;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span lang="EN" style="color: black; font-family: "Courier New"; font-size: 10pt;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that in Service Contract Class I implemented just one operation to retrieve Case info for the sake of simplicity<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Once Data Contract and Service Contract have been implemented we can create Service, associate Service Contract Class to newly created Service, add Service to Service Group<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Project <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9QeiXxPnh-rxwO9PnfoWdw7vRCmUEvU9Ssz-APjiO8GoNyohqcWDDeA0UCmCL5vmfKYy62hk4mAKrcUVUyB2zZpKXzyx398Qy8GCZ6NHDEoUeJUn_US0B8bZmjvapJ7_Om9im3fmWIwg7/s1600/image035-751639.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735092476931746" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9QeiXxPnh-rxwO9PnfoWdw7vRCmUEvU9Ssz-APjiO8GoNyohqcWDDeA0UCmCL5vmfKYy62hk4mAKrcUVUyB2zZpKXzyx398Qy8GCZ6NHDEoUeJUn_US0B8bZmjvapJ7_Om9im3fmWIwg7/s320/image035-751639.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">And finally deploy Service group which will create and activate Inbound port<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Inbound port<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWkjqrwjRw9so7ViDoERFrUllTRoMLHmSgfOlm3m82-xzxWVTCkw-FwawJnGkb7ZUnzmnzqgLmHta69g8nyXpKoTCgTUTzwpAv1C79P5jjRhxs_2Ka-FKeW7ZMtdfyqoCNWJjQ9XpqPVWw/s1600/image036-756103.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735112548603154" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWkjqrwjRw9so7ViDoERFrUllTRoMLHmSgfOlm3m82-xzxWVTCkw-FwawJnGkb7ZUnzmnzqgLmHta69g8nyXpKoTCgTUTzwpAv1C79P5jjRhxs_2Ka-FKeW7ZMtdfyqoCNWJjQ9XpqPVWw/s320/image036-756103.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that I created Enhanced Inbound port using HTTP adapter to expose Custom Service <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Select Service Operations<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih2Aq6dMHolhkrxCPJWYjaGFfj4CUH3mA0SdfTknDsc42DlXsWGOdLSpUBTK9GQDoEqKXa8zbSomfxSqzh408FX7uPBtGN3QJs9uspGxV0ZuDljlNVVHMKuFJ8n1d0f_ljQx1aims7Gq7c/s1600/image037-760958.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735133161693522" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih2Aq6dMHolhkrxCPJWYjaGFfj4CUH3mA0SdfTknDsc42DlXsWGOdLSpUBTK9GQDoEqKXa8zbSomfxSqzh408FX7uPBtGN3QJs9uspGxV0ZuDljlNVVHMKuFJ8n1d0f_ljQx1aims7Gq7c/s320/image037-760958.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that I selected getCase operation from the list to finalize Inbound port setup<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now I can create a simple client application to consume Custom Service I exposed, so I'll go ahead create a project and add Service Reference using WSDL URI <o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Service Reference<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3c1VUWlHRNrfL34Xi82B_-eJp9Ip3IZiAjZjFNzBfbH7uwhY89uIRCjAQYMeUS0C7O-kpz3EaY1sQjrHBnhJzFWjxbyFaWQU08fG4kWfVOCRzfcJpGzjese95ZR0hITf1byLUNcz81onz/s1600/image038-765471.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735152293784642" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3c1VUWlHRNrfL34Xi82B_-eJp9Ip3IZiAjZjFNzBfbH7uwhY89uIRCjAQYMeUS0C7O-kpz3EaY1sQjrHBnhJzFWjxbyFaWQU08fG4kWfVOCRzfcJpGzjese95ZR0hITf1byLUNcz81onz/s320/image038-765471.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Now let's take a look at the list of proxy classes<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Proxy Classes<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcPIJQTM309p1F-7BUBQ4RBTQqWu0ebfyFLrHyXiQvK5YSwmHlhFO15xsydslvSzuGIkBnr739EljxvXdGEWsZ8xlHNVgh6vfv9mAXvG9shSDotSMvYqU-enuuuAT0w7T6ejJhE0VFjnrV/s1600/image039-770253.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735172330579954" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcPIJQTM309p1F-7BUBQ4RBTQqWu0ebfyFLrHyXiQvK5YSwmHlhFO15xsydslvSzuGIkBnr739EljxvXdGEWsZ8xlHNVgh6vfv9mAXvG9shSDotSMvYqU-enuuuAT0w7T6ejJhE0VFjnrV/s320/image039-770253.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">In this walkthrough I implemented two options of how to call Custom Service: Synchronous and Asynchronous <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please see the source code for Synchronous scenario below<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code - Sync</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCaseServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCaseServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"contoso"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Administrator"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"pass@word1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCase</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> alexCase = client.getCase(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (alexCase != </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(alexCase.caseId + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">":"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + alexCase.description);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Done!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Error!"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please see the source code for Asynchronous scenario below<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Source code – Async</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2.ServiceReference1;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ConsoleApplication2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">async</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Task</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> DoAsync()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCaseServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCaseServiceClient</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.Domain = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"contoso"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.UserName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Administrator"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.ClientCredentials.Windows.ClientCredential.Password = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"pass@word1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">CallContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.Company = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"USMF"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">try</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">AlexCaseServiceGetCaseResponse</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> result = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">await</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> client.getCaseAsync(context);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (result != </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(result.response.caseId + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">":"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + result.response.description);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">catch</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Exception</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> e)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(e.InnerException.Message);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Failure"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Task = DoAsync();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.ReadLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Before I will execute this code I have to come back to authentication setup and make sure Windows Authentication is enabled for IIS Web Site <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p> </o:p></span></div>
<div class="MsoNormal">
<i>IIS Web site Authentication settings<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpTwmvd9q2poPqXRRYMAbkiPt38IcUZ22VwfAdYvxWeY0OfTXdDZTvmhR2RwRzzpbz9pSOKfE-WEeh_AJT0J34qRxlbnB7TznWbTy2GPwB94vuDhkGGfBh2lrheV3cwVDSjhbSL_06aL0Q/s1600/image040-775264.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5936735192739471458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpTwmvd9q2poPqXRRYMAbkiPt38IcUZ22VwfAdYvxWeY0OfTXdDZTvmhR2RwRzzpbz9pSOKfE-WEeh_AJT0J34qRxlbnB7TznWbTy2GPwB94vuDhkGGfBh2lrheV3cwVDSjhbSL_06aL0Q/s320/image040-775264.png" /></a><o:p></o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">I also had to change ClientCredentialsType = Windows to ClientCredentialType = Ntml in App.config to avoid the following error: The remote server returned an error: (401) Unauthorized. The HTTP request is unauthorized with client authentication scheme 'Negotiate'.<o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>App config</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><?</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">xml</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">version</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1.0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">encoding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">utf-8</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ?></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">startup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">supportedRuntime</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">version</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">v4.0</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sku</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.NETFramework,Version=v4.5</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">startup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">serviceEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mode</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TransportCredentialOnly</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">transport</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">clientCredentialType</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Ntlm</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_AlexCaseService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mode</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TransportCredentialOnly</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">transport</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">clientCredentialType</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Ntlm</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">security</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindings</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">address</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">http://ax2012r2a.contoso.com/MicrosoftDynamicsAXAif60/AlexServiceExt/xppservice.svc</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindingConfiguration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">serviceEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">contract</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ServiceReference1.IRequestReplyRouter</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">serviceEndpoint</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">endpoint</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">address</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">http://ax2012r2a.contoso.com/MicrosoftDynamicsAXAif60/AlexServiceExt/xppservice.svc</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">binding</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">basicHttpBinding</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">bindingConfiguration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_AlexCaseService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">contract</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ServiceReference1.AlexCaseService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">BasicHttpBinding_AlexCaseService</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> /></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">client</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">system.serviceModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">configuration</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">As the result I can successfully retrieve info about Case in Microsoft Dynamics AX 2012 from external application using Custom Service, just the same way I did this using Document Service<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Please note that Custom Services in Microsoft Dynamics AX 2012 can offer you greater flexibility and performance, development process for Custom Services resembles the way you develop for .NET/WCF and Custom Services are not dependent of AIF infrastructure/framework <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">This article is a logical continuation of:</span> <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><u><span style="color: #0563c1;"><o:p></o:p></span></u></div>
<div class="MsoNormal" style="background: white;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal" style="background: white;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Summary:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> In this walkthrough I demonstrated how to quickly develop external application which is integrated with Microsoft Dynamics AX 2012 using Document Services and Custom Services. Please note that in this walkthrough for the sake of simplicity I used impersonation and Windows Integrated authentication [Not Secure] as well as outlined other authentication scenarios such as AIF Intermediary proxies. I provided a comparison Document Services and Custom Services in Microsoft Dynamics AX 2012 and outlined some benefits of Custom Services which may offer greater flexibility (.NET like, sync/async calls) and performance (WCF). <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><br /> <b>Author:</b> </span><a href="mailto:%20alexani@microsoft.com"><span style="font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Alex Anikiev</span></a><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">, PhD, MCP<o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><br /> <b>Tags:</b> Microsoft Dynamics ERP, Microsoft Dynamics AX 2012, Visual Studio 2012, AIF, Application Integration Framework, Web Services, Document Services, Custom Services, .NET, WCF, Synchronous, Asynchronous <o:p></o:p></span></div>
<div class="MsoNormal" style="background: white;">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><br /> <b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></span></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com8tag:blogger.com,1999:blog-4565800100410709901.post-14302724454317340792013-09-30T02:54:00.001-07:002013-09-30T02:59:47.914-07:00Microsoft Dynamics AX 2012 in Windows Azure (IaaS) – Using Existing VHD<div class="WordSection1">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 in Windows Azure (IaaS) – Using Existing VHD<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to explain how to deploy Microsoft Dynamics AX 2012 in Windows Azure platform (Infrastructure-as-a-Service (IaaS)) using existing VHD (Virtual Hard Drive).<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"> </span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: Arial; font-size: x-small;"></span><o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> You may want to deploy Microsoft Dynamics AX 2012 as Infrastructure-as-a-Service (IaaS) for the purposes of POC (Proof of concept), in case you want to have additional development or test environment, or if you are considering deploying production instance of Microsoft Dynamics AX 2012 in the Cloud. There're number of options when deploying Microsoft Dynamics AX 2012 in the Cloud including Windows Azure platform. And in many cases you already have a virtual machine which you have built locally, and you want to deploy this virtual machine to the Cloud as Windows Azure VM.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> To store files and data in the Blob, Table, and Queue services in Windows Azure, you can create a storage account in the geographic region where you want to store the data. <span lang="EN">A Windows Azure virtual machine is created from an image or a disk. All virtual machines use one operating system disk, a temporary local disk, and possibly multiple data disks. All images and disks, except the temporary local disk, are created from virtual hard disks (VHDs), which are .vhd files stored as page blobs in a storage account in Windows Azure. You can use platform images that are available in Windows Azure to create virtual machines, or you can upload your own images to create customized virtual machines. The disks that are created from images are also stored in Windows Azure storage. You can easily create new virtual machines from existing disks.</span><o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Scenario<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">In this scenario I want to deploy existing VHD which contains Microsoft Dynamics AX 2012 installation to </span>Windows Azure platform (Infrastructure-as-a-Service (IaaS))<span lang="EN">. In particular I want to establish Microsoft Dynamics AX 2012 Demo environment in Windows Azure using Microsoft Dynamics AX 2012 A Demo VM which you can download from Partner Source </span><a href="https://mbs.microsoft.com/partnersource/marketing/marketingcollateral/demos/ax2012demotoolsmaterials.htm"><span lang="EN">here</span></a><span lang="EN">.</span><o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Walkthrough</span></b><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that there's a tutorial available on how to upload VHD which contains Windows Server OS to Windows Azure: <a href="http://www.windowsazure.com/en-us/manage/windows/common-tasks/upload-a-vhd/"> http://www.windowsazure.com/en-us/manage/windows/common-tasks/upload-a-vhd/</a>. However there're number of nuances about Microsoft Dynamics AX 2012 A Demo VM which I will describe in this document. <strong>That's why please review the rest of this document before you take further actions.<o:p></o:p></strong></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We will start off with creation of Windows Azure Storage account as described below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Storage<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc3AnH3fOv6GXTXxTAEYlb0juWl5DljCLzDfMiVZSpHLUuLHQxIAJMXj43Hss1tloU9I2xzsPwtEyROIpSLLJmaiSj20DWxLw5iAFCnF7gv6RhCbs3UaZlDuQOvu1g_pVKfnQd878LMjXG/s1600/image001-784847.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352193486089570" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc3AnH3fOv6GXTXxTAEYlb0juWl5DljCLzDfMiVZSpHLUuLHQxIAJMXj43Hss1tloU9I2xzsPwtEyROIpSLLJmaiSj20DWxLw5iAFCnF7gv6RhCbs3UaZlDuQOvu1g_pVKfnQd878LMjXG/s320/image001-784847.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that we can create a container to put our VHD file into<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Containers<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiceL2JmtlxdUpwFBwfmgGJeWXfRMD7stX5b-yWRP6-9WWIMWWtfzCMpz0ehgsayIZrYgsjwA4ykzrkGQjOH0u_GyVh4YQKwgp08PIGpvD9JS6PTN1gVfR9z0d_W1MmmhykGVPc_63u6cyG/s1600/image002-788933.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352205538000722" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiceL2JmtlxdUpwFBwfmgGJeWXfRMD7stX5b-yWRP6-9WWIMWWtfzCMpz0ehgsayIZrYgsjwA4ykzrkGQjOH0u_GyVh4YQKwgp08PIGpvD9JS6PTN1gVfR9z0d_W1MmmhykGVPc_63u6cyG/s320/image002-788933.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The initial idea would be to upload VHD file and create an image based on it. And at this step we want to make sure that our VHD file is not bigger than 128GB because currently there's a limitation related to VHD upload to Windows Azure which states that VHDs up to 128GB are allowed<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you upload Microsoft Dynamics AX 2012 A Demo VM to Windows Azure Storage account<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZYyP6ijR3touI4Xzeu_svCLPPu1R84WBHHvK1yWeI8vIJbJZS2PSKZEYc0yLtc-ftWnBq8m-QKO8yNcYQb0EF2p48E9f2v6n3T_ize9Q09lOES_H-58EyCQTG1visJrG53-H1MGJWC8Ki/s1600/image003-792063.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352222560582450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZYyP6ijR3touI4Xzeu_svCLPPu1R84WBHHvK1yWeI8vIJbJZS2PSKZEYc0yLtc-ftWnBq8m-QKO8yNcYQb0EF2p48E9f2v6n3T_ize9Q09lOES_H-58EyCQTG1visJrG53-H1MGJWC8Ki/s320/image003-792063.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You will end up with 175GB VHD<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>VHDs<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4PnpmESDipjPoLg5ghE7Z61WZ4-SZivfEk-BImZCV9AcQ-wxOvtGbo0weRoTYVV34ximfPkp_ANRD15Pl1HNrDMp8pn8i3-o4TTOEGga1b8FZp3QyC3w8tFuQU1IOWlDHJxVdLmogQoNC/s1600/image004-795379.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352234677808978" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4PnpmESDipjPoLg5ghE7Z61WZ4-SZivfEk-BImZCV9AcQ-wxOvtGbo0weRoTYVV34ximfPkp_ANRD15Pl1HNrDMp8pn8i3-o4TTOEGga1b8FZp3QyC3w8tFuQU1IOWlDHJxVdLmogQoNC/s320/image004-795379.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And you will see the following error "VHD has invalid size XGB. Permitted values are between 0 and 128GB" when you'll try to create an image based on this VHD <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik_nQXYMcAXRwxc-RHCZVGYkFjOpvyxyAS0tEOSnLXt2JgfC4VoZo1pmfGt1TLk6oCJkUfEZ0BZC9x2rqRayurshxXyc6fzfHgmx8suPu0uQ7jiY1WJHbtJy8jfMFX7Vk5hlumJZb3OZUY/s1600/image005-798486.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352247717329170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik_nQXYMcAXRwxc-RHCZVGYkFjOpvyxyAS0tEOSnLXt2JgfC4VoZo1pmfGt1TLk6oCJkUfEZ0BZC9x2rqRayurshxXyc6fzfHgmx8suPu0uQ7jiY1WJHbtJy8jfMFX7Vk5hlumJZb3OZUY/s320/image005-798486.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now if we look at Microsoft Dynamics AX 2012 A Demo VM its total size is 175GB. Please note that there's about 70GB of free space there<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disk Management<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJlBoUjBp8qmCEbubWoRnKEUKKK-NcLbgiaxUsx8szSfpTjN42ygSNVnzzRR96LK8Ytpnp1-gHpAj6azOJ-dAr191u498Rn0RTk2awx8d5J0fsAhnBMHLGOZcittIbtws75BRnXDEUc9-6/s1600/image006-701865.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352255660631650" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJlBoUjBp8qmCEbubWoRnKEUKKK-NcLbgiaxUsx8szSfpTjN42ygSNVnzzRR96LK8Ytpnp1-gHpAj6azOJ-dAr191u498Rn0RTk2awx8d5J0fsAhnBMHLGOZcittIbtws75BRnXDEUc9-6/s320/image006-701865.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can look at possibilities to shrink VHD using standard Shrink function and we'll see that we can actually shrink it to about 128GB <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disk Management <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpwVROXW_jjQlN2mlzYy-4iv0nY1g-NW4pqnSsc9EQdDkUJN0O7Y0vpYrcWrNjlGG2sQAvkdgj9EuoxAIH3w9Ol1Wd5g3HNViEaFC4lsPjsBlwc9XQoTHwRPJvHsFzpVuztvl8pFKlDJUq/s1600/image007-704256.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352272492411890" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpwVROXW_jjQlN2mlzYy-4iv0nY1g-NW4pqnSsc9EQdDkUJN0O7Y0vpYrcWrNjlGG2sQAvkdgj9EuoxAIH3w9Ol1Wd5g3HNViEaFC4lsPjsBlwc9XQoTHwRPJvHsFzpVuztvl8pFKlDJUq/s320/image007-704256.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We can further explore options on how to shrink it even more using Disk Cleanup function and again there's such possibility (-1GB) which brings us to 127GB desired size <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disk Management<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI6HsVFnnrrtLTKbu_Wghs5X717iKSbZhILoCnQfcShD6jXX5_nVQ3r0ym-eZWeCVxq-qgOUoocHiDVnB2Vq0xztFzk1eOpevjAnmvAs0pE1mQV1ejuh1DGCmEg0Y4lVjm6bc8mqQWsaV3/s1600/image008-707513.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352289009480738" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI6HsVFnnrrtLTKbu_Wghs5X717iKSbZhILoCnQfcShD6jXX5_nVQ3r0ym-eZWeCVxq-qgOUoocHiDVnB2Vq0xztFzk1eOpevjAnmvAs0pE1mQV1ejuh1DGCmEg0Y4lVjm6bc8mqQWsaV3/s320/image008-707513.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that after you shrink a disk using Disk Management Shrink function shrank space becomes Unallocated and VHD size is still 175GB. That's why we need to resize VHD properly to desired size of 127GB. In this scenario I used VHDResizer utility which you can download for free in the internet<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>VHDResizer <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ZIDz7lgYA4UZYjNobKXfF8tP9zXAAzN3FfD_vhlrrSFMSMDWrKiWafa0FWU6d5rW3BULnOFCEozI3MSMr8Puyt7Fe8v_F-Hoo0yIDrG_e618fX5q61mbbk3nx2GK34v1b5_sivDlDpm5/s1600/image009-710948.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352298932592690" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ZIDz7lgYA4UZYjNobKXfF8tP9zXAAzN3FfD_vhlrrSFMSMDWrKiWafa0FWU6d5rW3BULnOFCEozI3MSMr8Puyt7Fe8v_F-Hoo0yIDrG_e618fX5q61mbbk3nx2GK34v1b5_sivDlDpm5/s320/image009-710948.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that another important point is to change the type of VHD from Dynamic to Fixed to control its size after we upload it to Windows Azure Storage account. I also specified new size of 127GB which is smaller than 128GB limit<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that technically we could use Resize-VHD command in Windows Server 2012: <a href="http://technet.microsoft.com/en-us/library/hh848535.aspx">http://technet.microsoft.com/en-us/library/hh848535.aspx</a>. But currently the only VHD format is supported in Windows Azure for creation of images, and Resize-VHD command only works for VHDX format <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After you resize VHD you can give unallocated space back to VM in Disk Management by using Extend function. This is why if I now run this VM locally (Hyper-V) I can see the C: drive has actual size of 127GB. Exactly what I need for now! <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disk Management <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho_ThtsNHI5-veZ9WJNZ-d9ZPdTjXuomb5boflhekpLQcQmfcP6UUpi2luIlr6Z0J1XVa2lqdcVbrsgUH_IKk2PQV6nurtgwrGVa24z9eGrU7xkWgdqh0ePLeLGZZzXbYQu-iUcJirdqUV/s1600/image010-714143.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352316491226754" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho_ThtsNHI5-veZ9WJNZ-d9ZPdTjXuomb5boflhekpLQcQmfcP6UUpi2luIlr6Z0J1XVa2lqdcVbrsgUH_IKk2PQV6nurtgwrGVa24z9eGrU7xkWgdqh0ePLeLGZZzXbYQu-iUcJirdqUV/s320/image010-714143.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can finally upload VHD to Windows Azure Storage account using Windows Azure PowerShell Cmdlet as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows Azure PowerShell<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-4rRWrc5XEP9AHp-XLE4srj86haJDXpqJLTpT_T1s3A4FhePAb7TiAkM9rF_MTtxIeM1MYzDPVHfQRhf5NJjDW0gE_1rhnIfk6T11YwK-HMDZQmGHHEkOwDdxEE1w7Od8PzEwNIb0JQfA/s1600/image011-718130.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352329570792338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-4rRWrc5XEP9AHp-XLE4srj86haJDXpqJLTpT_T1s3A4FhePAb7TiAkM9rF_MTtxIeM1MYzDPVHfQRhf5NJjDW0gE_1rhnIfk6T11YwK-HMDZQmGHHEkOwDdxEE1w7Od8PzEwNIb0JQfA/s320/image011-718130.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that upload may take a while depending on the speed of your internet (upload speed) <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The resulting outcome may look like the following</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
PS C:\> Add-AzureVhd -Destination http://alex.blob.core.windows.net/vhds/AX2012R2A-v3.vhd -LocalFilePath "D:\MicrosoftDynamicsAX2012\Virtual Hard Disks\AX2012R2A-v3.vhd"<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
MD5 hash is being calculated for the file D:\MicrosoftDynamicsAX2012\Virtual Hard Disks\AX2012R2A-v3.vhd.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
MD5 hash calculation is completed.<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Elapsed time for the operation:<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Creating new page blob of size ...<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Elapsed time for upload:<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<o:p> </o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
LocalFilePath DestinationUri<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
------------- --------------<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
D:\MicrosoftDynamicsAX2012\Virtual Hard Disks\AX20... http://alex.blob.core.windows.net/vhd...<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now we can double check that the size of VHD uploaded is smaller than 128GB<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>VHDs <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvAoR4AAbLwRYyHV6Vq51HBbfUBZ1Jv2pYshbBbfu0IgpNilt_3EuaI9Gqg0__E7kgRjQfh94gJupylRIir51YLkWB8Fs0qsRh5EHGzF3RaSeroYx2kmikMU4TEp6BMZQifiiCiVCtCE4o/s1600/image012-720818.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352341919501218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvAoR4AAbLwRYyHV6Vq51HBbfUBZ1Jv2pYshbBbfu0IgpNilt_3EuaI9Gqg0__E7kgRjQfh94gJupylRIir51YLkWB8Fs0qsRh5EHGzF3RaSeroYx2kmikMU4TEp6BMZQifiiCiVCtCE4o/s320/image012-720818.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Another important consideration is that for creation of images in Windows Azure based on VHD you have to sysprep the image (on VHD) itself <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that if you upload VHD which is not sysprep-ed in Windows Azure Storage account and then try to create an image based on it you will run into "Running (Provisioning Timed Out)" problem. This basically means that after you launch Windows Azure VM (created based on the not sysprep-ed image) your Windows Azure VM will show "Running (Provisioning Timed Out)" status and you will not be able to use it<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual Machines<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4Hk2w-J6jYt12CRTIcv1O8ntdFdFW5-ggdvIF68GlsB5eP70oKCoUOCo8mT3rE2kiJMPfIinHKWEfTvVsrzYL6WHDsDBjzmuE8udkSAjFpfd89uCPrShY4vBQlwpqtMsbzcVjsris02N/s1600/image013-723589.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352352663874578" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_4Hk2w-J6jYt12CRTIcv1O8ntdFdFW5-ggdvIF68GlsB5eP70oKCoUOCo8mT3rE2kiJMPfIinHKWEfTvVsrzYL6WHDsDBjzmuE8udkSAjFpfd89uCPrShY4vBQlwpqtMsbzcVjsris02N/s320/image013-723589.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that even after you sysprep Microsoft Dynamics AX 2012 A Demo VM you may not be able to launch it after that because of hardware drivers errors. Also there're more considerations about sysprep-ing machines with Microsoft SQL Server and Microsoft SharePoint Server installed<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
That's why I decided to convert uploaded VHD into Disk instead of Image and then attach this Disk to the Windows Azure VM. Let's move on … Currently I don't have any Virtual Machines created<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual Machines<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfOQQykev8yK-qnV2jv03imLNZmktyM6EkVI2omebYhguP9u8-u52Er6JNjFmSLQ1TJIKQ72oxZ7Gjjora3FvInNmN80ftfg5sI44WGrIco9vtjQpHxVm0pqUiWxBs6XGHxVpqzBfohFTO/s1600/image014-726343.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352365030407778" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfOQQykev8yK-qnV2jv03imLNZmktyM6EkVI2omebYhguP9u8-u52Er6JNjFmSLQ1TJIKQ72oxZ7Gjjora3FvInNmN80ftfg5sI44WGrIco9vtjQpHxVm0pqUiWxBs6XGHxVpqzBfohFTO/s320/image014-726343.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
I will switch over to Disks<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disks<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgADvkWIrdkGinGJ06sl1CeA7uglG_mR26iFkKo8MyRDB7Na1HvRKsZpf5cKCJBYZx_XrnkzVITQbWf4IOf-L_c-7baSrudvo3WgpclIPdRWaUoNpTs5Zzk4rYviymr72tg7_FprKWqnqbf/s1600/image015-728926.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352377043595826" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgADvkWIrdkGinGJ06sl1CeA7uglG_mR26iFkKo8MyRDB7Na1HvRKsZpf5cKCJBYZx_XrnkzVITQbWf4IOf-L_c-7baSrudvo3WgpclIPdRWaUoNpTs5Zzk4rYviymr72tg7_FprKWqnqbf/s320/image015-728926.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And create a new Disk based on uploaded VHD<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a disk from a VHD<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNY4ScxsrhyphenhyphenKoQAJvdVHabp14F9wYrKrVdCPQ9O81FQ8SrHWz51KtrM9rfkveCFc_LAFF2U1g29vwMO0JGkhWxffpD_IGssyGyrFG0Fr0ESp8LF5MylJFfOwg2tUMeN5EiHCqYp7u7WJAi/s1600/image016-731609.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352383994447378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNY4ScxsrhyphenhyphenKoQAJvdVHabp14F9wYrKrVdCPQ9O81FQ8SrHWz51KtrM9rfkveCFc_LAFF2U1g29vwMO0JGkhWxffpD_IGssyGyrFG0Fr0ESp8LF5MylJFfOwg2tUMeN5EiHCqYp7u7WJAi/s320/image016-731609.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I attached uploaded VHD to the Virtual Machine Disk and also specified that VHD contains Windows OS<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Browse Cloud Storage <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFmwkNaB85hr_wC8qzwylceREteuSiMx6lMnkyK3y-5gG2s2KNpY8LatykMerVaJowxGQWWAFtw_G-KIJ7bE-8TImdzPdWlU3IfqkZQSXCCV0SooizDleYZlEaz1_JK9CGXjMYwKcTyBc/s1600/image017-734150.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352402013663090" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVFmwkNaB85hr_wC8qzwylceREteuSiMx6lMnkyK3y-5gG2s2KNpY8LatykMerVaJowxGQWWAFtw_G-KIJ7bE-8TImdzPdWlU3IfqkZQSXCCV0SooizDleYZlEaz1_JK9CGXjMYwKcTyBc/s320/image017-734150.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can see Disk in the list. Please note that this disk has not been attached to the Virtual Machine yet<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Disks</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGLKL8XyrihXQPFof-kZvoj-PZCiRTZm4CytSIgqn7ivC8UDWBfwJzrvskuo9-Ue7xbcB7GIcFC1whp9mRD-o15dh-NxU1mRSQIHa41KAR7R_WputMsBp7hUS457c0v90sXY28FWYs9Y0j/s1600/image018-737374.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352410885186994" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGLKL8XyrihXQPFof-kZvoj-PZCiRTZm4CytSIgqn7ivC8UDWBfwJzrvskuo9-Ue7xbcB7GIcFC1whp9mRD-o15dh-NxU1mRSQIHa41KAR7R_WputMsBp7hUS457c0v90sXY28FWYs9Y0j/s320/image018-737374.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As a next step we can create Virtual Machine based on the Disk<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine image selection<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENoXYeKgLDcmgtsuW-9zRB0Gw_QtQBvzkH7s6NxbkEdOJo6O8mIXKjSQPIaS_D7OM1-EhYYe6yRRzyQspVwaDDgldDH1qWWWvsyB0KAySXLBQ4CJ7Iv8VeRBIztI2sVo0CjGxXLBqFKoG/s1600/image019-739882.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352426710137378" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENoXYeKgLDcmgtsuW-9zRB0Gw_QtQBvzkH7s6NxbkEdOJo6O8mIXKjSQPIaS_D7OM1-EhYYe6yRRzyQspVwaDDgldDH1qWWWvsyB0KAySXLBQ4CJ7Iv8VeRBIztI2sVo0CjGxXLBqFKoG/s320/image019-739882.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then I can define the size of Virtual Machine and user credentials. Please note that I specified "A7 (8 cores, 56GB memory) size because Microsoft Dynamics AX 2012 A Demo VM is a single-box install of Microsoft Dynamics AX 2012 <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRcKboJ9pGWnbUcdVp3MEnqLnRV-JhPL6qox1ZZ7xk3luV4O7JiAgKix2S9523Qpdw6yHUMeiE06eIHNmaa7KcMOT788WepZ5B_gox4r62tLym6W4xtU-kYiGVp5U6d44zOA65XAFMNiEe/s1600/image020-742651.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352435548218002" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRcKboJ9pGWnbUcdVp3MEnqLnRV-JhPL6qox1ZZ7xk3luV4O7JiAgKix2S9523Qpdw6yHUMeiE06eIHNmaa7KcMOT788WepZ5B_gox4r62tLym6W4xtU-kYiGVp5U6d44zOA65XAFMNiEe/s320/image020-742651.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbW56uPEUHyrJ5DNrz30IGMMzR1uX_7sNW6Vr1bQAhXdQa9df1ZylPmdCN2hbRhztHtPbaJDkzWXCpSQfHcZt1kGheuRPVlJsNrzR5ccVlSweANdyjwCVHzdnkPmoiA_1WCpFGsgMBVBHV/s1600/image021-745479.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352455259543602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbW56uPEUHyrJ5DNrz30IGMMzR1uX_7sNW6Vr1bQAhXdQa9df1ZylPmdCN2hbRhztHtPbaJDkzWXCpSQfHcZt1kGheuRPVlJsNrzR5ccVlSweANdyjwCVHzdnkPmoiA_1WCpFGsgMBVBHV/s320/image021-745479.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Create a Virtual Machine – Virtual Machine configuration<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0oILZUB33enToQDihRNap94H_TMXG675GGa65zH4ccIiQEuZpA2UE0xCemvMfvrrpXjCpZNXwdfl5x0GWUiwwTbSIxQy6wkIyRFMOVgmhqUP6WWuZ8bBkefiKwBjSpIa_Hmc5H5als-hR/s1600/image022-749380.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352464409037202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0oILZUB33enToQDihRNap94H_TMXG675GGa65zH4ccIiQEuZpA2UE0xCemvMfvrrpXjCpZNXwdfl5x0GWUiwwTbSIxQy6wkIyRFMOVgmhqUP6WWuZ8bBkefiKwBjSpIa_Hmc5H5als-hR/s320/image022-749380.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At last Virtual Machine has been created, started and now it is Running<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Virtual Machines<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG6ZZp0Gz2HRFR6k3hMmFiQXyDtaHlYhVszKnIMYnNNGFOZBlrqbLSJR2uxgyM9vPHEfGsAa12Ku8uzQL3K5tODQvDiQ_CkymSYCSjce3v8eOBHrS_zIIASYJ5qscNUl-31a-peMuE6zOP/s1600/image023-752032.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352477291567362" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG6ZZp0Gz2HRFR6k3hMmFiQXyDtaHlYhVszKnIMYnNNGFOZBlrqbLSJR2uxgyM9vPHEfGsAa12Ku8uzQL3K5tODQvDiQ_CkymSYCSjce3v8eOBHrS_zIIASYJ5qscNUl-31a-peMuE6zOP/s320/image023-752032.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you want to monitor the availability and performance of applications that are running on Windows Azu<span lang="EN">re you can use standard Dashboards and Views on Windows Azure Portal online</span></div>
<div class="MsoNormal">
<span lang="EN"><o:p></o:p></span> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVhDnyjBIo4RuPbUATEKtP-tcXHQsvzVBuTSTAS0DE19alHtZWsEffCScD-bZmE2PWDGAKbWn5XDTpmV-C9B7GCEU6fSOZxxGrfiolQXVKbM77Q5h-MrS1xCHniv_UKrH7qIKmd8ojDhH5/s1600/image024-754679.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352487598754530" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVhDnyjBIo4RuPbUATEKtP-tcXHQsvzVBuTSTAS0DE19alHtZWsEffCScD-bZmE2PWDGAKbWn5XDTpmV-C9B7GCEU6fSOZxxGrfiolQXVKbM77Q5h-MrS1xCHniv_UKrH7qIKmd8ojDhH5/s320/image024-754679.jpg" /></a><span lang="EN"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Or you can locally install System Center Monitoring Pack for Windows Azure Applications: </span><a href="http://www.microsoft.com/en-us/download/details.aspx?id=11324">http://www.microsoft.com/en-us/download/details.aspx?id=11324</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now you can Connect to it through RDP <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft Dynamics AX 2012: Success!<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiI6V7b4xoneMJJLYM9K1Gd6wTHQ20A8IVP-bi5-029BFd6xxYNCKo9FJy7Jtei7Td-GlIU2WVjsfsDzwpPEZCWrOYbCKhFvcOFnkPyd2gSGqMHRtlexPol95YHCoC-MFRip7KO0GtkZvY/s1600/image025-757746.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929352502826467394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiI6V7b4xoneMJJLYM9K1Gd6wTHQ20A8IVP-bi5-029BFd6xxYNCKo9FJy7Jtei7Td-GlIU2WVjsfsDzwpPEZCWrOYbCKhFvcOFnkPyd2gSGqMHRtlexPol95YHCoC-MFRip7KO0GtkZvY/s320/image025-757746.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In conclusion let's quickly summarize the key points about Custom Images and Disks in Windows Azure<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Speaking about Images:</b> You can upload VHDs up to 128GB size to create an image based on it. Your images will be available in the gallery under "My Images". You will have to sysprep image before upload. VHD format is required, VHDX does not work (to convert you can use Actions > Edit disk). VHD must have Fixed type and not Dynamic. You can upload VHD using Add-AzureVhd Cmdlet.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Speaking about Disks: </b>C: drive is persistent, uses storage as a backing store. D: is a temporary drive. The size of the machine affects data disk use cases. Your disks will be available in the gallery under "My Disks". From performance and scaling perspective temp disk is fast, but volatile, you can also attach multiple disks and stripe data between them to increase throughput. Disk performance factors are significantly different from on premise solutions that's why you will want to test the performance early. For Performance Guidance for SQL Server in Windows Azure Virtual Machines please review the following White Paper: <span class="MsoHyperlink"><a href="http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Performance%20Guidance%20for%20SQL%20Server%20in%20Windows%20Azure%20Virtual%20Machines.docx">http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Performance%20Guidance%20for%20SQL%20Server%20in%20Windows%20Azure%20Virtual%20Machines.docx</a></span><span class="MsoHyperlink"><span style="color: #2e74b5; font-family: "Arial","sans-serif"; font-size: 28pt; line-height: 105%; text-decoration: none;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="background: white;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"></span></b> </div>
<div class="MsoNormal" style="background: white;">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">Summary:</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"> </span><span lang="EN">This document describes how to </span>deploy Microsoft Dynamics AX 2012 Demo environment in Windows Azure platform (Infrastructure-as-a-Service (IaaS)) using existing VHD (Virtual Hard Drive).<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"> </span>Please note that in described deployment of single-box installation of Microsoft Dynamics AX 2012, and you can deploy distributed installation of Microsoft Dynamics AX 2012 if needed using existing VHDs and/or newly deployed Virtual Machines in any combination. Please learn more about Windows Azure storage here:<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"> </span><a href="http://www.windowsazure.com/en-us/develop/net/fundamentals/cloud-storage/">http://www.windowsazure.com/en-us/develop/net/fundamentals/cloud-storage/</a><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;">. </span>Please also get familiar with details of how to manage Windows Azure Disks and Images here: <a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx">http://msdn.microsoft.com/en-us/library/windowsazure/jj672979.aspx</a><span style="color: #222222; font-size: 10pt; line-height: 105%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 105%;"><br /> </span><b><span lang="EN">Author: </span></b><a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<span lang="EN"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Tags:</span></b><span lang="EN"> </span>Microsoft Dynamics AX 2012, Windows Azure, Microsoft Cloud, IaaS, Infrastructure as a Service, Demo VM, Storage account, Image, Disk <o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Note:</span></b><span lang="EN"> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></span></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com6tag:blogger.com,1999:blog-4565800100410709901.post-71066195825894929312013-09-30T00:55:00.000-07:002013-09-30T00:59:46.233-07:00Microsoft Dynamics AX 2012 in Windows Azure (IaaS) – RDS Published App<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 in Windows Azure (IaaS) – RDS Published App</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to explain how to deploy Microsoft Dynamics AX 2012 in Windows Azure platform (Infrastructure-as-a-Service (IaaS)) as RDS (Remote Desktop Services) published app.<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"> </span></div>
<div class="MsoNormal">
<span style="color: #222222; font-family: Arial; font-size: x-small;"></span><o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> You may want to deploy Microsoft Dynamics AX 2012 as Infrastructure-as-a-Service (IaaS) for the purposes of POC (Proof of concept), in case you want to have additional development or test environment, or if you are considering deploying production instance of Microsoft Dynamics AX 2012 in the Cloud. There're number of options when deploying Microsoft Dynamics AX 2012 in the Cloud. And when it comes to client deployment you may want to deploy it as RDS (Remote Desktop Services) published app to facilitate user's access to the environment.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> <span lang="EN">Remote Desktop Services is one of the components of </span><a href="http://en.wikipedia.org/wiki/Microsoft_Windows" title="Microsoft Windows"><span style="color: windowtext; text-decoration: none;">Microsoft Windows</span></a><span lang="EN"> that allows a user to access applications and data on a </span><a href="http://en.wikipedia.org/wiki/Remote_computer" title="Remote computer"><span style="color: windowtext; text-decoration: none;">remote computer</span></a><span lang="EN"> over a network using the </span><a href="http://en.wikipedia.org/wiki/Remote_Desktop_Protocol" title="Remote Desktop Protocol"><span style="color: windowtext; text-decoration: none;">Remote Desktop Protocol</span></a><span lang="EN"> (RDP). </span><span lang="EN">In Windows Server 2012 you can either publish the RemoteApps on the Remote Desktop Session Host server (RDSH) or you can publish the full blown desktop.</span><o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Scenario<o:p></o:p></span></b></div>
<div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">In this scenario I want to deploy Microsoft Dynamics AX 2012 </span>in Windows Azure platform (Infrastructure-as-a-Service (IaaS)) as RDS (Remote Desktop Services) published app<span lang="EN">. Essentially users will be able to launch Microsoft Dynamics AX 2012 from their local desktops just like any other local application even though Microsoft Dynamics AX 2012 client will be actually installed in Windows Azure VM. Please note that I'll install RDS role on the developer install of Microsoft Dynamics AX 2012 on Windows Server machine and this machine will also act as a Domain Controller (this is also the case for Microsoft Dynamics AX 2012 Demo VM A).</span><o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Walkthrough<o:p></o:p></span></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Before we begin it is important to mention that if you want to install RDS on the machine which also acts as a domain controller you will have to apply KB2871777 first. A servicing stack update is available for Windows RT, Windows 8, and Windows Server 2012: September 2013, and it enables you to install the Remote Desktop Connection Broker role service on a domain controller.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find KB2871777 here: <a href="http://support.microsoft.com/kb/2871777"> http://support.microsoft.com/kb/2871777</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please install KB2871777 before you install RDS and Domain Controller Services Roles to avoid installation errors<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Windows Update Standalone Installer<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMDO98AHN70j7ROlgyoZ9bsvvGKK2NlubjNHt2kygg_CdaZk0kdRFnyqFO1tE0AtuguhyphenhyphenPVAT-Z31zpLz6aYvSCrFfVYXtXrMA6v6YXeZ32V4-ae9oLfmW6ttcU2yg-zbYYUPJt7ryZ8E4/s1600/image001-763369.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321597945393122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMDO98AHN70j7ROlgyoZ9bsvvGKK2NlubjNHt2kygg_CdaZk0kdRFnyqFO1tE0AtuguhyphenhyphenPVAT-Z31zpLz6aYvSCrFfVYXtXrMA6v6YXeZ32V4-ae9oLfmW6ttcU2yg-zbYYUPJt7ryZ8E4/s320/image001-763369.png" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Once KB2871777 is installed and you rebooted the machine we can first install Domain Controller Services Role and establish a domain. I'll not describe Domain Controller installation process in this document (it is described in my article here: <a href="http://ax2012aifintegration.blogspot.com/2013/08/microsoft-dynamics-ax-2012-in-windows.html"> http://ax2012aifintegration.blogspot.com/2013/08/microsoft-dynamics-ax-2012-in-windows.html</a>)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And finally after that we can get to RDS Role installation<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off I'll select Remote Desktop Services installation option<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Installation Type: Remote Desktop Services installation<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipjJjs0e-D8C0Vc9wFS_qtW9eOLWovvWI7L9BoMt9vvTaIScd6bxTQCFut1u8u9GSjGdLaxGpFg849KHr3uchvVqTwQnlXOmn1BA3g0RnSe4BMjoR2hQZftLdeXgt0Clo-bt7xnkmjWNvz/s1600/image002-766213.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321612201741538" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipjJjs0e-D8C0Vc9wFS_qtW9eOLWovvWI7L9BoMt9vvTaIScd6bxTQCFut1u8u9GSjGdLaxGpFg849KHr3uchvVqTwQnlXOmn1BA3g0RnSe4BMjoR2hQZftLdeXgt0Clo-bt7xnkmjWNvz/s320/image002-766213.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the sake of simplicity I'll further go with Quick Start option which installs a required minimum RDS components and deploys number of default published apps<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Deployment Type: Quick Start</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_WWfn6y9pLCswStEYMEoPXoXwU0dVuylDydtBugv_nK40740bljiiMdF2EtDzE1ohvVGPMuGwyJVdhBV51M3MS42AeKdh0HHAHiVrN1alQxz4y4fiCqbvJfkx6AzNr-m6eBPB0InTJ3_l/s1600/image003-768941.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321626265960178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_WWfn6y9pLCswStEYMEoPXoXwU0dVuylDydtBugv_nK40740bljiiMdF2EtDzE1ohvVGPMuGwyJVdhBV51M3MS42AeKdh0HHAHiVrN1alQxz4y4fiCqbvJfkx6AzNr-m6eBPB0InTJ3_l/s320/image003-768941.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that if you haven't joined the machine to the domain (in my case the machine will act as Domain Controller itself) you will see the following error<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Remote Desktop Services installation option<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfdTdl6f-v3Ex6U36tOAxyTtIBuPOgoUzyf94Elxb90szSQMiUeNbJCS8EyrHTGXeLn_l5_Jm2k3HcSdQQ0S2AiERFB4DoIzr4ioZOfAe3yPFbjUMp6gTmAseEBtlbFRH_I1YVWyRTWqG5/s1600/image004-772812.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321641106430434" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfdTdl6f-v3Ex6U36tOAxyTtIBuPOgoUzyf94Elxb90szSQMiUeNbJCS8EyrHTGXeLn_l5_Jm2k3HcSdQQ0S2AiERFB4DoIzr4ioZOfAe3yPFbjUMp6gTmAseEBtlbFRH_I1YVWyRTWqG5/s320/image004-772812.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After that I'll select Session-based desktop deployment<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Deployment Scenario: Session-based deployment</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirt9u-rxkUTXPobzUUFSWSUJ9yGECa0YBseYTsvVA5oki7ovkNOycPadYsimSmlF4XgvudtOp9lUhULSjBD6QUVCM0G8GBBtJLI9S0qqD-zlaqRtNU4tGJwfgtz-omlf5v5lY1BLjDWV7H/s1600/image005-775663.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321654793588370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirt9u-rxkUTXPobzUUFSWSUJ9yGECa0YBseYTsvVA5oki7ovkNOycPadYsimSmlF4XgvudtOp9lUhULSjBD6QUVCM0G8GBBtJLI9S0qqD-zlaqRtNU4tGJwfgtz-omlf5v5lY1BLjDWV7H/s320/image005-775663.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And select my server<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard – Server Selection</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-jeaBvoPJgf1163Q-XSn78p0emNeb4-NJ3-deg2ZiRkVqn0Sakx5P60WGkNRvp8lnhZw4cJXbsEwl9cYDdFVNi-CTtmHZS586vmn3qRQisbJpSOfwrim4FM9q3uK_zBSZvp0_JgOljCVR/s1600/image006-778608.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321669904370338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-jeaBvoPJgf1163Q-XSn78p0emNeb4-NJ3-deg2ZiRkVqn0Sakx5P60WGkNRvp8lnhZw4cJXbsEwl9cYDdFVNi-CTtmHZS586vmn3qRQisbJpSOfwrim4FM9q3uK_zBSZvp0_JgOljCVR/s320/image006-778608.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next you may see the following compatibility error which can be resolved by enabling PSRemoting in Windows PowerShell <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Checking compatibility<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIJ9TLnlkcRcMgTikVHEmLyXFaNDckduj9j13DZ9h-iyNMLo8s8b5v9NjHwXpOgxbrxtx12ykpvETnWNsKz_eEo4St5mhqQh2QO84GHQ4c-F6KMzW02lliGIhzZ5OpHufY9AJN1t_ODmvA/s1600/image007-781605.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321681894038402" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIJ9TLnlkcRcMgTikVHEmLyXFaNDckduj9j13DZ9h-iyNMLo8s8b5v9NjHwXpOgxbrxtx12ykpvETnWNsKz_eEo4St5mhqQh2QO84GHQ4c-F6KMzW02lliGIhzZ5OpHufY9AJN1t_ODmvA/s320/image007-781605.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is exactly what we're going to do. Please run "enable-psremoting" command in Windows PowerShell to pass through this compatibility error <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Windows PowerShell<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmPBsdLMD_ob-kjfpor3je9RYQiSgqYl5eBCSs6mE7KqOrJsLRIFKhYMCrRefQVShyeCJWmpvuJFLlhWrcH-ln6_ZUwT9GcHBft1glWTu3oo6lIyyR_9p-1XaWLQdpYfIkObqD9iP4BIFx/s1600/image008-784535.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321694873571074" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmPBsdLMD_ob-kjfpor3je9RYQiSgqYl5eBCSs6mE7KqOrJsLRIFKhYMCrRefQVShyeCJWmpvuJFLlhWrcH-ln6_ZUwT9GcHBft1glWTu3oo6lIyyR_9p-1XaWLQdpYfIkObqD9iP4BIFx/s320/image008-784535.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please run Windows PowerShell as Administrator (with elevated privileges) to execute this command<o:p></o:p></div>
<div class="MsoNormal">
After that before you start deployment you'll have to confirm that the following role services will be installed<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>RD Connection Broker<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>RD Web Access<o:p></o:p></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -0.25in;">
<![if !supportLists]><span style="mso-list: Ignore;">-<span style="font-size-adjust: none; font-stretch: normal; font: 7pt/normal "Times New Roman";"> </span></span><![endif]>RD Session Host <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add Roles and Features Wizard - Confirmation<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXKqATMKIvG-mljFm9HJskXGOQuB6aX_VP0Y-TYgA9vdbK1aVFrE057klBF0OnFg2ODePDMF7cjAU3bHxaLejpC_vjkQ2t-qISnBwx9HqvdH-rANv7vUX5Q7d5oiBtArPWAbmm2FmfcnYk/s1600/image009-787465.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321702607493586" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXKqATMKIvG-mljFm9HJskXGOQuB6aX_VP0Y-TYgA9vdbK1aVFrE057klBF0OnFg2ODePDMF7cjAU3bHxaLejpC_vjkQ2t-qISnBwx9HqvdH-rANv7vUX5Q7d5oiBtArPWAbmm2FmfcnYk/s320/image009-787465.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
At last we get a confirmation about successful installation<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Add Roles and Features Wizard – Completion: Success!<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEituSF4IfKbHdpOck4X1oqnDiEAUHbLq2HTHwvM-T4Y8dnmUdDjpFh0ZoVCvRwv-L3ek6EhwnFKwCxpFSwJZ7JICxJmjWEEZGyOrEwH6UtqYAW7j44_jhUpcMrSAxp3yez3SRFIHt1oHpUM/s1600/image010-790515.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321721502621794" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEituSF4IfKbHdpOck4X1oqnDiEAUHbLq2HTHwvM-T4Y8dnmUdDjpFh0ZoVCvRwv-L3ek6EhwnFKwCxpFSwJZ7JICxJmjWEEZGyOrEwH6UtqYAW7j44_jhUpcMrSAxp3yez3SRFIHt1oHpUM/s320/image010-790515.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Again please note RDS installation fails on Windows Server in case you didn't install KB2871777 as was described before. Upon successful installation we can now access RDWeb web page: <a href="https://localhost/RDWeb"><span style="font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">https://localhost/RDWeb</span></a><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Work Resources: RemoteApp and Desktop Connection (Login)<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIHf2iC1cjF_Xhstg7_O50u3w5CEXaptVJPIEWl6OXFALqkc9I59IlyL69HFTqMciuoBmyDuZMhs9HDjhp-Zut4bHjrQtpbMcVa3tW8W5vc1RYtZezDho57P59kdo6g-SFdYvCg_0zieGt/s1600/image011-793545.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321730454232706" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIHf2iC1cjF_Xhstg7_O50u3w5CEXaptVJPIEWl6OXFALqkc9I59IlyL69HFTqMciuoBmyDuZMhs9HDjhp-Zut4bHjrQtpbMcVa3tW8W5vc1RYtZezDho57P59kdo6g-SFdYvCg_0zieGt/s320/image011-793545.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
After you successfully login you will be able to see the list of default published apps<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Work Resources: RemoteApp and Desktop Connection (Published Apps)</span></i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx1TaDw-x4l2jd1gYuWLLto4NdK6SISot4tKlHPyK9Zs1f3_0P5J1BwacD_VPhi6JUS9oFbf2FJzrpq7pIcjxz_k8bk0mRXZiolBIzNgu2QncNKr-JuAXP0KOTNts-AUF3wIkWw0yBKaY1/s1600/image012-795899.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321741306762450" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgx1TaDw-x4l2jd1gYuWLLto4NdK6SISot4tKlHPyK9Zs1f3_0P5J1BwacD_VPhi6JUS9oFbf2FJzrpq7pIcjxz_k8bk0mRXZiolBIzNgu2QncNKr-JuAXP0KOTNts-AUF3wIkWw0yBKaY1/s320/image012-795899.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Also in Server Management console you will see the indication that Remote Desktop Services role has been successfully deployed<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Remote Desktop Services<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwjiSQKsPtFa0MSrxf4gBbtBVbxZ17gbr6f_gevXn2LE7l3QnVUvAd6-6RrdBjp8O5RsbrtKYwZ40K7OmfBhTWi40oewS3bk63QPsK1O_fw3XfC-6q9Oo-zWxjdxU_oxhltZRJyk3cvmaB/s1600/image013-798629.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321754975515250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwjiSQKsPtFa0MSrxf4gBbtBVbxZ17gbr6f_gevXn2LE7l3QnVUvAd6-6RrdBjp8O5RsbrtKYwZ40K7OmfBhTWi40oewS3bk63QPsK1O_fw3XfC-6q9Oo-zWxjdxU_oxhltZRJyk3cvmaB/s320/image013-798629.png" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Now the task is to publish Microsoft Dynamics AX 2012 as RDS published app too. For this purpose we'll review RDS Published apps collection and click Task > Publish RemoteApp Programs<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Server Manager > Remote Desktop Services > Collections > QuickSessionCollection<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuJtkH6DvO3uEMhwNFOIuvTJQ-9IX1aA3n6fJuzH7er2zy4lAmSEWNHQO1cX1Zg8JqN7rP3rc5-S0dvcYh2V0t6xh4LdUzNBbpnVQEPpL0_Zbug18bPgUCOmS-E-Mj5yIvxQsdHsp3OZM/s1600/image014-701980.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321768334652802" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDuJtkH6DvO3uEMhwNFOIuvTJQ-9IX1aA3n6fJuzH7er2zy4lAmSEWNHQO1cX1Zg8JqN7rP3rc5-S0dvcYh2V0t6xh4LdUzNBbpnVQEPpL0_Zbug18bPgUCOmS-E-Mj5yIvxQsdHsp3OZM/s320/image014-701980.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
The dialog will appear then which allows you to select programs to be published. We are certainly interested in publishing Microsoft Dynamics AX 2012 client application, so we'll select it in the list<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Publish RemoteApp Programs – RemoteApp programs<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh90nJPlqtY_NC-yyjS3BV_iQO_GlJGaKF846J69XNKsS0Jn1BgMZr1qc7uFKjU1ul7Fyg4VZeX9PZoKjTfcQlUf_DMTRpIsg4LcbI7P-3pSFpoED33EKR0FvO6amBLsI7Rx_9JY1bGJvVS/s1600/image015-704763.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321780233789202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh90nJPlqtY_NC-yyjS3BV_iQO_GlJGaKF846J69XNKsS0Jn1BgMZr1qc7uFKjU1ul7Fyg4VZeX9PZoKjTfcQlUf_DMTRpIsg4LcbI7P-3pSFpoED33EKR0FvO6amBLsI7Rx_9JY1bGJvVS/s320/image015-704763.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Publish RemoteApp Programs - Confirmation <o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWC_T42aKuRzTNuvjsu47Mdr_hG3OiJAXXdJSIzkQR2FX_2hWy1y-2GdyRanzZDg5VnCHFh8Q45VhrPgm_l3I_JvgGccScEjx9NRQ0BEytQithp6yEyw8aYO6a4CkjaywIZVgCVyOQwJIx/s1600/image016-707631.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321794505515106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWC_T42aKuRzTNuvjsu47Mdr_hG3OiJAXXdJSIzkQR2FX_2hWy1y-2GdyRanzZDg5VnCHFh8Q45VhrPgm_l3I_JvgGccScEjx9NRQ0BEytQithp6yEyw8aYO6a4CkjaywIZVgCVyOQwJIx/s320/image016-707631.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Upon confirmation Microsoft Dynamics AX 2012 client application will be published<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Publish RemoteApp Programs - Completion</span></i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji549RLh_oSF3XrZHQjYq6SlpJAHPPxYbgMw_wCxpUvstpTmRpQaDvyulUjgKKY60WEii3ry4_3RXMpj5xmcdk3R0QqSQcSlpXxOh0kqr1q1KB7slqGxM7J0ly-0qEHYnldSb3Ed-diqWL/s1600/image017-710323.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321804718407346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji549RLh_oSF3XrZHQjYq6SlpJAHPPxYbgMw_wCxpUvstpTmRpQaDvyulUjgKKY60WEii3ry4_3RXMpj5xmcdk3R0QqSQcSlpXxOh0kqr1q1KB7slqGxM7J0ly-0qEHYnldSb3Ed-diqWL/s320/image017-710323.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
</div>
<div class="MsoNormal">
Finally you will see it listed in the RemoteApp programs collection<o:p></o:p></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Server Manager > Remote Desktop Services > Collections > QuickSessionCollection: Success!<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuxo2PZS9HJqFCbBX2pVaJa-vQBBmn6sBjeHl5HvctiPTtRc9o9LJAzAZV6Sp8R233eRyGgBNAZP5emx89UCmU5EeW7GnfHzN84Uk_y8-CbscDIYzVtt9gAL9_xur_URmHZT8chNhEPEmL/s1600/image018-713911.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321820373439010" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuxo2PZS9HJqFCbBX2pVaJa-vQBBmn6sBjeHl5HvctiPTtRc9o9LJAzAZV6Sp8R233eRyGgBNAZP5emx89UCmU5EeW7GnfHzN84Uk_y8-CbscDIYzVtt9gAL9_xur_URmHZT8chNhEPEmL/s320/image018-713911.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Now we can login to RDWeb web page again:</span><span lang="EN" style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"> </span><a href="https://localhost/RDWeb"><span style="font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">https://localhost/RDWeb</span></a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<span lang="EN">And we'll see Microsoft Dynamics AX 2012 is now available there<o:p></o:p></span></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Work Resources: RemoteApp and Desktop Connection (Published Apps)</span></i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC7PD23LrffGM9knHhhXtzFW8V2ZSpr5r5hty4g-kIv0_kWPsao_ZhDkLcrbJDWhMts8zq7MAjKj1l42lJkLt7GFakfgncjKLgP27KlFLpaItlHUmUIkD4GNJ5rgZxF7H3dvStS9J3UNiK/s1600/image019-716361.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321828917198850" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjC7PD23LrffGM9knHhhXtzFW8V2ZSpr5r5hty4g-kIv0_kWPsao_ZhDkLcrbJDWhMts8zq7MAjKj1l42lJkLt7GFakfgncjKLgP27KlFLpaItlHUmUIkD4GNJ5rgZxF7H3dvStS9J3UNiK/s320/image019-716361.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Please note that when you launch Microsoft Dynamics AX 2012 as RDS Published App you will see a different icon (on the left) in the programs bars. This icon is different from the icon which corresponds to Microsoft Dynamics AX 2012 client application launched locally (on the right) <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkqIpFG9mTL79sgcS4B6W6EUmXlCQ3_cTsv5vrDdn6ruLcMq7MBD4eOXBAP0lYiO7zTBJvGsU_DJONl4r3e7ZEkV4CgtJYk7_Ytli2FPivSbWo8hO3fc4wTYv5aB4SzB097AMDbdFl6Lgr/s1600/image020-719310.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321838379516626" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkqIpFG9mTL79sgcS4B6W6EUmXlCQ3_cTsv5vrDdn6ruLcMq7MBD4eOXBAP0lYiO7zTBJvGsU_DJONl4r3e7ZEkV4CgtJYk7_Ytli2FPivSbWo8hO3fc4wTYv5aB4SzB097AMDbdFl6Lgr/s320/image020-719310.png" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">As the result Microsoft Dynamics AX 2012 client will be opened in a Web browser but it will look exactly like any other local application you launch on your computer</span><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span></i> </div>
<div class="MsoNormal">
<i><span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;">Microsoft Dynamics AX 2012<o:p></o:p></span></i></div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"></span> </div>
<div class="MsoNormal">
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLUeVJiMH1ZvFHMoXtp7sVClrrdTfA10_UoH2KncCOhG9DjcmLOnzRYc7XjSd9PjzEA4Dn-ZW-MsJ6MlQiHgD92SVx3-ye02Cg6PR9haq8hOAgzdFcMKNlzUhofzQlCZQxwEYJ8ImowD5f/s1600/image021-723898.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5929321862302543458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLUeVJiMH1ZvFHMoXtp7sVClrrdTfA10_UoH2KncCOhG9DjcmLOnzRYc7XjSd9PjzEA4Dn-ZW-MsJ6MlQiHgD92SVx3-ye02Cg6PR9haq8hOAgzdFcMKNlzUhofzQlCZQxwEYJ8ImowD5f/s320/image021-723898.jpg" /></a></span></div>
<span style="color: #333333; font-family: "Segoe UI","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span><div class="MsoNormal">
<span lang="EN"></span> </div>
<div class="MsoNormal">
<span lang="EN">Please note that you can list RDS Published apps along with your local applications <o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Summary:</span></b><span lang="EN"> This document describes how to deploy Microsoft Dynamics AX 2012 </span>in Windows Azure platform (Infrastructure-as-a-Service (IaaS)) as RDS (Remote Desktop Services) published app<span lang="EN">. Before you install RDS (Remote Desktop Services) please review RDS (Remote Desktop Services) licensing model. Please learn more about RDS (Remote Desktop Services) here: </span><a href="http://technet.microsoft.com/en-us/windowsserver/ee236407.aspx"><span lang="EN">http://technet.microsoft.com/en-us/windowsserver/ee236407.aspx</span></a><span lang="EN"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Author: </span></b><a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<span lang="EN"><o:p></o:p></span></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Tags:</span></b><span lang="EN"> </span>Microsoft Dynamics AX 2012, Windows Azure, Microsoft Cloud, IaaS, Infrastructure as a Service, RDP, Remote Desktop Protocol, RDS, Remote Desktop Services, Published App<o:p></o:p></div>
<div class="MsoNormal">
<b><span lang="EN"></span></b> </div>
<div class="MsoNormal">
<b><span lang="EN">Note:</span></b><span lang="EN"> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.</span><span lang="EN"><o:p> </o:p></span></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com3tag:blogger.com,1999:blog-4565800100410709901.post-70924954707156816442013-09-21T22:14:00.001-07:002013-09-21T22:18:00.600-07:00Microsoft Dynamics AX 2012 + Yammer<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Microsoft Dynamics AX 2012 + Yammer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to illustrate how to integrate Microsoft Dynamics AX 2012 and Yammer.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> The world moves fast. Change is the new constant. In the fast moving world there’s a need for the solution that helps you and your company stay on top of it all. Get connected to the right people, share information across teams and organize around projects so you can go further – faster. Collaborate securely across departments, geographies, content and business applications. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> The solution is Yammer. Yammer is a leading enterprise social network used by many companies worldwide to get work done smarter and faster.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Scenario<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In this scenario we’ll configure Microsoft Dynamics AX 2012 Role Center to display Yammer feed <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Yammer: <a href="https://www.yammer.com/">https://www.yammer.com</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is how my Yammer landing page looks like<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK9VZ01oqmk_uPkjHqa1V6EGe3-J0_idIS1Rw0vJ-BpiaonnvkkJV6W-Vjnvt_W5xX0p5yR6o7jQQ5ptfk1EMuJoNcIpeKmCJ6B_pH_gLo8wFOAG7I-C801cpLWH1veGBYcn5n5J-5jzcc/s1600/image001-787309.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311366455904466" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK9VZ01oqmk_uPkjHqa1V6EGe3-J0_idIS1Rw0vJ-BpiaonnvkkJV6W-Vjnvt_W5xX0p5yR6o7jQQ5ptfk1EMuJoNcIpeKmCJ6B_pH_gLo8wFOAG7I-C801cpLWH1veGBYcn5n5J-5jzcc/s320/image001-787309.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that in Apps section (… > Apps) you can find a reference to Yammer Embed App which allows you to embed a Yammer feed to any web page using intuitive JavaScript code<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ZBppkmBwLKiLBLysAPluNLUORAx0vTDLe3t_0n2OBBHwXPktakdkirICg4MuTJrIStTEsnUg7lhw6IKujN9iYMab2xK0-sPUqgHsZVhSRcD-o6CcUifNl81E3W1VyBqo01Rv6C2Oxf0S/s1600/image002-790884.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311380412487202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0ZBppkmBwLKiLBLysAPluNLUORAx0vTDLe3t_0n2OBBHwXPktakdkirICg4MuTJrIStTEsnUg7lhw6IKujN9iYMab2xK0-sPUqgHsZVhSRcD-o6CcUifNl81E3W1VyBqo01Rv6C2Oxf0S/s320/image002-790884.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Yammer Embed: Bring social into existing business applications.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Yammer Embed delivers Yammer feeds to existing business applications, such as the company intranet, CRM tools or content management systems. With Yammer Embed, you can now view, post and reply to messages in the context of your work.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see the benefits of using Yammer Embed App:<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Increased Flexibility:</i> Add Yammer's social functionality to existing applications using simple JavaScript embed code<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Uninterrupted Work Flow:</i> Have dynamic team discussions in the context of the projects you're working on, without disrupting natural work flows<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Accelerated Content Discovery:</i> Enable other members of the company to discover and participate in your conversations in real-time, even if they are not using the same application<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Mobile Access:</i> Contribute to conversations happening inside other applications from mobile devices<o:p></o:p></div>
<div class="MsoNormal">
A note about compatibility: Yammer Embed is compatible with any HTML and JavaScript-based business system that supports extensibility. Yammer Embed dynamically adjusts in size and design based on the amount of space provided within an application.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Yammer Embed App comes with a manual with detailed instructions. For example, this is how my JavaScript code looks like <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;"><script data-app-id="hyB2pTvrL36Y50py8EWj6A" <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">src="</span><span style="color: #01317e; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">https://assets.yammer.com/platform/yam.js</span><span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">"></script><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;"><script><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">yam.connect.embedFeed(<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">{ container: '#embedded-feed'<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">, network: <span style="background: yellow; mso-highlight: yellow;">'microsoft.com'</span> // network permalink<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;">});<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;"></script><o:p></o:p></span></div>
<span style="color: #222222; font-family: "Helvetica-Light","sans-serif"; font-size: 10pt;"><div id="embedded-feed"></div></span><o:p></o:p></td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I’m using a microsoft.com network in my example: <a href="https://www.yammer.com/microsoft.com/">https://www.yammer.com/microsoft.com/</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now once we wrote the code and before we embed it into Microsoft Dynamics AX 2012 Role Center we’ll save the code in text file<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
File (Save As yam.txt)<o:p></o:p></div>
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3EkGhFTq7S2Gkvviqx9-2gxosNiMteLCAcdvknBdq8MJ62weFhWfcDZg6Kj_E5l6cRvYicDpt_IuvoOsHQ3Eba1SCLc87D9I4_CtsvPMkRnlBqXd1IWq7R4ze0orAYw1emg_dLD_PgJV_/s1600/image003-794783.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311393599947106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3EkGhFTq7S2Gkvviqx9-2gxosNiMteLCAcdvknBdq8MJ62weFhWfcDZg6Kj_E5l6cRvYicDpt_IuvoOsHQ3Eba1SCLc87D9I4_CtsvPMkRnlBqXd1IWq7R4ze0orAYw1emg_dLD_PgJV_/s320/image003-794783.png" /></a><o:p></o:p><br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This saved file we’ll upload to Shared Documents on our SharePoint site to be able to reference it later<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For example, this is where I uploaded this file to on Microsoft Dynamics AX 2012 Demo VM: <span class="MsoHyperlink"><a href="http://dynamicsax.contoso.com/sites/DynamicsAx/Shared%20Documents/Forms/AllItems.aspx">http://dynamicsax.contoso.com/sites/DynamicsAx/Shared%20Documents/Forms/AllItems.aspx</a><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Shared Documents</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="Picture_x0020_12" o:spid="_x0000_s1026" type="#_x0000_t75" style='position:absolute;margin-left:0;margin-top:0;width:467.25pt;height:167.25pt;z-index:251658240;visibility:visible;mso-wrap-style:square;mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;mso-position-horizontal:left;mso-position-horizontal-relative:text;mso-position-vertical:top;mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> <v:imagedata src="cid:image004.png@01CEB717.DFD62FD0" o:title="" /> <w:wrap type="square"/> </v:shape><![endif]--><![if !vml]><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaYNpn6vnE7l1C9YKnPumY1jh9WfcPeroqAHpKfHV8SbTMLK9PWtBBbb2OAyEb3EiDtu6kQzKYBm3oH3i9SvXGpNPAAJc5WuzaC3VyUzH5LFO3ySQlIhyCRTBzNGbqobrCjSNG4p9wdmt/s1600/image005-797456.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311403571483634" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaYNpn6vnE7l1C9YKnPumY1jh9WfcPeroqAHpKfHV8SbTMLK9PWtBBbb2OAyEb3EiDtu6kQzKYBm3oH3i9SvXGpNPAAJc5WuzaC3VyUzH5LFO3ySQlIhyCRTBzNGbqobrCjSNG4p9wdmt/s320/image005-797456.jpg" /></a><![endif]><br clear="all" /> </div>
<div class="MsoNormal">
Now we can see uploaded yam.txt file to Shared Documents in SharePoint site. The URL we’ll use to reference this file will be: <span class="MsoHyperlink"><a href="http://dynamicsax.contoso.com/sites/DynamicsAx/Shared%20Documents/yam.txt">http://dynamicsax.contoso.com/sites/DynamicsAx/Shared%20Documents/yam.txt</a><o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it’s time to embed JavaScript code into Microsoft Dynamics AX 2012 Role Center using Content Editor web part</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
Edit Page: Content Editor</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1AUYTk4Kvg2D-bz8S5zx7eRv9pJrIkBwU1gMU6bcBpGk_JYymRSQ6UnWt_IGOsb5WNAyYIEd1IreaMkdCAbBjYRKfNic_vGTiiBNKBa1uiLE_dQwYh8_egIq_GgiH38Y6pdnqlbcA4QU8/s1600/image006-700028.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311418275396098" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1AUYTk4Kvg2D-bz8S5zx7eRv9pJrIkBwU1gMU6bcBpGk_JYymRSQ6UnWt_IGOsb5WNAyYIEd1IreaMkdCAbBjYRKfNic_vGTiiBNKBa1uiLE_dQwYh8_egIq_GgiH38Y6pdnqlbcA4QU8/s320/image006-700028.jpg" /></a><o:p></o:p><br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In the Content Link we’ll specify the URL for yam.txt file which we uploaded to Shared Documents in SharePoint site </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPD2USiZE7nOoiIXQTaYfyT95zhY5Lbf9IgzLzyrzPoSvhR6VBBZi5HaPKPXkFAoG8pa__fbljJuwts8IwmyXBfCCqViDk9SEb-Sb8QeNi5y3ZwVVjU3ydeIXSmgsffhpp7XqA2PVvP3oM/s1600/image007-703805.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311434200286482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPD2USiZE7nOoiIXQTaYfyT95zhY5Lbf9IgzLzyrzPoSvhR6VBBZi5HaPKPXkFAoG8pa__fbljJuwts8IwmyXBfCCqViDk9SEb-Sb8QeNi5y3ZwVVjU3ydeIXSmgsffhpp7XqA2PVvP3oM/s320/image007-703805.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The URL looks like the following in Text Editor<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ApwsnEscCxJw1PxC-yseheuUlhcHkZ3zQ9L5Eh8A9XtPBhsB1PEWVfZOSNOX-7tlpSbQYBplLCdie1KM1Z6ZnaP2UTXku3RgNRIU1-a0Untw5EDtIJPgKgWqzuFWnMYyge0yB5oWyAI4/s1600/image008-706305.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311443026679298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_ApwsnEscCxJw1PxC-yseheuUlhcHkZ3zQ9L5Eh8A9XtPBhsB1PEWVfZOSNOX-7tlpSbQYBplLCdie1KM1Z6ZnaP2UTXku3RgNRIU1-a0Untw5EDtIJPgKgWqzuFWnMYyge0yB5oWyAI4/s320/image008-706305.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we’ll do some more make-up such as specifying web part Title, etc.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46O2wCHlj2yxi6OftdO0ryUYUXIkoLvFu5IOiSHeG1eCUDtjVZFnubQVO-jowyrqXqImIAKF9XsSrT9WBdDFV82-N9PrHinzb-irDEMJbO38LCeqW6seSEtWWSrSjXUhtdisupHRxgh7A/s1600/image009-709294.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311460310192530" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi46O2wCHlj2yxi6OftdO0ryUYUXIkoLvFu5IOiSHeG1eCUDtjVZFnubQVO-jowyrqXqImIAKF9XsSrT9WBdDFV82-N9PrHinzb-irDEMJbO38LCeqW6seSEtWWSrSjXUhtdisupHRxgh7A/s320/image009-709294.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And finally we’ll have Yammer feed embedded into Microsoft Dynamics AX 2012 Role Center<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Edit Page<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2NU6ovN9aBVQYNS22I6MHu03ZQRM_vkEDbqjrjv9razyHBmDUJ8gmW_M4RZ0SzxGVJvdQvEe6ZXv2ECvm3hoYukGaFN3XRuUGqeZ_Q4IBtScDk7oxVTAXYFYf3Aj1HKW_cxqaMVueZpwI/s1600/image010-712262.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311468918299010" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2NU6ovN9aBVQYNS22I6MHu03ZQRM_vkEDbqjrjv9razyHBmDUJ8gmW_M4RZ0SzxGVJvdQvEe6ZXv2ECvm3hoYukGaFN3XRuUGqeZ_Q4IBtScDk7oxVTAXYFYf3Aj1HKW_cxqaMVueZpwI/s320/image010-712262.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
After you Log in you will be able to see the result<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvgYmpGFDFxTofVXmXXDFpVmbPv7gnNfKPcfeUOlt5AAXwSLq64-8wq5S9fWmMwuUBVWlCZoNDRI3Amqv0fJp5arGJhICWupENGWBtzjK4wcblhbWS4H12Y79SaixJJ8nWTMYJE470K_D3/s1600/image011-714927.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311481299871714" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvgYmpGFDFxTofVXmXXDFpVmbPv7gnNfKPcfeUOlt5AAXwSLq64-8wq5S9fWmMwuUBVWlCZoNDRI3Amqv0fJp5arGJhICWupENGWBtzjK4wcblhbWS4H12Y79SaixJJ8nWTMYJE470K_D3/s320/image011-714927.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Result in Microsoft Dynamics AX 2012 Role Center<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif0kRlb5YFYOlTl4-rTvdLxahuvHBJkBxDUBBH1r9NOqoyQIAyzqaGzDHuq5psmXMC2TrhGH641Xsv2crlc-toZLvprjx5i-hHsUORldVvr6Ia0kNY5TNbevpozzPlAuQuGbDzLULQrI3F/s1600/image012-717352.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5926311493279378034" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif0kRlb5YFYOlTl4-rTvdLxahuvHBJkBxDUBBH1r9NOqoyQIAyzqaGzDHuq5psmXMC2TrhGH641Xsv2crlc-toZLvprjx5i-hHsUORldVvr6Ia0kNY5TNbevpozzPlAuQuGbDzLULQrI3F/s320/image012-717352.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how integrate Microsoft Dynamics AX 2012 and Yammer by displaying Yammer feed in Microsoft Dynamics AX 2012 Role Center. Start using Yammer today to realize the following business benefits: <a href="https://about.yammer.com/business-benefits">https://about.yammer.com/business-benefits</a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Drive Productivity through Team Collaboration: </i>Increased sales. Better customer service. More effective processes. When your team works together, amazing things happen. Yammer improves team collaboration to help you share ideas, spur creativity and make decisions more quickly.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Engage Every Employee: </i>An engaged workforce means good things for business: higher productivity, higher profitability and lower turnover. Yammer increases employee engagement so that every team member has a voice – and the tools and information to do more.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Connect Your Organization:</i> Welcome to a new kind of intranet. It’s social, easy to use and brings employees and applications together in a connected organization. Like traditional intranets, Yammer is a knowledge hub for enterprises – and so much more.<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Boost Business Agility:</i> Innovate new products and adapt quickly to market changes. Yammer drives business agility through open communication to help your company stay one step ahead.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please learn more about Yammer here: <a href="https://www.yammer.com/"> https://www.yammer.com</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Microsoft Dynamics AX 2012, Yammer, Social, Collaboration. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p> </o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com5tag:blogger.com,1999:blog-4565800100410709901.post-37124483829585408862013-09-11T00:26:00.001-07:002013-09-11T00:34:51.414-07:00Hadoop Big Data .NET – Manufacturing scenario<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Hadoop Big Data .NET – Manufacturing scenario<o:p></o:p></strong></div>
</div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to explain how to apply the power of Hadoop Big Data platform in Manufacturing scenario.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Challenge:</b> Big data is the term for a collection of data sets so large and complex that it becomes difficult to process using on-hand database management tools or traditional data processing applications. <span lang="EN">Data growth challenges and opportunities are considered to be three-dimensional, i.e. increasing volume (amount of data), velocity (speed of data in and out), and variety (range of data types and sources). </span>In Manufacturing space there're number of scenarios where we can speak about Big Data. From Engineering Modeling perspective we can simulate every aspect of manufacturing process and get business insight when doing Demand Forecasting, Supply Chain Planning, Capacity Planning, Resource Scheduling, Inventory Optimization, OEE Optimization, etc.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Apache Hadoop is an open-source software framework that supports data-intensive distributed applications. Apache Hadoop platform consists of the Hadoop kernel, MapReduce and Hadoop Distributed File System (HDFS) and other components.<o:p></o:p></div>
<div class="MsoNormal">
HDInsight is Microsoft's Hadoop-based service that brings a 100% Apache Hadoop-based solution to the cloud. HDInsight gives you the ability to gain the full value of Big Data with a modern, cloud-based data platform that manages data of any type, whether structured or unstructured, and of any size. With HDInsight you can seamlessly store and process data of all types through Microsoft's modern data platform that provides simplicity, ease of management, and an open Enterprise-ready Hadoop service all running in the cloud. You can analyze your Hadoop data directly in Excel using new capabilities like Power Pivot and Power View. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Scenario<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In this scenario (OEE Optimization) I want to develop Hadoop MapReduce program in order to analyze Equipment Run Log file(s) and get business insight in order to optimize OEE.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Sample Equipment Run Log (file) in a structured way may look like</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: -0.25pt; width: 673px;"> <tbody>
<tr style="height: 15pt;"> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Time<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Machine<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Event<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 320pt;" valign="bottom" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Message<o:p></o:p></span></b></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">8:55<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">8:55 Machine1 [TRACE] exit code is 546789093<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:00<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:00 Machine1 [TRACE] exit code is 775367878<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:01<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine2<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:01 Machine2 [DEBUG] exit code is 5546774<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine3<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03 Machine3 [TRACE] exit code is 455674443<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[INFO]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03 Machine1 [INFO] exit code is 99682642<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:06<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:06 Machine1 [TRACE] exit code is 56425462<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:07<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine6<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:07 Machine6 [DEBUG] exit code is 3664526<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine29<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine29 [TRACE] exit code is 6426342<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine12<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine12 [TRACE] exit code is 4629422<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine2<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine2 [DEBUG] exit code is 7628764324<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine6<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine6 [TRACE] exit code is 76428436284<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:15<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:15 Machine1 [TRACE] exit code is 24257443623<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:25<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:25 Machine10 [DEBUG] exit code is 24586<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:28<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine9<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[FATAL]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" valign="bottom" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:28 Machine9 [FATAL] exit code is 2745722<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
However the data we collect from equipment may be unstructured, semi-structured or a combination of semi/unstructured data and structured data. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So the same Sample Equipment Run Log (file) may also look like this</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
8:55 Machine1 [TRACE] exit code is 546789093<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:00 Machine1 [TRACE] exit code is 775367878<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:01 Machine2 [DEBUG] exit code is 5546774<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Machine downtime - start<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Machine downtime - end<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:03 Machine3 [TRACE] exit code is 455674443<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:03 Machine1 [INFO] exit code is 99682642<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:06 Machine1 [TRACE] exit code is 56425462<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:07 Machine6 [DEBUG] exit code is 3664526<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine29 [TRACE] exit code is 6426342<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine12 [TRACE] exit code is 4629422<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine2 [DEBUG] exit code is 7628764324<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine6 [TRACE] exit code is 76428436284<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:15 Machine1 [TRACE] exit code is 24257443623<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:25 Machine10 [DEBUG] exit code is 24586<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:28 Machine9 [FATAL] exit code is 2745722<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to analyze unstructured data in Equipment Run Log file(s) we will apply Hadoop MapReduce algorithm. MapReduce is a <a href="http://en.wikipedia.org/wiki/Programming_model" title="Programming model"> <span style="color: windowtext; text-decoration: none;">programming model</span></a> for processing large data sets with a <a href="http://en.wikipedia.org/wiki/Parallel_computing" title="Parallel computing"> <span style="color: windowtext; text-decoration: none;">parallel</span></a>, <a href="http://en.wikipedia.org/wiki/Distributed_computing" title="Distributed computing"> <span style="color: windowtext; text-decoration: none;">distributed</span></a> algorithm on a <a href="http://en.wikipedia.org/wiki/Cluster_(computing)" title="Cluster (computing)"> <span style="color: windowtext; text-decoration: none;">cluster</span></a>. MapReduce program comprises a Map() procedure that performs filtering and sorting (such as sorting messages by type into queues, one queue for each type) and a Reduce() procedure that performs a summary operation (such as counting the number of messages in each queue, yielding type frequencies). The MapReduce System orchestrates by <a href="http://en.wikipedia.org/wiki/Marshalling_(computer_science)" title="Marshalling (computer science)"> <span style="color: windowtext; text-decoration: none;">marshalling</span></a> the distributed servers, running the various tasks in parallel, managing all communications and data transfers between the various parts of the system, providing for <a href="http://en.wikipedia.org/wiki/Redundancy_(engineering)" title="Redundancy (engineering)"> <span style="color: windowtext; text-decoration: none;">redundancy</span></a> and <a href="http://en.wikipedia.org/wiki/Fault-tolerant_computer_system" title="Fault-tolerant computer system"> <span style="color: windowtext; text-decoration: none;">fault tolerance</span></a>, and overall management of the whole process.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see how MapReduce algorithm works on the schema below</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-46-24/7652.mapreduce.png"><span style="color: blue; text-decoration: none;"></span></a></div>
<div class="WordSection1">
<div class="MsoNormal">
<span style="color: blue; text-decoration: none;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcSAUP-srx2LmW3XC9MNyxK8mZgTxoJXHnNlSdfpvrhi_r0Kqf9gkQgR0E7M859xRJg0MBWnOlzBZ5vrlMgpzUchZuX39OENTA2RavxsubF-gRIcU1Hu4K6QRda0fgnPXIME4NM_acWQDk/s1600/image001-776579.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263304675702546" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcSAUP-srx2LmW3XC9MNyxK8mZgTxoJXHnNlSdfpvrhi_r0Kqf9gkQgR0E7M859xRJg0MBWnOlzBZ5vrlMgpzUchZuX39OENTA2RavxsubF-gRIcU1Hu4K6QRda0fgnPXIME4NM_acWQDk/s320/image001-776579.png" /></a></span></div>
<o:p></o:p><div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the purposes of this walkthrough I locally installed .NET SDK for Hadoop (<a href="http://hadoopsdk.codeplex.com/">http://hadoopsdk.codeplex.com</a>) making it easier to work with Hadoop from .NET. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that you can you can also leverage Windows Azure HDInsight service in the Cloud (<a href="http://gettingstarted.hadooponazure.com/">http://gettingstarted.hadooponazure.com</a>) which I will also describe in this article<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review the process step-by-step!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's install Microsoft HDInsight Developer Preview first<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2qS97kFSX_xSQOG6kkvv3kdefFrY9Nas15PTL8M7_4psJg_XfHJfhfeTl7TqSWa132a_4Sng_oUplNYnw5sfosQq4wi3DdgaHU7isQXGtD55kPNiiKk4j9CZ8TRu2cA7llZVNdcB3PIQY/s1600/image002-778967.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263314664493650" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2qS97kFSX_xSQOG6kkvv3kdefFrY9Nas15PTL8M7_4psJg_XfHJfhfeTl7TqSWa132a_4Sng_oUplNYnw5sfosQq4wi3DdgaHU7isQXGtD55kPNiiKk4j9CZ8TRu2cA7llZVNdcB3PIQY/s320/image002-778967.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_3yPian9XCJJqvd7msTMIfrktVrMlUJUj8HRjpAuPciG2neyhQHFaB3R1RRpKsHKCjyCHIgo4BoyIdRjsiHaIDZ41sGm437feKGympUupskGt82W_k6qhzg0PdR6Kt_VDBEuAR8TNZXzv/s1600/image003-781165.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263323516787842" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_3yPian9XCJJqvd7msTMIfrktVrMlUJUj8HRjpAuPciG2neyhQHFaB3R1RRpKsHKCjyCHIgo4BoyIdRjsiHaIDZ41sGm437feKGympUupskGt82W_k6qhzg0PdR6Kt_VDBEuAR8TNZXzv/s320/image003-781165.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzPyEeLIT0TPP4CBRegSm3QwUWNRibSaAtobtZNoqrUa-KyRwvwDTVno-unuBP_CAMmyCO_dnjEXLaoJNoARxOicPC9RquxOLHhEYwgYRzb6_BN0tR2C5mdgy9TNmV5xu9R6ea2R8quMg/s1600/image004-783525.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263336921740626" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmzPyEeLIT0TPP4CBRegSm3QwUWNRibSaAtobtZNoqrUa-KyRwvwDTVno-unuBP_CAMmyCO_dnjEXLaoJNoARxOicPC9RquxOLHhEYwgYRzb6_BN0tR2C5mdgy9TNmV5xu9R6ea2R8quMg/s320/image004-783525.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once Microsoft HDInsight Developer Preview is installed you can access your Hadoop cluster at <a href="http://localhost:8085/">http://localhost:8085/</a> (exact URL may vary) on the localhost</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcpefGjxkqJJw5UhV8GpEOkmJWzV0xL8uyg_bMyoSdRrnev4cCPB9SGHMJ-uyIDd9DlOJ-O8a8uxCW_deE0VCcO5T1GoT_wDqPrTNnPvkJU_GIBu9KREpOg1u8QHYTjZhNN9Q9m-7pkIUH/s1600/image005-786106.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263345210088178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcpefGjxkqJJw5UhV8GpEOkmJWzV0xL8uyg_bMyoSdRrnev4cCPB9SGHMJ-uyIDd9DlOJ-O8a8uxCW_deE0VCcO5T1GoT_wDqPrTNnPvkJU_GIBu9KREpOg1u8QHYTjZhNN9Q9m-7pkIUH/s320/image005-786106.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can now navigate to Local cluster to see what you can do with it<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnCh72Fmvi3d5871RVAxz0tb3NPbmAFUdu14-kSWRw4idfOtuWCsmDz2FwlykRvdDwGgVczz29AwUvzzY8gAPmQqKwzvSXsHEzwHDzNVPoOsEDveTCi9BSmsXkiqlFt0ZQz0aVtjfWbn4/s1600/image006-788609.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263355644227218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVnCh72Fmvi3d5871RVAxz0tb3NPbmAFUdu14-kSWRw4idfOtuWCsmDz2FwlykRvdDwGgVczz29AwUvzzY8gAPmQqKwzvSXsHEzwHDzNVPoOsEDveTCi9BSmsXkiqlFt0ZQz0aVtjfWbn4/s320/image006-788609.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that there're samples which you can deploy and try out <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd8iskZoLFTk-gi-r-4pw1i-IbshrkIeDGcLhU6y1VZfWuFHPnIN8FZ39KUNwTfd8C1tKuECIUPfjbfDMZWiSTYWrDyonyi8jIEFZpHXTH7TRz7G9z2cyiU6IX59Nugk7rLjGsJQEikglz/s1600/image007-790694.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263365813842818" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd8iskZoLFTk-gi-r-4pw1i-IbshrkIeDGcLhU6y1VZfWuFHPnIN8FZ39KUNwTfd8C1tKuECIUPfjbfDMZWiSTYWrDyonyi8jIEFZpHXTH7TRz7G9z2cyiU6IX59Nugk7rLjGsJQEikglz/s320/image007-790694.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can go ahead and create a Visual Studio project to implement MapReduce program which will analyze Equipment Run Log file(s) and extract meaningful information in order to get a business insight into the types of messages we have there <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr4hVXKGwVXwZZHJbRsquIS6NmYH0mu782UnF4_e3eUBJUH0Y9BWcreFJIcFo0b4c5uGhlXJjIwEfwSkKlBi4HG0tK4560_xZAMlre_HdZO-o-m9MVyYRLbJKrIIIdeBNHgARHLVpOPvwA/s1600/image008-792878.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263376321929682" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr4hVXKGwVXwZZHJbRsquIS6NmYH0mu782UnF4_e3eUBJUH0Y9BWcreFJIcFo0b4c5uGhlXJjIwEfwSkKlBi4HG0tK4560_xZAMlre_HdZO-o-m9MVyYRLbJKrIIIdeBNHgARHLVpOPvwA/s320/image008-792878.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once Visual Studio project has been created we have to add references to NuGet packages for Hadoop processing such as Microsoft.Hadoop.MapReduce and Microsoft.AspNet.WebApi <o:p></o:p></div>
<div class="MsoNormal">
NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find info about how to install NuGet Package Manager here: <a href="http://docs.nuget.org/docs/start-here/installing-nuget">http://docs.nuget.org/docs/start-here/installing-nuget</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about NuGet Microsoft.Hadoop.MapReduce package here: <a href="http://www.nuget.org/packages/Microsoft.Hadoop.MapReduce">http://www.nuget.org/packages/Microsoft.Hadoop.MapReduce</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about NuGet Microsoft.AspNet.WebApi package here: <a href="http://www.nuget.org/packages/Microsoft.AspNet.WebApi">http://www.nuget.org/packages/Microsoft.AspNet.WebApi</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Extensions and Updates<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdcqrMPvGzCfd95f_PWcBHoC1wiIwahLECPvMsLTSTRv8YMlnDk9BGHbfZ9F1tuFsxpVFRQG1JWMHOwbkEyJx4RTy0pZptilBeppFBH_wiJAOMx9dQxccU0M_Ub8F6FHV_Wd_beldqFNN6/s1600/image009-795166.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263385679760386" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdcqrMPvGzCfd95f_PWcBHoC1wiIwahLECPvMsLTSTRv8YMlnDk9BGHbfZ9F1tuFsxpVFRQG1JWMHOwbkEyJx4RTy0pZptilBeppFBH_wiJAOMx9dQxccU0M_Ub8F6FHV_Wd_beldqFNN6/s320/image009-795166.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Add References (Install NuGet packages)<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDQxq1PfBfZG10p0C47rxvZrlNJDlgEN7JT0Qii9FcqDhlhIRqQQPVnGbaUO-RyCYfC1aIFPKKUX_HyPLzr0aYG_WYY8C-CLvWIc5IWhcazF8hlFGumf7HdGmgn0h02H0sfGOMcgA3uemt/s1600/image010-798334.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263394810130274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDQxq1PfBfZG10p0C47rxvZrlNJDlgEN7JT0Qii9FcqDhlhIRqQQPVnGbaUO-RyCYfC1aIFPKKUX_HyPLzr0aYG_WYY8C-CLvWIc5IWhcazF8hlFGumf7HdGmgn0h02H0sfGOMcgA3uemt/s320/image010-798334.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that when you install NuGet Microsoft.Hadoop.MapReduce package you may get the following error which suggests to upgrade NuGet to the latest version from the link<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyzjZrSaqqEW4pqzKZOn9B3huYMdrd16khUc8KMMrNfGK689BHrFZdcmbKg3rR_snyrBMNf2_suN9IJ1tfbR1vMpXAjf9rN4XqYrFxuv9oVb6qWNljP8QmVurDoEk3qKvZLZzhXuE3mhyphenhyphen9/s1600/image011-700957.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263409241386514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyzjZrSaqqEW4pqzKZOn9B3huYMdrd16khUc8KMMrNfGK689BHrFZdcmbKg3rR_snyrBMNf2_suN9IJ1tfbR1vMpXAjf9rN4XqYrFxuv9oVb6qWNljP8QmVurDoEk3qKvZLZzhXuE3mhyphenhyphen9/s320/image011-700957.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
However if you navigate to this link you then see the following error<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1tQp1tSMlnHFQzSLgqLDIiT77Y9pWEa_hyphenhyphenmxy8cUeitXY2bwMH8gCVDs64kloUfMY_0Qer1gMufvoXDgAByWYKNPKGVB-AoE-kF7VUi7njwlhYuEN-n3pHbTyTw4EScJtsb3H7kiaMte1/s1600/image012-702933.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263416847563874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1tQp1tSMlnHFQzSLgqLDIiT77Y9pWEa_hyphenhyphenmxy8cUeitXY2bwMH8gCVDs64kloUfMY_0Qer1gMufvoXDgAByWYKNPKGVB-AoE-kF7VUi7njwlhYuEN-n3pHbTyTw4EScJtsb3H7kiaMte1/s320/image012-702933.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
This is a known issue and the solution for it is to reinstall (Install/Uninstall) Nuget Package Manager<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once we installed required NuGet packages the Solution Explorer will look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer</i></div>
<div class="MsoNormal">
<i><b><o:p></o:p></b></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOpugyFAo3HUiaVl0svVUsUTh4ImmFAmZ8EIPs4wKNxIJWVq14axrsHDxci76OJ8ebj47-xVoXEsQ6_bMexHlRUiuXYfEL6RBXr3jWxVC81-OAyXQ0n8BqePVE9TsB-1ZQA6xJ_PXimmGY/s1600/image013-705005.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263428658278498" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOpugyFAo3HUiaVl0svVUsUTh4ImmFAmZ8EIPs4wKNxIJWVq14axrsHDxci76OJ8ebj47-xVoXEsQ6_bMexHlRUiuXYfEL6RBXr3jWxVC81-OAyXQ0n8BqePVE9TsB-1ZQA6xJ_PXimmGY/s320/image013-705005.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now it's time to implement MapReduce program as shown below<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Source code</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Microsoft.Hadoop;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Microsoft.Hadoop.MapReduce;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Microsoft.Hadoop.WebClient.WebHCatClient;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> System.Text.RegularExpressions;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> OEEAnalysis<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Program</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">//Mapper</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MyMapper</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> : </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MapperBase</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">override</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Map(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> inputLine, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MapperContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> key = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">""</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//define the pattern</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> pattern = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">@"\[(.*?)\]"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">; <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Regex</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> re = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Regex</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(pattern);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//determine value type</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Match</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> m </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> re.Matches(inputLine))<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> key = m.Value;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">break</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//output key assignment with value</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.EmitKeyValue(key, inputLine); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">//Reducer</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MyReducer</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> : </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ReducerCombinerBase</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">override</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Reduce(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> key, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">IEnumerable</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> values, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ReducerCombinerContext</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//initialize counter</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">int</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> count = 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//code to aggregate the occurrence</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">foreach</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> value </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">in</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> values)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> count++;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//output results</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> context.EmitKeyValue(key, count.ToString());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">static</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Main(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">[] args)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//establish job configuration</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HadoopJobConfiguration</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> myConfig = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">HadoopJobConfiguration</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> myConfig.InputPath = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"user/Administrator/OEEAnalysis/input/"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> myConfig.OutputFolder = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"user/Administrator/OEEAnalysis/output/"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//connect to cluster</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Uri</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> myUri = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">new</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Uri</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"http://localhost"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> userName = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"hadoop"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> password = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">null</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">IHadoop</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> myCluster = </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Hadoop</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Connect(myUri, userName, password);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//execute mapreduce job</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MapReduceResult</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> jobResult = myCluster.MapReduceJob.Execute<</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MyMapper</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">MyReducer</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">>(myConfig);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//write job result to console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">int</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> exitCode = jobResult.Info.ExitCode;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">string</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> exitStatus = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Failure"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (exitCode == 0) exitStatus = </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Success"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> exitStatus = exitCode + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">" ("</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + exitStatus + </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">")"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.WriteLine();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Write(</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"Exit Code = "</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> + exitStatus);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Console</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.Read();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result of this we classify all messages into the type and get counts per type<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
When we now execute the program (by simply pressing F5) we will see the following outcome<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Command prompt<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGheNdjISZiyghisU3Ynv-3rcfYorn_MXWXC_pm5DZZ3rNnshJ28pOV2M24rh6OWBVnyPzMGb1E6V42Zj4yv07Wsn2Vj8XQKaNcbUrtRBuWcdMe5jmrvaQXivC14RtmGrrj8tHHNoDoMca/s1600/image014-707363.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263437146239442" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGheNdjISZiyghisU3Ynv-3rcfYorn_MXWXC_pm5DZZ3rNnshJ28pOV2M24rh6OWBVnyPzMGb1E6V42Zj4yv07Wsn2Vj8XQKaNcbUrtRBuWcdMe5jmrvaQXivC14RtmGrrj8tHHNoDoMca/s320/image014-707363.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
MapReduce program executed successfully and we can now get the output file from Hadoop File System as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Command prompt<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLjNALH1PDpshqar8FQhZjl3WCEnVoVN44MBfR2O_d9ZVSSh_rU1ztQDBv5y3c0dJRSKqQ4HBoBOHglnIyIkfvp9H_kizlGhulevmakWU2YEtNMra8MUKYcC6JnOrgL01iGWIxAZgk_ivY/s1600/image015-709804.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263447546846066" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLjNALH1PDpshqar8FQhZjl3WCEnVoVN44MBfR2O_d9ZVSSh_rU1ztQDBv5y3c0dJRSKqQ4HBoBOHglnIyIkfvp9H_kizlGhulevmakWU2YEtNMra8MUKYcC6JnOrgL01iGWIxAZgk_ivY/s320/image015-709804.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The result will look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
DEBUG<o:p></o:p></div>
</td> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
4<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
FATAL<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
1<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
INFO<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
1<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
TRACE<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
8<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now we can do a quick analysis using the power of Microsoft Excel and visualize the results in Pie chart<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Pie chart<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhucflzDkBpYL3cDur1Mojxud99AiSTVhLMArlC-5X4XaJ5tuYqOuapLDzYMXBz1qN-Mxgk967C9MmWJbpvJdFp2MIGI33AtXGdVrxGs9QCfgRy6k2q249AOUMWprFhpmCDEznt_UrbpTEs/s1600/image016-712395.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263454895104738" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhucflzDkBpYL3cDur1Mojxud99AiSTVhLMArlC-5X4XaJ5tuYqOuapLDzYMXBz1qN-Mxgk967C9MmWJbpvJdFp2MIGI33AtXGdVrxGs9QCfgRy6k2q249AOUMWprFhpmCDEznt_UrbpTEs/s320/image016-712395.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
We can also review the execution history in our Cluster<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqXFz1o-hal2DmZ4yp768qA_4Lm1bKif7YH1-O1dzuRt1HslAhx_Lr8qgGYzCopHoKrlrOHX6W2YgKlTXk_dXLBc-CoVqMWdmc-a66YF8JyqueNk4ShGWe1WKDVk1C5EgZW1qWtW9OcEiP/s1600/image017-714583.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263471659059906" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqXFz1o-hal2DmZ4yp768qA_4Lm1bKif7YH1-O1dzuRt1HslAhx_Lr8qgGYzCopHoKrlrOHX6W2YgKlTXk_dXLBc-CoVqMWdmc-a66YF8JyqueNk4ShGWe1WKDVk1C5EgZW1qWtW9OcEiP/s320/image017-714583.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Job History<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU_P5YPUzHdplWUGK2iddHYZssg5hDLAwhfkr8bS0ndesA7i0WnmZr9tZjUBJJyplG-7Ap4-KJ0WOWJluHQ9qJiS1fRRPPYl4Zt5M1vvcTh19fX1j3-w0bJOrdNcZazvGr2w4YIkg-5Mjy/s1600/image018-716470.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263479670606802" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU_P5YPUzHdplWUGK2iddHYZssg5hDLAwhfkr8bS0ndesA7i0WnmZr9tZjUBJJyplG-7Ap4-KJ0WOWJluHQ9qJiS1fRRPPYl4Zt5M1vvcTh19fX1j3-w0bJOrdNcZazvGr2w4YIkg-5Mjy/s320/image018-716470.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you want to schedule MapReduce job in Windows Azure HDInsight portal you will be required to provide a JAR file. That's why there're number of other ways how to schedule MapReduce job written in .NET (and not Java) in HDInsight. For example, you can leverage MRRunner framework provides as a part of .NET SDK for Hadoop: <a href="http://hadoopsdk.codeplex.com/wikipage?title=Example%20Map-Reduce%20program"> http://hadoopsdk.codeplex.com/wikipage?title=Example%20Map-Reduce%20program</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we locally executed MapReduce job and got the result, but we also want to leverage Windows Azure HDInsight service which potentially can provide us with much more computational power in order to process TB's or PB's of Equipment Run Log file(s) data which we may have collected <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
That's why we will go ahead and create HDInsight cluster in Windows Azure now which is very simple to do<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New HDInsight Cluster<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0xzXHl35rTYi-juObr4MNKfkHjgcVdE6EIH92u9SyugFWSZzWYoYlx5Bso_NSfR4LDMbjSVAYCogF9uKQ4ZP0hfB552Xka_VTCeMSKPKTIJEquZI_o3Wi9wI88D3R6yDCMtcHvEe4WBE4/s1600/image019-718918.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263488853517250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0xzXHl35rTYi-juObr4MNKfkHjgcVdE6EIH92u9SyugFWSZzWYoYlx5Bso_NSfR4LDMbjSVAYCogF9uKQ4ZP0hfB552Xka_VTCeMSKPKTIJEquZI_o3Wi9wI88D3R6yDCMtcHvEe4WBE4/s320/image019-718918.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Configure Cluster User<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb5dOrms41a21fr7llf6oGMbYgs6l_sZ2K88XcudkQw_OEvSxDb72NFH4eJrgGG6oBFNxYcZE_rUh2nlDKFb1AkFUU7GSnfDa16McLrBJ0pxtLy9PgNlWMma1WV97gQdHq4BOkcKnAKAZA/s1600/image020-721683.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263498039933106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb5dOrms41a21fr7llf6oGMbYgs6l_sZ2K88XcudkQw_OEvSxDb72NFH4eJrgGG6oBFNxYcZE_rUh2nlDKFb1AkFUU7GSnfDa16McLrBJ0pxtLy9PgNlWMma1WV97gQdHq4BOkcKnAKAZA/s320/image020-721683.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Storage Account<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqiMgWDy5qXuNODlUvpvtGj1IC1WZ2QPPEasR4XjWCF-b7vA0sSUwwye4_9NiHJh3qVaEC2BKVOA82Tu4FISwXMsPfCkpmS6E1M1bTAYAwFpeYn2Zg0BQnvPvcg6p8lF8pLSS8ednM7muY/s1600/image021-723859.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263509441551794" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqiMgWDy5qXuNODlUvpvtGj1IC1WZ2QPPEasR4XjWCF-b7vA0sSUwwye4_9NiHJh3qVaEC2BKVOA82Tu4FISwXMsPfCkpmS6E1M1bTAYAwFpeYn2Zg0BQnvPvcg6p8lF8pLSS8ednM7muY/s320/image021-723859.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result we'll have HDInsight cluster provisioned for us<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>HDInsight Cluster<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvymCHareFdCHr5OeSYRL8rmar7z-bUOlEmxWXuKLiN7C29y1Inr66cxI3su-ECg5WVI4Xu8c2syMXmCVvadWcT0p1QpzEBnjUUdFw1BIc8FvtzCsGQQSKPwsuA5Oqj8Tmxgscxe0G0DV1/s1600/image022-725979.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263517079351954" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvymCHareFdCHr5OeSYRL8rmar7z-bUOlEmxWXuKLiN7C29y1Inr66cxI3su-ECg5WVI4Xu8c2syMXmCVvadWcT0p1QpzEBnjUUdFw1BIc8FvtzCsGQQSKPwsuA5Oqj8Tmxgscxe0G0DV1/s320/image022-725979.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>HDInsight Cluster - Dashboard<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgauvbYOUbszQJrQol8U_SAO6Aod5YtFGC4R_AZ18CDBYnZ-MTaEw-TipEVKnkrnT4pzTddT2DbCaoq7rTkwKTTQ48O272D5qCRPMOZcDWEKJ1l3tY60CzTDBzUT1XsLJOIsoVrLv6ostR2/s1600/image023-728224.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263526695613010" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgauvbYOUbszQJrQol8U_SAO6Aod5YtFGC4R_AZ18CDBYnZ-MTaEw-TipEVKnkrnT4pzTddT2DbCaoq7rTkwKTTQ48O272D5qCRPMOZcDWEKJ1l3tY60CzTDBzUT1XsLJOIsoVrLv6ostR2/s320/image023-728224.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
On the dashboard you can monitor activity, review the specs and more. In this particular scenario I'm using 24 cores for computations in the cluster<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Next step is to log into HDInsight Management Portal (Manage Cluster) <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>HDInsight Management Portal Login<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb3Rc3j0iUG7OLeMsnYD5mC_a4m4pufSlmvC9rCCQONtuu6y81Ol5btTZFoqaqdfNnPy693T4wphS0lE8F3z30TemIbZssfQXg7H9EdeKm4v3m0LazU2SW3YgOcbERfHr1RFZzQUB9ttvE/s1600/image024-730449.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263538153103458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb3Rc3j0iUG7OLeMsnYD5mC_a4m4pufSlmvC9rCCQONtuu6y81Ol5btTZFoqaqdfNnPy693T4wphS0lE8F3z30TemIbZssfQXg7H9EdeKm4v3m0LazU2SW3YgOcbERfHr1RFZzQUB9ttvE/s320/image024-730449.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The URL for HDInsight Management Portal may look like this: <a href="https://alex.azurehdinsight.net/"> https://alex.azurehdinsight.net/</a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>HDInsight Management Portal<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzJnZgolCo67-r3UofwrrgVY7rciDfHjsI_C4anFWHdabm7BXzgMWtF-78iuN4al6SHh7ejtW-Y8V7Tl3GPUsa6wLcoC_t4VTSe0hvdjNmWDIXXFux9xp8M0iw48rSh6nUnOF4Go637h0K/s1600/image025-733501.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263550622384962" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzJnZgolCo67-r3UofwrrgVY7rciDfHjsI_C4anFWHdabm7BXzgMWtF-78iuN4al6SHh7ejtW-Y8V7Tl3GPUsa6wLcoC_t4VTSe0hvdjNmWDIXXFux9xp8M0iw48rSh6nUnOF4Go637h0K/s320/image025-733501.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now I can also connect my local HDInsight Developer Preview installation to Windows Azure HDInsight Cluster<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Register Cluster<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJFlMHwTDt1hDen5vMihDGsMnJvG3WyUkeYka9LQOY293cIZmm4_y14htqiRCU-VpCBiNStjaxB1HREi4OVwKU0xwA79IVvamgfiOBHYhpVLKEU8EfXvjqGXefMIK6-QgZNVeUK94TOsJ4/s1600/image026-735871.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263561672265506" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJFlMHwTDt1hDen5vMihDGsMnJvG3WyUkeYka9LQOY293cIZmm4_y14htqiRCU-VpCBiNStjaxB1HREi4OVwKU0xwA79IVvamgfiOBHYhpVLKEU8EfXvjqGXefMIK6-QgZNVeUK94TOsJ4/s320/image026-735871.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once this is done you will see that now I have 2 clusters defined: one is local cluster and another one is Windows Azure HDInsight cluster<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjbYCYJMplkOvfu9lv65ENcyOkPjGsk91iYU3W6VOWODqTnwfRCxBV4f3Ww7mmJwnybRVBpKBvRomoXzCLzf9x4LHqniEtrfllIoFFtq2oNL4FD8gsXd62itekq485XNCaN5_bhWDFNob8/s1600/image027-738332.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263567585352914" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjbYCYJMplkOvfu9lv65ENcyOkPjGsk91iYU3W6VOWODqTnwfRCxBV4f3Ww7mmJwnybRVBpKBvRomoXzCLzf9x4LHqniEtrfllIoFFtq2oNL4FD8gsXd62itekq485XNCaN5_bhWDFNob8/s320/image027-738332.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Finally when I submit MapReduce job for execution in Windows Azure HDInsight cluster I can review execution history and other details <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8Xs0-vrLXv2KqhVNFEI1pHXZ4X9efuM1oTB_0ot8Zw6HnmHnTbB22wV-85sBhPxzlOyvMCQgVoR3PYYgCMBlc0uKeQ-XFM3eemTSvXYyXYv174Of95LJNB-ghyJu46F8kYuzYK_c-LH-G/s1600/image028-740843.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263582649168306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8Xs0-vrLXv2KqhVNFEI1pHXZ4X9efuM1oTB_0ot8Zw6HnmHnTbB22wV-85sBhPxzlOyvMCQgVoR3PYYgCMBlc0uKeQ-XFM3eemTSvXYyXYv174Of95LJNB-ghyJu46F8kYuzYK_c-LH-G/s320/image028-740843.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I executed OEE Analysis job in Windows Azure HDInsight cluster<o:p></o:p></div>
<div class="MsoNormal">
In this walkthrough we reviewed how to install and set up HDInsight cluster locally and in the Cloud, how to do OEE Optimization utilizing Big Data collected from Equipment on the Shop Floor in form of unstructured logs and get a valuable business insight. Please note that we could also mash this data up with transactional data in Microsoft Dynamics AX 2012 for better business insights. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about OEE here: <a href="http://en.wikipedia.org/wiki/Overall_equipment_effectiveness"> http://en.wikipedia.org/wiki/Overall_equipment_effectiveness</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how implement MapReduce Hadoop job in .NET in order to do OEE Optimization for Manufacturing organization. Hadoop platform provides a cheaper (scales to PB's or more), faster (parallel data processing) and better (suited for particular types of Big Data problems) way to work with unstructured, semi-structured or the combination of semi/unstructured data and structured data, and get a valuable business insight for optimization. We discussed how to utilize a local Hadoop environment as well as Windows Azure HDInsight service available in the Cloud. Please learn more about Windows Azure here: <a href="http://www.windowsazure.com/">http://www.windowsazure.com</a>.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Big Data, Windows Azure, HDInsight, Hadoop, MapReduce, Manufacturing, Microsoft Dynamics AX 2012, OEE, Overall Equipment Efficiency, .NET. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com3tag:blogger.com,1999:blog-4565800100410709901.post-43331020539710883712013-09-11T00:24:00.000-07:002013-09-11T00:36:57.668-07:00Hadoop Big Data Java – Manufacturing scenario<div class="WordSection1">
<div style="border: currentColor; mso-element: para-border-div; padding: 0in 0in 4pt;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>Hadoop Big Data Java – Manufacturing scenario<o:p></o:p></strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
</div>
</div>
<div class="MsoNormal">
<b>Purpose:</b> The purpose of this document is to explain how to apply the power of Hadoop Big Data platform in Manufacturing scenario.</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge:</b> Big data is the term for a collection of data sets so large and complex that it becomes difficult to process using on-hand database management tools or traditional data processing applications. <span lang="EN">Data growth challenges and opportunities are considered to be three-dimensional, i.e. increasing volume (amount of data), velocity (speed of data in and out), and variety (range of data types and sources). </span>In Manufacturing space there're number of scenarios where we can speak about Big Data. From Engineering Modeling perspective we can simulate every aspect of manufacturing process and get business insight when doing Demand Forecasting, Supply Chain Planning, Capacity Planning, Resource Scheduling, Inventory Optimization, OEE Optimization, etc.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution:</b> Apache Hadoop is an open-source software framework that supports data-intensive distributed applications. Apache Hadoop platform consists of the Hadoop kernel, MapReduce and Hadoop Distributed File System (HDFS) and other components.<o:p></o:p></div>
<div class="MsoNormal">
HDInsight is Microsoft's Hadoop-based service that brings a 100% Apache Hadoop-based solution to the cloud. HDInsight gives you the ability to gain the full value of Big Data with a modern, cloud-based data platform that manages data of any type, whether structured or unstructured, and of any size. With HDInsight you can seamlessly store and process data of all types through Microsoft's modern data platform that provides simplicity, ease of management, and an open Enterprise-ready Hadoop service all running in the cloud. You can analyze your Hadoop data directly in Excel using new capabilities like Power Pivot and Power View. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Scenario<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In this scenario (OEE Optimization) I want to develop Hadoop MapReduce program in order to analyze Equipment Run Log file(s) and get business insight in order to optimize OEE.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Sample Equipment Run Log (file) in a structured way may look like</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" style="border-collapse: collapse; margin-left: -0.25pt; width: 673px;"> <tbody>
<tr style="height: 15pt;"> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Time<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Machine<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Event<o:p></o:p></span></b></div>
</td> <td nowrap="" style="background: rgb(191, 191, 191); border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 320pt;" valign="bottom" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: black;">Message<o:p></o:p></span></b></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">8:55<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">8:55 Machine1 [TRACE] exit code is 546789093<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:00<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:00 Machine1 [TRACE] exit code is 775367878<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:01<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine2<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:01 Machine2 [DEBUG] exit code is 5546774<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine3<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03 Machine3 [TRACE] exit code is 455674443<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[INFO]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:03 Machine1 [INFO] exit code is 99682642<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:06<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:06 Machine1 [TRACE] exit code is 56425462<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:07<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine6<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:07 Machine6 [DEBUG] exit code is 3664526<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine29<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine29 [TRACE] exit code is 6426342<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine12<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine12 [TRACE] exit code is 4629422<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine2<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine2 [DEBUG] exit code is 7628764324<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine6<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:10 Machine6 [TRACE] exit code is 76428436284<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:15<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine1<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[TRACE]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:15 Machine1 [TRACE] exit code is 24257443623<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:25<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine10<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[DEBUG]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:25 Machine10 [DEBUG] exit code is 24586<o:p></o:p></span></div>
</td> </tr>
<tr style="height: 15pt;"> <td nowrap="" style="border: 1pt solid windowtext; height: 15pt; padding: 0in 5.4pt; width: 50pt;" valign="bottom" width="67"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:28<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 65pt;" valign="bottom" width="87"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">Machine9<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 70pt;" valign="bottom" width="93"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">[FATAL]<o:p></o:p></span></div>
</td> <td nowrap="" style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 15pt; padding: 0in 5.4pt; width: 320pt;" valign="bottom" width="427"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: black;">9:28 Machine9 [FATAL] exit code is 2745722<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
However the data we collect from equipment may be unstructured, semi-structured or a combination of semi/unstructured data and structured data. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
So the same Sample Equipment Run Log (file) may also look like this</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
8:55 Machine1 [TRACE] exit code is 546789093<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:00 Machine1 [TRACE] exit code is 775367878<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:01 Machine2 [DEBUG] exit code is 5546774<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Machine downtime - start<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
Machine downtime - end<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:03 Machine3 [TRACE] exit code is 455674443<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:03 Machine1 [INFO] exit code is 99682642<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:06 Machine1 [TRACE] exit code is 56425462<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:07 Machine6 [DEBUG] exit code is 3664526<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine29 [TRACE] exit code is 6426342<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine12 [TRACE] exit code is 4629422<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine2 [DEBUG] exit code is 7628764324<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:10 Machine6 [TRACE] exit code is 76428436284<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:15 Machine1 [TRACE] exit code is 24257443623<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:25 Machine10 [DEBUG] exit code is 24586<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
This is a diagnostics message: XYZ<o:p></o:p></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
9:28 Machine9 [FATAL] exit code is 2745722<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
In order to analyze unstructured data in Equipment Run Log file(s) we will apply Hadoop MapReduce algorithm. MapReduce is a <a href="http://en.wikipedia.org/wiki/Programming_model" title="Programming model"> <span style="color: windowtext; text-decoration: none;">programming model</span></a> for processing large data sets with a <a href="http://en.wikipedia.org/wiki/Parallel_computing" title="Parallel computing"> <span style="color: windowtext; text-decoration: none;">parallel</span></a>, <a href="http://en.wikipedia.org/wiki/Distributed_computing" title="Distributed computing"> <span style="color: windowtext; text-decoration: none;">distributed</span></a> algorithm on a <a href="http://en.wikipedia.org/wiki/Cluster_(computing)" title="Cluster (computing)"> <span style="color: windowtext; text-decoration: none;">cluster</span></a>. MapReduce program comprises a Map() procedure that performs filtering and sorting (such as sorting messages by type into queues, one queue for each type) and a Reduce() procedure that performs a summary operation (such as counting the number of messages in each queue, yielding type frequencies). The MapReduce System orchestrates by <a href="http://en.wikipedia.org/wiki/Marshalling_(computer_science)" title="Marshalling (computer science)"> <span style="color: windowtext; text-decoration: none;">marshalling</span></a> the distributed servers, running the various tasks in parallel, managing all communications and data transfers between the various parts of the system, providing for <a href="http://en.wikipedia.org/wiki/Redundancy_(engineering)" title="Redundancy (engineering)"> <span style="color: windowtext; text-decoration: none;">redundancy</span></a> and <a href="http://en.wikipedia.org/wiki/Fault-tolerant_computer_system" title="Fault-tolerant computer system"> <span style="color: windowtext; text-decoration: none;">fault tolerance</span></a>, and overall management of the whole process.<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please see how MapReduce algorithm works on the schema below</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-46-24/7652.mapreduce.png"><span style="color: blue; text-decoration: none;"></span></a></div>
<div class="WordSection1">
<div class="MsoNormal">
<span style="color: blue; text-decoration: none;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRmzYD9bVcOj81Q0Ysbn2diH3vOKJUdCWMWkx7N_kxbL2F6ZUUkRigcm-mE1xWr-Bbscs1Cm8fyAL54Aq7hMoflKUNV58x53Y_Qu9P11tYGPWUYCJCMMX7GVDF5iB7Is407H19O79DvOml/s1600/image001-702554.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922262989961435602" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRmzYD9bVcOj81Q0Ysbn2diH3vOKJUdCWMWkx7N_kxbL2F6ZUUkRigcm-mE1xWr-Bbscs1Cm8fyAL54Aq7hMoflKUNV58x53Y_Qu9P11tYGPWUYCJCMMX7GVDF5iB7Is407H19O79DvOml/s320/image001-702554.png" /></a></span></div>
<o:p></o:p><div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review the process step-by-step!<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Let's install Microsoft HDInsight Developer Preview first<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBzn5p2r8615RRatWsRH-nc3pQ8LcGx2mAUJhdQccHfZOpUYXtXMaej7pO7q38YkMjZLS1odf60XQ7Wv72SVUm5ipJHjX7bE1TYTAyNxC7mJ5S7ClnTUE9va2kUu3kg6n3r10MpZTCNOdD/s1600/image002-704821.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922262998247212482" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBzn5p2r8615RRatWsRH-nc3pQ8LcGx2mAUJhdQccHfZOpUYXtXMaej7pO7q38YkMjZLS1odf60XQ7Wv72SVUm5ipJHjX7bE1TYTAyNxC7mJ5S7ClnTUE9va2kUu3kg6n3r10MpZTCNOdD/s320/image002-704821.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7qgX5gOdu2dLbe1Y520PToTlZD13C1ZjeUULLF6UhNzFRtuLMxTzQFnlD84WJVo9fwjwEwCtbpni1Wvu3njeQvDEZLrNGd6ygm0G57V-5X65XPDTyNecYmoefDtz4qer5h3AQJjFjrRnM/s1600/image003-706851.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263006120077746" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7qgX5gOdu2dLbe1Y520PToTlZD13C1ZjeUULLF6UhNzFRtuLMxTzQFnlD84WJVo9fwjwEwCtbpni1Wvu3njeQvDEZLrNGd6ygm0G57V-5X65XPDTyNecYmoefDtz4qer5h3AQJjFjrRnM/s320/image003-706851.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Microsoft HDInsight Developer Preview<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWSNk4JiT8fhmhSvwk2RpP-Fifus42nVFZpGfbEEAHG13iX2Ea03_Nn0w0m3cuvQWYfXw59m1qjtq5URosLRPFUIcQg70WuN58dQWwlm7v-4LFyX2GC_o6Rs2KpcRWQ92KJ28lNuQJPda0/s1600/image004-709297.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263014273528786" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWSNk4JiT8fhmhSvwk2RpP-Fifus42nVFZpGfbEEAHG13iX2Ea03_Nn0w0m3cuvQWYfXw59m1qjtq5URosLRPFUIcQg70WuN58dQWwlm7v-4LFyX2GC_o6Rs2KpcRWQ92KJ28lNuQJPda0/s320/image004-709297.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once Microsoft HDInsight Developer Preview is installed you can access your Hadoop cluster at <a href="http://localhost:8085/">http://localhost:8085/</a> (exact URL may vary) on the localhost<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52CXgtmOqWOOzTfnOfSESYg42WuViqFfiHrDL7TU-gvVkIJ5hwItbzvp3SoRehO5PUcQGK1pgvG_EZK7_LBvsxr_ZoHCsGaqoJPvJG4pUhDvkGiocoSWIHdMqKN4sgBsUD6CusttCrbab/s1600/image005-711564.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263029919577298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52CXgtmOqWOOzTfnOfSESYg42WuViqFfiHrDL7TU-gvVkIJ5hwItbzvp3SoRehO5PUcQGK1pgvG_EZK7_LBvsxr_ZoHCsGaqoJPvJG4pUhDvkGiocoSWIHdMqKN4sgBsUD6CusttCrbab/s320/image005-711564.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
You can now navigate to Local cluster to see what you can do with it<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe10JSecrm2JK24fWWEiNPmWWxaklWaBpOUW7_Y7nnt8KKpZno4J-orJiFrh3gHfVGGzhYsVzlZRm8zXgbAaLWmaAYKSfGFDBFzLxZfNNtYhuFFJSC_8jE8aZEERb2CLrzbL8dJTjUzxEF/s1600/image006-714592.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263038198823122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe10JSecrm2JK24fWWEiNPmWWxaklWaBpOUW7_Y7nnt8KKpZno4J-orJiFrh3gHfVGGzhYsVzlZRm8zXgbAaLWmaAYKSfGFDBFzLxZfNNtYhuFFJSC_8jE8aZEERb2CLrzbL8dJTjUzxEF/s320/image006-714592.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that there're samples which you can deploy and try out <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8_ofBf48amFPZl3PAcYN-q6oF9BNc2Qoux8Ld_mp_r-50pqyvieEsRWtUfzJ4vCV49AH1zNRewLZKYZqEbeAAkweZUnkJOZPotvnayInrrJudMcaxyrF9oZK4yISczH5YtZzvm_yp-SuS/s1600/image007-716480.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263049539321874" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8_ofBf48amFPZl3PAcYN-q6oF9BNc2Qoux8Ld_mp_r-50pqyvieEsRWtUfzJ4vCV49AH1zNRewLZKYZqEbeAAkweZUnkJOZPotvnayInrrJudMcaxyrF9oZK4yISczH5YtZzvm_yp-SuS/s320/image007-716480.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we can go ahead and create Java program to implement MapReduce program which will analyze Equipment Run Log file(s) and extract meaningful information in order to get a business insight into the types of messages we have there. For the sake of simplicity we will use <i>Notepad<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Source code (Java)</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: red; font-family: Courier; font-size: 10pt;">//Standard Java imports</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import java.io.IOException;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import java.util.Iterator;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import java.util.regex.Matcher;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import java.util.regex.Pattern;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<b><span style="color: red; font-family: Courier; font-size: 10pt;">//Hadoop imports</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.fs.Path;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.io.IntWritable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.io.LongWritable;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.io.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.FileInputFormat;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.FileOutputFormat;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.JobClient;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.JobConf;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.MapReduceBase;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.Mapper;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.OutputCollector;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.Reducer;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.Reporter;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.TextInputFormat;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">import org.apache.hadoop.mapred.TextOutputFormat;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">/**<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">* Tutorial1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">* <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> */<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">public class Tutorial1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="background: yellow; color: red; font-family: Courier; font-size: 10pt; mso-highlight: yellow;">//The Mapper</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> public static class Map extends MapReduceBase implements Mapper<LongWritable, Text, Text, IntWritable><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span> <b><span style="color: red; font-family: Courier; font-size: 10pt;">//Log levels to search for</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> private static final Pattern pattern = Pattern.compile("(TRACE)|(DEBUG)|(INFO)|(WARN)|(ERROR)|(FATAL)"); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> private static final IntWritable accumulator = new IntWritable(1); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> private Text logLevel = new Text();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> public void map(LongWritable key, Text value, OutputCollector<Text, IntWritable> collector, Reporter reporter)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> throws IOException <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> // split on space, '[', and ']'<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> final String[] tokens = value.toString().split("[ \\[\\]]"); <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> if(tokens != null)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="color: red; font-family: Courier; font-size: 10pt;">//now find the log level token</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> for(final String token : tokens) <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> final Matcher matcher = pattern.matcher(token);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="color: red; font-family: Courier; font-size: 10pt;">//log level found</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> if(matcher.matches()) <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> logLevel.set(token);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="color: red; font-family: Courier; font-size: 10pt;">//Create the key value pairs</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> collector.collect(logLevel, accumulator);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> } <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> } <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="background: yellow; color: red; font-family: Courier; font-size: 10pt; mso-highlight: yellow;">//The Reducer</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> public static class Reduce extends MapReduceBase implements Reducer<Text, IntWritable, Text, IntWritable><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> public void reduce(Text key, Iterator<IntWritable> values, OutputCollector<Text, IntWritable> collector,<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> Reporter reporter) throws IOException<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> int count = 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="color: red; font-family: Courier; font-size: 10pt;">//code to aggregate the occurrence</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> while(values.hasNext())<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> count += values.next().get();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> System.out.println(key + "\t" + count);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> collector.collect(key, new IntWritable(count));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span><b><span style="background: yellow; color: red; font-family: Courier; font-size: 10pt; mso-highlight: yellow;">//The java main method to execute the MapReduce job</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> public static void main(String[] args) throws Exception<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span> <b><span style="color: red; font-family: Courier; font-size: 10pt;">//Code to create a new Job specifying the MapReduce class</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> final JobConf conf = new JobConf(Tutorial1.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setOutputKeyClass(Text.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setOutputValueClass(IntWritable.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setMapperClass(Map.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> // Combiner is commented out – to be used in bonus activity<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> //conf.setCombinerClass(Reduce.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setReducerClass(Reduce.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setInputFormat(TextInputFormat.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> conf.setOutputFormat(TextOutputFormat.class);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span> <b><span style="color: red; font-family: Courier; font-size: 10pt;">//File Input argument passed as a command line argument</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> FileInputFormat.setInputPaths(conf, new Path(args[0]));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span> <b><span style="color: red; font-family: Courier; font-size: 10pt;">//File Output argument passed as a command line argument</span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> FileOutputFormat.setOutputPath(conf, new Path(args[1]));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> </span> <b><span style="color: red; font-family: Courier; font-size: 10pt;">//statement to execute the job </span></b><span style="color: #666666; font-family: Courier; font-size: 10pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> JobClient.runJob(conf);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: Courier; font-size: 10pt;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
<span style="color: #666666; font-family: "Verdana","sans-serif"; font-size: 10pt;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Then using Hadoop command prompt utility we'll take a number of steps to generate a JAR file<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>OEEAnalysis <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmPZ7wiuZrEMYgUeJucZtxV-milTr4L86o5twZ7CrDPrhyUzxhkNZn9GscyDh-eHTUFIaqp-brW7Ym98KGGGtkJ0QGcLbSSYVg1h8zszmWZGUXzllaKY2-jYENzIacaNpubsYWipD2-8F/s1600/image008-719173.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263055546606018" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmPZ7wiuZrEMYgUeJucZtxV-milTr4L86o5twZ7CrDPrhyUzxhkNZn9GscyDh-eHTUFIaqp-brW7Ym98KGGGtkJ0QGcLbSSYVg1h8zszmWZGUXzllaKY2-jYENzIacaNpubsYWipD2-8F/s320/image008-719173.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find a detailed steps explained here: <a href="http://gettingstarted.hadooponazure.com/hw/mapReduce.html"> http://gettingstarted.hadooponazure.com/hw/mapReduce.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Once JAR file has been generated we can submit MapReduce job for execution on Windows Azure HDInsight Portal </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJE6WU_RQJ-LtCD1H9Ex0ifAknO-4F-XtSbqj2tMRohNhWAj4A5a5_TLqbb8sZevvvTlzUUgWsDvRC3dbmanup_eQoLdkfmo7HY3dH755PYgkkIhPaOAQ9QCWiygi21WIWKmJ4N4UOjEJq/s1600/image009-721464.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263067356727058" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJE6WU_RQJ-LtCD1H9Ex0ifAknO-4F-XtSbqj2tMRohNhWAj4A5a5_TLqbb8sZevvvTlzUUgWsDvRC3dbmanup_eQoLdkfmo7HY3dH755PYgkkIhPaOAQ9QCWiygi21WIWKmJ4N4UOjEJq/s320/image009-721464.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
As the result of this we classify all messages into the type and get counts per type<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
MapReduce program executed successfully which we can review in a job history<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Job History<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKAyMTp6xzZ9LDqKDDKSNmswYQdl819MvrA8lUAcKq3ffVQN9XgcuhXErao0jHfQz7WFK2Zg-5qu7Wl_LBSxXl4BtsiNZBGvpnZlw2rWaFA8LLMnvjjs3M7axfmO50_VVerPrtIVFCYAGL/s1600/image010-723357.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263080632284146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKAyMTp6xzZ9LDqKDDKSNmswYQdl819MvrA8lUAcKq3ffVQN9XgcuhXErao0jHfQz7WFK2Zg-5qu7Wl_LBSxXl4BtsiNZBGvpnZlw2rWaFA8LLMnvjjs3M7axfmO50_VVerPrtIVFCYAGL/s320/image010-723357.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And now we can get the output file from Hadoop File System as shown below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Command prompt<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4l6c6Ks5hjPJQ1o4JTGxYpVV7WxKnAQpSf2TyG8mxiXH4sQogm9X8LTrxjJarM3Dw-LA0ByCFOXKzCBro5fq7NQtZ-ZcaSJy1MeyFZManBTS6Ayle_gBrX1EwLtQXo0t6z5e9NqD1U-hE/s1600/image011-726077.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263088526283890" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4l6c6Ks5hjPJQ1o4JTGxYpVV7WxKnAQpSf2TyG8mxiXH4sQogm9X8LTrxjJarM3Dw-LA0ByCFOXKzCBro5fq7NQtZ-ZcaSJy1MeyFZManBTS6Ayle_gBrX1EwLtQXo0t6z5e9NqD1U-hE/s320/image011-726077.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The result will look like<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
DEBUG<o:p></o:p></div>
</td> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
4<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
FATAL<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
1<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
INFO<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
1<o:p></o:p></div>
</td> </tr>
<tr> <td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
TRACE<o:p></o:p></div>
</td> <td style="border-color: currentColor windowtext windowtext currentColor; border-style: none solid solid none; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 233.75pt;" valign="top" width="312"><div class="MsoNormal" style="line-height: normal; margin-bottom: 0in;">
8<o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Now we can do a quick analysis using the power of Microsoft Excel and visualize the results in Pie chart<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Pie chart<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNvxo8PPrHb7u9i7sc6WMJnJqYO7uiby8QPOi7FX1KOzDuQDXAISQp-syMjTCvrK6mZgdlo1pFwDH93qJhvNauqRqkMh-gy3ywUc9qXX5mcAvbQGLaBMytImKjBgzXNEs2DPmv3hiqyyY9/s1600/image012-727961.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263094780912754" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNvxo8PPrHb7u9i7sc6WMJnJqYO7uiby8QPOi7FX1KOzDuQDXAISQp-syMjTCvrK6mZgdlo1pFwDH93qJhvNauqRqkMh-gy3ywUc9qXX5mcAvbQGLaBMytImKjBgzXNEs2DPmv3hiqyyY9/s320/image012-727961.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now we locally executed MapReduce job and got the result, similarly you can leverage Windows Azure HDInsight service which potentially can provide us with much more computational power in order to process TB's or PB's of Equipment Run Log file(s) data which we may have collected <o:p></o:p></div>
<div class="MsoNormal">
This is how you can create MapReduce job in Windows Azure HDInsight cluster by supplying JAR file</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi88oDWi6dGVXhHZ3EBR7v4sjIgnPVtSh2wN67T0zHEMWwA412zg066invdv9S05ymHvtpipjcf1g0S67YFfUF8x60Kw8uY1FxjPAIvkLcLeywXR5bYSQFeJfqOGWJzVM9UQzAlh2SXW-su/s1600/image013-730494.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5922263104842186786" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi88oDWi6dGVXhHZ3EBR7v4sjIgnPVtSh2wN67T0zHEMWwA412zg066invdv9S05ymHvtpipjcf1g0S67YFfUF8x60Kw8uY1FxjPAIvkLcLeywXR5bYSQFeJfqOGWJzVM9UQzAlh2SXW-su/s320/image013-730494.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In this walkthrough we reviewed how to install and set up HDInsight cluster locally and in the Cloud, how to do OEE Optimization utilizing Big Data collected from Equipment on the Shop Floor in form of unstructured logs and get a valuable business insight. Please note that we could also mash this data up with transactional data in Microsoft Dynamics AX 2012 for better business insights. <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about OEE here: <a href="http://en.wikipedia.org/wiki/Overall_equipment_effectiveness"> http://en.wikipedia.org/wiki/Overall_equipment_effectiveness</a><span class="MsoHyperlink"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how implement MapReduce Hadoop job using Java in order to do OEE Optimization for Manufacturing organization. Hadoop platform provides a cheaper (scales to PB's or more), faster (parallel data processing) and better (suited for particular types of Big Data problems) way to work with unstructured, semi-structured or the combination of semi/unstructured data and structured data, and get a valuable business insight for optimization. We discussed how to utilize a local Hadoop environment as well as Windows Azure HDInsight service available in the Cloud. Please learn more about Windows Azure here: <a href="http://www.windowsazure.com/">http://www.windowsazure.com</a>.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> Big Data, Windows Azure, HDInsight, Hadoop, MapReduce, Manufacturing, Microsoft Dynamics AX 2012, OEE, Overall Equipment Efficiency, Java. <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Author:</b> <a href="mailto:%20alexani@microsoft.com">Alex Anikiev</a>, PhD, MCP<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com5tag:blogger.com,1999:blog-4565800100410709901.post-15599106435939070262013-09-01T00:37:00.001-07:002013-09-01T00:46:17.064-07:00MVVM – Web site using ASP.NET Primer<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Web site using ASP.NET Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Product catalog Web site using ASP.NET</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts<b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll develop Web site using ASP.NET<o:p></o:p></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<b><span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"></span></b> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<b><span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;">Walkthrough:<o:p></o:p></span></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Visual C# > ASP.NET Empty Web Site template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6QFf0AunqyPCk6XP9Nrs2bJvJ3y-hFfezLrONhTy-agO-PICEaH_dnB-QSqgR-ASiSfH4VhBWiYoUA0AWd33Owh8WziqPF14pdD-Dg1xQD_l0AWQICulrAuOQxLJt44ac9pWaCrt3SrN/s1600/image001-746205.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555341511013090" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF6QFf0AunqyPCk6XP9Nrs2bJvJ3y-hFfezLrONhTy-agO-PICEaH_dnB-QSqgR-ASiSfH4VhBWiYoUA0AWd33Owh8WziqPF14pdD-Dg1xQD_l0AWQICulrAuOQxLJt44ac9pWaCrt3SrN/s320/image001-746205.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog Web site<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-IeJZO9Jcb0XkipsrKB3EcKgP_GaKqvf5lWFP3T_bIAY12DbO_XmnXggRwbLk0_wcghfW0VANtq1colLby-8JJcrned1v7ZIVl_isi6ifQwQEklXIEjtnbGbml9_ISKJvJNhga44EbRT/s1600/image002-750711.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555360825059714" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq-IeJZO9Jcb0XkipsrKB3EcKgP_GaKqvf5lWFP3T_bIAY12DbO_XmnXggRwbLk0_wcghfW0VANtq1colLby-8JJcrned1v7ZIVl_isi6ifQwQEklXIEjtnbGbml9_ISKJvJNhga44EbRT/s320/image002-750711.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review how I implemented Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product object (function) which has 2 attributes: ID and Name as a part of the model<o:p></o:p></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
The view model encapsulates presentation logic and state. Please see below how I define ObservableArray of products with respective function(s) (GetProducts) as a part of the view model<span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i></i> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i>Model and ViewModel: JS (JavaScript.js)</i></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<em></em><span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(id, name) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.id = ko.observable(id);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.name = ko.observable(name);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products = ko.observableArray();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.GetProducts = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products.push(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that Model and ViewModel definition is done in JavaScript (JS)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
MVVM (Model-View-ViewModel) pattern implementation is different in JavaScript (JS) comparing to classic object-oriented languages such as C#.NET. Please note that JavaScript (JS) has objects which can contain data and methods that act upon that data. Objects can contain other objects. JavaScript (JS) does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods. JavaScript (JS) does not have class-oriented inheritance, but it does have prototype-oriented inheritance<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review a view <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Important to mention is that in order to link view and view model by means of binding I used the capabilities of knockout.js JavaScript (JS) library <o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Knockout (ko) is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically (e.g., changing depending on the user's actions or when an external data source changes), Knockout (ko) can help you implement it more simply and maintainably<o:p></o:p></div>
<div class="MsoNormal">
Please find more info about Knockout (ko) JavaScript (JS) library here: <a href="http://knockoutjs.com/">http://knockoutjs.com</a><o:p></o:p></div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic. Please see below how I iterate through the list of products and map view model object properties with elements of UI for display<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View: HTML</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://www.w3.org/1999/xhtml"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Product Catalog</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/js/jquery-1.10.2.min.js"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/js/knockout-2.3.0.js"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/js/JavaScript.js"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> $(document).ready(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel.GetProducts();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ko.applyBindings(productViewModel);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> })<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">link</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">href</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/css/StyleSheet.css"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">rel</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="stylesheet"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Product Catalog</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="foreach: products"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="id"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: id"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="name"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: name"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
Please note that I also used JQuery JavaScript (JS) library because it is needed to be able to use $document variable. jQuery is a multi-browser (cf. <a href="http://en.wikipedia.org/wiki/Cross-browser" title="Cross-browser"><span style="color: windowtext; text-decoration: none;">cross-browser</span></a>) <a href="http://en.wikipedia.org/wiki/JavaScript_library" title="JavaScript library"> <span style="color: windowtext; text-decoration: none;">JavaScript library</span></a> designed to simplify the <a href="http://en.wikipedia.org/wiki/Client-side_scripting" title="Client-side scripting"> <span style="color: windowtext; text-decoration: none;">client-side scripting</span></a> of <a href="http://en.wikipedia.org/wiki/HTML" title="HTML"><span style="color: windowtext; text-decoration: none;">HTML</span></a>. </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
Please find more info about JQuery JavaScript (JS) library here: <a href="http://jquery.com/">http://jquery.com</a><o:p></o:p></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
Please note that I created a CSS file to define a style<span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i></i> </div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
<i>Style: CSS (StyleSheet.css)</i><span style="color: #222222; font-family: "Segoe UI","sans-serif"; font-size: 9.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 16.8pt; margin-bottom: 3.75pt; mso-margin-top-alt: auto; vertical-align: top;">
</div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">td</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-style</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">solid</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">text-align</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">center</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#id</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#name</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I defined different styles to display product ID and Name<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc2pLeg6VouWYI05g6klWb-d10c72Q8yFjV3JXccRVuveSReag0DN5wm9RcQgdP7YrLs4bSGNHL1wlKVrpqh8WhL9_xVcrcthQJ2XqnG2LByEVawULWp9Gd9Oc1OcClTiC3qgil1lazyHf/s1600/image003-755462.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555380145116290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc2pLeg6VouWYI05g6klWb-d10c72Q8yFjV3JXccRVuveSReag0DN5wm9RcQgdP7YrLs4bSGNHL1wlKVrpqh8WhL9_xVcrcthQJ2XqnG2LByEVawULWp9Gd9Oc1OcClTiC3qgil1lazyHf/s320/image003-755462.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 Demo VM to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Product catalog <b>sample</b> Web Site using ASP.NET.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Web Site, ASP.NET, HTML5, JavaScript, JS, Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com0tag:blogger.com,1999:blog-4565800100410709901.post-66644879237084494512013-09-01T00:36:00.003-07:002013-09-01T00:44:46.613-07:00MVVM – Windows Phone 8 App using XAML/C#.NET Primer<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Windows Phone 8 App using XAML/C#.NET Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows Phone 8 Product catalog App using XAML/C#.NET</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts <b> </b> <b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll leverage Windows Phone 8 SDK for developing Windows Phone 8 App using XAML/C#.NET<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Visual C# > Windows Phone > Windows Phone App template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxfoKS23ep2FVVQfmFpXCmVTTjLswNfnqPNNvM0Om3y8K8xweCZEqY6NudT-epnb6rTYMnTIvc6hay_pN7eDwtI8WaXehyOQ8gs_BxCcpkeNr8yjuf16XVNnHeqDBqi0Oe_73nI6fNliSx/s1600/image001-719545.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555221492327842" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxfoKS23ep2FVVQfmFpXCmVTTjLswNfnqPNNvM0Om3y8K8xweCZEqY6NudT-epnb6rTYMnTIvc6hay_pN7eDwtI8WaXehyOQ8gs_BxCcpkeNr8yjuf16XVNnHeqDBqi0Oe_73nI6fNliSx/s320/image001-719545.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Target Windows Phone OS Version <o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNewnjAoYxWBDxBbQbtLbca4T0Oh9fqGoLwkuI_YivpJzQjURjS57lC5IbJSg2veV1xtBJ1p-6U8gruQGpWQJHo-26pamsnh0ByqUzfis9M_9BihU9nGX2F7r03f__YxTt-tkcf0TtMLy4/s1600/image002-722988.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555239279479698" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNewnjAoYxWBDxBbQbtLbca4T0Oh9fqGoLwkuI_YivpJzQjURjS57lC5IbJSg2veV1xtBJ1p-6U8gruQGpWQJHo-26pamsnh0ByqUzfis9M_9BihU9nGX2F7r03f__YxTt-tkcf0TtMLy4/s320/image002-722988.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog app<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNPRaZK5wJ-0YxqYDo_b0p0XKyXIq4GAEhvirAYbzB7GM15tzFgCssQ8bMhpvzNMUqZmY3fzlosKEF0DkFTWiobl921DlKnbEsAG5vbmx997cDp0CHWA1_xi3PHQhq3Wg1epcGJpMRKI_T/s1600/image003-726851.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555256662414818" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNPRaZK5wJ-0YxqYDo_b0p0XKyXIq4GAEhvirAYbzB7GM15tzFgCssQ8bMhpvzNMUqZmY3fzlosKEF0DkFTWiobl921DlKnbEsAG5vbmx997cDp0CHWA1_xi3PHQhq3Wg1epcGJpMRKI_T/s320/image003-726851.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the sake of clarity I created 3 folders for Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product class which has 2 attributes: ID and Name as a part of the model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Model</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneApp1.Model<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">string</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ID { </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">string</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Name { </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The view model encapsulates presentation logic and state. Please see below how I define ObservableCollection of products with respective method(s) (GetProducts) as a part of the view model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ViewModel</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.ComponentModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.ObjectModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> PhoneApp1.Model;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneApp1.ViewModel<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">private</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">> _Products = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">>();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">> Products<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">return</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> _Products;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> _Products = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">value</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">void</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> GetProducts()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product.ID = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product.Name = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Products.Add(product);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<o:p> </o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic. Please see below how I instantiate an object of view model class to retrieve a list of products<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View (ProductsPage.xaml.cs)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Net;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Windows;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Windows.Controls;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Windows.Navigation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Microsoft.Phone.Controls;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Microsoft.Phone.Shell;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> PhoneApp1.Model;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> PhoneApp1.ViewModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneApp1.View<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partial</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ProductsPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> : </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ProductsPage()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> InitializeComponent();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel.GetProducts();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.DataContext = productViewModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}</span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
And then I use bindings to link product metadata to respective UI elements for display<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XAML (ProductPage.xaml)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="PhoneApp1.View.ProductsPage"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">d</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/expression/blend/2008"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.openxmlformats.org/markup-compatibility/2006"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontFamily</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontFamilyNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontSize</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontSizeNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Foreground</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneForegroundBrush</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SupportedOrientations</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Orientation</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Ignorable</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="d"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SystemTray.IsVisible</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DataTemplate</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Key</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ProductDataTemplate"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Width</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="400"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="100"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Background</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="White"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.ColumnDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ColumnDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Width</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="100"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ColumnDefinition</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.ColumnDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Auto"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Border</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> BorderThickness</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="2"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> BorderBrush</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="White"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="100"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> VerticalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Top"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Background</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Black"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> TextWrapping</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Wrap"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Binding</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ID</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextNormalStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> VerticalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Center"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> HorizontalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Center"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Border</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> HorizontalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Left"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> TextWrapping</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Wrap"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Binding</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> VerticalAlignment</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Top"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextSubtleStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="10,5,10,0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Column</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Foreground</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Black"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DataTemplate</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--LayoutRoot is the root grid where all page content is placed--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="LayoutRoot"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Background</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Transparent"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Auto"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="*"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--TitlePanel contains the name of the application and page title--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StackPanel</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Row</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,17,0,28"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Product Catalog"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextNormalStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,0"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Product Catalog"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="9,-7,0,0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextTitle1Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StackPanel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--ContentPanel - place additional content here--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ContentPanel"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Row</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,0,12,0"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">phone</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">LongListSelector</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Name</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="ProductLongListSelector"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ItemsSource</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Products</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ItemTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductDataTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that LongListSelector control was specifically designed for phone scenarios and it is encouraged to use the LongListSelector instead of ListBox for phone apps</div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please note that I used ItemTemplate to define a style. You can easily generate ItemTemplate as shown below </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>Document Outline<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_TKFWPYsIYQBCsesDjX2xw23aPXviCmhNKzp-3WRhAwgySXJwU59pZb8H4jPJgCarGdnijrUcctL3Gkdse2oxJE310dcS_eOK0mgY5T__CNTlXP-q0FkERlWI8eP66_-ceg68MTiZCMCR/s1600/image004-730511.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555272551238514" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_TKFWPYsIYQBCsesDjX2xw23aPXviCmhNKzp-3WRhAwgySXJwU59pZb8H4jPJgCarGdnijrUcctL3Gkdse2oxJE310dcS_eOK0mgY5T__CNTlXP-q0FkERlWI8eP66_-ceg68MTiZCMCR/s320/image004-730511.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then define a style for any UI element as you wish<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ProductsPage.xaml (ProductDataTemplate)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="PhoneApp1.View.ProductsPage"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">d</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/expression/blend/2008"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.openxmlformats.org/markup-compatibility/2006"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontFamily</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontFamilyNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> FontSize</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneFontSizeNormal</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Foreground</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneForegroundBrush</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SupportedOrientations</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Orientation</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Portrait"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Ignorable</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="d"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> shell</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">SystemTray.IsVisible</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="True"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">phone</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">PhoneApplicationPage.Resources</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">DataTemplate</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Key</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="ProductDataTemplate"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Width</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="400"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Background</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="White"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.ColumnDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ColumnDefinition</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Width</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ColumnDefinition</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.ColumnDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.RowDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">RowDefinition</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Auto"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.RowDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Border</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> BorderThickness</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="2"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> BorderBrush</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="White"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Top"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Background</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Black"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">TextBlock</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> TextWrapping</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Wrap"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ID</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> PhoneTextNormalStyle</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Center"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> HorizontalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Center"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Border</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">TextBlock</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> HorizontalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Left"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> TextWrapping</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Wrap"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Name</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Top"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> PhoneTextSubtleStyle</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Margin</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="10,5,10,0"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Grid.Column</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="1"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Foreground</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Black"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">DataTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">phone</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">PhoneApplicationPage.Resources</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--LayoutRoot is the root grid where all page content is placed--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="LayoutRoot"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Background</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Transparent"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Auto"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="*"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--TitlePanel contains the name of the application and page title--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StackPanel</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Row</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,17,0,28"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Product Catalog"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextNormalStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,0"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Product Catalog"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="9,-7,0,0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PhoneTextTitle1Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StackPanel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--ContentPanel - place additional content here--></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ContentPanel"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Row</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Margin</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="12,0,12,0"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">LongListSelector</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ProductLongListSelector"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ItemsSource</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Binding</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Products</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ItemTemplate</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ProductDataTemplate</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">phone</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">PhoneApplicationPage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><o:p></o:p></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQNbEh-VzNzkkBlnhlk_HDuxxZcbfQVvZyNwvFbktlijQw5k4FBjuCc1rBTkKkWpHptxJNnv_Rk0EWFmEM8wFm0v_iCSSZvNSKF-WOkOGEnoayc5cqw3EDGp14YkgGb18zqKrxnEYETwP/s1600/image005-734341.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555285344467570" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDQNbEh-VzNzkkBlnhlk_HDuxxZcbfQVvZyNwvFbktlijQw5k4FBjuCc1rBTkKkWpHptxJNnv_Rk0EWFmEM8wFm0v_iCSSZvNSKF-WOkOGEnoayc5cqw3EDGp14YkgGb18zqKrxnEYETwP/s320/image005-734341.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 Demo VM to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows Phone 8 Product catalog <b>sample</b> App using XAML/C#.NET.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Windows Phone 8 App, C#.NET, XAML, Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com0tag:blogger.com,1999:blog-4565800100410709901.post-35880343841870027442013-09-01T00:36:00.001-07:002013-09-01T00:43:12.975-07:00MVVM – Windows 8 Store App using HTML5/JavaScript Primer<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Windows 8 Store App using HTML5/JavaScript Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog App using HTML5/JavaScript</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts<b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll develop Windows 8 Store App using HMTL5/JavaScript<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Other Languages > JavaScript > Windows Store > Blank App template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project</i><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4HPQn9b59q63TOqGepXOXu2rfF81Nn5KWxdoDrczL9GZMqCikdwKxqb0F-7c8CfmCumWKv0yYq2s05LojjuLX7jU9EI2r9KGbiPniRPAcjGYSLm2wy3nGTTRzL2kIFAOmOn87Te2tfXZ-/s1600/image001-774955.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555035124338354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4HPQn9b59q63TOqGepXOXu2rfF81Nn5KWxdoDrczL9GZMqCikdwKxqb0F-7c8CfmCumWKv0yYq2s05LojjuLX7jU9EI2r9KGbiPniRPAcjGYSLm2wy3nGTTRzL2kIFAOmOn87Te2tfXZ-/s320/image001-774955.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog app<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Solution Explorer<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCNGkNekTTjKACR2Xc6tYtM-2rRoiFdVVtH2qzPR4Z4tNad21OyWwy80sGxPZDG3YHoPA56QU2Hv2VouGW4Ec4z06n9ZGg_1ngi8twvPd2__rW5d8K0bvSVE1boPqdMKUV2-trh7Rnk1CK/s1600/image002-779445.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555058131781762" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCNGkNekTTjKACR2Xc6tYtM-2rRoiFdVVtH2qzPR4Z4tNad21OyWwy80sGxPZDG3YHoPA56QU2Hv2VouGW4Ec4z06n9ZGg_1ngi8twvPd2__rW5d8K0bvSVE1boPqdMKUV2-trh7Rnk1CK/s320/image002-779445.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review how I implemented Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product object (function) which has 2 attributes: ID and Name as a part of the model<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The view model encapsulates presentation logic and state. Please see below how I define ObservableArray of products with respective function(s) (GetProducts) as a part of the view model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Model and ViewModel: JavaScript (JS)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// For an introduction to the Blank template, see the following documentation:</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// http://go.microsoft.com/fwlink/?LinkId=232509</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">(</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">"use strict"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> WinJS.Binding.optimizeBindingReferences = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">true</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app = WinJS.Application;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">var</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> activation = Windows.ApplicationModel.Activation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.onactivated = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args.detail.kind === activation.ActivationKind.launch) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">if</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args.detail.previousExecutionState !== activation.ApplicationExecutionState.terminated) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application has been newly launched. Initialize</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// your application here.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> } </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">else</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application has been reactivated from suspension.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// Restore application state here.</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> args.setPromise(WinJS.UI.processAll());<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(id, name) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.id = ko.observable(id);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.name = ko.observable(name);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products = ko.observableArray();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.GetProducts = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> () {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> self.products.push(</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Product(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">));<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">//Main Execution</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">function</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> initialize() {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">var</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductViewModel();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel.GetProducts();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">// Activates knockout.js</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ko.applyBindings(productViewModel);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.oncheckpoint = </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">function</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> (args) {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// TODO: This application is about to be suspended. Save any state</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// that needs to persist across suspensions here. You might use the</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// WinJS.Application.sessionState object, which is automatically</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// saved and restored across suspension. If you need to complete an</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// asynchronous operation before your application is suspended, call</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// args.setPromise().</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> };<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> app.start();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">//If Document fully loaded than begin processing</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">document.addEventListener(</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"DOMContentLoaded"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">, initialize, </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">false</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">})();<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that Model and ViewModel definition is done in JavaScript (JS)<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
MVVM (Model-View-ViewModel) pattern implementation is different in JavaScript (JS) comparing to classic object-oriented languages such as C#.NET. Please note that JavaScript (JS) has objects which can contain data and methods that act upon that data. Objects can contain other objects. JavaScript (JS) does not have classes, but it does have constructors which do what classes do, including acting as containers for class variables and methods. JavaScript (JS) does not have class-oriented inheritance, but it does have prototype-oriented inheritance<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Now let's review a view </div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
Important to mention is that in order to link view and view model by means of binding I used the capabilities of knockout.js JavaScript (JS) library </div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
Knockout (ko) is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that update dynamically (e.g., changing depending on the user's actions or when an external data source changes), Knockout (ko) can help you implement it more simply and maintainably<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please find more info about Knockout (ko) JavaScript (JS) library here: <a href="http://knockoutjs.com/">http://knockoutjs.com</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic. Please see below how I iterate through the list of products and map view model object properties with elements of UI for display<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View: HTML</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DOCTYPE</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">meta</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">charset</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="utf-8"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">App2</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">title</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- WinJS references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">link</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">href</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/css/ui-dark.css"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">rel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="stylesheet"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/js/base.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">src</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="//Microsoft.WinJS.1.0/js/ui.js"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">script</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: darkgreen; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- App2 references --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">link</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">href</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/css/default.css"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">rel</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="stylesheet"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">link</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">href</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/css/stylesheet.css"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">rel</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="stylesheet"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/js/default.js"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">src</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="/js/knockout-2.3.0.js"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">script</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">head</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Product Catalog</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">h1</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">table</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="foreach: products"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="id"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: id"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">id</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="name"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">data-bind</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="text: name"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">td</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tr</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">tbody</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">table</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">body</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">html</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I created a CSS file to define a style<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Style: CSS (Stylesheet.css)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">table </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-top</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">margin-left</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">50px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></span><span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">td </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">1px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">border-style</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">solid</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">height</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">text-align</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">center</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#id</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">100px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: maroon; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">#name</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">width</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">400px</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">black</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">background-color</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">: </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">white</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I defined different styles to display product ID and Name<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzzVOi7pUuzsNYJz_7si-dFtAhc9EM6jN8Q7hPvAZd5pa8u7nVdTfY9ZEHMf0_5mmxYLAyrpm9YjhMPA8vN3RDB_z6owjpml7xjRBK4rjXNKl3raUHq6aPhIMMgQuvCZTnRRIYmJIOf76J/s1600/image003-785072.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918555076326957122" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzzVOi7pUuzsNYJz_7si-dFtAhc9EM6jN8Q7hPvAZd5pa8u7nVdTfY9ZEHMf0_5mmxYLAyrpm9YjhMPA8vN3RDB_z6owjpml7xjRBK4rjXNKl3raUHq6aPhIMMgQuvCZTnRRIYmJIOf76J/s320/image003-785072.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 Demo VM to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog <b>sample</b> App using HTML5/JavaScript.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Windows 8 Store App, HTML5, JavaScript, JS, Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .25in;">
<b></b> </div>
<div class="MsoNormal" style="margin-bottom: .25in;">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com0tag:blogger.com,1999:blog-4565800100410709901.post-34837642049090322412013-09-01T00:35:00.001-07:002013-09-01T00:41:37.048-07:00MVVM – Windows 8 Store App using XAML/C#.NET Primer<div class="WordSection1">
<div style="border-bottom: solid #5B9BD5 1.0pt; border: none; mso-element: para-border-div; padding: 0in 0in 4.0pt 0in;">
<div align="center" class="MsoTitle" style="text-align: center;">
<strong>MVVM – Windows 8 Store App using XAML/C#.NET Primer</strong></div>
<div align="center" class="MsoTitle" style="text-align: center;">
<strong><o:p></o:p></strong> </div>
</div>
<div class="MsoNormal">
<b>Purpose: </b>The purpose of this document is to illustrate how to how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog App using XAML/C#.NET</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<b>Challenge: </b>You may need to develop a modern application integrated with Microsoft Dynamics AX 2012 for the purposes of demonstration, POC or to be deployed in production environment. The question is what technology and architectural pattern to use in order to facilitate application development and maintenance efforts <b> </b> <o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Solution: </b>In this scenario we'll leverage Windows 8 SDK which contains headers, libraries and tools you need for developing Windows 8 Store App using XAML/C#.NET<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Walkthrough<o:p></o:p></b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
First off let's create a new project using Visual C# > Windows Store > Blank App (XAML) template<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>New Project<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLzEtv3k5Xmsl931h9FFeozSGtT9s_QKk25RRLJj3qGsXzTLmIJHLLg1Oc9KxLbTviq5_VFGm3-hvdM8wg-5K3HDlRZmCZK0nBQ4PBDVH4SPvxA8boZP2ad9PpVBVmp8mGBIQA36ldgJxe/s1600/image001-748734.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918554927606227394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLzEtv3k5Xmsl931h9FFeozSGtT9s_QKk25RRLJj3qGsXzTLmIJHLLg1Oc9KxLbTviq5_VFGm3-hvdM8wg-5K3HDlRZmCZK0nBQ4PBDVH4SPvxA8boZP2ad9PpVBVmp8mGBIQA36ldgJxe/s320/image001-748734.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Then we'll apply MVVM (Model-View-ViewModel) architectural pattern for development of Product catalog app</div>
<div class="MsoNormal">
<o:p></o:p> </div>
<div class="MsoNormal">
<i>Solution Explorer</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0aUUulTB-yQN1g_ne_inFWdFBrV-JT0EzRcxLT07M-nyZ1n_HSEUNOMLsJss94l1wDlNyA9XLVvmpjU_0PDsQocd4RZsw4x236UmOwDHEup5UYJ3J1HwsF61y-gYO0gGXw36VsNU-4laF/s1600/image002-754595.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918554944753938130" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0aUUulTB-yQN1g_ne_inFWdFBrV-JT0EzRcxLT07M-nyZ1n_HSEUNOMLsJss94l1wDlNyA9XLVvmpjU_0PDsQocd4RZsw4x236UmOwDHEup5UYJ3J1HwsF61y-gYO0gGXw36VsNU-4laF/s320/image002-754595.png" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
For the sake of clarity I created 3 folders for Model, View and ViewModel<o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
The model encapsulates business logic and data. Please see below how I define Product class which has 2 attributes: ID and Name as a part of the model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Model</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> App1.Model<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">string</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ID { </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">string</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Name { </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">; }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The view model encapsulates presentation logic and state. Please see below how I define ObservableCollection of products with respective method(s) (GetProducts) as a part of the view model<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>ViewModel</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Text;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Threading.Tasks;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.ComponentModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.ObjectModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> App1.Model;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> App1.ViewModel<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">class</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">private</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">> _Products = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">>();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ObservableCollection</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">> Products<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">get</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">return</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> _Products;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">set</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> _Products = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">value</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">public</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">async</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Task</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> GetProducts()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product.ID = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"X"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> product.Name = </span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">"AlexProductX"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Products.Add(product);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
The view encapsulates the UI and any UI logic. Please see below how I instantiate an object of view model class to retrieve a list of products<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>View (ProductsPage.xaml.cs)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Collections.Generic;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.IO;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> System.Linq;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.Foundation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.Foundation.Collections;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Controls;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Controls.Primitives;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Data;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Input;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Media;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">using</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Windows.UI.Xaml.Navigation;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> App1.Model;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">using</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> App1.ViewModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">// The Basic Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234237</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">namespace</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> App1<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">sealed</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">partial</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">class</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ProductsPage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> : App1.Common.</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">LayoutAwarePage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">public</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ProductsPage()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">this</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.InitializeComponent();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">protected</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">override</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">async</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> LoadState(</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Object</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> navigationParameter, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Dictionary</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">String</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Object</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> pageState)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel = </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">new</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ProductViewModel</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> productViewModel.GetProducts();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">this</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">.pageRoot.DataContext = productViewModel;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">protected</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">override</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">void</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SaveState(</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Dictionary</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">String</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">, </span><span style="background: white; color: #2b91af; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Object</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">> pageState)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}<o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
And then I use bindings to link product metadata to respective UI elements for display<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>XAML (ProductsPage.xaml)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">common</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">LayoutAwarePage</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pageRoot"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="App1.ProductsPage"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> DataContext</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Binding</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> DefaultViewModel</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">,</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> RelativeSource</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">={</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RelativeSource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Self</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}}"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">local</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="using:App1"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">common</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="using:App1.Common"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">d</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/expression/blend/2008"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.openxmlformats.org/markup-compatibility/2006"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> mc</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Ignorable</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="d"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Page.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- TODO: Delete this line if the key AppName is declared in App.xaml --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">String</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Key</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="AppName"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Product Catalog</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">String</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Page.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!--</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> This grid acts as a root panel for the page that defines two rows:</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> * Row 0 contains the back button and page title</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> * Row 1 contains the rest of the page layout</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> LayoutRootStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="140"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">RowDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Height</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="*"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.RowDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- Back button and page title --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.ColumnDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ColumnDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Width</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Auto"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ColumnDefinition</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Width</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="*"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid.ColumnDefinitions</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Button</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="backButton"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Click</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="GoBack"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> IsEnabled</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Binding</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Frame</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">.CanGoBack,</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> ElementName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">=pageRoot}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> BackButtonStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">TextBlock</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pageTitle"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Grid.Column</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="1"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Text</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> AppName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Style</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PageHeaderTextStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">GridView</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Name</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="ProductGridView"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> HorizontalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Left"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Top"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ItemsSource</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Products</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Grid.Row</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="1"</span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Margin</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="80,20"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ItemTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ProductDataTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualStateManager.VisualStateGroups</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- Visual states reflect the application's view state --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualStateGroup</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="ApplicationViewStates"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="FullScreenLandscape"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Filled"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- The entire page respects the narrower 100-pixel margin convention for portrait --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="FullScreenPortrait"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Storyboard</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="backButton"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetProperty</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Style"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DiscreteObjectKeyFrame</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> KeyTime</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> PortraitBackButtonStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Storyboard</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- The back button and title have different styles when snapped --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Name</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Snapped"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Storyboard</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="backButton"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetProperty</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Style"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DiscreteObjectKeyFrame</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> KeyTime</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SnappedBackButtonStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetName</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="pageTitle"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Storyboard.TargetProperty</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Style"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">DiscreteObjectKeyFrame</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> KeyTime</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="0"</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Value</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="{</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">StaticResource</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> SnappedPageHeaderTextStyle</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">}"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ObjectAnimationUsingKeyFrames</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Storyboard</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualState</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualStateGroup</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">VisualStateManager.VisualStateGroups</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Grid</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">common</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">LayoutAwarePage</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
Please note that I used ItemTemplate to define a style. You can easily generate ItemTemplate as shown below <o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Document Outline<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQzQNOCCp0pit80y_43MeIfP4OCaIaqwY-BJynPQeyOuFTrQB3oH7TjYD0AlhjVrsRccX_inuOzEVu80pxKuhrHOCjuiv9IlEgKI0xYdBwUAjExIwb3OtGOPtMz2xS8a_iNG1Xe7UnTRVT/s1600/image003-758414.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918554961133140018" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQzQNOCCp0pit80y_43MeIfP4OCaIaqwY-BJynPQeyOuFTrQB3oH7TjYD0AlhjVrsRccX_inuOzEVu80pxKuhrHOCjuiv9IlEgKI0xYdBwUAjExIwb3OtGOPtMz2xS8a_iNG1Xe7UnTRVT/s320/image003-758414.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
And then define a style for any UI element as you wish<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Template (App.xaml)</i></div>
<div class="MsoNormal">
<i><o:p></o:p></i> </div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: currentColor;"> <tbody>
<tr> <td style="border: solid windowtext 1.0pt; padding: 0in 5.4pt 0in 5.4pt; width: 467.5pt;" valign="top" width="623"><div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Application</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Class</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="App1.App"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml/presentation"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">x</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="http://schemas.microsoft.com/winfx/2006/xaml"</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> xmlns</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">:</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">local</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="using:App1"></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Application.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ResourceDictionary</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ResourceDictionary.MergedDictionaries</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><!-- </span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Styles that define common aspects of the platform look and feel</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Required by Visual Studio project and item templates</span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: green; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> --></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ResourceDictionary</span><span style="background: white; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> Source</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">="Common/StandardStyles.xaml"/></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ResourceDictionary.MergedDictionaries</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">DataTemplate</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> x</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">:</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Key</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="ProductDataTemplate"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Width</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="400"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Background</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="White"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.ColumnDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ColumnDefinition</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Width</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">ColumnDefinition</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.ColumnDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.RowDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">RowDefinition</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Auto"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid.RowDefinitions</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Border</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> BorderThickness</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="2"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> BorderBrush</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="White"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Height</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="100"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Top"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Background</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Black"></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">TextBlock</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> TextWrapping</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Wrap"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ID</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> ItemTextStyle</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Center"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> HorizontalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Center"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Border</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">TextBlock</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> HorizontalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Left"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> TextWrapping</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Wrap"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Text</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Binding</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Name</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> VerticalAlignment</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Top"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Style</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="{</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">StaticResource</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> GroupHeaderTextStyle</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">}"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Margin</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="10,5,10,0"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Grid.Column</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="1"</span><span style="background: yellow; color: red; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> Foreground</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">="Black"/></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">Grid</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"> </span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"></</span><span style="background: yellow; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">DataTemplate</span><span style="background: yellow; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;">></span><span style="background: yellow; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: yellow;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p> </o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">ResourceDictionary</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"> </span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Application.Resources</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; text-autospace: none;">
<span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"></</span><span style="background: white; color: #a31515; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">Application</span><span style="background: white; color: blue; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;">></span><span style="background: white; color: black; font-family: Consolas; font-size: 9.5pt; mso-highlight: white;"><o:p></o:p></span></div>
</td> </tr>
</tbody> </table>
<div class="MsoNormal">
<o:p> </o:p></div>
<div class="MsoNormal">
As the result our Product catalog application will look like below<o:p></o:p></div>
<div class="MsoNormal">
<i></i> </div>
<div class="MsoNormal">
<i>Result<o:p></o:p></i></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQFZSwg1zrITrD_-FJ03_KyK1c1A-UEsjCd_w4vjoFLTMb4ZvT3fTazDae-pnLv-KSoSYd3WU7OawTGt-onjKNEFRWcxL-_NC9cnFrykA_VN_7UmeeKlnNnMQGl35YSsUe0YDfcPgKBE1/s1600/image004-762924.jpg"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5918554980716836354" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqQFZSwg1zrITrD_-FJ03_KyK1c1A-UEsjCd_w4vjoFLTMb4ZvT3fTazDae-pnLv-KSoSYd3WU7OawTGt-onjKNEFRWcxL-_NC9cnFrykA_VN_7UmeeKlnNnMQGl35YSsUe0YDfcPgKBE1/s320/image004-762924.jpg" /></a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
Please review the following article to learn how to quickly connect your application to Microsoft Dynamics AX 2012 Demo VM to test out the integration: <a href="http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html"> http://ax2012aifintegration.blogspot.com/2013/04/microsoft-dynamics-ax-2012-windows-8.html</a><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
In case you are developing a mobile application for production please review the best practice guidance on Developing Mobile apps for Microsoft Dynamics AX 2012 here: <a href="http://www.microsoft.com/en-us/download/details.aspx?id=38413">http://www.microsoft.com/en-us/download/details.aspx?id=38413</a><o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Summary:</b> This document describes how to apply MVVM (Model-View-ViewModel) architectural pattern when developing Windows 8 Store Product catalog <b>sample</b> App using XAML/C#.NET.<o:p></o:p></div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"></span></b> </div>
<div class="MsoNormal">
<b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">Author</span></b><span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;">: </span><a href="mailto:%20ani.kiev@live.com">Alex Anikiev</a>, PhD, MCP<span style="color: #222222; font-family: "Arial","sans-serif"; font-size: 10pt; line-height: 106%;"><o:p></o:p></span></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Tags:</b> MVVM, Model-View-ViewModel, Windows 8 Store App, C#.NET, XAML, Microsoft Dynamics AX 2012.<o:p></o:p></div>
<div class="MsoNormal">
<b></b> </div>
<div class="MsoNormal">
<b>Note:</b> This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the concepts and describe the examples.<o:p></o:p></div>
</div>
Alex Anikievhttp://www.blogger.com/profile/13438665643699572584noreply@blogger.com0