Document properties form SharePoint to Word

I opened word document in MS Word and I want to insert value from my Sharepoint column "aaa" in that document.
When I try to do it from GUI, it works:
"Insert" tab --> "Quick Parts" --> "Document Property" --> "aaa"
and the value is inserted in word document.
but when it try to it directly like this, it doesn't work:
Ctrl + F9 --> { DOCPROPERTY aaa }
or
Ctrl + F9 --> { DOCPROPERTY "aaa" }
And I need this. What am I doing wrong??

Hi,
As I discussed with my colleague on Office application, the Document property we can access from File tab is different from the DOCPROPERTY we can locate in Fields.
If you would like to add the "aaa" to document, we could add it manually.
Regards,
Rebecca Tu
TechNet Community Support

Similar Messages

  • SharePoint Designer 2007 - Errors with Edit Document Properties Form

    All,
    I'm using SharePoint Designer 2007 and in two of my document libraries when I upload content I get this error:
    Object reference not set to an
    instance of an object.   at
    Microsoft.SharePoint.ApplicationPages.UploadPage.GetEditFormUrl(SPFile spfile)
       at Microsoft.SharePoint.ApplicationPages.UploadPage.OnSubmit(Object o,
    EventArgs e)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.RaisePostBackEvent(String
    eventArgument)
       at
    System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
    eventArgument)
       at
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,
    String eventArgument)
       at
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
    Boolean includeStagesAfterAsyncPoint)
    So - when I open the EditForm.aspx page and attempt to add the proper Document Library Properties - and see that the Edit Document Properties Form is blank no matter what File - I try to add I get this Error: 
     “The page you have selected does not contain a reference to the correct SharePoint list”
    Therefore - since the EditForm.aspx page hasn't been changed in a while - what are some items to look at to remedy this odd problem.

    All,
    I fixed this - by Opening the page in Designer - going to Insert -> SharePoint Controls -> List Form then selecting the proper library from the list - then selecting Edit Item Form. I then right mouse clicked the library and selected Properties
    -> clicked List Properties then clicked the Supporting Files tab and under the Edit Document Forms Property - selected the item as such - clicked OK - saved everything -> refreshed the browser then all worked! 

  • Linking Custom Document Properties to SharePoint

    We currently have a Microsoft Office Add-in that, among other things, reads and writes Custom Document Properties. Our add-in includes a user-dialogue through which these values are captured and subsequently displayed within the document.
    We now have a requirement to integrate this functionality with SharePoint 2010. In particular, we want our Office custom document properties to be co-ordinated with equivalent SharePoint server properties (i.e. site columns in Document Libraries) so that,
    when a given SharePoint property value is changed the equivalent custom document property is also changed.
    Users must be able to set the properties in either SharePoint or in an Office App (Word for example) and the changes be reflected in both places.
    Our solution must work with the desktop versions of Office 2010/13 and the non-Office365 versions of SharePoint 2010/13.
    During our initial prototyping we have looked at a number of possible approaches (including Document Property Promotion and Demotion) but are still not sure which appropriate to use.
    With regard to Document Property Promotion and Demotion for example, we found that, if we create a document outside SharePoint, then invoke our add-in to set document properties, then upload the document to SharePoint; the SharePoint properties and the
    Office Custom Document Properties are initially in step, any subsequent changes cause problems.
    If we now change the SharePoint properties by editing them in SharePoint and then open the document in Word, the Custom Document Properties are unchanged. Similarly, any change we make in Word is not reflected in the
    SharePoint properties when the document is saved back to the SharePoint library.
    Our properties are all of type string in Word and type Choice in SharePoint.
    For various reasons, our solution must not depend in any way on Office templates.
    We would like to know what would be the recommended approach to implementing this functionality.
    Below provides a basic diagram of our requirement:

    Hi,
    According to your description, you might want to sync the custom document properties between document and SharePoint Library.
    A solution can be like this: We can add an Event Receiver to this library, it will be triggered when there is a file is checked in or the item of list is updated, then we can
    read/write the specific document properties and sync between document and SharePoint Library.
    The whole scenario would be like this: When a document is uploaded and checked in, the method put in the Event Receiver will be triggered and update the related columns of library.
    When we updated these columns in library, we can capture the ItemUpdated event and update the corresponding properties of this document.
    Here is a step by step sample on creating a simple Item added event receiver:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    For about how to update the custom properties of an Office Document, it is recommended you post another question to the Microsoft Office for Developers forum, you will get more
    help and confirmed answers from there.
    http://social.msdn.microsoft.com/Forums/office/en-US/home?category=officedev
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Using REST API to promote Document Properties into SharePoint document library

    Hi,
    Is it possible to extract Document properties of a file and update library column using REST API?
    Thanks,
    techie

    Hi,
    We can use the following REST endpoint to get document property:
    http://site/_api/web/getfilebyserverrelativeurl('/Shared Documents/filename.docx')/<property name>
    https://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_File
    If you want to update document library column, the following blog for your reference:
    Updating SharePoint List items with SharePoint’s REST API in JavaScript
    http://community.rightpoint.com/blogs/viewpoint/archive/2014/10/23/updating-sharepoint-list-items-with-sharepoint-s-rest-api-in-javascript.aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Customize "Edit Properties" form sharepoint 2013.

    I'd like to customize the form for the document.  However when it pops up I can't edit it like any other page.  In SP Designer I looked under the (library/forms) and see an EditForm.aspx.  However this deosn't appear to be it.  When I
    renamed that the form still came up.  I  need to hide a column using Jquery.  It's a site column attached to the library so I can't hide it and I want it to appear in "View Properties" anyway.
    Thanks.
    Tom
    Tom

    Hi,
    The SharePoint List Forms are generated through XSLT.
    If you want to hide some information from Forms, each field has an attribute "ShowInEditForms", "ShowInNewForm", ...
    You can change the values of those properties with powershell.
    There is a sample script found on the URL below :
    $url = "http://myserver:Port";
    $list = "List";
    $fieldname = "NewColumn";
    #Setting up context
    $contextSite = New-Object Microsoft.SharePoint.SPSite($url);
    $contextWeb = $contextSite.OpenWeb();
    $list = $contextWeb.Lists.TryGetList($list);
    $field = $list.Fields[$fieldname];
    # Controls Field in Edit Form
    $field.ShowInEditForm = 1;
    # Controls Field in New Form
    $field.ShowInNewForm = 0;
    # Controls Field in New Form
    $field.ShowInDisplayForm = 1;
    # Hides fields from list settings
    $field.ShowInListSettings = 1;
    # Hides fields from version history
    $field.ShowInVersionHistory = 1;
    # Hides fields form selection in views
    $field.ShowInViewForms = 1;
    # Don't forget to update this field
    $field.Update();
    # And finally dispose everything.
    $contextWeb.Dispose();
    $contextSite.Dispose();
    You will find more information here :
    http://www.n8d.at/blog/hide-fields-from-lists-and-content-types/
    Best Regards,
    Frederic
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Document properties aren't syncing up with SharePoint in Record Center Libraries

    In a record center's document/record library, I'm not able to link word document properties with sharepoint item attributes using "Quick Parts" as I can with Document Libraries.
    Could this be because of a separate issue with how the Record Center handles properties?

    Hi Dnerd,
    We have found this issue. We can reproduced this issue as the followings:
    Create a Team site, create a document library
    In the library, create a column called Test1, then upload a document to the library
    Open the document with office app. In the Quick Parts->Document property, we can find the name of the custom column Test1
    Create a Record Center, create a custom column Test2 in Record library, then upload a document to the library
    Open the document with office app. In the Quick Parts->Document property, we can not find the name of the custom column Test2
    Then create a new library in the Record Center, and create a column for the library. Do a same test, the result is same with the result in Record library.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Replace document properties using powershell

    Hello ,
    I have document library. It has one column of categories. There are multiple categories tagged for many document .I want to replace some old categories with new one using powershell.
    In other words, first i need to check if that item column has that property if yes replace it with new property. 
    I dont want to change properties manually as this need checking out document. 
    Please guide. powershell script will be helpful for me.

    http://blogs.msdn.com/b/paulking/archive/2011/10/04/using-powershell-scripts-to-modify-document-properties-in-sharepoint-2010.aspx
    # Load SharePoint library
    [system.reflection.assembly]::LoadWithPartialName("Microsoft.Sharepoint")
    # Connect to the site collection http://SP2010 and store the object in the $site variable
    $site = New-Object Microsoft.SharePoint.SPSite("http://SP2010")
    # Connect to the root site in the site collection and store the object in $root
    $root = $site.rootweb
    # Store the Shared Documents document library in a variable $Docs
    $docs = $root.lists["Shared Documents"]
    # Display all the documents, their titles, names and IDs
    $docs.items | format-table -property title,name,id
    # Updates the title for each item in the list with Name
    $docs.items | ForEach { $_["Title"] = $_["Name"]; $_.Update() }
    # Display all the documents, their titles, names and IDs
    $docs.items | format-table -property title,name,idOr try http://sharepoint.stackexchange.com/questions/78084/how-to-update-document-meta-data-using-powershell$listItem = $web.GetListItem($file.ServerRelativeUrl);
    $listItem.File.Checkout();
    $listItem.Properties['My Cust Prop 1'] = 30
    $listItem.Properties['My Cust Prop 2'] = '2012-10-25T00:00:00Z'
    $listItem.Update();
    $listItem.File.Checkin('Updated')http://sharepoint.stackexchange.com/questions/61159/get-document-properties-keys-valuehttp://social.technet.microsoft.com/Forums/ro-RO/db9191e4-c1b6-4d4b-aa58-a352da1839fc/powershell-script-to-create-document-libraries-with-specific-properties?forum=sharepointadminprevious
    If this helped you resolve your issue, please mark it Answered

  • Save SharePoint list item view form as a word document

    I have a view form in SharePoint 2013, and I am trying to create a button that will export the form into a MS word document.
    So really I am trying save a SharePoint form to a word file. Is that possible?

    yes below are links for reference:
    http://www.c-sharpcorner.com/uploadfile/Roji.Joy/export-sharepoint-list-items-to-word-document/
    https://www.youtube.com/watch?v=tPFKuA8yW4E
    https://social.technet.microsoft.com/Forums/office/en-US/9e38ed97-5156-448d-af71-cf5e949535d6/how-can-i-export-sharepoint-list-item-form-view-to-word-or-pdf?forum=sharepointcustomizationprevious
    http://www.ehow.com/how_5923152_export-sharepoint-list-word-document.html
    http://sharepoint.stackexchange.com/questions/129277/save-sharepoint-list-item-view-form-as-a-word-document
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • How to prevent editing a SharePoint site column value from document properties view of a downloaded document?

    Hi,
    We have created a SharePoint site column with below settings
    1. ShowInEditForm - False
    2. ShowInNewForm - False
    3. ShowInDisplayForm - True
    With the above definition, the site column showing only in view properties form not in New and Edit forms.  This column is added to a document library and updating this column value will be managed by event receiver code when a document is uploaded.
    Till this point, everything is working OK.
    But the issue is when we download and open a document from the above document library, under document properties the above column (with value) is visible along with other document default properties and  this column value is editable. With this issue,
    user is able to set a new value and overwrite the existing value by re-uploading the document.
    Could you please let me know how to handle this issue so that user should not be allowed to edit except viewing the value/property (read only)?
    Thanks in advance.
    Regards
    Ramesh

    You can set "ShowInFileDlg" property of field to "FALSE". Using this you will not see that field in document properties list

  • SharePoint 2013 Document Conversion from PDF to Word (docx) format

    Hello all,
    I know that SharePoint has the facility to convert documents from Word to PDF using the Word Conversion Service, and I've worked with it in C# using the object model.
    We have a client request for the opposite process. They have an email-enabled document library that receives PDF documents...they would like these converted to Word (.docx).
    I'm believe that SharePoint 2013 Word Automation Service has no way to do this (although I could be wrong); and I'm not sure of the object model either. However, in Office Web Apps you can open a PDF file in the browser, and the form has a button labeled
    "Edit in Word". When selected, it shows a message: "Word Web App will make a copy of your PDF and convert it to a Word document for you to edit."
    Is there a way to access the SharePoint Office Web Apps object model/API in code, to do the same thing that the "Edit in Word" button does? It would be great to be able to hook into those methods, if possible.
    Thanks for your help.
    Kind Regards,
    Kevin Worthington, Senior Consultant
    Sogeti USA

    Hi,
    According to your post, you want to convert the pdf file to word format.
    For converting the pdf file to word format, a workaround is that you can read the content of PDF file out and then construct a Word document using C#.
    Here are some detailed articles about how to read content from pdf file using C#
    http://jadn.co.uk/w/ReadPdfUsingCsharp.htm
    http://social.msdn.microsoft.com/Forums/en-US/4a9fb479-b48e-4366-ad39-02b2dac674f5/read-pdf-content-into-text-file-using-cnet
    http://www.codeproject.com/Tips/387327/Convert-PDF-file-content-into-string-using-Csharp
    Here are some detailed articles about how to create docx file using C#:
    http://www.codeproject.com/Articles/660478/Csharp-Create-and-Manipulate-Word-Documents-Progra
    Best regards

  • Problem Printing document properties from Word to PDF

    Hello all,
    This is wierd, I need to print from MS Word doc 2002 SP2 to PDF version 9.3.4.  When I do so, I need to pass the document properties from the word file to the PDF such as author, subject, title, etc.  What is strainge is when i click the pdf button in word they do pass over but when I go to >>File>>print and select PDF they do not, and yes I did select the "Add document information" check box in the Adobe PDF settings dialog.  I need to print this because I am doing a batch print process that requires it to be printed.
    HELP.

    Hello all,
    This is wierd, I need to print from MS Word doc 2002 SP2 to PDF version 9.3.4.  When I do so, I need to pass the document properties from the word file to the PDF such as author, subject, title, etc.  What is strainge is when i click the pdf button in word they do pass over but when I go to >>File>>print and select PDF they do not, and yes I did select the "Add document information" check box in the Adobe PDF settings dialog.  I need to print this because I am doing a batch print process that requires it to be printed.
    HELP.

  • Can't seem to change the Document Properties Advanced Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
    You might want to ask this question in one of the LiveCycle product forums.

  • Help converting pdf forms to a word document

    Debbie
    I need help converting a pdf form to a word document.

    I just purchase adobe to be able to convert a pdf form into a word document but it is not working..

  • Word Crashing When Discarding Checkout for Document Stored in SharePoint

    We have recently noticed an issue when we have a Word file checked out from SharePoint, if we then discard the checkout from Word, Word crashes. The error details point to an issue in wwlib.dll.
    Having done some further investigation into this it appears this only happens if the document has an attached template which contains a custom ribbon.  We use SharePoint 2013 and Word 2010, although I have tested using Word 2013 with the same results.
    This was noticed on our company templates which contain a custom ribbon tab and a number of custom buttons. I have since tested it by creating a template with a single button on a custom tab with the same results.
    Has anyone else come across this issue and and is there any way to resolve it?
    Thanks,
    Richard

    Hi Daniel,
    Thanks for the response.
    The issue only happens when discarding checkout. Editing and saving a document back to SharePoint does not cause an issue. I am using a dotm template. I am not storing the template
    as a content type. When I say I created a custom tab, this was created by adding the XML to create the ribbon tab and button. I used the 'Custom UI Editor for Microsoft Office' to add this. The file created for this is called customUI14.xml and the
    XML is as follows (in the basic test template that I created):
    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <ribbon startFromScratch="false">
    <tabs>
    <tab id="customTab" label="Custom Tab">
    <group id="customGroup" label="Custom Group">
    <button id="customButton" label="Test Ribbon Button" imageMso="HappyFace" size="large" onAction="TestRibbonCrash" />
    </group>
    </tab>
    </tabs>
    </ribbon>
    </customUI>
    The code this points to is as follows:
    Sub TestRibbonCrash(ByRef Ctrl As IRibbonControl)
        MsgBox "Ribbon button working"
    End Sub
    Following your reply I have tested it by adding a custom tab and button through the GUI and the problem doesn't occur when using that method of creating the tab and button.
    I will see if I can find anything useful in the ULS logs although no correlation ID is displayed when the error happens and in my experience even with a correlation ID, 99% of the time the ULS logs don't provide any useful information.
    I've also observed that Word doesn't crash if I discard checkout when I have another document open at the same time which is based on the same template.
    I have already posted on a MS Word forum. Is there more chance of getting some help on one of the other Word forums you have suggested?
    http://answers.microsoft.com/en-us/office/forum/office_2010-word/word-crashing-when-discarding-checkout-for/95565f9e-411b-4f11-b14d-d3771e2e2ba4
    Thanks,
    Richard

  • Is there a way to save an IRS fill-in PDF form as a Word document?

    I preparing a large number of IRS Form 8282.  I would think that saving the form as a Word document and being able to merge my data would be the most efficient way to prepare these forms.  Is there a way to save the form in Word?

    Other than GetboxMan's suggestion, you'll want to be sure that the IRS will accept a Word document bfore doing the work. My agency collects tax documents and we're very specific about what you send back. It needs to be something that works with our data collection software.
    At any rate, if they DO accept Word documents, you may want to try out the trial version of Acrobat. It has the abiity to save as a Word document (although the success rate can be low). The trial is fully functional and free for 30 days.

