I need a code in sharepoint online, that triggers a script to open a file, where the location of file in local computer. In my opinion, this code like button/image/hyperlink/etc, in the background is Javascript/JQUERY (event click) and this button will be placed in a specific column (in the example below the name of column is "FileLocation") in sharepoint list / sharepoint document library. like screen shoot below.
Asked
Active
Viewed 351 times
1 Answers
0
You can insert JS/Jquery script or change the Dom elements on the field through SPFx Field extension.
And you can open lcoal file using js as below:
Besides, some browsers will specifically block local file access this way for security reasons.
BR

Baker_Kong
- 1,739
- 1
- 4
- 9
-
thakns for your answers. i will try . – farid wahyu Nov 07 '20 at 00:58