It's all about the answers!

Ask a question

Saving IDataSetDefinition fails with message 'you must upgrade your client to 4.0 or newer'


Enrico Voltan (11) | asked Jun 20 '18, 10:06 a.m.

 I'm trying to programmatically  modify some property of a dataasetdefinition from a custom client api as follow


IDataSetDefinitionClient dsdClient=(IDataSetDefinitionClient)
getRepo().getClientLibrary(IDataSetDefinitionClient.class);
IDataSetDefinition[] dsda=dsdClient.getDataSetDefinitions(projectArea, new NullProgressMonitor());
for (IDataSetDefinition dsDef : dsda)
 {
      dsDef .setName(idsd.getName()+"ren");//modify a property
       dsdClient.save(idsd, new NullProgressMonitor());
}

this gives the following exception

com.ibm.team.repository.common.TeamRepositoryException: You cannot save data set definition "PACPCXT1.PACPCXT1.CNTLCARD.F0ren".  To save the data set definition, you must upgrade your client to 4.0 or newer.

I'm using Eclipse 4.2.2 with an RTC client 6.0.5 and RTC SDK 6.0.5, what i'm i missing?
Thanks

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Jun 21 '18, 7:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 21 '18, 7:39 a.m.

I have searched for IDataSetDefinitionClient in the SDK for 6.0 and 6.0.3 and there is no hint of it anywhere.
This might be something related to RTC EE.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.