Open Closed

Example for number/checkbox/select Setings definition #3652

cleverplatform created

Hi trying to dig out from abp documentation and samples the usage number / checkbox / select setings but Im not really sure how the settings provider should looks like and also I don't want to use module from EasyAbp.

Could you pls. navigate myselft to right and full example (not documentation - I think that parts are missing on ) where I can see definition number / checkbox / select setings with correct UI rendering ?

THanks Erik

  • ABP Framework version: v6.0.0 rc2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

2 Answer(s)
  • 0
    enisn created
    Support Team

    Setting Management doesn't provide any UI component automatically like feature management. You should implement it yourself. If you store data in database, you should write a Custom Setting Value Provider and AppServices for it.

    Rendering your custom component in UI

    You should define your view like email settings here:

    And Create a SettingPage Contributo that inherits from SettingPageContributorBase

    • Configure your contributor in SettingManagementPageOptions
    Configure<SettingManagementPageOptions>(options =>
        options.Contributors.Add(new YourSettingPageContributor());

    That's it, your component will be visible on UI

  • 0
    cleverplatform created

    Thanks enisn