outlook-to-replicon-cli v1.0.4
Timesheet Utility: Outlook to Replicon
Setup: Configuring the App
Before running the app, you need to create a file in your home directory ~/.outlook-to-replicon.json
with the
following structure. Use your Cvent email address for userEmail
. Details for getting other values can be found
below.
{
"userEmail": "johndoe@example.com",
"microsoftGraphBearerToken": "...",
"repliconCredentials": {
"username": "...",
"password": "..."
},
"outlookCategoryToRepliconUriMap": {
"Your Custom Category 1": {
"clientUri": "urn:replicon-tenant:123:client:1",
"taskUri": "urn:replicon-tenant:123:task:2"
},
"Your Custom Category 2": {
"clientUri": "urn:replicon-tenant:123:client:1",
"taskUri": "urn:replicon-tenant:123:task:3"
}
}
}
Getting the Replicon credentials
The credentials can be found here: https://stash.cvent.net/projects/AS/repos/as-toolbox/browse/service/configs/applicationTemplateYaml.yaml#630-631
Getting the Microsoft Graph bearer token
Go to https://developer.microsoft.com/en-us/graph/graph-explorer. Log in with your @cvent.com email address, click on the Access Token tab.
Outlook Category to Replicon URI Map
This object is where you configure the name of your categories in Outlook, as well as the Replicon client and task that you want to sync events from that category to.
The Outlook category names are customizable, but the value must match Outlook exactly.
To get the Replicon URIs, you need to do some sniffing in your browser network logs when loading Replicon. A default outlookCategoryToRepliconUriMap with URIs already filled out for a bunch of common categories can be found on wiki here