Lengoo.Connector.Optimizely 1.2.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Lengoo.Connector.Optimizely --version 1.2.4
NuGet\Install-Package Lengoo.Connector.Optimizely -Version 1.2.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lengoo.Connector.Optimizely" Version="1.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lengoo.Connector.Optimizely --version 1.2.4
#r "nuget: Lengoo.Connector.Optimizely, 1.2.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lengoo.Connector.Optimizely as a Cake Addin
#addin nuget:?package=Lengoo.Connector.Optimizely&version=1.2.4

// Install Lengoo.Connector.Optimizely as a Cake Tool
#tool nuget:?package=Lengoo.Connector.Optimizely&version=1.2.4

Installation Steps

Install the latest Lengoo.Connector.Optimizely Nuget package to the startup Web project in your solution. You can do this within your IDE (e.g. Visual Studio) directly, or from your command/terminal, while in the Optimizely 12 site's folder, by running the following command:

    dotnet add package Lengoo.Connector.Optimizely

This will add the Lengoo connector to your Optimizely project. On the first build, the module will be added to the protected modules folder.

    dotnet build -c Release

You will now need to configure the Lengoo section in appsettings.json file according to your needs. In your appsettings.json file add the following section and replace the relevant placeholders with your Lengoo credentials.

 "Lengoo": {
    "environment": "Sandbox",
    "apiCredentials": {
      "clientId": "<YourClientID>",
      "token": "<YourClientToken>"
    },
    "seoGroupsMap": { "groupNames": "Metadata" }
  }

You can replace Sandbox with Production when you want to use the Live Lengoo APIs rather than the Sanbox versions.

Now, make sure that the EPIServer section of appsettings.json will include all the protected modules as depicted below:

    "EPiServer": {
        "CmsUI": {
            "ProtectedModule": {
                "RootPath": "~/EPiServer/",
                "Items": [
                { "Name": "Shell" },
                { "Name": "CMS" },
                { "Name": "EPiServer.Cms.TinyMce" },
                { "Name": "Lengoo.Connector.Episerver" },
                { "Name": "EPiServer.Labs.LanguageManager" }
                ]
            },
            "publicModules": {
                "rootPath": "~/modules/",
                "autoDiscovery": "Modules"
            }
        }
    }

Note: Make sure your configuration file stays a valid JSON file upon editing (add the necessary comma separators around the new code blocks).

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.21 292 8/21/2023
1.2.20 121 8/18/2023
1.2.19-beta004 128 8/8/2023
1.2.19-beta003 106 8/4/2023
1.2.19-beta002 119 8/1/2023
1.2.19-beta001 143 7/28/2023
1.2.18-beta001 178 7/12/2023
1.2.17 163 6/23/2023
1.2.16 128 6/23/2023
1.2.6 256 6/9/2023
1.2.5 135 5/31/2023
1.2.4 171 5/22/2023
1.2.2-beta001 106 7/12/2023
1.2.1 160 4/28/2023
1.1.4 207 4/19/2023
1.1.3 216 4/4/2023
1.1.2 195 4/4/2023
1.1.1 189 4/4/2023
1.1.0 221 3/31/2023
1.0.2 233 3/22/2023
1.0.1 265 2/28/2023
1.0.0 237 2/24/2023

This release fixes an issue with the deployment of the adding in new Optimizely 12 projects.
       
       Breaking changes:
           - The Lengoo specific configuration entry has been renamed from AppSettings to Lengoo. Please See the Readme file for more details.