# Crespect

This pugin will periodically query the Crespect application api web service for new and updated matters based on lastModifiedAt property.

Copy the dll files from the Plugins\Crespect directory to the site provisioning directory.
Restart the service to activate the plugin.

Start the configurator and browse to CustomSettings to configure the Crespect plugin.

Specify the Url

Specify the ApiKey.

The following optional properties can be set:

TestMapping
If enabled, move the parsed json to the test directory and don't update the lastchangedatetime

Client Code
Json file property to match the sharepoint client code field.
Example: clientParty.id

Client Name
Json file property to match the sharepoint client name field.
Example: clientParty.name

Cilent Party Property
API property that maps Client Party.
Example: clientParty

Client Field Mapping
Optional field that maps json file client properties to sharepoint fields with syntax: sharepointname1=name1;sharepointname2=name2.
Use the character "|" for "or" conditions if null.
Example: ClientStatus=clientParty.statusCode;ClientPartyType=clientParty.partyType

Matter Code
Json file property to match the sharepoint matter code field.
Example: caseNumber

Matter Name
Json file property to match the sharepoint matter name field.
Example: name

Matter Field Mapping
Optional field that maps json file matter properties to sharepoint fields with syntax: sharepointname1=name1;sharepointname2=name2.
Use the character "|" for "or" conditions if null.
Example: Confidential=isConfidential;MatterStage=matterStateTypeCode;Responsible=responsibleEmployeeEmail;Supervisor=supervisedByEmployeeEmail;MatterClosedDate=closedDate;

Security Groups Mapping
Optional field for explicit mappping on team codes to security groups.
Used to set security group permissions for a matter based on its team codes.
If no mapping is set then the literal codes are used. Use the format =;
Example: AAAAA-000=SecurityGroup_1;BANKI-000=SecurityGroup_2;BANKR-000=SecurityGroup_3;

Security Groups Template
Optional field if no explicit mapping is provided, each team code will be injected into this template.
Use "{0}" as the placeholder for the team code. Example: securityGroupTeam_{0}
Example: securityGroupTeam_{0}

Team Codes Property
API property that maps Team Codes array.
Example: teamCodes

Security Groups SharePoint Field
The SharePoint field to map as the matter's security groups.
Example: SecurityGroups

Employees SharePoint Field
Name of the SharePoint field that maps to the list of employees' email addresses.
Email addresses are stored as a semicolon-separated string.
Example: Employees

Employees Property
API property that maps Employees array.
Example: employeeEmails

Last Updated: 6/12/2025, 12:00:19 PM