Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 762 Bytes

File metadata and controls

19 lines (12 loc) · 762 Bytes

File

Using Omnia it is easy to provision different kinds of files to SharePoint. You can for example provision Page Layouts and Webpart Definitions, but also any other file you need.

The first thing you need to do is to add the file to your Visual Studio Project, inside a Tenant Resources folder. Then add the file to a Resource Mappings class as described here </fundamentals/resource-mappings>.

Note

You need to decorate your mappings differently based on the type of file you are adding (ex. for Page Layouts).

After creating the needed Resource Mappings, follow the steps in the section below matching your file type.

page-layout glue-page-layout webpart generic-file