Default Path for Geospatial Administrator

This is probably a very simply question, but how do I set the default path that is used by the Geospatial Administrator?  When I create a Shema and export it, all the files are generated in the correct place, but if I try to run the user workspace (or generate a shortcut), it puts "C:\Documents and Settings\All Users\...." as the path to the to the workspace, but the workspace exists on the server drive not the local.

 I hope this makes sense.  Cheers Ian

  • You have to enter you path at two different places typically:

     -In your workspace node, you have to specify your "Base Source Dir". It seems that you're doing this.

    -In your "Geospatial Project" node, it's the root node in the GSA treeview. You have to specify a "Workspace Root Directory". I think that's doing this should fix your problem.

     Hope this helps!

  • Thanks, but I have already set both of those paths.

    Cheers Ian


  • Hi Ian,

    Let's see if we can get this straight:

    1. The location of an XFM project is determined by the Workspace Root Directory plus the Project Parent Directory plus the Project Name entries that can be found under the Geospatial Project node when you have a XFM schema file open.



      In the case of the geo_example XFM project that would be (in my case):

      C:\Documents and Settings\All Users\Application Data\Bentley\Workspace
      (plus)
      Project\Examples\Geospatial
      (plus)
      geo_example
    2. To that root location of the project the workspace name gets added, typically found in the Name field of a defined user workspace. In the case of the designer workspace of the geo_example, the user's workspace location would then be:

      <everything specified above>
      plus
      designer
      This is typically the path used when you click the Run button in the administrator or when you create a shortcut.
    3. In addition to the project path, on the user workspace level a Base Source Dir is define, which points a location where the files can be found that are being copied into the user workspace when you export your XFM schema.

    Given this information, do I understand correctly that you have your project root information (see point 1) pointing at a location on the server and that hitting the Run button or creating the shortcut still assumes your XFM project is local?

    Cheers,

    Gijsbert


    This is a test

  • Ian,

    I tested it, and you're right, It doen't take the good path, even if you specified it correctly in GSA. The problem is that currently, when you create a shortcut or when you press run, GSA uses a value that you entered at the installation of Map for the workspace directory. In fact, it seems to be a problem that GSA acts this way, I've reported the problem, this should be fixed soon.

     For the shortcut, you can edit it manually in GSA, just use your workspace path to replace -wr"The/Old/Path" with -wr"Your/Path" in the argument field. You can also add add -wr"Your/Path" at the end of the target field of your start menu Map shortcut, It will always uses this path at your default workspace root when you'll use this shortcut.

     Sorry for the inconvenience,

     Mathieu