Renovation
Search…
Renovation
1.1.0
Overview
Introduction
Getting Started with Renovation
Under Construction 🛠
Frappe App [renovation_core]
Introduction
Core SDK TS/JS
Getting started
.auth
.default
.meta
.model
.perm
.storage
.translate
Errors
Core SDK Dart/Flutter
Getting started
.auth
.default
.meta
.model
.perm
.storage
.translate
Renovation-CMS
Sidebar
Dashboard
Renovation Script
Custom Dialog
Form Custom Button
Spinners / Loaders
Routing
Form Custom Dashboard
Link Field Custom Queries
List Row Status
Nginx Configuration
Powered By
GitBook
Routing
Renovation CMS supports receiving custom routing commands from the scripts
Basic Usage
The data is forwarded as it is to the
@angular/router
1
core
.
bus
.
post
({
2
// the subject id
3
id
:
"navigate_router"
,
4
5
// routing data
6
data
:
[
"/form"
,
"Item"
,
"ITEM-00001"
]
7
});
Copied!
To get more finer controls over the routing, you can specify Angular's
NavigationExtras
along with the path array.
1
core
.
bus
.
post
({
2
id
:
"navigate_router"
,
3
data
:
{
4
router
:
[
"/form"
,
"Item"
,
"ITEM-00001"
],
5
extras
:
{
6
// NavigationExtras
7
}
8
}
9
});
Copied!
Standard Routes in the Application
Forms
The parameters required to route to a Form is the doctype and the name of the document
["/form", "Item", "ITEM-0001"]
Lists
The list view requires just the doctype
["/list", "Item"]
Previous
Spinners / Loaders
Next
Form Custom Dashboard
Last modified
1yr ago
Copy link
Contents
Basic Usage
Standard Routes in the Application
Forms
Lists