2023:OneDrive (CMIS Binding): Difference between revisions

From Grooper Wiki
Created page with "frame <blockquote style="font-size:14pt"> The '''OneDrive''' Connection Type is a CMIS Binding that connects Grooper to Microsoft OneDrive cloud services. </blockquote> It provides access to OneDrive Personal or OneDrive for Business drives and SharePoint Online or SharePoint Server 2016 document libraries. More or less, all you have to do is sync Grooper and OneDrive by logging in using your OneDrive credentials and you can import from and expo..."
 
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{AutoVersion}}
[[image:onedrive.png|frame]]
[[image:onedrive.png|frame]]


<blockquote style="font-size:14pt">
<blockquote>{{#lst:Glossary|OneDrive}}</blockquote>
The '''OneDrive''' Connection Type is a CMIS Binding that connects Grooper to Microsoft OneDrive cloud services.
</blockquote>


It provides access to OneDrive Personal or OneDrive for Business drives and SharePoint Online or SharePoint Server 2016 document libraries.  More or less, all you have to do is sync Grooper and OneDrive by logging in using your OneDrive credentials and you can import from and export to your OneDrive folders.  OneDrive drives and SharePoint libraries can be individually imported as a CMIS Repository.  Each will expose themselves as hierarchical file system (HFS), where folders and files are represented by simple object types.  As such, this binding is suitable for Unmapped rather than Mapped Export.  You can still export metadata as a "buddy file" adjusting the Metadata Export property in the Unmapped Export Settings.
It provides access to OneDrive Personal or OneDrive for Business drives and SharePoint Online or SharePoint Server 2016 document libraries.  More or less, all you have to do is sync Grooper and OneDrive by logging in using your OneDrive credentials and you can import from and export to your OneDrive folders.  OneDrive drives and SharePoint libraries can be individually imported as a CMIS Repository.  Each will expose themselves as hierarchical file system (HFS), where folders and files are represented by simple object types.  As such, this binding is suitable for Unmapped rather than Mapped Export.  You can still export metadata as a "buddy file" adjusting the Metadata Export property in the Unmapped Export Settings.
 
<br clear=all>
{|cellpadding="10" cellspacing="5"
|-style="background-color:#36b0a7; color:white"
|'''FYI'''||The OneDrive binding also provides access to files stored in SharePoint
|}
 
== Version Differences ==
== Version Differences ==
 
When the '''''OneDrive''''' binding was added in version 2.72, it did not support full text querying. Full text searching is now possible as of Grooper version 2023.
Connectivity to Microsoft OneDrive is brand new to version 2.72!
* Use the <code>CONTAINS()</code> predicate in a [[CMIS Query]] to search document content in a One Drive repository based on a search string.
 
{|cellpadding="10" cellspacing="5"
|-style="background-color:#f89420; color:white"
|style="font-size:14pt"|'''!'''||As of 2.72, the OneDrive binding does not support search queries.  A future version should support full-text searches and expanded access to SharePoint libraries.
|}


== How To: Create a New Microsoft OneDrive Connection ==
== How To: Create a New Microsoft OneDrive Connection ==
<tabs>
<tabs>
<tab name="Step 1">
<tab name="Step 1">
Line 28: Line 17:




[[image:1559592461002-347.png|center]]
[[File:2023_OneDrive_(CMIS_Binding)_How_To_Create_a_New_Microsoft_OneDrive_Connection_01.png]]




Line 36: Line 25:




[[image:1559592448602-345.png|center]]
[[File:2023_OneDrive_(CMIS_Binding)_How_To_Create_a_New_Microsoft_OneDrive_Connection_Step_2_01.png]]




Line 47: Line 36:




[[image:1559593009030-947.png|center]]
[[File:2023_OneDrive_(CMIS_Binding)_How_To_Create_a_New_Microsoft_OneDrive_Connection_Step_3_01.png]]




</tab>
</tab>
<tab name="Step 4">
<tab name="Step 4">
Select "Import Repository" to bring in these repositories for Grooper to import and export to the corresponding folders in the connected file system.  The red circle on the upper right corner of the icon will go from red to green once the repository is imported.
{|
 
[[File:2023_OneDrive_(CMIS_Binding)_How_To_Create_a_New_Microsoft_OneDrive_Connection_Step_4_01.png]]
 
<br>
[[image:1559593044641-403.png|center]]
<br>
 
|-
 
[[File:2023_OneDrive_(CMIS_Binding)_How_To_Create_a_New_Microsoft_OneDrive_Connection_Step_4_02.png]]
|}
</tab>
</tab>
</tabs>
</tabs>


== More on Mapped vs Unmapped Export ==
== See Also ==
 
While you are not able to export all a document's metadata like you can when connecting to a CMIS compliant system, you can still utilize the [[CMIS Export#Mapped Export|Mapped Export]] provider to do things like change the filename to a data model field.  You can also create foldering and map their names to variables in a content model.
 
All those mappings would be assigned on the "Content Types" of your repository.
 
[[image:Node tree one drive cmis content type.png|center]]
 
 
[[image:1559919370812-528.png|center]]
 
You cannot, however, export a metadata file using [[CMIS Export#Mapped Export]]|Mapped Export]].  If you also want to export an XML document, for example, you would need to add a second Document Export step to your Batch process, use the [[CMIS Export#Unmapped Export|Unmapped Export]] provider, and adjust the "Metadata Export" settings in Export Settings.


[[Category:Articles]]
For more information to use your '''CMIS Connection''' once its created, see the following articles:
[[Category:Version 2.72]]
* [[CMIS Export]]
* [[CMIS Import]]

Latest revision as of 10:37, 13 May 2025

This article is about an older version of Grooper.

Information may be out of date and UI elements may have changed.

202520232.72

OneDrive is a connection option for cloud CMIS Connections. It connects Grooper to Microsoft OneDrive cloud services for import and export operations.

It provides access to OneDrive Personal or OneDrive for Business drives and SharePoint Online or SharePoint Server 2016 document libraries. More or less, all you have to do is sync Grooper and OneDrive by logging in using your OneDrive credentials and you can import from and export to your OneDrive folders. OneDrive drives and SharePoint libraries can be individually imported as a CMIS Repository. Each will expose themselves as hierarchical file system (HFS), where folders and files are represented by simple object types. As such, this binding is suitable for Unmapped rather than Mapped Export. You can still export metadata as a "buddy file" adjusting the Metadata Export property in the Unmapped Export Settings.

Version Differences

When the OneDrive binding was added in version 2.72, it did not support full text querying. Full text searching is now possible as of Grooper version 2023.

  • Use the CONTAINS() predicate in a CMIS Query to search document content in a One Drive repository based on a search string.

How To: Create a New Microsoft OneDrive Connection

Expand the "Infrastructure" node.  Right click the "CMIS Connections" folder.  Mouse over "Add" and select "CMIS Connection...".



In the "Connection Properties" panel, select "OneDrive" from the "Connection Type" drop down list. Expand the "Connection Settings" heading and the "Login" heading under that.  Select "Authentication" and press the ellipsis button at the end of the line.



Log in using credentials with a Microsoft account.


After you "Save", press the "List Repositories" button to show the folder paths you just added as repositories.





See Also

For more information to use your CMIS Connection once its created, see the following articles: