Is there a way to retrieve the name of a cdt from only having a data store entit

Is there a way to retrieve the name of a cdt from only having a data store entity constant? assume the name of the constant and cdt cannot be changed, and may not be the same.

OriginalPostID-197981

OriginalPostID-197981

  Discussion posts and replies are publicly visible

Parents
  • OK. I understand. Still not sure that this is a good idea. You could use/create a plugin to search for constants with a certain naming convention. These constants are of type data store entity and each app has to create one or more. Then do a single query to a selected entity. This will return some data and the data structure and field names etc. Then you could show this to the user.

    This is just an idea. I hope you understand it.
Reply
  • OK. I understand. Still not sure that this is a good idea. You could use/create a plugin to search for constants with a certain naming convention. These constants are of type data store entity and each app has to create one or more. Then do a single query to a selected entity. This will return some data and the data structure and field names etc. Then you could show this to the user.

    This is just an idea. I hope you understand it.
Children
No Data