Building a SAAS for real estate agents, the picture of the property the agent just created is not populated in the User table

I can see the property added on the database but only in the propriétés table, the user table doesn’t get updated, we redirect data to each step of the form from the homepage so maybe an issue is there, also how to debug as you ask it

  1. Home
    Type of content: User
    Workflow: CTA button clicked =>
    redirects to « Fill address »
    Data to send: Current User

  2. Fill Address
    Type of content: User
    Workflow: CTA button clicked =>
    Create a new Propriétés, field: Adresse = Input Adresse’s value
    Make changes to Current User, field: Liste Propriétés add Result of step 1 Create a new Prop…
    redirects to « Describe property »
    Data to send: Result of step 1 Create a new Prop…

  3. Describe Property
    Type of content: Propriétés
    Workflow: CTA button clicked =>
    Make changes to Current page’s Propriétés
    Fields:
    Type de bien = Current page’s Propriétés’s Type de bien
    Nb pièces, Nb chambres, Surface habitable, Prix de vente all have the same (but relative) fields than Type de bien
    Redirects to « Characteristics »
    Data to send: Current page’s Propriétés

  4. Characteristics
    Type of content: Propriétés
    Workflow: Any of the 5 choices (Balcon / Terrasse, Garage / Parking, Cave, Accès Handicapé, Piscine) click or unblock make change to the relative Current page’s propriétés value for the Caractéristiques List add « relative characteristic)
    CTA button clicked =>
    Redirects to « Photos »
    Data to send: Current page’s Propriétés

  5. Photos
    Type of content: Propriétés
    Workflow: When Multi File Uploader A’s value is changed, then
    Make changes to Propriétés, Fichiers Liste add « Multi-File Uploader A’s value
    Make changes to Current User, Liste Propriétés add « Result of step 1 (Make changes to P…)
    CTA button clicked =>
    Redirects to « Select Login »
    Data to send: Current User

  6. Select Login
    Type of content: User
    Workflow: When Email is clicked => Redirect to « Email login » with data to send: Current User

6b. Email Login (I don’t sign up while testing I just connect and it seems to sign me up)
Type of content: User
Workflow: CTA button clicked =>
Log the user in and
Redirect to page « Profile Agent Basic »
Data to send: Current User

  1. Profile Agent Basic
    Type of content: User
    Workflow: click on MES BIENS
    Redirects to « Properties »
    Data to send: Current User’s Liste Propriétés: first item

  2. Properties
    Type of content: Propriétés
    Contains the element « Annonce 1 » which should be the newly created ad with title and image and price that only the agent can see for now as it’s private, then he can publish it so other users can see it

DATA TYPES & PRIVACY
Propriétés:

  • Privacy rules: Name: Agents: When This Propriétés’s Creator is Current User, Users who match this rule can: All options are checked.
    Everyone else: all checked except Allow auto binding
  • Fields: Address, fichiers list (list of all files, pictures as well), agent (linked to user table), characteristics etc)

User:

  • Privacy rules: Name: Logged in Users, Users who match this rule can: All options are checked except API things
    Everyone else: all checked except Allow auto binding and API things
  • Fields: Personal address, name, last name, Liste Propriétés (list linked to Propriétés table), user photo etc…

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