“Content types that are available to this Document Set have been added or removed” in SharePoint Online

Question: I have a site collection that contains multiple sub sites with documents libraries inside. I need to update the documents set inside those libraries using code. It could be via CSOM, PowerShell or JSOM. I have tried multiples ways of updating properties of those Documents Set but it says “Content types that are available to the Document Set have been added or removed”. CSOM Document Set helper functions only work with SP 2010 ?How could I update properties on a Document Set targeting SP Online using code?

workflows – Sharepoint 2016 – design input for custom approval and document manipulation flow

Have a feature im trying to build, in sharepoint 2016.

  • Need to manually trigger a flow on document level in a library.
  • Flow is part approval / publish, part document copy, part custom manipulation of the content in the document triggered.

My inital thought was to use flow / automate for this, triggering it through column with custom formatting (and perhaps an external microservice or something for the document manipulation). The problem here it seems that Sharepoint 2016 do not support custom column formatting (only 2019 / online) to generate trigger button. And farm solution is not an option.

Would appreciate input on good options how to solve this design-wise (no matter flow / automate or else).

document – How will you manage this step inside a wizard? Hard level: external plugins and valid signatures certificates needed

I’ll try to explain myself as best as I can:

I need to create a flow for sign documents in bulk. I mean, the user selects in a table a number of documents, and then the user applies the sign to all these documents.

How am I managing that? With a fullscreen wizard:

1 step: choose the sign type (without certification -easy, add only your name; and with certification -the complex way, using plugins and this stuff)

2 step review the selection of the documents (the list with the documents ready to be signed, nothing complex)

3 step result of the action (signed or error)

So, my problem is in the first step, with when you select the “sign with certificate” option because:

-First, we check (automatically) if there is a browser extension installed. If not, we should redirect to the extension install.

-Second, if we found the previous extension, we show a list of valid sign certificates previously installed by the user. So the user selects one and continues with the wizard. OR, if the user doesn’t have the signature certificate, we show the URLs to install one of the supported certificates

You can see here where all this should happen (low fidelity, sorry, haha):
Step 1 in the wizard

I’m not sure how to add these things inside a selection inside a step. I thought of adding a spinner ie: “checking certificates”. The result of this operation will be:

-No extension found: “You need to install X extension”
-Extension found, but no certificates found: “You need to add any of these valid sign certificates”
-Extension and certificates found: “Select a valid certificate”

In summary: spinner + required action.



What do you think about this approach? I feel that this is a complex situation :/

PS: Sorry for my English

sharepoint online – Grant a user permission on a document using Share or using the Advance permission settings

We have a document library inside a communication online site, and we have 2 approaches to share a file with a user who do not have access to the site:-

  1. Select the Document >> Using the Share link:-
    enter image description here

  2. Select the Document >> click on “Manage Access” >> click on “Advance” >> stop the permission inheritance >> grant the user access to the file:-
    enter image description here

in both cases the user will have access to the file, but is there any differences between the above 2 approaches? or they will satisfy the same need?


How can machine learning be used in making sure a document has all the required headings and details?

We are trying to build a system that would accept fyp proposal documents and then would validate is there something missing, like a heading or a chart that should be in the document according to the template.

The question is how machine learning can be used to solve this problem. As it seems a simple if else sort of a thing.

Map SharePoint 2016 On-Prem Document Library as a Network Drive with PowerShell

I am trying to map a SharePoint 2016 on-prem document library as a shared drive.

I can map it manually but I am trying to do it with PowerShell

my document library url is http://mysharepointinstance/sitename/documentlibrary

Note: site is not SSL configured and code will execute on a Windows 10 box

$LibraryPath = "\mysharepointinstance@SSLDavwwwRootsitenamedocumentlibrary"
New-PSDrive -name "R" -Root $LibraryPath -PSProvider filesystem

but I am getting error

The specified drive root "\mysharepointinstance@SSLDavwwwRootsitenamedocumentlibrary" either does not exist, or it is not a folder.

sharepoint online – SPO – Unable to copy/move document set to another library on the same site

I’m unable to move and/or copy Document sets from a library to another library on the same site. When I select Move-To/Copy-To the current library is selected automatically and I’m unable to select another library.

How it looks:

enter image description here

If I test on a normal folder in the same library:

enter image description here

The library is quite large ~50000 files and a size of ~40 GB. The average Document set is between 200 to 500 MB. I’ve created a couple of views that narrows the items down to 100 to 200 items that I want to copy, however that does not help.

What could be restricting the possibility to copy these Document sets to another library?

Como eu edito o conteúdo do meu Document HTML com javascript?

Galera, é o seguinte, eu tenho um código que verifica dentro do DOM (Texto) se tem os caracteres “{(nome_da_variavel)}”, E substitui o nome_da_variavel pelo valor da variavel global do javascript no HTML, eu percorro o texto por meio do script: var document_html = new XMLSerializer().serializeToString(document);
Esse código que verifica no DOM funciona 100%, o problema é que no final eu estava fazendo o seguinte: document.documentElement.innerHTML = new_html, ele me mostra exatamente tudo o que eu proponho, mas, o innerHTML simplesmente reseta TODOS os id’s e funcions, por exemplo se antes eu tinha um input com o ID “login_user” e conseguia editar, depois do innerHTML eu já não consigo mais, esse “new_html”, é o document em texto ja com as coisas da minha função feita, eu queria dar um jeito de substituir o Document por ele, mas continuar com as id’s name’s etc, diferente do que o Inner HTML faz.
Eu não vejo outra saída mais porque ele vasculha o html como Text, ou seja independe de Tags html, na onde tiver {()} ele vai fazer, eu estava pensando um tentar um databind com o document no modo de Texto, mas não sei como eu faço isso.
Eu queria uma solução com javascript Puro, porque eu sei que com o Jquery eu poderia colocar um $(document).html(new_html)e meu problema ja estaria acabado.

sharepoint rest api – How to use Excel Service (/Model) with Document ID enabled

I’m currently running SharePoint 2016 and have Document ID service enabled.
Knew that once I enable the Document ID service, documents’ URL will change from ~/DOCLIB/filename.xlsx to ~/_layouts/15/DocIDRedir.aspx?ID=BLAH. I was fine with that.

Recently got a new project that will have to use the Excel Service (/Model); so I followed the Microsoft documentation https://docs.microsoft.com/en-us/sharepoint/dev/general-development/basic-uri-structure-and-path; the example the documentation had was : ServerName/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model

and of course I replaced the URL path with documentID URL like below ServerName/_vti_bin/ExcelRest.aspx/_layouts/15/DocIdRedir.aspx?ID=BLAH/Model and I got “sorry, something went wrong” error.

Does anybody using both services and know how to get around the issue that I’m having or is there a way to get default URL path and still keeping the Document ID?

Thank you.