How to make a user inherit pre-filled data?

When a user creates an account how to make their tables receive pre-filled data ?

E.g. in the Expenses Table, the user adds types of expenses, but I want to have some automatically filled when sign up:

Pre-populated data:

  • Water
  • Electricity
  • Transportation
  • etc

He can add others:

  • Fees
  • Bank expenses
  • etc

When you are running the workflow for “sign the user up”, in the same workflow add another item “make changes to the user”. You can choose to not use dynamic data and just inject something set in stone.

1 Like

This is a basic algorithm, I have done this so I know it works This is just to expose to you a way of doing things in Bubble that I know of. It took me some mind-bending to get it initially.

  1. in your initial Expense table would have the generic entries Water, Electricity, Transportation and … (used later to copy from but never associated with any user at any time)
  2. these generic entries do not belong to any transaction table (assuming your transaction table holds a list of Expenses for example)
  3. these generic entries will be later used to copy to the transaction table to a field called something like List of Expenses (type list).
  4. have 1 workflow that runs once a new transaction is created. For example “Trip to Florida” is the transaction.
  5. copy the generic entries from the Expense table to the field in the Transaction table, for that one transaction, which contains the list of expenses.

Here is something similar I did.

Just trying to pay it forward… I received lots of help from members when I started…

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.