How can I add custom attribute to file?
![]() I need to create some custom attributes for each file under CM of RTC. I found some tutorials for creating custom attributes in WorkItem, I found no articles for file. Is there a way to do so? Could you give some information about that?
|
2 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered May 21 '13, 8:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
From the description above, I don't really understand what you intent. If you say store HTML files in RTC, do you mean version in Jazz SCM? Or where do you want to store and link the files?
It is possible to store user properties in SCM - they are versioned. On a file under SCM right click and select properties. In the Properties select Jazz Source Control>User Properties. You can store text here. The property has a name and can hold a value. ![]() You can use the API to do this as well, however, you would have to write your own automation to be able to easily access them in the UI and do the navigation. |
![]()
i am afraid, i am not sure if i understand the question completely but here are my cents...
yes, while its possible to add custom attributes to work items, work items are not same as a source controlled file. Though the File's content is modifiable and sharable through the source control operations supported by RTC, modifying the attributes of the file itself is not possible. the attributes of the files in source control can be listed in the SCM Properties view, more on it is discussed in an earlier post : Jazz SCM Properties Eclipse View if its something i dint get right, could you please add more details to clarify what you are trying... Comments Thank you for your response.
|
Your answer
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.