-
Notifications
You must be signed in to change notification settings - Fork 0
Instalation
Here are basic instructions on how to setup DrivEPM
- OAUTH2 Authorization
- Create Google Drive Sheet
- Create DrivEPM config file
- Setup VBA references, modules and classes
- OAUTH2 Final Setup
-
Go to Google Developer Console to create an Cloud Project

-
Enable Sheets API

-
Create a OAUTH client ID

- Choose a name for this ID

- Copy the client ID and client secret bellow

In my case this was :
ClientID = 630494151739-kfrm8clt01h0jchbs6ld23t07etreiaj.apps.googleusercontent.com
ClientSecret = JDZmX5WYEuGCuZ0APvT5X6QA
-
Create an drive sheet and write down the created sheet ID


In my case this was :
SheetID = 16NkAiBXX-x6UTBBtiwsA8i8caUz3crak6eSBpgALmWE
-
Create a configuration file named "drivEPM.config" and put it on the same folder of your project ".mpp" file with these contents:
"SheetID","16NkAiBXX-x6UTBBtiwsA8i8caUz3crak6eSBpgALmWE"
"ClientID","630494151739-kfrm8clt01h0jchbs6ld23t07etreiaj.apps.googleusercontent.com"
"ClientSecret","JDZmX5WYEuGCuZ0APvT5X6QA"These information above are just an example, you must use your own data.
-
Open project file with macros enabled and at VBA for application references add these:
- Microsoft Internet Controls and
- Microsoft XML
-
Add classes:
- cBrowser,
- cJobject,
- cOauth2,
- cProject,
- cSheetsV4 and
- cStringChunker
-
Add modules:
- functions and
- drivEPM
-
Before first use you must execute VBA macro "RunOnce()"

This VBA code will save OAUTH Authorization token into windows registry, so after first run and for security reasons you may remove these OAUTH ID and secret lines from "drivEPM.config".
"drivEPM.config" will just look like this:
"SheetID","16NkAiBXX-x6UTBBtiwsA8i8caUz3crak6eSBpgALmWE"
- Home
- Instalation
- References
-
Documentation
-
Tables Sincronized
- [Project Table](Project Table)
- [Tasks Table](Tasks Table)
- [Assignments Table](Assignments Table)
- [Resources Table](Resources Table)
- [Task Dependencies Table](Task Dependencies Table)
- [TimePhased Assignment Table](TimePhased Assignment Table)
- [TimePhased Task Table](TimePhased Task Table)
- [TimePhased Resource Table](TimePhased Resource Table)
-
Tables Sincronized