It's all about the answers!

Ask a question

How to get the RTC version ID using client libraries ?

vinitha dsouza (73735) | asked May 23 '18, 2:46 a.m.


I want to fetch the unique version id  of RTC file using client libraries ?

Is there any way where i get the RTC version id  of a file based on every change?
Thank YOU

vinitha dsouza commented May 23 '18, 4:44 a.m.

i used the following code ,
SCMPlatform.getWorkspaceManager(rtcTeamRepo).getVersionableIdentifiers( new IVersionableHandle[] {versionableHandle}, monitor));

But it do not get the expected result ,

Is it the right api i am using ?

One answer

permanent link
David Lafreniere (4.0k7) | answered Jan 11, 3:26 p.m.
IWorkspaceManager#getVersionableIdentifiers() is the correct client-side API to use to get the version IDs of a file (an IVersionable).

You say "But it do not get the expected result"... what result are you expecting?

Your answer

Register or to post your answer.