Open Closed

how to use Abp Dynamic Options with Abp Twilio Sms Options #4241


User avatar
0
ElifKaya created

Hi,

I used AbpDynamicOptions, and I want to change settings value from UI. I can change my custom option class, but how can I change AbpTwilioSmsOptions. Can you give an example?

Thanks

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

ABP Framework version: v5.3.3

UI type: MVC

DB provider: EF Core

Tiered (MVC): yes

Exception message and stack trace:

Steps to reproduce the issue:"


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What do you mean AbpDynamicOptions?

    Can you explain it in details?

  • User Avatar
    0
    ElifKaya created

    hi

    What do you mean AbpDynamicOptions?

    Can you explain it in details?

    I can change my custom aws options but, I can not change AbpTwilioOptions.

    Then, I can use like this,

    But, I need to change AbpTwilioSmsOptions in ConfigureServices according to parameters from UI.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    ConfigureServices will be executed once when the application starts.

  • User Avatar
    0
    ElifKaya created

    hi

    ConfigureServices will be executed once when the application starts.

    yes but, is there a way to override it later like in a AbpBlobStoringOptions?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I don't think there is a way to do it.

  • User Avatar
    0
    ElifKaya created

    thanks

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11