Multiple operation on a file in a changeset
I'm trying to rename and modify a file in RTC in a single change set using API.
I'm using the code like this. fileItem.setName("new_name"); But then I realize that if there are more than one operations involved as in case of fileItem (setName and setContent) then latest operation is committed. In this case file 'fileItem' is modified but it is not renamed to the new name. If I try to add it to itemsToCommit twice (i.e after each operation) then I get an exception. How can I handle this? |
Be the first one to answer this question!
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.