[en] You create a project with labels and solutions for your customer, but when you copy the files to the customer's computer or Control Center, not all files that you used in the project (databases, images...) are found.
[en] When you place an image on the label or create a connection to the database, NiceLabel remembers the original location of linked files. On the customer's computer, you might have copied the files to some other folder than exists on your computer, and this might be the reason for the failure.
[en] NiceLabel software looks for files in the remembered folder, searches other locations, and uses relative paths.
[en] NiceLabel searches in four levels. If the file is not found in the current level, NiceLabel tries the next level.
Nota
[en] When you copy your files to Control Center (on-premise installation or Loftware Cloud), use the following structure:
[en] \MyProject\Labels\label.nlbl
[en] \MyProject\Solutions\solution.nsln
[en] \MyProject\Database\products.accdb
[en] \MyProject\Graphics\logo.png
[en] When you copy your files to Cloud Designer, use the predefined folders:
[en] \Root\Database
[en] \Root\Graphics
[en] \Root\Labels
[en] Level 1: NiceLabel checks the folders as used during the configuration
[en] Designed files with links to:
[en] C:\Folder_A\label.nlbl
[en] C:\Folder_B\solution.nsln
[en] C:\Folder_c\products.accdb
[en] C:\Folder_D\logo.png
[en] Level 2: NiceLabel checks the folders as set in the program options
[en] These folders can be modified in File>Options>Folders.
[en] C:\Documents and Settings\user\NiceLabel\Labels\label.nlbl
[en] C:\Documents and Settings\user\NiceLabel\Solutions\solution.nsln
[en] C:\Documents and Settings\user\NiceLabel\Database\products.accdb
[en] C:\Documents and Settings\user\NiceLabel\Graphics\logo.png
[en] Level 3: NiceLabel checks the current folder
[en] The current folder is the one containing the label or solution file requesting a link to a file.
[en] C:\some-folder\label.nlbl
[en] C:\some-folder\solution.nsln
[en] C:\some-folder\products.accdb
[en] C:\some-folder\logo.png
[en] Level 4: NiceLabel checks the "labels, solutions, database, graphics" project structure
[en] C:\New folder\Project\Labels\label.nlbl
[en] C:\New folder\Project\Solutions\solution.nsln
[en] C:\New folder\Project\Database\products.accdb
[en] C:\New folder\Project\Graphics\logo.png
[en] To make sure that your solution will work independently on any computer, always use the folder structure as suggested in Level 4. This ensures the relative paths are always the same.
[en] Follow these steps to create the proper folder structure when you start working on the project that will be running on somebody else's computer.
-
[en] Create a folder for your project, for example, 'Project'.
-
[en] Make four sub-folders in this folder. Name them Labels, Solutions, Database, and Graphics. It is important to use these exact folder names in English.
-
[en] Create or copy the files in the appropriate folders: labels go into the Labels folder, solutions go into the Solutions folder, database files go into the Database folder, and images go into the Graphics folder.