Editor for specifying coordinates in Optimizely CMS.
Solution consists of one project for the add-on (GoogleMapsEditor
folder) and a website project for testing the editor (Testsite
folder).
The website project was set up using the Optimizely CMS empty Visual Studio template.
- Clone project
- Create an empty CMS database and update
appsettings.json
for theTestsite
project (or runcreate-db.bat
in the solution folder if you're usingLocalDB
) - Add a Google Maps API key to
appsettings.json
(orappsettings.user.json
) for theTestsite
project - Start
Testsite
project and browse to https://localhost:44300/ which will prompt you to create an admin user - Access the Optimizely UI through: https://localhost:44300/episerver/cms using the credentials of the admin user
- Create a new page of type
SamplePageType
- Configure a site in Optimizely
- Test the Google Maps editor
Note: The add-on does not include any template rendering, for example to show a map to site visitors. It only focuses on the CMS editing experience.
- Increment
<FileVersion>
number as required inGoogleMapsEditor.csproj
- Append preview version identifier, if any, to the
<PackageVersion>
element inGoogleMapsEditor.csproj
- Build project in
Release
mode - The NuGet package is stored in
bin\Release