Building Strong Connections with Many-to-Many in AppSheet

  Рет қаралды 3,658

Full Of Sheets

Full Of Sheets

Күн бұрын

If you need two tables in your app to have references to each other, then you need to set up a many-to-many relationship between the tables.
In this video, you will learn how to create jnter-dependency between two tables for various use-cases. For example:
A project can have multiple members, and a member can be in multiple projects.
An order can have multiple products, and a product can be in multiple orders.
Get the AppSheet Best P4actices eBook:
bit.ly/4bh3JSp
(Thanks for your suppport. 🙏)
Building from this app, watch this next:
• Mastering AppSheet fie...
Recommended related videos:
AppSheet Best Practices
• Level Up Your App Deve...
5 Best Ways to create dropdowns
• Top 5 Ways to Make Dro...
_________________________________________
Do you need coaching and/or consultation with the app that you are building?
Book a call with me. Link found in main channel.
===========================
Video Chapters:
00:00 Types of database table relationships
00:29 Is AppSheet a Relational Database System?
00:49 What do I mean by "Full of Sheets"?
01:06 Subscriber shoutout @magnusgoransson9564
01:58 A small favor from the viewers
02:40 What is a many-to-many relationship?
03:11 Google sheet set up for a proj mgmt app
04:04 AppSheet table set up
04:36 Adding members to a Project
06:20 Why an EnumList will not work
08:00 How to properly connect projects to members
09:16 Creating a "Tasks" join table
14:25 Checking the connections
15:44 Customizing Inline Views (Child tables)
20:16 The inline view dilemma
21:04 Validating the many-to-many relationship
22:00 What's coming next?
===========================
#appsheet #buildingwithappsheet #howto #tutorial #manytomany #projectmanagement #fullofsheets

