It's all about the answers!

Ask a question

RTC copy work item presentation

Shmulik Tamari (171915) | asked Feb 03 '13, 4:56 a.m.

Is there any way to copy presentation instead of changing an existing one?

I don't want to change one of the existing presentation and don't want to build a new one from scratch.

For instance I want to duplicate the & then make changes on the duplication.

Accepted answer

permanent link
Daniel Reilly (1431319) | answered Feb 03 '13, 4:17 p.m.
I have not seen a copy function for editors in the UI.  The only way I have found to make a copy of an editor is in the XML - i.e. the "Process Configuration Source".  There are 7 sections to update.  You would need to identify the target editor to copy, find its definition in each section, copy and replicate that XML source and change the id of that XML entity to a unique id for your new editor.

The first time you do this it may take more time than creating a new one from scratch in the UI.

And, XML source is very unforgiving with typos or any errors, one bad character and nothing works.

1. Work Item Types - id=""

    define work item - <type category="" icon="processattachment:/workitemtype/bug.gif" id="defect" name="Defect">

2. Editor Presentation Bindings - id=""

    standard editor - <workitemTypeEditorIdBinding editorId="" workitemType="defect"/>
    plan preview editor - <workitemTypeEditorIdBinding editorId="" target="" workitemType="defect"/>
    web inline editor - <workitemTypeEditorIdBinding editorId="" target="" workitemType="defect"/>
    light weight editor - <workitemTypeEditorIdBinding editorId="" target="" workitemType="defect"/>

3. Editor Presentations - id=""

    plan preview tab - <tab tabId="" title="Default"/>
    web inline tab - <tab tabId="" title="Default"/>
    editor definition - <editor id="">
        start with editor definition, find each piece by id
            editor defines the tabs
            tabs define the sections
            sections define the presentations
            tabs and sections can be, and are, reused
            do not reuse tab/section if you want to make changes
            create a unique one with a unique id that is only connected to new editor

4. Workflow Binding - id=""

    define binding - <workItemCategoryBinding workItemCategoryId="" workflowId=""/>

5. Workflows - id=""

    define workflow - id=""

6. Team Permissions

    define permissions (if required)

7. Team Behavior

    define behaviors (if required)
Shmulik Tamari selected this answer as the correct answer

One other answer

permanent link
Barb Oxenford (231013) | answered Mar 21 '13, 5:01 p.m.
Available in 4.0.1

Your answer

Register or to post your answer.