As I am new to CiviCRM. I am trying to create a new entity for my extension to add some new data in
database schema. The documentation I am following to create a new entity is: https://docs.civicrm.org/dev/en/master/extensions/civix/#generate-entity
What I have done using the documentation till Now:
- I have created successfully new extension under the folder
- The extension is
enabledfrom the CiviCRM » Administer » System Settings » Extensions
- I have used
civix generate:entity MyEntityto generate a new entity.
- The entity is generated under the
- This command has created seketal files successfully.
- I have edited the
xmlfile to add fields for entity (table).
- Now, 1 - 3 points are done.
I have got stucked when following the point 4 - end. The overflow and files and folder structure is defined in these point and how to generate or run the
DAO file to run
sql to create new table in
database schema looks weird to me. I am using
Civicrm v4.7.2 for drupal 7.x and
Windows OS envirnoment. I don't now what I have to do after it to successfully create and use entity in my
Please help me to solve this problem. I am very thankful to you in advance.