﻿<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Single View Helper 1</title>
<style>
body {
    background-color: transparent;
    margin: 0px 5px 0px 5px;
    padding: 0px 5px 0px 5px;
    font-family: Segoe UI,Tahoma,Arial;
    font-size: 12px;
}
h3 {
    color: #666666;
    font-family: "Segoe UI",Tahoma,Arial;
    font-weight:bold;
    display: block;
    height: 15px;
    margin-bottom: 10px;
}
.leftCol {
    display: block;
    width: 45%;
    float: left;
}
.rightCol {
    display: block;
    width: 45%;
    float: left;
}
#nextBestActions {
    margin: auto;
    display: block;
}
.msIntro {
        margin-bottom: 5px;
}
.msExplain {
        margin-bottom: 5px;
}
</style>
</head>
<body>
    <div class="leftCol">
        <h3 class="selected">HORIZONTAL TAB DEFINITION</h3>
        <div id="nextBestActions">
            <div class="msIntro">
                Complete the relevant fields below for each of the 4 horizontal tabs to define the tab content and layout: 
            </div>
            <ul>
                <li class="msExplain">Name: The heading to be displayed for this tab.</li>
                <li class="msExplain">Content: Select <b>Tiles</b> for a tile-based user experience,
                <b>CRM Web Resource</b> to display a custom web resource like an image or html file,
                or <b>Not Used</b> if the tab should not be rendered. The current version does not yet support <b>CRM Charts</b>.</li>
                <li class="msExplain">Name: The heading to be displayed for this tab.</li>
                <li class="msExplain">Content: Select <I>Tiles</I> for a tile-based user experience,
                    <I>CRM Web Resource</I> to display a custom web resource like an image or html file,
                    or <I>Not Used</I> if the tab should not be rendered. The current version does not yet support <b>CRM Charts</b>
                </li>
                <li class="msExplain">Tile Layout: Select <b>Small</b> or <b>Medium</b> to determine the Tile size.
                    The values <b>Large</b>, <b>Case Process</b> and <b>Opportunity Process</b> are not yet implemented.
                </li>
                <li class="msExplain">URL: The relative URL of the web resource to display (only relevant if
                    Content set to <b>Web Resource</b>.</li>
                <li class="msExplain">Entity: The name for the Entity to be rendered in the tab, using the ODATA
                format, e.g. <b>OpportunitySet</b> or <b>new_customentitySet</b>, case-sensitive!
                </li>
            </ul>
        </div>
    </div>
    <div class="rightCol">
        <h3 class="selected">TILE DEFINITION</h3>
        <div id="quickButtons">
            <div class="msIntro">
                To define the records that will be rendered on the tiles, enter the following information:
            </div>
            <ul>
                <li class="msExplain">Primary Key: The field containing the Guid for the Entity above, listed
                        in the CRM field list with the data type Primary Key, e.g. OpportunityId.
                </li>
                <li class="msExplain">Foreign Key: The field on this Entity containing the relationship back to the entity on
                        which the Single View will be rendered (typically the Account or Contact record), e.g. <b>ParentContactId</b>.
                </li>
                <li class="msExplain">Filter: Select whether to include all <b>Child Records</b> or <b>Active Child Records</b>;
                        for advanced scenarios select <b>Child Records + Custom Filter</b>, <b>Active Child Records + Custom Filter</b>
                    or <b>Custom Filter Only</b>. Use in conjunction with the Custom Filter field below.
                </li>
                <li class="msExplain">Custom Filter: ODATA filter expression for this entity, e.g. <b>StateCode/Value eq 0</b>
                    or <b>startswith(Name,"W")</b>
                </li>
                <li class="msExplain">Zone1-3,Title: The name for the field on the Entity to be rendered on the Tile,
                    using the ODATA format, e.g. <b>CloseProbability</b> or <b>new_MyField</b>, case sensitive! The
                    correct spelling is displayed in the <i>second</i> column (Schema Name) when looking at the field list for the Entity
                    in a solution.
                </li>
                <li class="msExplain">Zone1-3,Title Formatters: Specifies how the raw data returned from the ODATA service should be processed
                    before display on the Tiles. Use <b>None</b> for simple text fields. Match <b>Currency</b>,<b>Date</b> and <b>Option Set</b> field types.
                    Use <b>Custom Javascript Function</b> to format the fields using your own Javascript handler.
                </li>
                <li class="msExplain">Additional Fields: Fields to be retrieved and made available to
                    Custom Javascript handlers. 
                </li>
            </ul>
        </div>
    </div>  
</body>
</html>