How to access snapshot and baseline name using server side api in RTC
Hi all,
I am writing custom precondition for RTC to validate the snapshot and baseline name . Basically I am trying to implement naming convention for snapshot and baseline.
I explored on the api to get snapshot name but did find anything. Could you please let me (sample code would be very much helpful) how to get the snapshot and baseline name in server side precondition
Thank you all in advance
3 answers
Here and in the related posts is some example code for baselines. https://rsjazz.wordpress.com/2013/09/30/delivering-change-sets-and-baselines-to-a-stream-using-the-plain-java-client-libraries/ most of the code should be common and be available in client and server API.
A snapshot is a IBaselineSetHandle or IBaselineSet and you should be able to find some hints here: https://www.google.com/search?q=baselineset+site:jazz.net
A snapshot is a IBaselineSetHandle or IBaselineSet and you should be able to find some hints here: https://www.google.com/search?q=baselineset+site:jazz.net
Comments
Hi Ralph,
Thank you for quick response.
I need server side precondition, so that user can follow specific format to create snapshot and baselines.For Snapshot I am able to get snapshot name but I am not able to get baseline name. Which operationId we need to use to get Baseline name. Sample code would be very much helpful.