function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ram Chand HeerekarRam Chand Heerekar 

How to create a public link for library in files?

I Have a library let's say "XYZ Library" in Libraries Section of files and I need to a public link for that library same as we create for Folders from the drop down, so that I can use it in a custom button to land in that Library.
User-added image​​​​​​​
SwethaSwetha (Salesforce Developers) 
HI Ram,
I see you also posted on https://salesforce.stackexchange.com/questions/392074/how-to-create-a-public-link-for-library-in-files according to which,

You can't generate public link for a library. As a workaround, you can create a root folder inside the library and keep all files inside that folder. And generate public link for that folder.

Please consider marking answer as best to close the thread and help others looking for solution.Thank you