Hi friends
i want to push some objects to a table to pass that table of objects as argument to my module. i use “factory.create()” to create objects i want to pass to my module. it’s my code:
local myTable = {}
local function instantiate()
for i=1, 6 do
inst = factory.create("/controller#yellowFactory")
myTable[i] = inst
end
end
As i understand factory.create returns hash(“id”) not complete url, so module couldn’t find objects if they are not in same collection. how can i get objects url instead of their hash(ids) to push urls to my table? maybe it’s general question " how to get url from hash(id) but in this case that’s what i need.