Base solution for your next web application
Open Closed

Resolve EditionManager dependency in DefaultEditionCreator #4987


User avatar
0
ajayak created

How can I get instance of EditionManager in DefaultEditionCreator class?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @ajayak, you shouldn't use dependency injection in DefaultEditionCreator. Why do you need EditionManager ? Maybe we can help you with that.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ajayak created

    Hi @ismcagdas,

    I wanted to associate features with editions. I found this solution :)

    new EditionFeatureSetting(globalExpansionEdition.Id, AppFeatures.MaxUserCount, "11")
    
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Great :)

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)