bayareacrm
2008-03-07 08:28:01 UTC
Hello,
After enabline isv integration in 4.0, I can see in the Accounts detail
level toolbar the sample isv buttons, but when I goto Contacts detail
toolbar, none are visible.
I just added a button to the detail level toolbar in CRM 4.0. It was added
basically to the same place as my old 3.0 in the isv.config, but after adding
it wasn't visible.
I then went to the ReadyServer image from Microsoft, and noticed that the
isv.config was not present! (isv.xsd was present and accounted for).
Since I could see the isv buttons in the account entity detail toolbar, I
added my custom button to the account detail thinking there was something up
with my contact xml, and although at least I see the isv buttons, I did not
see my custom button.
This is a fresh install and there should be no reason why I can't add a
simple button - I've (unnecessarily) restarted IIS, closed the app, squeezed
my stress-ball, nothing works.
After beating my brains out for about 3 hours, I decided to ask my friends
in the newsgroup... My button is in the code below, in the button called
"clone contact"
Michael
<ToolBarSpacer />
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" PassParams="1"
WinParams="" WinMode="1" />
<Button Title="Web Only" ToolTip="Web client only. This will not
show up in any outlook pages." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Web" />
<Button Title="Outlook Only" ToolTip="Outlook Only - This is
available offline also." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Outlook" AvailableOffline="true" />
</ToolBar>
<!-- The Account Left Nav Bar -->
<NavBar>
<!--
Valid Areas Include
===================
Sales
Marketing
Service
Info
-->
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Default"
Url="http://www.microsoft.com" Id="navItem" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Web Only"
Url="http://www.microsoft.com" Id="navItemWeb" Client="Web" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Outlook Only"
Url="http://www.microsoft.com" Id="navItemOutlook" Client="Outlook"
AvailableOffline="true" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Sales"
Url="http://www.microsoft.com" Id="navSalesItem" Area="Sales" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Info"
Url="http://www.microsoft.com" Id="navInfoItem" Area="Info" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Marketing"
Url="http://www.microsoft.com" Id="navMarketingItem" Area="Marketing" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Service"
Url="http://www.microsoft.com" Id="navServiceItem" Area="Service" />
</NavBar>
<Grid>
<MenuBar>
<ActionsMenu>
<MenuItem Title="Coming Soon..." Url="http://www.microsoft.com"
WinMode="1" />
<MenuSpacer />
<SubMenu Title="Sub Test">
<MenuItem Title="Test Sub 1" Url="http://www.microsoft.com" />
<MenuSpacer />
<MenuItem Title="Test Sub 2" />
<MenuItem Title="Web Only" Client="Web" />
<MenuItem Title="Outlook Only" Client="Outlook"
AvailableOffline="true" />
</SubMenu>
<MenuItem Title="Web Only" Client="Web" />
<MenuItem Title="Outlook Only" Client="Outlook"
AvailableOffline="true" />
</ActionsMenu>
<Buttons>
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" WinParams=""
WinMode="2" />
<ToolBarSpacer />
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" WinParams=""
WinMode="1" />
<Button Title="Web Only" ToolTip="Web client only. This will
not show up in any outlook pages." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Web" />
<Button Title="Outlook Only" ToolTip="Outlook Only - This is
available offline also." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Outlook" AvailableOffline="true" />
</Buttons>
</MenuBar>
</Grid>
</Entity>
<Entity name="contact">
<ToolBar ValidForCreate="0" ValidForUpdate="1">
<Button
Title="Clone Contact"
ToolTip="Create a copy of this contact"
Icon="/CloneContact/contactclone.gif"
Url="/CloneContact/CloneContact.htm"
WinMode="1"
WinParams="dialogHeight:100px;dialogWidth:300px;"
/>
</ToolBar>
</Entity>
<Entity name="contact" />
<Entity name="lead" />
<Entity name="opportunity" />
<Entity name="list" />
<Entity name="campaign" />
<Entity name="campaignactivity" />
<Entity name="campaignresponse" />
<Entity name="incident" />
<!-- Case -->
<Entity name="quote" />
<Entity name="salesorder" />
<!-- Order -->
<Entity name="invoice" />
<!-- Custom Entities -->
<!-- <Entity name="myEntity"/> -->
<!-- End Custom Entities -->
</Entities>
<!-- Microsoft Customer Relationship Management Service Management
Customization -->
<ServiceManagement>
<AppointmentBook>
<SmoothScrollLimit>2000</SmoothScrollLimit>
<TimeBlocks>
<!-- All CSS Class mapping for Service actiivties -->
<TimeBlock EntityType="4214" StatusCode="1"
CssClass="ganttBlockServiceActivityStatus1" />
<TimeBlock EntityType="4214" StatusCode="2"
CssClass="ganttBlockServiceActivityStatus2" />
<TimeBlock EntityType="4214" StatusCode="3"
CssClass="ganttBlockServiceActivityStatus3" />
<TimeBlock EntityType="4214" StatusCode="4"
CssClass="ganttBlockServiceActivityStatus4" />
<TimeBlock EntityType="4214" StatusCode="6"
CssClass="ganttBlockServiceActivityStatus6" />
After enabline isv integration in 4.0, I can see in the Accounts detail
level toolbar the sample isv buttons, but when I goto Contacts detail
toolbar, none are visible.
I just added a button to the detail level toolbar in CRM 4.0. It was added
basically to the same place as my old 3.0 in the isv.config, but after adding
it wasn't visible.
I then went to the ReadyServer image from Microsoft, and noticed that the
isv.config was not present! (isv.xsd was present and accounted for).
Since I could see the isv buttons in the account entity detail toolbar, I
added my custom button to the account detail thinking there was something up
with my contact xml, and although at least I see the isv buttons, I did not
see my custom button.
This is a fresh install and there should be no reason why I can't add a
simple button - I've (unnecessarily) restarted IIS, closed the app, squeezed
my stress-ball, nothing works.
After beating my brains out for about 3 hours, I decided to ask my friends
in the newsgroup... My button is in the code below, in the button called
"clone contact"
Michael
<ToolBarSpacer />
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" PassParams="1"
WinParams="" WinMode="1" />
<Button Title="Web Only" ToolTip="Web client only. This will not
show up in any outlook pages." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Web" />
<Button Title="Outlook Only" ToolTip="Outlook Only - This is
available offline also." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Outlook" AvailableOffline="true" />
</ToolBar>
<!-- The Account Left Nav Bar -->
<NavBar>
<!--
Valid Areas Include
===================
Sales
Marketing
Service
Info
-->
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Default"
Url="http://www.microsoft.com" Id="navItem" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Web Only"
Url="http://www.microsoft.com" Id="navItemWeb" Client="Web" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Outlook Only"
Url="http://www.microsoft.com" Id="navItemOutlook" Client="Outlook"
AvailableOffline="true" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Sales"
Url="http://www.microsoft.com" Id="navSalesItem" Area="Sales" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Info"
Url="http://www.microsoft.com" Id="navInfoItem" Area="Info" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Marketing"
Url="http://www.microsoft.com" Id="navMarketingItem" Area="Marketing" />
<NavBarItem Icon="/_imgs/ico_18_debug.gif" Title="ISV Service"
Url="http://www.microsoft.com" Id="navServiceItem" Area="Service" />
</NavBar>
<Grid>
<MenuBar>
<ActionsMenu>
<MenuItem Title="Coming Soon..." Url="http://www.microsoft.com"
WinMode="1" />
<MenuSpacer />
<SubMenu Title="Sub Test">
<MenuItem Title="Test Sub 1" Url="http://www.microsoft.com" />
<MenuSpacer />
<MenuItem Title="Test Sub 2" />
<MenuItem Title="Web Only" Client="Web" />
<MenuItem Title="Outlook Only" Client="Outlook"
AvailableOffline="true" />
</SubMenu>
<MenuItem Title="Web Only" Client="Web" />
<MenuItem Title="Outlook Only" Client="Outlook"
AvailableOffline="true" />
</ActionsMenu>
<Buttons>
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" WinParams=""
WinMode="2" />
<ToolBarSpacer />
<Button Title="Test" ToolTip="Info on Test"
Icon="/_imgs/ico_18_debug.gif" Url="http://www.microsoft.com" WinParams=""
WinMode="1" />
<Button Title="Web Only" ToolTip="Web client only. This will
not show up in any outlook pages." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Web" />
<Button Title="Outlook Only" ToolTip="Outlook Only - This is
available offline also." Icon="/_imgs/ico_18_debug.gif"
JavaScript="alert('test');" Client="Outlook" AvailableOffline="true" />
</Buttons>
</MenuBar>
</Grid>
</Entity>
<Entity name="contact">
<ToolBar ValidForCreate="0" ValidForUpdate="1">
<Button
Title="Clone Contact"
ToolTip="Create a copy of this contact"
Icon="/CloneContact/contactclone.gif"
Url="/CloneContact/CloneContact.htm"
WinMode="1"
WinParams="dialogHeight:100px;dialogWidth:300px;"
/>
</ToolBar>
</Entity>
<Entity name="contact" />
<Entity name="lead" />
<Entity name="opportunity" />
<Entity name="list" />
<Entity name="campaign" />
<Entity name="campaignactivity" />
<Entity name="campaignresponse" />
<Entity name="incident" />
<!-- Case -->
<Entity name="quote" />
<Entity name="salesorder" />
<!-- Order -->
<Entity name="invoice" />
<!-- Custom Entities -->
<!-- <Entity name="myEntity"/> -->
<!-- End Custom Entities -->
</Entities>
<!-- Microsoft Customer Relationship Management Service Management
Customization -->
<ServiceManagement>
<AppointmentBook>
<SmoothScrollLimit>2000</SmoothScrollLimit>
<TimeBlocks>
<!-- All CSS Class mapping for Service actiivties -->
<TimeBlock EntityType="4214" StatusCode="1"
CssClass="ganttBlockServiceActivityStatus1" />
<TimeBlock EntityType="4214" StatusCode="2"
CssClass="ganttBlockServiceActivityStatus2" />
<TimeBlock EntityType="4214" StatusCode="3"
CssClass="ganttBlockServiceActivityStatus3" />
<TimeBlock EntityType="4214" StatusCode="4"
CssClass="ganttBlockServiceActivityStatus4" />
<TimeBlock EntityType="4214" StatusCode="6"
CssClass="ganttBlockServiceActivityStatus6" />