I downloaded a template from LDD for expense report database. There actually two templates, one for the expense report and the other for a personal profile. I was able to modify both templates to reflect my company with no problem. I was then able to create a personal profile. However, when I tried to complete the expense report I got errors that it could not connect to the personal profile database. I'm not sure what to change. I found the script that relates to it, but what do I change. The error says I need the correct connection key of XXXXX-Personal Profile Db. That comes up twice then it says it needs connection key for accounting XXXX-Accounting Approval. The XXXXX is my domino server. The script for the connection is below:
currentserver := @Name([CN]; @Subset(@DbName; 1));
@Set("currentserver"; @Name([CN]; currentserver));
key := @If(currentserver = ""; "Local"; LFGN1) + "-Personal Profile Db";
server := @DbLookup("" : "NoCache"; ""; "(LookupConnection)"; key; "TrueTargetServer");
@If(@IsError(server); @Do(@Prompt([Ok]; "Personal Profile Db Error"; "There was an error in retrieving the Personal Profile Db server name. Please contact an administrator to resolve this problem. The connection key should be " + key); @Set("server"; "")); "");
server
The template does not come with instructions. Does anyone know how I can make this work.
currentserver := @Name([CN]; @Subset(@DbName; 1));
@Set("currentserver"; @Name([CN]; currentserver));
key := @If(currentserver = ""; "Local"; LFGN1) + "-Personal Profile Db";
server := @DbLookup("" : "NoCache"; ""; "(LookupConnection)"; key; "TrueTargetServer");
@If(@IsError(server); @Do(@Prompt([Ok]; "Personal Profile Db Error"; "There was an error in retrieving the Personal Profile Db server name. Please contact an administrator to resolve this problem. The connection key should be " + key); @Set("server"; "")); "");
server
The template does not come with instructions. Does anyone know how I can make this work.