Code That Creates a SalesBook Control

To create a salesbook control, you add the following code to the views.xml file:

<str key="channel_partner:salesbook">
  <![CDATA[<?xml version="1.0"?>
    <view>
      <viewname>Phone List</viewname>
      <viewstyle>table-layout:fixed;width:100%;font-family:Segoe UI;font-
style:normal;font-weight:normal;font-size:8pt;color:Black;font-charset:0</
viewstyle>
      <viewtime>0</viewtime>
      <linecolor>8421504</linecolor>
      <linestyle>3</linestyle>
      <gridlines>1</gridlines>
      <newitemrow>1</newitemrow>
      <collapsestate/>
      <rowstyle>background-color:window;color:windowtext</rowstyle>
      <headerstyle>background-color:#D3D3D3</headerstyle>
      <previewstyle/>
      <arrangement>
        <autogroup>0</autogroup>
        <collapseclient/>
      </arrangement>
      <multiline>
        <width>0</width>
      </multiline>
      <column>
        <name>HREF</name>
        <prop>DAV:href</prop>
        <checkbox>1</checkbox>
      </column>
      <column>
        <heading>Last Name</heading>
        <prop>urn:schemas:contacts:sn</prop>
        <type>string</type>
        <width>322</width>
        <style>padding-left:3px;;text-align:left</style>
        <editable>1</editable>
      </column>
      <column>
        <type>string</type>
        <heading>Location</heading>
        <prop>http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-
000000000046}/sbl%20Location</prop>
        <width>322</width>
        <style>padding-left:3px;;text-align:left</style>
        <editable>1</editable>
        <userheading>Location</userheading>
      </column>
      <orderby>
        <order>
          <heading>File As</heading>
          <prop>urn:schemas:contacts:fileas</prop>
          <type>string</type>
          <sort>asc</sort>
        </order>
      </orderby>
      <groupbydefault>0</groupbydefault>
      <previewpane>
        <markasread>0</markasread>
      </previewpane>
    </view>]]>
</str>