cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Programmatically getting a list of documents that were branched from a single document in Integrity

rteifke
10-Marble

Programmatically getting a list of documents that were branched from a single document in Integrity

I am using c# but I would like to put in a segment ID and get a ID listing of all the documents that were branched from that item. Is that

1 REPLY 1
ascott
17-Peridot
(To:rteifke)

Your best bet is to use im viewissue with the --showbranches flag

eg: im viewissue --showBranches <document id>

 

The relevant output should look something like:

Field:
Name = MKSIssueBranches
Data Type = mksItemList
ItemList:
Item:
Id = 715
Context = NULL
Model Type = im.Issue.Branch
Field:
Name = ChildID
Data Type = int
Value = 715
Field:
Name = BranchTime
Data Type = time_t
Value = Fri Aug 24 09:10:05 2012

Announcements


Top Tags