Changed the query that gets the resource data.  This query depends on the  building id and I don't know how to get the id into the query itself.  I believe in you Tyler.