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 See Also section of the first recipe.

Note

Errors in customizing the ribbon elements can result in the element to be added being not displaying at all, or even making the whole ribbon non-functional. Please do your testing in an environment where you are not affecting any other processes, and most importantly, do not try to do this directly in a production environment.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.177.85