F
Filament•3mo ago
abdullafahem

Listing in Resource

Is it possible to remove list in resource, I don't need to show it also I don't need anyone to put the URL and can access it Any solution please
Solution:
i don't know if this would help but in your list resource you can call this function ```php public static function canAccess(array $parameters = []): bool { return false; ...
Jump to solution
6 Replies
abdullafahem
abdullafahemOP•3mo ago
Any solution please?
Adnan Yalahow
Adnan Yalahow•3mo ago
what is your goal?
abdullafahem
abdullafahemOP•3mo ago
I have it in relation manager but I saw an article that if you don't want to edited in modal mode you can add new resource and use it for editing mode but now I have a problem that the listRecord it shows if you are going through the URL
Solution
Adnan Yalahow
Adnan Yalahow•3mo ago
i don't know if this would help but in your list resource you can call this function
public static function canAccess(array $parameters = []): bool
{
return false;
}
public static function canAccess(array $parameters = []): bool
{
return false;
}
abdullafahem
abdullafahemOP•3mo ago
Let me try It works thank you so much!
Adnan Yalahow
Adnan Yalahow•3mo ago
Great🙂
Want results from more Discord servers?
Add your server