Open Closed

How can I change background image dynamically based on tenant selection. #9441


User avatar
0
sghorakavi@cpat.com created
  • I have image coming from API and I want to change Background image and logo based on the API input. I tried the sample to use SetForCurrentTenantAsync call. It did not fail but did not change the image of the UI. How do I change UI background image dynamically ?

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

    hi

    SetForCurrentTenantAsync will store your setting value(image url) for current tenant. You can check the AbpSettings table to check the values.

    Then, you need to retrieve the setting value on your Page.

    Can you share more details about your page(Background image and logo)?

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37