It's all about the answers!

Ask a question

How can I get human-readable "Version ID" from RTC using the API?


Will West (2144) | asked Apr 04 '16, 8:19 a.m.
edited Apr 04 '16, 9:02 a.m. by Ralph Schoon (56.5k23642)
 Hi.

I'm developing RTC client plugin and RTC server plugin.
Since RTC 5.x IBM introduced human-readable versions into RTC SCM (it's an unsigned integer that auto-increments with each commit). And I can't find any api (class/method) that can provide me Version ID for certain fileItem in certain changeset.

So, I have changeset object (IChangeSet), then I iterate through list of changes (IChange) in this changeset, then I can get fileItem object (IFileItem) for each change and so on. But I can't find the way to get Version ID for fileItem in certain changeset.

How can I get Version ID  through RTC client API or RTC server API?

Thanks


Be the first one to answer this question!


Register or to post your answer.