Base solution for your next web application
Open Closed

Dynamics Property #12121


User avatar
0
WirelessDynamics created

Dear All,

1- Is there a method to return all the dynamicEntitypropertyValue for all entities in a specific table at one database call and not per entity, as currently if we have a table for example with 7000 entities we have to loop on each on them, and have a database call in each loop, we need to get them all before loop and loop on them locally.

2- does the current Excel export method support exporting the Dynamics properties as well? and how?

Thanks


7 Answer(s)
  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @WirelessDynamics,

    1- There isn't a built-in method to retrieve all values of all entities. You'll need to implement this feature based on your specific requirements.

    2- Currently, we do not support exporting dynamic properties to Excel.

    For more information take a look https://aspnetboilerplate.com/Pages/Documents/Dynamic-Parameter-System#dynamic-property-definition

  • User Avatar
    0
    WirelessDynamics created

    Hi,

    How to access the source code of the Dynamics property?

    is there a guideline for extending it?

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @WirelessDynamics,

    There is no documentation about extending.

    Here is the source code of DynamicEntityProperties https://github.com/aspnetboilerplate/aspnetboilerplate/tree/dev/src/Abp/DynamicEntityProperties

  • User Avatar
    0
    WirelessDynamics created

    hello,

    We are trying to use the power tool to add an entity that has a navigation property for the AbpDynamicProperties and AbpDynamicEntityPropertyValues but we can't find it in the power tool navigation entity List as per attached image.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @WirelessDynamics

    DynamicProperties are not added to this list by default. So, at the moment, you can't use these entities in Power Tools. You have to add relation manually in your code.

  • User Avatar
    0
    WirelessDynamics created

    can we add it using by updating the JSON template of the power tool?

  • User Avatar
    0
    m.aliozkaya created
    Support Team

    Hi @WirelessDynamics,

    It is not possible at the moment. You need to handle it manually