Base solution for your next web application
Open Closed

Feature Management #8546


User avatar
0
kansoftware created

Hi,

I created one boolean feature and i want to check this feature in multiple page with all function. Is it any way to use?? Becuase i cant use on AppService page at above just service name with this line RequiresFeature("ProductManagement") .


1 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi,

    for angular project , you can use feature-checker-pipe

    <div *ngIf="(isHost || ('App.ChatFeature' | checkFeature)) && !chatConnected"></>
    

    for jquery, you can use the following

    abp.features.isEnabled('App.ChatFeature.TenantToTenant'),