{"action":"created","issue":{"url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/299","labels_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/299/comments","events_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/299/events","html_url":"https://github.com/opensourceBIM/BIMserver/issues/299","id":130395947,"number":299,"title":"BimSie extended data for revision","user":{"login":"timoutwente","id":1321319,"avatar_url":"https://avatars.githubusercontent.com/u/1321319?v=3","gravatar_id":"","url":"https://api.github.com/users/timoutwente","html_url":"https://github.com/timoutwente","followers_url":"https://api.github.com/users/timoutwente/followers","following_url":"https://api.github.com/users/timoutwente/following{/other_user}","gists_url":"https://api.github.com/users/timoutwente/gists{/gist_id}","starred_url":"https://api.github.com/users/timoutwente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoutwente/subscriptions","organizations_url":"https://api.github.com/users/timoutwente/orgs","repos_url":"https://api.github.com/users/timoutwente/repos","events_url":"https://api.github.com/users/timoutwente/events{/privacy}","received_events_url":"https://api.github.com/users/timoutwente/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T15:39:31Z","updated_at":"2016-02-02T06:45:01Z","closed_at":null,"body":"Is extended data for revisions supported? The following does not seem to work: \r\n\r\n```\r\n// Client-side, we also use a PluginManager, for example to be\r\n\t\t\t\t// able to use the (IFC) schemas\r\n\t\t\t\tPluginManager pluginManager = LocalDevPluginLoader\r\n\t\t\t\t\t\t.createPluginManager(new File(\"home\"));\r\n\r\n\t\t\t\t// Load all plugins available on the classpath\r\n\t\t\t\tpluginManager.loadPluginsFromCurrentClassloader();\r\n\r\n\t\t\t\t// Create a MetaDataManager, and initialize it, this code will\r\n\t\t\t\t// be simplified/hidden in the fut\r\n// Client-side, we also use a PluginManager, for example to be\r\n\t\t\t\t// able to use the (IFC) schemas\r\n\t\t\t\tPluginManager pluginManager = LocalDevPluginLoader\r\n\t\t\t\t\t\t.createPluginManager(new File(\"home\"));\r\n\r\n\t\t\t\t// Load all plugins available on the classpath\r\n\t\t\t\tpluginManager.loadPluginsFromCurrentClassloader();\r\n\r\n\t\t\t\t// Create a MetaDataManager, and initialize it, this code will\r\n\t\t\t\t// be simplified/hidden in the future\r\n\t\t\t\tMetaDataManager metaDataManager = new MetaDataManager(\r\n\t\t\t\t\t\tpluginManager);\r\n\t\t\t\tpluginManager.setMetaDataManager(metaDataManager);\r\n\t\t\t\tmetaDataManager.init();\r\n\r\n\t\t\t\t// Initialize all loaded plugins\r\n\t\t\t\tpluginManager.initAllLoadedPlugins();\r\n\r\n\t\t\t\t// Create a factory for BimServerClients, connnect via JSON in\r\n\t\t\t\t// this case\r\n\t\t\t\tBimServerClientFactory factory = new JsonBimServerClientFactory(\r\n\t\t\t\t\t\tmetaDataManager, server);\r\n\r\n\t\t\t\t// Create a new client, with given authorization, replace this\r\n\t\t\t\t// with your credentials\r\n\t\t\t\tclient = factory.create(new UsernamePasswordAuthenticationInfo(\r\n\t\t\t\t\t\tname, password));\r\n\r\n\r\n\t\t\t\r\n\t\t\tBimsie1ServiceInterface bimsie = client.getBimsie1ServiceInterface();\r\n\t\t\tSDeserializerPluginConfiguration deserializer = \r\nbimsie.getSuggestedDeserializerForExtension(\"ifc\", project.getOid());\r\n\r\nLong roid = bimsie.checkin(project.getOid(), user, deserializer.getOid(), \r\n\r\n\t\t\t\t\tfile.length(), file.getName(), new DataHandler(file.toURI().toURL()), false);\r\n\r\n\t\t\tSExtendedData extData = new SExtendedData();\r\n\t\t\textData.setAdded(new Date());\r\n\t\t\textData.setTitle(user);\r\n\t\t\tclient.getBimsie1ServiceInterface().addExtendedDataToRevision(roid, extData);\r\n\t\t\t\r\n\t\t\t// TEST whether this is required ...\r\n\t\t\t// refresh project\r\n\t\t\tproject = client.getBimsie1ServiceInterface().getProjectByPoid(project.getOid());\r\n\t\t\t\r\n\t\t\tproject.getConcreteRevisions();`\r\n```"},"comment":{"url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/comments/178405452","html_url":"https://github.com/opensourceBIM/BIMserver/issues/299#issuecomment-178405452","issue_url":"https://api.github.com/repos/opensourceBIM/BIMserver/issues/299","id":178405452,"user":{"login":"rubendel","id":377978,"avatar_url":"https://avatars.githubusercontent.com/u/377978?v=3","gravatar_id":"","url":"https://api.github.com/users/rubendel","html_url":"https://github.com/rubendel","followers_url":"https://api.github.com/users/rubendel/followers","following_url":"https://api.github.com/users/rubendel/following{/other_user}","gists_url":"https://api.github.com/users/rubendel/gists{/gist_id}","starred_url":"https://api.github.com/users/rubendel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubendel/subscriptions","organizations_url":"https://api.github.com/users/rubendel/orgs","repos_url":"https://api.github.com/users/rubendel/repos","events_url":"https://api.github.com/users/rubendel/events{/privacy}","received_events_url":"https://api.github.com/users/rubendel/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T06:45:01Z","updated_at":"2016-02-02T06:45:01Z","body":"Any error messages? Does it work when you try to do it manually (via BIMvie.ws?)"}}