locked
MS Publisher Document Properties RRS feed

  • Question

  • Does anyone know how to access the custom document properties in MS Publisher via the API?

    The image below shows properties I am interested in obtaining. The typical method for Word and other Office applications is not supported via the publisher object model. The Document object has a Tags object but that doesn't obtain these properties.

    Monday, May 18, 2015 3:02 PM

Answers

All replies

  • Hi cvaught,

    As far as I know, publisher object model doesn’t provide the way to obtain custom properties.

    For the Tags object, we could use it to store the custom information, so you could store custom information to the Tags object.

    There is a thread that may benefit you:

    # MS Publisher Custom and Built In Document Properties

    https://social.msdn.microsoft.com/Forums/office/en-US/57494c4e-c75e-4486-8c50-66ef5b385fed/ms-publisher-custom-and-built-in-document-properties?forum=officegeneral

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 19, 2015 6:12 AM
  • Thanks for the response but obtaining the tags doesn't help. I am processing customer files and I need to obtain the data that has been entered into the custom properties dialog shown programatically. This seems like it has to be possible. Especially, since you can get the custom properties from all of the other office document formats.
    Tuesday, May 19, 2015 12:39 PM
  • Hi cvaught,

    Base on this article below, it says that because Publisher is a desktop print and Web publishing application, its object model varies in several important ways from that of a typical word processing application such as Microsoft Office Word 2003.

    # 7 Things Developers Should Know About the Publisher 2003 Object Model

    https://msdn.microsoft.com/en-us/library/office/aa168482%28v=office.11%29.aspx?f=255&MSPPError=-2147217396

    So, the publisher object model cannot do what word object model can do.

    The publisher object model, please refer to:

    # Welcome to the Publisher 2013 developer reference

    https://msdn.microsoft.com/en-us/library/office/ee861522.aspx

    Regards

    Starain


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 20, 2015 2:46 AM