Quickdraw
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Quickdraw is a set of tools developed by Portland State University to provide generic functionality across content types using data integration principles.
For example, the Quickdraw Navigation Bar module uses the Domain Structure Mappings to generate a navigation bar that can be placed on your site.
Setting permissions
After download and enabling the modules, you need to set up permissions in order to modify the Domain Structure Mappings.
First, go to People, then Permissions and assign the "Add/Delete Domain Structure Mappings" permission to your user and anyone else you want to have the ability to modify the mappings.
Setting up Domain Structure Mappings
*This section may change in the future as the system for creating the mappings changes*
Next, you need to set up the Domain Structure Mappings themselves.
First, go to:
your_site_name/quickdraw/base/ds_mapper
(e.g., http://example.com/quickdraw/base/ds_mapper)
From there, select the widget you would like to modify.
* At this point, the Quickdraw Navmenu widget creates entries that apply to itself, Download and Clone.
The page will then show a list of Content Types on your site. Select one of them, and it will then display a list of fields and Relations (if installed) that you can create mappings for.
* Currently, non-node reference field mappings are not used by any of the following modules
Select the field or Relation you would like to map, and then give it a name by filling in the text box below it. Then, press "Add Selected Mapping." This will add the mapping to the database for the widget to use.
Repeat this as many times as you like to add additional mappings for the widget you selected.
Quickdraw Navmenu
The Quickdraw Navmenu module uses data from the Domain Structure Mappings database to create a navigation menu that you can place anywhere on your site as a block.
Once you have created some mappings for the Quickdraw Navmenu widget (see above), you can add the Navigation Menu to any page by going to Structure -> Blocks and setting the QD Navigation Menu to appear somewhere.
Also, configure it using the "configure" link to only show on the pages you need a Navigation Bar on and have mapped things for, otherwise you will get a useless Navigation Bar with only one entry.
*The Navmenu only functions correctly on nodes currently.
Quickdraw Clone
The Quickdraw Clone module allows you quickly clone a set of nodes mapped by the Domain Structure Mapping database to create backups, copy complex structures easily, etc.
After enabling the Quickdraw Clone module and assigning mappings (see above), the Quickdraw Clone tab will appear on supported pages.
On this page, you should first assign a prefix you wish to assign to your cloned nodes as well as a description for the root node of the cloned structure.
Then, simply use the tree structure provided to select what nodes you want to clone and hit the "Clone Selected" button to clone them.
Quickdraw Download
The Quickdraw Download module allows you to download part of or an entire node structure for later viewing on your computer.
After enabling the Quickdraw Download module and assigning mappings (see above), a "Download" tab will appear on supported pages.
On this page, you can use the tree structure to navigate and selected which nodes you wish to download. Then, simply press the "Download Course" button to download the course.
This will create a zip file and provide a link for you to download it. Just click the link and you will be able to get the file onto your computer. The file contains all the node pages that you checked earlier as well as an html file that allows easy browsing of your selected node pages.
Quickdraw Standard to Course Mapper
The Quickdraw Standard to Course Mapper allows you to quickly generate sets of relations using the Relation module to mapping two different entity types together.
First, you need to configure the module. Go to:
your_site_name/admin/config/content/quickdraw/std_mapper
(e.g., http://example.com/admin/config/content/quickdraw/std_mapper)
Here, you can set up the configuration options. First you need to select which types you want to map between by selecting them from the drop down menu. Next, select the relation you want to use to store the mappings. Then hit save to save your changes.
Now go to:
your_site_name/quickdraw/std_mapper
(e.g., http://example.com/quickdraw/std_mapper)
On this page, first select the content type instances you wish to map against using the drop down menus, then click 'Continue.'
On the next page, you will see the trees representing the two content types you have selected on the previous page, and a listing of the current mappings in the relation you selected to use earlier.
To map content, expand the trees and check each of the parts you want to map to each other, then click 'Create Mappings.' This creates mappings using the relation you selected between every content pair on each side.
If you want to delete mappings you have previously made, simply click the mapping(s) inside the box then click the 'Delete Mappings' button to delete them.
