Message 1 of 2
Changing file reference of the opened document, not referenced part

Not applicable
10-27-2016
10:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Only way I can change file reference to another location is through FileReference object but I cant seem to get FileReference out of the Document object, just for the referenced parts.
Is there another way to do this except closing and opening from a new location ?
The feature is needed because we are building a addin for managing files and this is the flow:
1. User opens a file to look at it
2. User checks out the file for edit.
3. File is downloaded from the server.
4. File reference should change to the new location instead of the tmp file created before.
Models can be quite large and the reopening should be avoided if possible.