Chapter 8. Working with Ribbon Elements

In this chapter, we will cover:

  • Adding a new ribbon button
  • Removing ribbon artefacts
  • Starting a dialog/workflow from a ribbon button
  • Pre-populating form elements with a button click
  • Creating other ribbon artefacts
  • Security trimmed ribbon elements
  • Using the ribbon for displaying information

Introduction

This chapter focuses on working with the ribbon and elements contained within it. We will start with small steps in adding a simple button and proceed into more advanced topics around actions and customizations. We will close this chapter with an example of using the ribbon as a container for elements other than buttons.

Working with the ribbon elements involves working with a lot of XML. For references on XML see the ...

Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.