# Issues when adding Perforce Repository

**URL:** https://www.finalbuilder.com/forums/t/issues-when-adding-perforce-repository/5774
**Category:** Bugs
**Created:** [January 30, 2013, 8:29am UTC](https://www.finalbuilder.com/forums/t/issues-when-adding-perforce-repository/5774 "2013-01-30T08:29:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 30, 2013, 8:29am UTC](https://www.finalbuilder.com/forums/t/issues-when-adding-perforce-repository/5774/1 "2013-01-30T08:29:01Z")

</div>

When first creating a Perforce repository you don't know the name of the Workspace so you can't define the ViewMap.&nbsp; However, you can use a dummy one then pull the error log to determine what workspace name was generated, then redefine the ViewMap but this is not very intuitive.&nbsp;

&nbsp;

Also,&nbsp; once you have the workspace and&nbsp; Validate an error "ViewMap format is invalid" is shown.&nbsp; However if you Save anyway it works.&nbsp; Screenshot attached.

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 30, 2013, 11:48am UTC](https://www.finalbuilder.com/forums/t/issues-when-adding-perforce-repository/5774/2 "2013-01-30T11:48:48Z")

</div>

Hi Jim   
  
 This is really a documentation issue, we haven’t updated the doco since we reworked the perforce repository recently(I’ll try and get to that today). You do not need to know the workspace name, just use the word workspace, it will be replaced by the correct workspace name at runtime, e.g.   
  
 //Depot/… //workspace/Depot/…
