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.jsonfor theTestsiteproject (or runcreate-db.batin the solution folder if you're usingLocalDB) - Add a Google Maps API key to
appsettings.json(orappsettings.user.json) for theTestsiteproject - Start
Testsiteproject 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
Releasemode - The NuGet package is stored in
bin\Release