This is our Blueprint Project for an Umbraco Property Editor.
Click the Use this template button to create a new copy of this repository in your own account. Then clone that new repository down to your local machine and get started:
- Find the
src/package.entfile and change the constants in there - You may want to change a few things in the
package.xmlandmanifest.xmlfiles as well - Look for
TODO,EDITOR_NAMEandEDITOR_ALIASin various files and change accordingly - Edit/add/remove files in the
src/folder and update the files section in thepackage.xmlfile - Edit the
PropertyConverter(V[78])?.csfiles as well - Edit this README to describe your new property editor :)
- Build and publish your package!
On macOS you can run the build.sh script from the terminal, which will
build a ZIP file in the dist folder that is installable from
Umbraco 8's Packages section or Umbraco 7's Developer > Packages section.
The build script versions the files so it's easier to test the package inside an Umbraco installation by uninstalling the existing version and then installing a new build. Existing data-types keep their data as long as their alias and/or storage type isn't changed.
To update the version number, increment the packageVersion entity in the
src/package.ent file.
The nuget-build-sh makes use of the nuget CLI (so you'll need to have .NET installed)
to build a .nupkg file, ready for uploading to nuget.org.
If you're using Nova you can use the supplied Nuget v10 Build task; otherwise you should
make sure to supply the UMB_VERSION environment variable, e.g.:
# In the project's root directory
> UMB_VERSION=v10 nuget-build.shTo update the version number, increment the packageVersionV10 entity in the
src/package.ent file.