Adding record to Inliner and changing base path dynamically for each record