How to: Create a New and Nested Folder
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
This topic shows how to create a new Folder and a nested Folder in Microsoft code name “Quadrant”. This topic uses sample data that is installed in How to: Install the "Quadrant" Sample Data.
To create a new folder
In “Quadrant”, on the View menu, click Explorer, and then click Repository.
Right-click the Database node and click Insert Folder. A new folder named New Folder is added as a sibling node to the Database node.
Double-click New Folder in the Explorer to open it in a new workpad titled New FoldersTable Record +. By default, the workpad opens by using a Folder Tree viewer.
In the upper-right corner of the workpad, click the viewer switch icon (the triangle) and click Properties.
Click the Name field and change it from New Folder to Test Folder.
On the File menu, click Save Changes to commit this change to the database.
Confirm that Test Folder now appears in the Explorer.
To create a nested folder
Return to the Explorer workpad.
Double-click the Organization node to open it in a new workpad.
Expand the Organization node in the new workpad and double-click the FoldersTable node to open it in a new workpad.
By default, the FoldersTable is displayed in a list view. In the upper-right corner of the FoldersTable workpad, click the viewer switch icon (the triangle) and select Table. It will now display the unique identifier of all Folders under Organization and their respective names.
Return to the Test Folder workpad in the workspace.
Click its Folder field and change it from Null to 100. In the FoldersTable workpad, the People folder has an Id of 100, so making this change will result in the Test Folder being nested under People.
Expand the Organization Folder and the People Folder in the Explorer. The Test Folder now appears under the People folder.
On the File menu, click Save Changes to commit this change to the database.
See Also
Reference
"Oslo" Repository Folder Design Patterns