hi,
i have spent quite some time on this but no success...
so far i don't know if i am doing something wrong or if this is not able to be changed with API, but i am trying to change the flag "IsModifiable" (in the document object) to be set to "True" for files that are flagged as False.
i can successfully read this flag and make choices around its status however i cannot figure out how to change it.
any help is geatly appreciated as always.
Solved! Go to Solution.
Solved by MegaJerk. Go to Solution.
Solved by nmunro. Go to Solution.
The property is read-only so there is no way to affect it directly.
First let's look at the description of IsModifiable in the API help :
Property that returns whether this document can be currently modified. One of the reasons a document may be non-modifiable is if any other document belonging to the file containing this document is currently being edited.
This describes a read only property that is being calculated from various things such as which file the document being looked at is attached to, as well as aspects such as the location of the file in the project's hierarchy (is it library / content?) and even the status of the file on your hard disk drive (is it read only???).
If you want to change the modifiable status to true, then those things need to be evaluated and altered.
thankyou to you both.