Changes between Version 12 and Version 13 of BluePrint/SurveyTool/ADAT
- Timestamp:
- 06/14/11 10:59:23 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrint/SurveyTool/ADAT
v12 v13 41 41 === Tables for Survey Answers === 42 42 Table to store data for completed assessments will be defined dynamically when that assessment is first filled. The name of this table will be stored in the template table. The Survey will be accessed via the REST Controller to be filled out, analysed, exported, etc.[[BR]] 43 This can certainly utilise the new S3Request capability to handle foreign table access, so that you do not need a dedicated controller per survey table, but can just create a suitable request substitute from the controller, like: 44 {{{r = s3mgr.parse_request(prefix=xxx, name=yyy) output = r()}}} 45 or, if you want more granular control, then use it URL-like: 46 {{{r = s3mgr.parse_request(c=xxx, f=yyy, args="create", vars="...") output = r()}}} 43 This can certainly utilise the new S3Request capability to handle foreign table access, so that you do not need a dedicated controller per survey table, but can just create a suitable request substitute from the controller, like:[[BR]] 47 44 45 {{{r = s3mgr.parse_request(prefix=xxx, name=yyy) output = r()}}}[[BR]] 46 47 or, if you want more granular control, then use it URL-like:[[BR]] 48 49 {{{r = s3mgr.parse_request(c=xxx, f=yyy, args="create", vars="...") output = r()}}}[[BR]] 50 51 where xxx_yyy is the respective survey answer table. 48 52 49 53