All questions about EDocman extension

Am I able to add an extra field to the document?

  • rcarey
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #83900 by rcarey
I have a project where a document is to be assigned to a particular record of another component. I know how to declare an sql field that would build this the select input that I need, but the component would need to allow me to add this field. So do you have any suggestion for how one can add a custom field?

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #83918 by Mr. Dam
Hi Rcarey,
Unfortunately, currently, Edocman doesn't support custom extra fields.
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #83999 by Boyd Trimmell
Replied by Boyd Trimmell on topic Am I able to add an extra field to the document?
There is an alternative method that I use.

I create a new table that is used as a junction table. It can be used between any two tables that have a primary keys You store the primary keys of the two records you want to join/link together.. . This is a common practice in relational database development.

Let me know if you need more information.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #84025 by Mr. Dam
Hi Boyd,
Edocman doesn't have Extra fields feature, but you can develop the Custom field feature for Edocman if you want.
You can create extra MySQL table to contain the information of extra field with the key is the document id from My SQL table: #__edocman_documents.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam