Connect to another database as secondary data source?

Hi all,

I would like to ask two questions about frappe.

  1. Can frappe connect to another database as secondary data source? In that case, another data source is from another application and frappe needs to read those data.

  2. Can frape can access database tables without creation docType for them? In that case, there are existing tables in database and frappe needs to access them.

Thanks to all.
With best
Zither

Hi @zither:

Consider using virtual doctypes

Check this:

https://frappeframework.com/docs/user/en/basics/doctypes/virtual-doctype

Hope this helps.

1 Like

Thanks @avc

It solves both my questions with one answer.

Thanks a lot.