You are viewing limited content. For full access, please sign in.

Question

Question

ArchiveLink - for DEV/QA/Prod

asked on February 6, 2020

We have ArchiveLink installed on our Production server pointing to our Archive repository.  I have folders for Dev, QA, and Prod.  The config.json only allows for pointing to one folder.  The solution was to install ArchiveLink on 2 other servers, so that one server's config.json can point to DEV, another to QA, and the last to PROD.  I'm having difficulty making this happen.  The original install is working with no issue.  I want to keep it as the PROD environment (eventually), but it's currently being used by the QA SAP environment for testing.  In the meantime, I'm setting up DEV on another server.  My user is getting a 401 error when he tries to setup using that servers IP address.  Has anyone done this successfully?

 

0 0

Answer

SELECTED ANSWER
replied on February 7, 2020

So "id" identifies sap repo, "name" is the lf repo name, "rootFolderId" is lf repo folder, if you want different folders in one LF repo pointing to different sap repos, you could do something like [{id:1, name:lfrepo, rootfolderid: 111}, {id:2, name:lfrepo, rootfolderid:222}]

0 0

Replies

replied on February 6, 2020

ArchiveLink is a SAP product and you will need to go through SAP for help with configuring there applications.

0 0
replied on February 7, 2020

Hi Clara, the config.json allows configuring for multiple SAP content repository pointing to multiple folders. To add more, you can simply add another config block parallel to the one you already have, and separate them with comma. In order to test all three environment, you would need different SAP content repo for each enviornment. Please note that each SAP content repo is only allowed to be linked with one LF repo.

0 0
replied on February 7, 2020

My intent had been to use the same repo, with different folders. Is that not possible?

0 0
replied on February 7, 2020

You could use different folders in one Laserfiche repo, but each folder should be pointing to a different SAP repo

0 0
replied on February 7, 2020

My config.json looks like this:

{

  "repositories": [

    {

      "server": "xx.xxx.xx.x",

      "port": 80,

      "name": "Archive",

      "ssl": false,

      "id": "ZL",

      "description": "Document Storage to Laserfiche",

      "authentication": [ "basic", "token", "windows", "form" ],

      "rootFolderId": 1,

      "username": "mysmithfield\\xxxx",

      "password": "AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA+3kcAEFNYEWKqM4ovUxx",

      "archivelinkroot": "ArcLink_DEV",

      "thinClientUrl": "http://AZxxx.xxx.com/laserficheweb/browse.aspx?dbid=7"

    }

  ]

}

for the different SAP environments, I want the  "archivelinkroot": "ArcLink_DEV" to change (ArcLink_QA and ArcLink_PROD).  Would the change be on the SAP side, or on the Laserfiche side.  I'm sorry, this is all new to me, and I just don't know how to make this happen.

 

0 0
SELECTED ANSWER
replied on February 7, 2020

So "id" identifies sap repo, "name" is the lf repo name, "rootFolderId" is lf repo folder, if you want different folders in one LF repo pointing to different sap repos, you could do something like [{id:1, name:lfrepo, rootfolderid: 111}, {id:2, name:lfrepo, rootfolderid:222}]

0 0
replied on February 7, 2020

Perfect!  Thank you so much smiley

0 0
replied on February 10, 2020

Would I be able to use any of the variables set in the config file?  The Name will be the same, only the ID and Archivelinkroot would change.  Will this work:

     "port": 80,
      "name": "Archive",
      "ssl": false,
      [{"id": "ZD", "archivelinkroot": "ArcLink_DEV"}, {"id": "ZQ", "archivelinkroot": "ArcLink_QA"},{"id": "ZP","archivelinkroot": "ArcLink_Prod"}]
      "description": "Document Storage to Laserfiche",
      "authentication": [ "basic", "token", "windows", "form" ],
      "rootFolderId": 1,

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.