Building Inventory Management Portal
In this video you will understand how to create an inventory management portal to manage warehouses, inventory and add or remove products.
1. Login to your Account
Login to your account and Create a Blank Project then name your project and choose Create Project. In the next step Add Authentication to your application. You can choose any role and click Pocedd: Add Collection. You can add plugins ow or at a later stage and start to build your app.
2. Create a Collection
Create collections for your inventory with a list of records. Define the fields as to what kind of data is needed. You can simply work on the fields as all fields are mapped automatically and you can work on the fields already available.This is a persistent collection. This means it will be saved locally.
If you haven’t created your collection yet, Click Here
3. Build a Dashboard
Start building the UI for your inventory. First let's begin by creating a dashboard. You can have a default dahsboard page as part of the login/signup plugin. You can delete it and go to the Pages Settings and Update who can access it and Save the changes.
4. Create a Snippet
You can create page elements such as sidebar using snippets. This will make it dynamic and it will be reflected on every page. For this click Add Snippet. Name your snippet and click Create.
4.1 Drop a Component
You can either go to Components and drop a Sidebar component or go to Pre-Built Layouts and choose a sidebar todrag-and-drop. You can customize it as per your preference.
Similarly you can create more snippets for other elements such as header for your dashboard and reuse the elements across all the pages of your web app.
Also, you can divide your page into sections by going to Components and choosing Two-Section Layout to add elements to your dashboard for your web app. Then in its settings you can make its 100% fluid and Save the changes.
5. Create an Event to Login
Create a login event so that when the admin logs in tey land on the dashboard. For this go to Events and Add Event. Name your event and click Create. Here choose Edit.
5.1 Add Event Details
In the pop-up that appears mention the user (admin) and the page they must land onto when they login and notification message (optional) and choose Update
5.2 Test the Event
Create a user and try to log them in. For this go to Add User. Mention user details and click Save. Then go to Preview but before this drop a Link component and link the login page and home page and Save.
Now refresh the Preview page and the event will be executed.
6. Create a Page
Go to Pages and click Add Page. Mention the page name and who can access it and click Create.
Similarly you can create more pages for your web app.
7. Drop a Data Table
Go to Components and drop a Data Table to display all categories. In its settings choose Get Data from Collection and select the filter. Then Save the changes.
8. Duplicate Pages
Instead of creating new pages you can duplicate the pages and content. For this go to Pages choose Advance. Here choose the page to dusplicate and content and Update.
9. Drop a Collection Form
Go to Components and drop a Collection Form to create new categories. In its settings choose Get Collection. Then Save the changes.
10. Create an Event for Category
Create an event to build a category. For this go to Events and Add Event. Name your event and click Create. Here choose Collection and Save Data.
10.1 Add Event Details
In the pop-up that appears mention the category and notification message (optional) and choose Update
10.2 Page Redirect
Now choose Navigation to Page Redirect.
10.3 Add Event Details
Choose the page to redirect to and Save.
11. Bind the Event
Go to the Page and open the Settings of the Collection Form. Here Link the event by choosing it from the dropdown and Save the changes.
12. Test the Event
Click Preview and choose the button to test the event and Submit the details. It will create the category and redirect to the page.
13. Create a Page
Just like before create the Pages for warehouse this time. In the dropdown copy from the existing pages so you do not have to redesign the new page and click Create.
14. Drop a Data Table
Go to Components and drop a Data Table to display warehouse data. In its settings choose Get Data from Collection and select the filter. Then Save the changes.
15. Link the Page
Create a button to display warehouse details and link it to the page by opening its Settings and choosing the page to link and Save the changes.
16. Create an Event for Warehouse
Create an event for warehouse. For this go to Events and Add Event. Name your event and click Create. Here choose Collection and Save Data.
16.1 Add Event Details
In the pop-up that appears mention the collection and notification message (optional) and choose Save.
16.2 Page Redirect
Now choose Navigation to Page Redirect.
16.3 Add Event Details
Choose the page to redirect to and Save.
17. Bind the Event
Go to the Page and open the Settings. Here link the event by choosing it from the dropdown and Save the changes.
18. Link Warehouse to the Sidebar
Go to the Page and open the Settings. Here link the page by choosing it from the dropdown and Save the changes.
19. Test the Event
Click Preview and choose the button to test the event and Submit the details. It will create the new warehouse and redirect to the page.
20. Create a Page for Products
Just like before create the Pages for products this time. In the dropdown copy from the existing pages so you do not have to redesign the new page and click Create.
21. Drop a Data Group
Go to Components and drop a Data Group to display warehouse data. In its settings choose Get Data from Collection and select the filter. Then Save the changes. You can customize them further as you prefer.
22. Link the Page
Create a card to display warehouse details and link it to the page by opening its Settings and choose Get Data from Collection (which is product here) and Save the changes. Similarly you can link more records to this Data Group.
23. Link Button to the Page
Create a button and opening its Settings and choose the page to link it to (which is product here) and Save the changes.
24. Create an Event for Product
Create an event for warehouse. For this go to Events and Add Event. Name your event and click Create. Here choose Collection and Save Data.
24.1 Add Event Details
In the pop-up that appears mention the collection and notification message (optional) and choose Save.
24.2 Page Redirect
Now choose Navigation to Page Redirect.
24.3 Add Event Details
Choose the page to redirect to and Save.
25. Bind the Event
Go to the Page and open the Settings. Here link the event by choosing it from the dropdown and Save the changes.
26. Test the Event
Click Preview and choose the button to test the event and Submit the details. It will create the new warehouse and redirect to the page.
27. Create an Event for Dashboard
To display details of say products, categories and warehouse on the dashboard page create an event. In the event choose Navigation and Page Redirect.
27.1 Add Event Details
Choose the page to redirect to and Save.
28. Bind the Event
Go to the Page and open the Settings. Here link the event by choosing it from the dropdown and choose the button option and Save the changes. Similarly, bind the events for warehouses and categories.
29. Create a Filter
For this choose Filters on the top and add details as per your use case and click Create Filter. You can add conditions too if preferred. You can do so for warehouses and categories.
30. Bind the Filter
Go to the Page and open the Settings. Here link the filter by choosing it from the dropdown and Save the changes. Choose the Get Content, Collection Name and Collection Filter. Similarly, bind the filters for warehouses and categories.
31. Test the Event
Click Preview and the dahsboard page will display the details as added. You can add new records as per your use case.