Set default custom app data that defaults on new installs

Is there a way I can make certain Doctype data in a custom app a permanent part of the app whenever it is newly installed? For example, a Doctype for standard categories would always install pre-populated with those categories.

Hi…you need to use a really powerful erpnext feature called FIXTURES.

Refer to this doc for a how to guide.

https://frappe.io/docs/user/en/guides/app-development/how-to-create-custom-fields-during-app-installation

Regards

Perfect. Thank you!