Cybersecurity
DevOps Cloud
IT Operations Cloud
QUESTION:
How can I save my columns order in the Folders view or Searches view of my workspace or stream?
ANSWER:
When browsing your private workspace view via the AccuRev GUI you now have the option in 4.5 to add additional columns into your Folders view and your Searches View. If you exit the GUI after adding in new columns those will be saved in your preferences.xml file stored in your .accurev directory, usually located in your HOME_DRIVE\HOME_PATH on Windows or your home directory on Unix.
In the preferences.xml file you will see an element <AC_COLUMN_SETUP> followed by an element <DIR_TABLE>. <DIR_TABLE> defines the columns for your Folders view via a workspace or stream.
For example:
<Column
name="Name"
width="400"></Column>
is for the Name column in your workspace. If you have added columns to your personal view you will see many <Column> elements for each column in your view. By simply cutting the section that identifies the column you wish to move, you can paste the columns in a different order. Be certain to get the full element as defined above. Once you have completed the changes you will need to save the preferences.xml file.
This technique can also be used to resize your columns by modifying the WIDTH attribute for any one of the elements.
Before making these modifications you will need to exit the AccuRev GUI since exiting the GUI automatically overwrites this file. Since this file is probably not under AccuRev from a version control perspective, AccuRev recommends that you make a copy of your preferences.xml file before making modifications.
For more information contact AccuRev Support.