Answered by:
How can I add a toolbar button?

Question
-
Hello:
I'm new to CRM and this will be my first approach to programming it. We have a salesorder form with a print button in the toolbar. Now we want to add a new button to print a different report for the salesorder. How can I do that?
Thanks in advance...
Pablo.Thursday, April 30, 2009 8:17 PM
Answers
-
You can add custom menus, buttons, and navigation areas to Microsoft Dynamics CRM by modifying the XML in the ISV.Config. Configure these controls with a URL to launch your page when they are clicked or add JavaScript to take actions on the form or interact with web services. You can pass parameters that contain data from Microsoft Dynamics CRM to the page so that data can be processed in the logic of the page.
To modify navigation areas found the Application Navigation pane, modify the XML in the SiteMap. This allows you to and new navigation areas to include another Web application within Microsoft Dynamics CRM or re-organize how the navigation is presented to users.
Adding client extension controls using the ISV.Config or SiteMap are the primary means to integrate other applications into Microsoft Dynamics CRM.
Note Beyond adding custom buttons, menus and navigation areas, developers cannot change the functionality of the Microsoft Dynamics CRM application. It is not supported for developers to modify, re-use, or inherit functionality from Microsoft Dynamics CRM controls.
For detailed information, see Application Navigation Configuration and Adding Client Extension Controls
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Proposed as answer by Nishant RanaMVP Friday, May 1, 2009 10:28 AM
- Marked as answer by DavidJennawayMVP, Moderator Monday, June 1, 2009 12:26 PM
Thursday, April 30, 2009 8:29 PMModerator
All replies
-
You can add custom menus, buttons, and navigation areas to Microsoft Dynamics CRM by modifying the XML in the ISV.Config. Configure these controls with a URL to launch your page when they are clicked or add JavaScript to take actions on the form or interact with web services. You can pass parameters that contain data from Microsoft Dynamics CRM to the page so that data can be processed in the logic of the page.
To modify navigation areas found the Application Navigation pane, modify the XML in the SiteMap. This allows you to and new navigation areas to include another Web application within Microsoft Dynamics CRM or re-organize how the navigation is presented to users.
Adding client extension controls using the ISV.Config or SiteMap are the primary means to integrate other applications into Microsoft Dynamics CRM.
Note Beyond adding custom buttons, menus and navigation areas, developers cannot change the functionality of the Microsoft Dynamics CRM application. It is not supported for developers to modify, re-use, or inherit functionality from Microsoft Dynamics CRM controls.
For detailed information, see Application Navigation Configuration and Adding Client Extension Controls
Scott Sewell, CustomerEffective | http:\\blog.CustomerEffective.com | Twitter:@ScottSewell- Proposed as answer by Nishant RanaMVP Friday, May 1, 2009 10:28 AM
- Marked as answer by DavidJennawayMVP, Moderator Monday, June 1, 2009 12:26 PM
Thursday, April 30, 2009 8:29 PMModerator -
Hello:
I'm new to CRM and this will be my first approach to programming it. We have a salesorder form with a print button in the toolbar. Now we want to add a new button to print a different report for the salesorder. How can I do that?
Thanks in advance...
Pablo.
You can reach this goal by modifying ISV config with adding elements to the entity/grid node.
Look this article .
In your case you have to modify entity salesorder:
<Entity name="salesorder"> <Grid> <MenuBar> <Buttons> <Button JavaScript="<Calling your report>"> <Titles> <Title LCID="1033" Text="Custom Report" /> </Titles> <ToolTips> <Title LCID="1033" Text="Custom Report Executing" /> </ToolTips> </Button> </Buttons> </MenuBar> </Grid> </Entity>
Истина открывается подготовленному уму. Мой блог - http://a33ik.blogspot.comThursday, April 30, 2009 8:37 PMModerator