Where to rename create button in OrderResource page?
I found that we can change the create button from list because it's an action declared inside ListOrder page. But, where to change the label of the create in CreateOrder? For example, from "Create: to :Create Order" and adding an icon.
5 Replies
You can achieve that like
Where @Skjena ? In OrderResource, there's no CreateAction.
In the getFormActions method on the Create<Record> class
The resource is just global access point for the whole record. But you can modify the Create, Edit and List in their respective page classes.
You can modify this inside the CreateOrder page not on the OrderResource.
How about the relationmanager? It doesn't have a record class.