billokara Posted February 3, 2017 Share Posted February 3, 2017 Hi,for datasource resource, there's an example of creating/uploading the resource with schema/bundle etc files using:ClientSemanticLayerDataSource domainEntity = session .resourcesService() .resource(domain) .withBundle(defBundle, newDefaultBundle) .withBundle(enUSBundle, newEnUsBundle) .withSecurityFile(securityFile, securityFile) .withSchema(schemaFile, schema) .inFolder("/my/new/folder/") .create() .entity(); But how to modfiy/replace an existing schema file with an updated file? Thanks!Bill Link to comment Share on other sites More sharing options...
Solution billokara Posted February 3, 2017 Author Solution Share Posted February 3, 2017 found it, SingleResourceAdapter.createOrUpdate Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now