Sharepoint
-
I've been tasked with reading & writing file to/from sharepoint. I've never even seen Sharepoint before. I have a Windows app that will load files from Sharepoint, run some processing, and write the results back out to Sharepoint. They have made me an admin on it so I can set things up. I've been Googling, but all I get are snippets with little context. I'm going to ask some stupid questions... 1. How do I setup the location(s) I need? 2. Are there actual folders I can read/write from? How do I reference them? Like a drive letter? Or do I need an API? 3. Where do I go to get sharted doing this with C#? Thanks
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
-
I've been tasked with reading & writing file to/from sharepoint. I've never even seen Sharepoint before. I have a Windows app that will load files from Sharepoint, run some processing, and write the results back out to Sharepoint. They have made me an admin on it so I can set things up. I've been Googling, but all I get are snippets with little context. I'm going to ask some stupid questions... 1. How do I setup the location(s) I need? 2. Are there actual folders I can read/write from? How do I reference them? Like a drive letter? Or do I need an API? 3. Where do I go to get sharted doing this with C#? Thanks
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
I did some searching and I trust the following is what you might need going forward - 1) To set up your SharePoint Site, have a look at - MS Support | Create a site in SharePoint[^] 2) SharePoint uses different authentication methods, often involving OAuth tokens or username/password credentials. You'll need to confirm the authentication mechanism that your company uses. Common libraries for handling authentication include Microsoft's MSAL (Microsoft Authentication Library) or ADAL (Active Directory Authentication Library) for OAuth-based authentication. You will find more at - MS Support | With a Mismatch Error | Authentication settings in Central Administration do not match the configuration in web.config[^] MS Learn | Overview of the Microsoft Authentication Library (MSAL)[^] MS Azure | Active Directory Authentication Library (ADAL)[^] 3) SharePoint has REST APIs that allow you to interact with it programmatically. Alternatively, there are client libraries provided by Microsoft that can simplify the process of interacting with SharePoint using C#. The Microsoft Graph API is a newer unified API that can also be used to work with SharePoint. See more at - Lists vs. Libraries in SharePoint Online[
-
I did some searching and I trust the following is what you might need going forward - 1) To set up your SharePoint Site, have a look at - MS Support | Create a site in SharePoint[^] 2) SharePoint uses different authentication methods, often involving OAuth tokens or username/password credentials. You'll need to confirm the authentication mechanism that your company uses. Common libraries for handling authentication include Microsoft's MSAL (Microsoft Authentication Library) or ADAL (Active Directory Authentication Library) for OAuth-based authentication. You will find more at - MS Support | With a Mismatch Error | Authentication settings in Central Administration do not match the configuration in web.config[^] MS Learn | Overview of the Microsoft Authentication Library (MSAL)[^] MS Azure | Active Directory Authentication Library (ADAL)[^] 3) SharePoint has REST APIs that allow you to interact with it programmatically. Alternatively, there are client libraries provided by Microsoft that can simplify the process of interacting with SharePoint using C#. The Microsoft Graph API is a newer unified API that can also be used to work with SharePoint. See more at - Lists vs. Libraries in SharePoint Online[
That's awesome. Thank you
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
-
That's awesome. Thank you
In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
You're welcome. If you think it it helps you out, please give a like, thanks Kevin.