How do you map a certain fields in other collection in autoform?


How do you map a certain number fields from another collection?

Let say, I have field1, field2, field3 and field4 from collection 1.

I want only field1, field2, field3 on my collection 2.

I’ve searched thru the internet but i have found only for one field or for all fields.

I have this working for one field:

options: function () {
 return Collection.find( {} ).map( function ( c ) {
  return {
    value: c._id
} );

and this for all fields:

options: function () {
 return Collection.find( {} ).fetch();

What is the best approach on this?


@ajaxsoap the only possible solution i could find was using templates