Tilføj connection_info skabelon og opdater README
This commit is contained in:
@@ -21,7 +21,8 @@ Dette script gør det muligt at downloade specifikke mapper fra et SharePoint do
|
||||
|
||||
## Konfiguration
|
||||
|
||||
Indstil dine forbindelsesoplysninger i `connection_info.txt`:
|
||||
1. Kopier `connection_info.template.txt` til en ny fil kaldet `connection_info.txt`.
|
||||
2. Indstil dine forbindelsesoplysninger i `connection_info.txt`:
|
||||
* `TENANT_ID`, `CLIENT_ID`, `CLIENT_SECRET` (Fra Microsoft Entra admin center).
|
||||
* `SITE_URL`: URL til din SharePoint site.
|
||||
* `DOCUMENT_LIBRARY`: Navnet på dokumentbiblioteket (f.eks. "22 Studies").
|
||||
|
||||
7
connection_info.template.txt
Normal file
7
connection_info.template.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
TENANT_ID = "*** INPUT TENANT ID HERE ***"
|
||||
CLIENT_ID = "*** INPUT CLIENT ID HERE ***"
|
||||
CLIENT_SECRET = "*** INPUT CLIENT SECRET HERE ***"
|
||||
SITE_URL = "*** INPUT SHAREPOINT SITE URL HERE ***"
|
||||
DOCUMENT_LIBRARY = "*** INPUT DOCUMENT LIBRARY NAME HERE (e.g. Documents) ***"
|
||||
FOLDERS_TO_DOWNLOAD = "*** INPUT FOLDERS TO DOWNLOAD (Comma separated) ***"
|
||||
LOCAL_PATH = "*** INPUT LOCAL DESTINATION PATH HERE ***"
|
||||
Reference in New Issue
Block a user