F
Filament13mo ago
Rahul

Do I Need To Register a Custom Resource Page ??

I have created a custom resource page. Do I need to register it with the app service provider or the app panel provider ?
4 Replies
Dennis Koch
Dennis Koch13mo ago
You need to register it on the resource and create a link to it from somewhere. But that should be mentioned in the docs and/or the command output.
Rahul
RahulOP13mo ago
My custom page is designed as follows: On this custom page, I use the mount() method to autofill the basic details from a specific page. I would like to send this custom page to a person via email who can then edit certain field details, such as comments and more. This person has access to modify the field data and save it. The person receives the field details from a URL encoded with a token, and by using the mount() method, it decodes the field details. Now, I am upgrading this from v2 to v3. It was working perfectly in v2, but I am encountering the error in v3 and that component is located at 'App/Filament/Resources/AppraisalResponse/Pages/AppraisalResponseRequest, Despite this, I am still encountering the following error in the UI: "Unable to find component: [app.filament.resources.appraisal-response-resource.pages.appraisal-response-request]"
Dennis Koch
Dennis Koch13mo ago
I’d say that it’s just some cache thing 🤔
Rahul
RahulOP13mo ago
I don't think it's a cache problem. When I initially open that page, it renders with the error message. Additionally, when I change some basic details, the error message still appears, but my field's data is coming through.
Want results from more Discord servers?
Add your server