2.90:CMIS Lookup (Lookup Specification): Difference between revisions
| Line 47: | Line 47: | ||
#* To log out, click the ellipsis button on the property. | #* To log out, click the ellipsis button on the property. | ||
# Set the '''''Enable Library Types''''' property to ''True''. | # Set the '''''Enable Library Types''''' property to ''True''. | ||
#* There are two main '''Content Type''' objects within a '''CMIS Repository''' object: '''Document''' and '''Folder'''. These have sub-libraries within them that have content specific to their type. Setting the '''''Enable Library Types''''' property to ''True'' will allow the creation of '''CMIS Content Type''' objects based on these sub-libraries. This must be done in order to connect to the specific library and have visibility to its writable properties. | #* There are two main '''Content Type''' objects within a '''CMIS Repository''' object: '''Document''' and '''Folder'''. These have sub-libraries within them that have content specific to their type. Setting the '''''Enable Library Types''''' property to ''True'' will allow the creation of '''CMIS Content Type''' objects based on these sub-libraries. This must be done in order to connect to the specific library and have visibility to its writable properties. '''''Writer's note - This statement is true if you plan to complete steps 10-13 below and leverage that specific object for import or export. Given the note there states that steps 10-13 are not needed for this CMIS Lookup, this previous statement is a bit erroneous. | ||
|| [[File:cmis_lookup_004b.png|1000px]] | || [[File:cmis_lookup_004b.png|1000px]] | ||
|- | |- | ||
Revision as of 16:29, 23 April 2020
Performing data lookups on CMIS sources like SharePoint can be a powerful data integration tool.
A base Content Model for use with this article can be found here. It is not required to download to understand this article, but can be helpful because it can be used to follow along with the content of this article. This file was exported from and meant for use in Grooper 2.9
About
Grooper uses the CMIS protocol to connect to a variety of Content Management Systems. This connection can be used to integrate data in powerful ways by allowing the collection of one (or sometimes many) fields of information within a model in Grooper (let's call it Field A), then leveraging that extracted data point against the column of like information in the Content Management system (called Column A) to then pass back other desired fields from other columns in the same row of information.
How To
|
The most basic thing to understand about performing a lookup in Grooper is what the "lookup field" is and what the "target field(s)" is(are). The lookup field is the trigger, and the target fields are the result. |
|
Understanding the Source
Perhaps the most challenging aspect of explaining how to leverage this functionality is the fact that it requires access to a SharePoint document library. One was created for the sake of this article, but unfortunately cannot be shared externally. The scope of this article also does not allow explaining setting up a SharePoint document library, as that's an exhaustive topic on its own. Note that CMIS Lookups are not limited to SharePoint, that just happened to be the content system chosen for this article.
Given that it will be assumed you have access to a source that Grooper can connect to via a CMIS Connection.
The below image is showing a SharePoint document library with a single document in it and several columns added and populated with information.
Understanding the Content Model
|
The Content Model used here is very simple. It has no Content Types or any extraction setup. It simply has a Data Model with several fields. None of that is necessary to setup and demonstrate the lookup. |
|
Configuring a CMIS Connection
This configuration is specific to this article. While aspects of it can apply to any configuration, it's worth noting that this is not THE way to configure a CMIS Connection. This will be configured for a SharePoint environment. Note that the URLs in the image cannot be connected to externally, so attempting to copy this configuration verbatim will give you errors. This is meant as a guide, and will require an actual SharePoint environment on your end to be established, and real URLs from it supplied.
|
|
|
|
|
|
|
Writer's note - Having created this article and gone back through it, I now realize steps 10-13 here are not absolutely necessary to configure the CMIS Lookup. It will not impede one's ability to do so, and this is valuable information otherwise, as you can use the object created in these steps to map import and export properties for other activites. Feel free to not do steps 10-13. |

