Office Add-in Developer Community (PnP) – February 2021 update

Published Mar 19 2021 02:01 AM 861 Views
Microsoft

The Office Add-ins developer platform team has new updates to share this month on Office Add-ins Patterns and Practices. PnP is a community effort, so if you are interested in contributing, see our good first issue list.

Create custom contextual tabs on the ribbon

create-custom-contextual-tabs-on-the-ribbon.png

This sample shows how to create a custom contextual tab on the ribbon in the Office UI. The sample creates a table, and when the user moves the focus inside the table, the custom tab is displayed. When the user moves outside the table, the custom tab is hidden.

Contributors

Thank you to our contributors who are actively helping each month with the PnP-OfficeAddins community effort.

Want to contribute?

PnP is a community effort by developers like you. Check out our good first issue list as a great place to help with some samples. Feel free to contribute to existing samples or create new ones.

About Office Add-ins Patterns & Practices (PnP)

Office Add-ins PnP is a Microsoft-led, community driven effort that helps developers extend, build, and provision customizations on the Office platform the right way by providing guidance and help through official documentation and open source initiatives. The source is maintained in GitHub where anyone can participate. You can provide contributions to the samples, reusable components, and documentation. Office Add-ins PnP is owned and coordinated by Office engineering teams, but the work is done by the community for the community.

You can find code samples for Office Add-in development in the Office Add-ins PnP repo. Some samples are also documented in the Office Add-ins docs, such as Open in Excel.

Additional resources

Learn more by joining the monthly Office Add-ins community call.

%3CLINGO-SUB%20id%3D%22lingo-sub-2220994%22%20slang%3D%22en-US%22%3EOffice%20Add-in%20Developer%20Community%20(PnP)%20%E2%80%93%20February%202021%20update%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2220994%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Office%20Add-ins%20developer%20platform%20team%20has%20new%20updates%20to%20share%20this%20month%20on%20Office%20Add-ins%20Patterns%20and%20Practices.%20PnP%20is%20a%20community%20effort%2C%20so%20if%20you%20are%20interested%20in%20contributing%2C%20see%20our%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP-OfficeAddins%2Fissues%3Fq%3Dis%253Aissue%2Bis%253Aopen%2Blabel%253A%2522good%2Bfirst%2Bissue%2522%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Egood%20first%20issue%20list%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--498424780%22%20id%3D%22toc-hId--498424780%22%3E%3CSTRONG%3ECreate%20custom%20contextual%20tabs%20on%20the%20ribbon%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F265357i148C0E9A32C90210%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20alt%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThis%20sample%20shows%20how%20to%20create%20a%20custom%20contextual%20tab%20on%20the%20ribbon%20in%20the%20Office%20UI.%20The%20sample%20creates%20a%20table%2C%20and%20when%20the%20user%20moves%20the%20focus%20inside%20the%20table%2C%20the%20custom%20tab%20is%20displayed.%20When%20the%20user%20moves%20outside%20the%20table%2C%20the%20custom%20tab%20is%20hidden.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECheck%20out%20the%20code%20sample%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP-OfficeAddins%2Ftree%2Fmaster%2FSamples%2Foffice-contextual-tabs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20custom%20contextual%20tabs%20on%20the%20ribbon%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ECheck%20out%20the%20docs%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Fdesign%2Fcontextual-tabs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20custom%20contextual%20tabs%20in%20Office%20Add-ins%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-1989088053%22%20id%3D%22toc-hId-1989088053%22%3E%3CSTRONG%3EContributors%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EThank%20you%20to%20our%20contributors%20who%20are%20actively%20helping%20each%20month%20with%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP-OfficeAddins%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EPnP-OfficeAddins%3C%2FA%3E%20community%20effort.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fmvp.microsoft.com%2Fen-us%2FPublicProfile%2F33535%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMaarten%20van%20Stam%3C%2FA%3E%20-%20helping%20review%20PRs%20and%20issues%20on%20PnP-OfficeAddins%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-181633590%22%20id%3D%22toc-hId-181633590%22%3E%3CSTRONG%3EWant%20to%20contribute%3F%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EPnP%20is%20a%20community%20effort%20by%20developers%20like%20you.%20Check%20out%20our%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP-OfficeAddins%2Fissues%3Fq%3Dis%253Aissue%2Bis%253Aopen%2Blabel%253A%2522good%2Bfirst%2Bissue%2522%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Egood%20first%20issue%20list%3C%2FA%3E%20as%20a%20great%20place%20to%20help%20with%20some%20samples.%20Feel%20free%20to%20contribute%20to%20existing%20samples%20or%20create%20new%20ones.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1625820873%22%20id%3D%22toc-hId--1625820873%22%3E%3CSTRONG%3EAbout%20Office%20Add-ins%20Patterns%20%26amp%3B%20Practices%20(PnP)%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3EOffice%20Add-ins%20PnP%20is%20a%20Microsoft-led%2C%20community%20driven%20effort%20that%20helps%20developers%20extend%2C%20build%2C%20and%20provision%20customizations%20on%20the%20Office%20platform%20the%20right%20way%20by%20providing%20guidance%20and%20help%20through%20official%20documentation%20and%20open%20source%20initiatives.%20The%20source%20is%20maintained%20in%20GitHub%20where%20anyone%20can%20participate.%20You%20can%20provide%20contributions%20to%20the%20samples%2C%20reusable%20components%2C%20and%20documentation.%20Office%20Add-ins%20PnP%20is%20owned%20and%20coordinated%20by%20Office%20engineering%20teams%2C%20but%20the%20work%20is%20done%20by%20the%20community%20for%20the%20community.%3C%2FP%3E%0A%3CP%3EYou%20can%20find%20code%20samples%20for%20Office%20Add-in%20development%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2FPnP-OfficeAddins%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOffice%20Add-ins%20PnP%20repo%3C%2FA%3E.%20Some%20samples%20are%20also%20documented%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Foffice%2Fdev%2Fadd-ins%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOffice%20Add-ins%20docs%3C%2FA%3E%2C%20such%20as%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Foffice%2Fdev%2Fadd-ins%2Fexcel%2Fpnp-open-in-excel%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOpen%20in%20Excel%3C%2FA%3E.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-861691960%22%20id%3D%22toc-hId-861691960%22%3E%3CSTRONG%3EAdditional%20resources%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EGet%20started%20with%20Office%20development%20by%20joining%20the%20%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Foffice%2Fdev-program%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20365%20developer%20program%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ETry%20out%20some%20samples%20and%20get%20coding%20quickly%20with%20Office%20add-ins%20by%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fgarage%2Fprofiles%2Fscript-lab%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edownloading%20Script%20Lab%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ELearn%20more%20by%20joining%20the%20monthly%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fofficeaddinscommunitycall%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOffice%20Add-ins%20community%20call%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2220994%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F265356i461C7FC0B874BBDE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20alt%3D%22create-custom-contextual-tabs-on-the-ribbon.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20Office%20Add-ins%20developer%20platform%20team%20has%20new%20updates%20to%20share%20this%20month%20on%20Office%20Add-ins%20Patterns%20and%20Practices.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Mar 19 2021 02:03 AM
Updated by: