This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:toolcoding:subroutinepackage [2013/02/20 03:17] shona.weldon |
howtos:toolcoding:subroutinepackage [2013/03/26 11:51] marcus.williams |
||
---|---|---|---|
Line 9: | Line 9: | ||
Please consider these **use at your own risk**. We are not supporting them but are just providing them as a starting point from which you can modify them as you wish! | Please consider these **use at your own risk**. We are not supporting them but are just providing them as a starting point from which you can modify them as you wish! | ||
+ | |||
+ | **whatIf? Team members**: Please look in /models/caness/V5/views/subroutines for the most current subroutines and under there find TemplateExamples for the most up to date templates. | ||
===== Setup of installed files ===== | ===== Setup of installed files ===== | ||
Line 18: | Line 20: | ||
* Edit the file and adjust the version number | * Edit the file and adjust the version number | ||
- | getProjectNames.t | + | getProjectNames_CopyAndCustomize.t |
* This file is used to manage the names of various projects which might be running out of this model | * This file is used to manage the names of various projects which might be running out of this model | ||
* For now the only thing it is used for is makeing export directories for each project and is related to the getProjectExportPath.t subroutine | * For now the only thing it is used for is makeing export directories for each project and is related to the getProjectExportPath.t subroutine | ||
* copy this file and re-name it to: getProjectNames.t | * copy this file and re-name it to: getProjectNames.t | ||
* edit the file and adjust the project names | * edit the file and adjust the project names | ||
- | |||
- | getProjectExportPath.t | ||
- | * This subroutine will prepare for you a path with a project specific path (by reading getProjectNames.t above) for exporting data. | ||
- | * Given a root directory which you have to create it will make a sub-directory under that automatically for whatever project you choose | ||
- | * It will return a full path to that sub directory | ||
- | * Example for using it is in: views/subroutines/TemplateExamples/usingGetProjectExportPath.t | ||
informs_CopyAndCustomize.samm | informs_CopyAndCustomize.samm |