ASP.NET Core MVC / Razor Pages UI: JavaScript Features API

abp.features API allows you to check features or get the values of the features on the client side. You can read the current value of a feature in the client side only if it is allowed by the feature definition (on the server side).

This document only explains the JavaScript API. See the Features document to understand the ABP Features system.

Basic Usage

abp.features.values can be used to access to the all feature values.

var excelExportFeatureValue = abp.features.values["ExportingToExcel"];

Then you can check the value of the feature to perform your logic.

Contributors


Last updated: October 16, 2020 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

In this document
Community Talks

Structuring ASP.NET Core Projects: Layered Architecture Explained

15 May, 17:00
Online
Watch the Event
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