Forum Discussion
Displaying DocLib File URL Path in Column
- Jul 18, 2023
Hi KevBel,
you could apply the following json formatting to your "Path" column{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "=[$FileRef]" }
You will get a view like thisIf you don't want the path to your document library to be displayed ("/sites/MyAppPage/CopyLib/" in my example), then use this json
{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "txtContent": "=replace([$FileRef],'/sites/MyAppPage/CopyLib/','')" }
This will look like this
Best Regards,
Sven
When managing a document library, particularly within a content management system or collaboration platform, it's often essential to display the URL paths of files within a column for easier access and reference. For users of the http://www.themomixapk.org/ platform, which provides a streamlined way to manage and share content, this feature can significantly enhance productivity and collaboration. Here’s a detailed guide on how to display DocLib file URL paths in a column on MomixAPK.
Why Display URL Paths?
Displaying URL paths in a column within MomixAPK offers several advantages:
Easy Access: Users can quickly click on the URLs to access documents directly.
Improved Navigation: Provides a clear reference to the location of files