How can i add multiple data script for different section in builder for website, means what if I want add different doctypes to different sections?
Hi @Ashmit-Singh:
You can add different data sources on Data Script and use it on different components.
data.users= frappe.db.get_all("User", fields=["*"])
data.customers = frappe.db.get_all("Customer", fields=["*"])
Hope this helps.
1 Like