In the 7.2 release of SalesLogix Web you were introduced to the Application Architect and the Virtual File System. Immediately there was a flurry of information being created and consumed, some correct and some incorrect. In the training department at Sage we have even had trouble deciding what to call certain parts of the product. Our main concerns are to remain consistent with what the developers or product management decide to call the pieces and to train you on these subjects as best we can.
So now we talk about the VFS
In the past I have referred to the VFS as anything related to my customizations. There was a table in the database named VirtualFileSystem, there was the project workspaces that contained one or more VFSs, and there was the potential to be working with an “exported VFS”.
I was wrong in a couple places, important places mind you, and I was not alone.
Say it ain’t so
Sorry but it is so. Here is how I remember it:
Before the SalesLogix Boot Camp I was talking to a developer about a subject we were covering. In the Boot Camp we were going pretty deep into about 25 topics and I needed to have some real details about “the VFS” as I called it. As we were talking this developer stopped me and said: “You mean the model?” and I said: “uh yeah, the model in the VFS” and we moved on. I hadn’t realized that my affirmative statement was actually completely wrong. The same situation happened the next day and I finally asked for an explanation of the differences in semantics.
But it didn’t stick
So Boot Camp came and we started in on the particular exercise that included “the VFS”. There were several discussions about what the VFS was and was not and what else it was to be called. We brought in the idea of a model (which was in the book in the correct form) and that seemed to raise more questions.
After all we had gone 2 years as a group calling this thing the VFS. Something had to change. This is where the LFS idea came from. Someone from our PSG group suggested it be called the LFS for Local File System when it is exported. Sounded good at the time and we talked a bit about it and moved on.
What are we left with now?
What we are left with now is three distinct ideas:
- The VFS
- The Model
- Project Workspaces
VFS or Virtual File System
The VFS is a table in the database. It is called the VIRTUALFILESYSTEM table. It is used to hold the Model as well as some user settings for the dashboard on the web. This was covered well in the videos and book from Boot Camp – available at the developers subscription.
The VFS is also used to refer to the system of storing items in the table called VIRTUALFILESYSTEM, but much less often.
The Model
The model is your actual work. It is a set of mostly xml files containing mostly meta data used to describe the stuff you see in Application Architect. There are files for every entity, every business rule, every form, and just about everything else. Portals are in there along with their definitions too.
Realistically it is a folder on your hard drive or stored in the VirtualFileSystem table. To me it is like the changes in a visual studio project without the csproj or sln files. Visual Studio .net can use that folder perhaps, but without the csproj files it is really just a collection of files.
Project Workspaces
So when you pull your Model into Project Workspace Manager it becomes a Project Workspace:
This is why LFS is such a bad term. You can have more than one Model on your “Local File System” which one is the LFS? The model is in a location, either the VFS or on the local hard drive or on a network share somewhere. In either case it is hardly usable outside of a Project Workspace. You can use it and we do in many videos in the developers subscription, but really we spend most of our time in AA making modifications.
Wow that is confusing just break it down for me
OK, so your are confused. Just do this:
Stop referring to your Project Workspace as a VFS. If you want to know where to place source control or how to backup your changes you need to know the working path of the Model. Is it in the VFS or on the hard drive or a network share?
Can you export your VFS? No. You export your model from a Project Workspace by right clicking a project and then “Add”:
Can you backup your VFS? Yes. Just like any other table ;) You use SQL Server to do this.
Oh you mean backup your model? Sure. Just use 7-zip like any other folder ;)
I see. You mean backup your Project Workspace? Sure. Right click the Project Workspace and backup and restore as needed.
“Wait!” he says, “I want to import the entities and stuff I have in an “exported vfs” into the vfs that is in my database.” and he has learned nothing from this post.
You can import the changes from one project into another – remember a project is a model loaded into Project Workspace Manager – from the C:\ or network share OR from the VFS. So right click your destination project (the one in the vfs probably) and import from another project. Then you can choose the Project that you want to import from – the one on the C:\ drive or network share.