Maybe you are looking for

  • My profile keeps disappearing after I close Firefox. In order to open it back up, I have to keep re-creating a new one. How to fix?

    I've already uninstalled, and reinstalled Firefox, and no dice. If I don't re-create the new profile, I get the error message that the profile is missing or inaccessible when trying to open firefox. I have to open the browser by clicking on the new p

  • ITunes 7.2 Problem: Song Order Problem

    Equipment Specs: IPOD -- First Generation, 1 G size, Firmware ver # 1.1.5 ITunes -- Ver # 7.2.0.34 Problem I recently updated to the above version of ITunes. I also recently reset/erased all my songs (no podcasts or nothing else)from my IPOD. I then

  • Macbook Pro 17" Hi-Resolution LED widescreen  question

    I'm thinking about purchasing a Macbook Pro but I was wondering, is it worth spending the extra bucks for graphics and video on the 17" with Hi-Resolution LED widescreen or is the Hi-Resolution LED widescreen meant for HD playback?

  • SMOHQUEUE: Starting queue demon not successful

    Hi I am performing the configuring settings in CRM and ECC. I am facing few problems, could you please help me overcoming these challenges: 1. In CRM, when i tried to Start Queue Demon in txn code: SMOHQUEUE, I am facing the following error: "Startin

  • Personalize link does not show up

    I have enabled the Personalize link in the masthead as per the link below: http://help.sap.com/saphelp_nw04/helpdata/en/97/d4ee3d6434445ae10000000a11405a/content.htm but I am not able to see the Personalize link in the masthead. Any idea why? note: I