none
Make custom property as read only using OpenXML RRS feed

  • Question

  • So far I've been able to set custom properties to a Word doc by using OpenXML with the help of below code

    Code

    I want to make this property as non editable ( read only ) from word properties details UI. Is this possible? Also,I would to fix this as a permanent property so no one can delete this property.


    Thanks

    Monday, July 18, 2016 7:26 AM

Answers

  • >>>I want to make this property as non editable ( read only ) from word properties details UI. Is this possible? Also,I would to fix this as a permanent property so no one can delete this property.

    According to your description, you are not able to make custom property as readonly using OpenXML.

    For more information, click here to refer about CustomDocumentProperty class

    • Marked as answer by David_JunFeng Wednesday, July 27, 2016 9:54 AM
    Tuesday, July 19, 2016 3:23 AM

All replies

  • >>>I want to make this property as non editable ( read only ) from word properties details UI. Is this possible? Also,I would to fix this as a permanent property so no one can delete this property.

    According to your description, you are not able to make custom property as readonly using OpenXML.

    For more information, click here to refer about CustomDocumentProperty class

    • Marked as answer by David_JunFeng Wednesday, July 27, 2016 9:54 AM
    Tuesday, July 19, 2016 3:23 AM
  • Hi David,

    Could you please suggest any method or property of CustomDocumentProperty class.I am not getting any setting/property/method using this class which can make property as read only


    Thanks

    Tuesday, July 19, 2016 6:48 PM
  • >>>Could you please suggest any method or property of CustomDocumentProperty class.I am not getting any setting/property/method using this class which can make property as read only

    I have checked property/method of CustomDocumentProperty class, there is no way to  make custom document properties as read only.
    Wednesday, July 20, 2016 5:02 AM