If you have selected a user-defined repository as the system, you must specify a connection string and the search string (SearchString) specifically for the repository.
In this article, we explain how a search string and the connection string for a wiki system are put together.
You can connect any ECM system at any time.
Connection string for a user-defined repository
This URL is used to directly display a content type, e.g. a page, an attachment or a blog article:
https://{Server}/wiki/{DocumentType}?{SearchString}
To establish the connection to a wiki system, for example, you must enter the URL of the wiki system in the URL parameters:
-
Parameter {Server}: Enter the base address of the server with the web application.
-
Parameter {DocumentType}: Enter the content type (e.g. wiki page or blog post) that you want to search.
Correct URL path to the user-defined repository
Find out in advance what the correct URL address of your repository is.
Unlike a wiki system, the path could look like this:
https://{Server}/<WebPath>/{DocumentType}<WebPath>{SearchString}
Replace <WebPath> with the elements of the URL to the application you want to connect to.
Please check the composition of the URL in the relevant manufacturer's documentation.
Parameters and variables for "SearchString" in the connection string (example)
Suppose you want to search all pages for the content type Attachment with a specific invoice number of a defined company.
You need the following elements to define the parameters for SearchString:
-
ECM field for the index number of the type, e.g. with the value type.
-
Name of the type in Dynamics 365 for Finance and Operations: e.g. attachment.
-
ECM field for the index number of the text, e.g. with the value text.
-
Property (attribute) of the text in Dynamics 365 for Finance and Operations: e.g. 7500201.
-
Search pattern for the index field and the associated value (Base Connection > Pattern): The pattern %1 stands for the name of the index field and %2 for the value of the index field. Both patterns are separated by a character, e.g. colon or equals sign. For your environment, check which character is used to separate the name and the value of the index field.
-
Field separator for the search index field and the associated value (Base Connection > Field separator): In your connected application, check which character is used to separate the fields, e.g. comma, ampersand. In this example, it is an ampersand.
Under Base Connection, enter the search pattern in the Pattern field and the separators under Field separators.
For details about the fields see: Define a connection to an ECM system and map the ECM fields
Enter these variables and values in the SearchString field as follows. Be sure to enter the corresponding characters, such as the ampersand and equals sign, in the position shown: type=attachment&text=7500201