Skip to content

Rename XLinks Upon Object or Document Rename #1

@gbroques

Description

@gbroques

There are references to document and object names in XLinks that should be renamed when renaming a reference.

Need to be careful to not to rename an XLink if another reference to that file or object still exists.

In this case we would add an XLink and increment the count and docs attribute.

<XLinks count="1" docs="1">
    <DocMap name="Master" label="Master" index="0"/>
    <XLink file="Master.FCStd" stamp="2021-07-25T18:40:15Z" name="Spreadsheet"/>
</XLinks>
<XLinks count="2" docs="2">
    <DocMap name="Master" label="Master" index="1"/>
    <DocMap name="Cube" label="Cube" index="0"/>
    <XLink file="Cube.FCStd" stamp="2021-07-25T20:03:03Z" name="Box"/>
    <XLink file="Master.FCStd" stamp="2021-07-25T18:40:15Z" name="Spreadsheet"/>
</XLinks>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions