Transcription
[Music] Hello, and welcome back to the Frappe ERPNext course. In this section, we will discuss workspaces. So let's start learning. I am opening my web application now. You can see our Frappe ERPNext workspace here. You can see different modules available in Frappe and ERPNext. If we open the accounting module, we can see different doctypes and reports available in the accounting module. Now, I am going to add our programming module into this module list, and we will create a workspace for our programming module. Let's see how we can add a module workspace. I am opening Build, then go to Workspace. Here we can see different workspaces available in ERPNext and Frappe. Let's add a new workspace here. I am adding a name: Programming Workspace. Then my module is the Programming module. Let's select the Programming module from this list. Next, we can select a different category here. Because if you go to the home page, you can see different categories. Our first category is Modules, then next is Domain, then Administration. So I am selecting the Module category. I am not adding any icon or onboarding here. I just check on this "e standard" check box. Then let's add some shortcuts to this workspace. I'm adding a label: Shortcut. Then let's add some shortcuts here. The first type is Doctype, and it will link to my normal Doctype. Let's select Normal Doctype here. Then the label is also Normal Doctype. Then let's add a second shortcut. This is linked to our submittable Doctype. Then let's select Submittable, and I'm also adding the name: Submittable Doctype here. I'm adding one more shortcut, and this shortcut is to our Single Doctype. Then let's add a name: Single Doctype, and let's click on this "a" button. And now we successfully created our Programming workspace. Let's go back to Home and reload this page. Now we can see our Programming workspace just below Payroll. And if we open this, we can see our three shortcuts. Let's click on the Normal Doctype, and it will go to the Normal Doctype list. We can create Normal Doctypes from here. And if you go back to the Programming workspace, the second shortcut is Submittable Doctype, and if you click on that, we can see the Submittable Doctype list view. And the third one is Single Doctype, so it will directly go to the Single Doctype view. So this is how we can add workspaces in Frappe and ERPNext.
Now let's see how to add different link cards to this workspace. Let's go to Build, then open Workspace. Let's open our Programming workspace. Here we can see a section called Link Cards. I am adding a label: Link Cards here. Then we can create a link card using this table. We can add a first link card to this Normal Doctype. Then the label should be Normal. And let's add one more link here to Submittable Doctype, and the label should be Submittable Doctype. Just copy that label and paste it here. Let's save the document. Let's go back to the Home page and reload the page. Let's open the Programming workspace from the module list, and now we can see our first link card with two links. And the first one is linked to Normal Doctype, and it will show the Normal Doctype list view. And the second one is go to Submittable Doctype, and here we can see the Submittable Doctype list view. Here we can also add multiple link cards to this workspace. So let's add one more link card here. I'm going back to Build and Workspace, then open Programming Workspace. Then let's add a new row. Then let's put a card break here, and let's add a label: Link to here. Then save this and add a new row here. I am adding a link to our Single Doctype. The label should be Single Doctype. Then save this, then go to the Home page, then reload the page, open Programming workspace, and here we can see two cards. And in the first card, we can see two links, and in the second, we can only see the link to Single Doctype. Let's wind up this lecture, and see you on the next lecture. Bye.