Users permissions

Note

This is has to be performed by a perforce user with `Admin rights <https://www.perforce.com/manuals/v15.1/p4sag/chapter.protections.html>`_.

  • In p4admin : Create users with name as the same login name as ftrack
  • In p4admin : Ensure users are part of the p4users group as Members and Owners
_images/user-permissions.PNG

Workspace and local folder

Local folder

Create a workspace folder on your local disk as a location to save and store files

For example:

C:\Users\loren\OneDrive\Documents\PerforceWS

Workspace

Create workspace

In p4v: login with your current ftrack username and perforce password. Create a new workspace

_images/new-workspace.PNG

Set workspace

Set the workspace path to the folder created in step 1 of this process:

_images/workspace-setup.PNG

Once complete, p4v should look like this:

_images/workspace-setup-done.PNG

Integration

Setup user workspace and credentials

  1. Download or build the latest integration.
  2. Install the integration as ftrack plugin
  3. Start connect.

If the plugin is properly installed you should see the Configure Perforce User action.

_images/connect-startup.PNG

Launch the Configure Perforce User Action from ftrack Connect. Select the workspace you wish to use and click ‘save settings’.

_images/user-setup-workspace-connect.PNG

Note

A login window will display and ask for a username and password, if you have not logged into Perforce for a while.

_images/reenter-pass.PNG

Your ‘Workspace Root’ should match that of the folder created and set up during the Perforce user configuration. (See: Set up user workspace.)

_images/user-setup-workspace-connect-done.PNG

This will write a configuration file into the ftrack-connect data folder, which will contain your chosen settings:

_images/config-result.PNG

You can now restart ftrack connect.

Project Configuration

Note

The user must be assigned super Access Level in Perforce and be granted permissions to add custom attributes on the ftrack server, otherwise this Action will not appear and run.

_images/permissions.PNG

Run ftrack Actions and select Configure Project Perforce on the created project.

_images/configure-project-action.PNG

Set the per project depot attribute and click Submit

_images/per-project-depot.PNG

To confirm all is in place run p4v and check the view to the current project has been correctly added

_images/view-configuration.PNG

You can now restart connect.

Publishing

You should now be able to publish to perforce using connect as usual using connect or any other ftrack integration.

_images/connect-publish.PNG

This will result in ftrack Connect reporting a successful publish:

_images/connect-publish-result.PNG

The component will be added to the server’s ftrack.perforce-scenario location.

_images/connect-publish-result-server.PNG

Running p4v should show the files in the depot.

_images/p4v-successful-publish.PNG