Black Friday Sale!
Save up to 50% off any plans! Valid from 23 Nov to 30 Nov - Also valid for the existing customers
Open Closed

Refresh abp.features.getValue after changes on server side #9842


0
ips-ad created

Prerequisites

  • What is your product version? -> 8.1.0
  • What is your product type (Angular or MVC)? -> Angular
  • What is product framework type (.net framework or .net core)? -> .net core

Hi, We added per-user licensing and thus show abp.features.getValue('App.MaxUserCount') on the subscription-management.component additionally. But after a change of this setting by a paymentAppService this value is not updating in the UI until page reload. Can you please let us know how to refresh abp.features in the UI?

Thanks!


2 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @ips-ad

    You can achieve this using SignalR. You can take a look at how we distribute chat messages to users. You can apply a similar approach and distribute a message to related user when a feature value is changed.

  • 0
    ips-ad created

    Okay thanks, I hoped that there is already some functionality to refresh the features, but in this case I think we will just implement a simple page refresh.