Lengoo.Connector.Optimizely 1.2.5

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.5                
NuGet\Install-Package Lengoo.Connector.Optimizely -Version 1.2.5                
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.5" />                
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.5                
#r "nuget: Lengoo.Connector.Optimizely, 1.2.5"                
#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.5

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

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 572 8/21/2023
1.2.20 146 8/18/2023
1.2.19-beta004 151 8/8/2023
1.2.19-beta003 132 8/4/2023
1.2.19-beta002 145 8/1/2023
1.2.19-beta001 169 7/28/2023
1.2.18-beta001 201 7/12/2023
1.2.17 190 6/23/2023
1.2.16 157 6/23/2023
1.2.6 298 6/9/2023
1.2.5 162 5/31/2023
1.2.4 195 5/22/2023
1.2.2-beta001 141 7/12/2023
1.2.1 192 4/28/2023
1.1.4 234 4/19/2023
1.1.3 244 4/4/2023
1.1.2 228 4/4/2023
1.1.1 213 4/4/2023
1.1.0 245 3/31/2023
1.0.2 257 3/22/2023
1.0.1 288 2/28/2023
1.0.0 265 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.