added resource association, getforms and getfields snippets