Base solution for your next web application
Open Closed

Dynamic Entity Parameter #9526


User avatar
0
christianharo created

How do we add a dynamic property to a entity generated by the asp.Net zero tools. How do we assign it to the property that we want on the table.

The Documentation only shows how to create and add to the current user method.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team
    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    fncoph created

    Hi @ismcagdas,

    I think @christianharo means is that can we add a new dynamic entity aside from user only, and how do we enable this on our newly created entities?

    For example, if I want to assign a supported language for our customers, I want to assign a multicheckbox dynamic parameter to my customer entity.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    fncoph created

    Already got the answer. Sorry for the trouble.

    src\proj.Core\DynamicEntityProperties\AppDynamicEntityPropertyDefinitionProvider.cs , you can add the entities below the default User class

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @fncoph :).

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    christianharo created

    Still this only works for the "user" entity only. How can i use dynamic entities for my newly created enitity.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @christianharo

    Did you also add an action button to your list and open the dynamic properties modal like this ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)