Add CustomViews to EditConfigWithRoot #10516
Replies: 2 comments 4 replies
-
Hey @cgilly2fast, Yeah, this is possible with some adjustment. The way you have it written right now means you will override the If you'd like to override the edit view which is responsible for the view where you can actually edit the document fields in the
Yeah so, the above won't work unfortunately as it'll still thread through to your |
Beta Was this translation helpful? Give feedback.
-
I am wondering if it would make more sense to create a totally custom view at the route: const billingInfo = await payload.find({
collection: 'billing',
overrideAccess: false,
user,
where: {
ownerField: {
equals: userID
}
}
}) I mean if you had access control setup properly on the billing collection you could probably just query the collection without the where condition. |
Beta Was this translation helpful? Give feedback.
-
I am running into an issue where I need to define the
root
of theedit
collection admin config. But I also need to define a custom view like this:/collections/:collectionSlug/:id/change
change being the name of my custom view.I would like to be able to set the admin config like this:
Or is there a way to do this and I am just not aware of it?
From the code base
Beta Was this translation helpful? Give feedback.
All reactions