newDataResource.set("dataResourceId", newDataResourceId);
newDataResource.set("createdDate", UtilDateTime.nowTimestamp());
newDataResource.set("lastModifiedDate", UtilDateTime.nowTimestamp());
newDataResource.set("createdByUserLogin", userLoginId);
newDataResource.set("lastModifiedByUserLogin", userLoginId);
newDataResource.create();
}
newContent.set("contentName", "Copy - " + oldName);
newContent.set("createdDate", UtilDateTime.nowTimestamp());
newContent.set("lastModifiedDate", UtilDateTime.nowTimestamp());
newContent.set("createdByUserLogin", userLoginId);