Пікірлер: 49
@LionelCOSTE
@LionelCOSTE 2 ай бұрын
The best teacher 💪
@FullOfSheets
@FullOfSheets 2 ай бұрын
You give me too much credit; but, Thanks a lot! ☺️
@tobiasochieng
@tobiasochieng Ай бұрын
Excellent job
@FullOfSheets
@FullOfSheets Ай бұрын
Thank you! Cheers!
@BEATWINCONTROL
@BEATWINCONTROL Ай бұрын
The best!!! Thanks!!🎉 where is the promised video about detail view customizations?? 😮
@FullOfSheets
@FullOfSheets 13 күн бұрын
It's coming this week. 😊 I'll give you a shoutout in the video. 🤗
@BEATWINCONTROL
@BEATWINCONTROL 11 күн бұрын
​@@FullOfSheets awesome!! Can't wait for it!! 🎉🎉
@FullOfSheets
@FullOfSheets 7 күн бұрын
It's up now. 😊
@user-jp88
@user-jp88 3 ай бұрын
fantastic! thanks!
@FullOfSheets
@FullOfSheets 3 ай бұрын
Thanks bro.
@innovatune_ai
@innovatune_ai 4 ай бұрын
Thank you for the video and clear explanations. It really helps. I have subscribed and gave you a thumbs-up and will follow what is coming. Great content!
@FullOfSheets
@FullOfSheets 4 ай бұрын
Thank you very much!! Welcome to the Sheety community. 😁
@innovatune_ai
@innovatune_ai 4 ай бұрын
@@FullOfSheets Thanks!
@FullOfSheets
@FullOfSheets 4 ай бұрын
Welcome, mate!
@fedepalma
@fedepalma 4 ай бұрын
thanks! your content is really useful!
@FullOfSheets
@FullOfSheets 4 ай бұрын
Glad you think so!
@user-it2cz2ve9m
@user-it2cz2ve9m 4 ай бұрын
great explaination
@FullOfSheets
@FullOfSheets 4 ай бұрын
Thank you 🙏
@gladstonycoliveira1573
@gladstonycoliveira1573 2 ай бұрын
Wow!
@FullOfSheets
@FullOfSheets 2 ай бұрын
Did it help? 😁
@mkourampa
@mkourampa Ай бұрын
Excellent video. Sorry…I meant In the projects view I want to see the name of the member and not the email. How can this be done? Thank u in advance!
@FullOfSheets
@FullOfSheets Ай бұрын
Simply add the name of the member in the slice youbuse for the Project's child task table.
@mkourampa
@mkourampa Ай бұрын
Excellent video. In the members view I want to see the name and not the email. How can this be done? Thank u in advance!
@FullOfSheets
@FullOfSheets Ай бұрын
Replied in your last comment. 😊
@MinhXuanHo-gf8mh
@MinhXuanHo-gf8mh Ай бұрын
Great video! Thank you for sharing. I have a question regarding choosing task ID as the primary key. By doing this, you can't avoid duplicating 2 tasks with the same name, and assigning to the same student and in the same project right ? i.e: ID | name | assign_to | project | -------------------|-------------------- |-------------------------|---------------------| TaskID_11 | planning | studentID_1 | projectID_1 | TaskID_22 | planning | studentID_1 | projectID_1 | Please correct me if im wrong. But anyways if there is such a case, would you share your opinion how to forbid such the duplication ? Thank you very much in advance.
@FullOfSheets
@FullOfSheets Ай бұрын
Hi, You are correct. You cannot avoid duplication of the same task to the same student by using the Task ID as the primary key. If you need to have this ensured, you have the ff. options: 1) Composite key This a combination of two fields as the primary key. In your case, a combination of the task name and the student ID. This can be done by: a) a virtual column b) a Physical column using an app formula c) a physical column using initial values The disadvantage of options a and b would be that the name and student id would not no longer be editable after the inital save. The disadvantage of option c on the other hand would be that the key would not he updated when either of the name or the student id columns are edited. - although this can be worked around by turning on the Reset on Edit option. 2) Valid If expression You would still use a combination of two columns in a helper column, probably a hidden virtual column. You then use a valid if expression to check that the helper column does not yet exist in the table. For example, let's say your helper column is called [Name_Student]. Then in the Valid If of either the [Name] or [Student ID], you use the ff expression Count( Filter("Tasks", [Name_Student]=[_THISROW].[Name_Student]) )
@LindsayHiebert
@LindsayHiebert 4 ай бұрын
Excellent video, explanation and content. Great job! Very interested in reaching out to you, or members of your community for specific AppSheet project. What are the next steps?😊
@FullOfSheets
@FullOfSheets 4 ай бұрын
Much appreciated! If you need to reach out, please check the contact form in my Channel's description.
@andyburnett4918
@andyburnett4918 4 ай бұрын
Perfect timing! This is exactly what I needed to know. Now, please stop everything else you are doing and go and make the next video :-)
@FullOfSheets
@FullOfSheets 4 ай бұрын
😆 ok ok. I will release soon. 😁
@FullOfSheets
@FullOfSheets 3 ай бұрын
Continuation video already relased. Thanks.
@andyburnett4918
@andyburnett4918 3 ай бұрын
⁠@@FullOfSheetsthe only new video I see in your feed is the Context one. Can you give us the link to the continuation video?
@FullOfSheets
@FullOfSheets 3 ай бұрын
@andyburnett4918 Yes. Thst is the continuation. The Context() one starts from where we left off in the Many-to-Many video.
@andyburnett4918
@andyburnett4918 3 ай бұрын
Brilliant! I am off to watch that one right now. Many thanks.
@GlenielGalingana
@GlenielGalingana 4 ай бұрын
Hi, can I request tutorial for appsheet that request for approval of 1 or more person.
@FullOfSheets
@FullOfSheets 4 ай бұрын
Can we have a tutorial where there will be an approver? #appsheet #buildingwithappsheet
@tuby1502
@tuby1502 4 ай бұрын
Hi I like the way you explain the various subjects in AppSheet. As my hearing is not what it used to be when I was younger I have a request. The backgound music is drowning your voice (for me) maybe is can be toned down a bit. Also the sound of your voice mike is a bit muffled. Maybe add som more "high"?
@FullOfSheets
@FullOfSheets 4 ай бұрын
Hi, Thanks for the feedback. I apologize for the music as it is quite difficult to monitor it during editing as I only use Bluetooth Headphones. Also, I use a lapel mic and I can only remove background noise. I only edit my videos via phone and there are no audio eq controls in the app I am using. Does my video captions not work for you?
@SamHalesJr
@SamHalesJr Ай бұрын
You should get a nicer mic!
@FullOfSheets
@FullOfSheets 29 күн бұрын
Thanks for the feedback. I do have an Audio Tecnica A2020 mic. However, I find it challenging to move freely with a big mic in front of me, even if I am using a mic flex arm. I found it easier to move using a wireless lapel mic, and the spund quality is acceptable enough for the viewer. The sound can still be improved in post-processing, but unfortunately, I don't have all the time resources to edit the video. Would you believe I actually only edit my videos in Samsung phone using a free Capcut app? 🤣 Maybe one day, if I make enough money, I can start hiring editors. But for now, I thank you for your patience in understanding the quality of my audio.
@christianegunther6598
@christianegunther6598 3 ай бұрын
The music is really distracting.
@FullOfSheets
@FullOfSheets 3 ай бұрын
Thanks for letting me know. I'll try to do something about it. This is the knly video where I uploaded thenvideo without music then only added the music later onnusing youtube studio. I'll check if there's a way I can lower down then volume.
@FullOfSheets
@FullOfSheets 3 ай бұрын
Can you check if it's better now?
@SamHalesJr
@SamHalesJr Ай бұрын
This could hardly be considered a many to many relationship. True many-to-many relationships result in a hidden junction table when talking about database schema. A tasks table would not be hidden and would not be considered a junction table. A many-to-many relationship would look like the multi select enum drop down but actually be references. The truth is that many-to-many relationship are not supported in AppSheet which is a unfortunate.
@FullOfSheets
@FullOfSheets 29 күн бұрын
This is true. What you described is exactly what I do back in the days with Microsoft Access. But if I remove all other task information in the #Tasks# table and only have the [Project ID] and [Member ID], then it is what you already described. But I must say, even in an Orders App where a many to many relationship is made between an #Orders# table and a #Products# table, additional columns are used in the join table for #Order Details#. This would invlude the qty, and line total for each product added in the Order form's child table.
Chat and RAG with Tabular Databases Using Knowledge Graph and LLM Agents
1:23:34
Top 5 Ways to Make Dropdown Lists in AppSheet 2024 | Best 5 Methods
16:06
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 26 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 26 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
Establishing Many to Many Relationships in AppSheet
36:28
Appify Your Business
Рет қаралды 8 М.
Looping in AppSheet | The most comprehensive tutorial
29:14
Full Of Sheets
Рет қаралды 7 М.
Many to Many References With SELECT() in AppSheet || The Brute Force Method
9:05
MASTER LINKTOFORM() and Other Deep Links in AppSheet | Bootcamp Tutorial
1:09:02
Mastering AppSheet field visibility with Context()
17:44
Full Of Sheets
Рет қаралды 1,7 М.
How I'd Learn Data Analytics in 2024 (If I Had to Start Over)
14:08
CareerFoundry
Рет қаралды 793 М.
Level Up Your App Development: Mastering Appsheet Best Practices
38:36
Funny Fails 🤭🤭🤣 #failsvideo #shortsfails #funnyfails  #fails .
0:52
Водитель на каблуках
0:10
РОФЛОТЮБ
Рет қаралды 1 МЛН
Eloá fazendo graça kkkk
0:15
Story Elis e Eloá
Рет қаралды 31 МЛН
A teacher captured the cutest moment at the nursery #shorts
0:33
Fabiosa Stories
Рет қаралды 53 МЛН