Cancel
Showing results for 
Search instead for 
Did you mean: 

Add dataset to Item revision with SOA TC Services

Creator
Creator

I have created a new dataset with TC services in Java. Now I want to add the dataset to an item revision, but how do I do that? 

 

I need a method for adding dataset or other objects to an item revision. 

 

Do someone know where to find documentation about the methods in TC Services. I have read the general documentation, but would like more info about the strucuture, methods and some examples as well. 

3 REPLIES

Re: Add dataset to Item revision with SOA TC Services

Experimenter
Experimenter

Hello,

hava a look at the function "DataManagementService.CreateRelations()" to create Relations between objects in Teamcenter.

 

cya

Re: Add dataset to Item revision with SOA TC Services

Creator
Creator

Hi, 

 

Thank you for input on this topic. I have used the service and function and it works perfect.  

Re: Add dataset to Item revision with SOA TC Services

Pioneer
Pioneer

Just an extra info if someone wanted to do both create and add the dataset in one go:

com.teamcenter.services.strong.core._2010_04.Datamanagement.createDatasets

 

remember if you also add files(named references) with this you need to call the 2006 FileManagementService.commitDatasetFiles after createDatasets.

 

BR

Frank