Adding tags to Sharepoint online Office 365 documents via C# and CSOM

I have a small project that requires migrating from Sharepoint 2010 to Sharepoint Online. According to Microsoft, tags have been discontinued.

I have been able to add Enterprise Keywords and custom metadata columns which works great.

Sharepoint Online still has a column for tags (despite it not being editable). The client is still very much focused on tags for the moment. I cannot seem to figure out how to assign a tag via C#. Is there anyone who could point me in the right direction?

using (var cc = new OfficeDevPnP     .Core     .AuthenticationManager()     .GetSharePointOnlineAuthenticatedContextTenant(         "https://company.sharepoint.com/sites/",          "Test@test.com",          "password"))      {         Web web = cc.Web;          FileCreationInformation newFile = new FileCreationInformation();         newFile.Content = System.IO.File.ReadAllBytes(@"C:\Test\Upload.jpg");         newFile.Url = "Upload.jpg";          Microsoft.SharePoint.Client.List docs              = web.Lists.GetByTitle("Documents");          Folder folder = docs.RootFolder.Folders.GetByUrl("General");         File uploadFile = folder.Files.Add(newFile);          //uploadFile.Tag = ???          cc.Load(docs);         cc.Load(uploadFile);         cc.ExecuteQuery();      } 

What do I set at uploadFile.Tag?

Ability to split word document(s) into based on section breaks or quickparts

I have a template word document that is filled up by users. This word document contains text and tables that I wish to extract to sharepoint.

Is it possible to extract just the table in it and compare this extracted table with another extracted table from a different file (Also using the same template but with different fields).

Just want to know the feasibility of this concept

Moving documents

I have a document that I want updated by an employee every week. Now I have figured out how to copy the document using a list workflow by changing the status of the document to completed, where it is then copied to “Archived documents’ library and deleted from “Documents’ library. because it is a weekly operation I would prefer to have the document moved to archive and replaced with a blank copy each week. so I had created a library to store a blank document, and attempted to create a flow to copy this into documents but it wont work because it is triggered by the completion of the document and when a document is marked as completed it is moved to archive instantly so it is like there is nothing there to trigger the flow to move the blank document to document. how can I adjust this to work? Is there any other way to do this ?

Sharing Documents with Groups or Users using Powershell

We have a Document Library with Document Sets, each containing a bunch of Documents on employees.

An employee should only be able to view specific file(s) within their Document Set.

A number of groups should be able to view everything (The employee’s Document Set and all Documents within).

Permissions, inheritance, and assignments were messed up. The solution is to reset everything.

Using PowerShell, I am able to restore Inheritance (recursively) from the Document Library, which will grant the Groups that need to see everything the correct access.

Then I break the inheritance between the Documents, the Document Sets, and Document Library.

In order for an employee to view and edit the documents they need to edit, I must share the a) Document Set, b) the Document. However, when I share the Document Set with them, all documents within the Doc Set are shared with them (which is incorrect) even though I had broken the inheritance between the Documents and their parent Document Set.

Questions:

1- Is there a way I can share a Document Set level with a user without sharing the documents within this Doc Set?

2- Is it possible to use Powershell to share Documents with specified user groups?

Thanks for any feedback.

TK

Gmail acces of My Documents for attchments based on last used for saving files versus alphabetically

Somehow my gmail access to My Documents in Windows 10 went from alphabetical to last saved. This is burning a lot of time in searching folders for file attachments. How can you re-order the priority from last saved into to alphabetical? Thank you.

Gmail acces of My Documents for attchments based on last used for saving files versus alphabetically

Somehow my gmail access to My Documents in Windows 10 went from alphabetical to last saved. This is burning a lot of time in searching folders for file attachments. How can you re-order the priority from last saved into to alphabetical? Thank you.