Then, in the Template.createNewStep2.rendered = function() I want get the current visualization id to include as a parameter on a document of another collection.
I am trying:
var visId = Visualizations.findOne({_id: this.params._id});
but i get an error.
So, the question is how I can get data from a collection from within a Template rendered function?
Exploring that object I cannot find the data (both things inside: positions and visualization are functions). Thus, how can I get access to the attributes of the documents for the collections?