code: function(viewCode, snapshotId, previousId, paramsStr, cb){
  			_.assertLength(arguments, 5)
  			var s = schema._byCode[viewCode];
  
  			var parsedParams = doParseParams(paramsStr, s)
  			
  			var snapReq = {typeCode: viewCode, params: pu.paramsStr(parsedParams, s.viewSchema.params), latestVersionId: snapshotId, previousVersionId: previousId};
  			cc.getSnapshot(snapReq, function(err, response){
  				if(err){
  					cb(err)
  				}else{
  					//response.snap.id = snapshotId;
  					cb(undefined, response.snap)
  				}
  			});
  		}
docs: returns the javascript string content of the view file /*getViewFile: function(viewCode, snapshotId, previousId, paramsStr, cb){
  _.assertLength(arguments, 5)
  
  handle.getViewJson(viewCode, snapshotId, previousId, paramsStr, function(err, json){
  cb(err, 'gotSnapshot(' + JSON.stringify(json) + ');\n');
  })
  }, /*getViewFileHistorical: function(viewCode, snapshotId, previousId, paramsStr, cb){
  _.assertLength(arguments, 5)
  
  handle.getViewJsonHistorical(viewCode, snapshotId, previousId, paramsStr, function(err, json){
  cb(err, 'gotSnapshot(' + JSON.stringify(json) + ');\n');
  })
  },