Dynamic Parameter System
Dynamic Parameter System is a system that allows you to add and manage new parameters on entity objects at runtime without any code changes. With this system, you can define dynamic parameters on entity objects and perform operations on these objects easily. For example, it can be used for cities, counties, gender, status codes etc.
In Dynamic Parameters page, you can see all of your dynamic parameters:
![Audit logs](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/feature-dynamic-parameter-1.png)
You can use Add A New Dynamic Parameter button to create a new dynamic parameter.
![Audit logs](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/feature-dynamic-parameter-2.png)
Property | Summary |
---|---|
ParameterName* | Unique name of the dynamic parameter |
Input Type* | Input type name of the dynamic parameter |
Permission | Required permission to manage anything about that parameter ( DynamicParameterValue , EntityDynamicParameter , EntityDynamicParameterValue ) |
In Dynamic Parameter Detail Page, you can manage a dynamic parameter and it's values(If your dynamic parameter's input types need values to select, for example: ComboboxInputType
)
![Audit logs](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/feature-dynamic-parameter-3.png)
In Entity Dynamic Parameters page, you can manage dynamic parameter of entities.
![Audit logs](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/feature-dynamic-parameter-4.png)
To manage dynamic parameter values of an entity row you should go to "https://localhost:44302/AppAreaName/EntityDynamicParameterValue/ManageAll/{YourEntityName}/{EntityRowId}". It will open value manager for entities dynamic parameter types.
For example, yo should go to https://localhost:44302/AppAreaName/EntityDynamicParameterValue/ManageAll/MyCompanyName.AbpZeroTemplate.Authorization.Users.User/1 to manage the first row of User entity table.
![Audit logs](https://raw.githubusercontent.com/aspnetzero/documents/v9.1.0/docs/en/images/feature-dynamic-parameter-5.png)