- Open
Solidworks PDM Administration
- Right click
Message System
- In general, set
Selected mail system
toSMTP
. - Under SMTP Settings, set the following values
- Server:
127.0.0.1
- Port:
25000
- Server:
- Open
Notification Templates/File Notifications
- Right-click
Changed State
and click open. - Select Template as
custom
- Set the Body to:
[%repeatblock_begin%{"user":"%user%","source":"%source_state%","dest":"%deststatus%","file":"%filename%"},%repeatblock_end%{}]
- Open Users and Groups Management
- Right-click
Users
and click New User - Click
New SOLIDWORKS PDM User
- Name the user
slack
- Set the E-mail to
slack@bellhop.iitmotorsports.org
- Click next, then save the user.
- Open the default workflow
- Open the properties for each transition (arrow)
- Go to the notifications tab
- Click
Add Folder Notification
- Select the root vault folder
- Under Recipients, click
Add Users/Groups
, then select the slack user. - Click Okay to close all windows.
Deployment is out of the scope of this documentation since this is assumed to be an internal tool. Please deploy the java server however you prefer.
- Configure bellhop's properties under
application.properties
- Run
./gradlew bootJar
- Copy the jar file from
./build/libs
and run it on the PDM server.