-
Notifications
You must be signed in to change notification settings - Fork 2
Explorer
The Explorer window is similar to solution explorer in Visual studio. It can be used for connecting to data sources supported by SPCoder.
By default the explorer window is located on the left side of the main window. You can connect to the data source by entering the address to the text input field, choosing the connector and clicking the Connect button.
In case the connection requires authentication, Login window will show up, where you can enter the authentication details:
SPCoder will never save your authentication details to disk. The authentication details will only be used by Microsoft's library to make the connection with the server.
SPCoder contains different connectors (modules), so you can easily connect to the following data sources or "endpoints":
- SharePoint on-premise (Server side object model)
- SharePoint on-premise (Client side object model) - Windows and FBA auth
- SharePoint online (Client side object model) - Regular user and APP auth
- File system - get the content of a folder or a drive
- Github repo - get the content of the repo master branch
- Web page - download the page and parse it's content
After you connect to the data source, the content will be added to tree view. The content of the tree view depends on the type of connector:
- File system - files and subfolders
- Github repo - files and subfolders
- SharePoint connectors - Site, subwebs, lists and libraries
- Web page - parsed html tags of a web page
Every node in tree view can show some actions when user right clicks it. The list of actions depend on the node type.
- File system
- Files
- Open - displays the content of the file in SPCoder code editor
- Open in application - opens the file in system application
- Show data in grid - gets the content of the first sheet of excel file and shows it in GridViewer - This item was added using a plugin - only available for .xlsx files
- Subfolders
- Open in explorer - opens the folder in System file explorer
- Files
- Github repo
- Files
- Open - downloads the file and displays its content in SPCoder code editor
- Copy link - copies the link to file to clipboard
- Subfolders
- Open in browser - opens the github page for the folder in browser
- Copy link - copies the link to file to clipboard
- Files
- SharePoint connectors
- Site
- Open in browser - opens the SP site collection in browser
- Copy link - copies the link to SP site collection to clipboard
- Refresh - gets the latest site structure from the server and recreates the tree view
- Close - removes the site from tree view and removes any automatically added objects from Context window
- Web
- Open in browser - opens the SP site in browser
- Copy link - copies the link to SP site to clipboard
- Refresh - gets the latest site structure from the server and recreates the tree view under it
- Get PnP provisioning template xml - generates the PnP provisioning template xml and displays it in code editor - This item was added using a plugin
- List or library
- Open in browser - opens the SP site collection in browser
- Copy link - copies the link to SP site collection to clipboard
- Show items in grid - gets all the elements from selected list and shows them in GridViewer This item was added using a plugin
- Site
- Web page
- View source - displays the source of the element in SPCoder code editor
It is possible to add your own tree view actions to specific types of nodes by using the Plugins mechanism.