New function getElement. Find resources also when using prefixes in addInsertExistingData
Use getElement instead of getElementInGroupByName