The Create List Item workflow action does not work in document library with document template

My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

I had the same problem with corrupted document - this worked for me:
1. Create a 2010 Workflow which creates the list element in a document library
(you may start this workflow from your 2013 workflow if applicable)
2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
("Id for indholdstype" is Danish for "Contenttype ID")
3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
(I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
Hope this helps you!

Similar Messages

  • The "portable document format" icon is a Word 2010 icon, so selecting Adobe Reader as action does not work to display the PDF.

    In the Applications tab -- Content Type -- the "portable document format" icon is a Word 2010 icon (not Adobe), so selecting Adobe Reader or preview in Firefox as action does not work to display the PDF. I can see this Applications difference because my other Firefox laptop has the Adobe icon, and I can view PDFs. Essentially, a PDF is coming in as a Word document -- and the computer tries to open it up as a Word file.
    How do I get the correct PDF icon in the Applications list -- the same way it displays (and works) on my other laptop.

    Adobe PDF Plug-In For Firefox and Netscape 10.1.7 ?
    I think you need to add this to the list of applications and the action to take on the type of content. This can also be managed in the about:permissions page. [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • Sharepoint 2013 list view quick edit does not work with out remote API permissions

    sharepoint 2013 list view quick edit does not work with out remote API permissions.
    When I give Use Remote Interfaces  -  Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site it works which is not an ideal situation..
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    This is true. If you use Fiddler to watch the requests from the list view quick edit you can see CSOM calls. For example when changing a value in a cell, when you tab out you will see the SetFieldValue and Update method calls on the list item.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Itunes does not open,everytime i try it says "The itunes application could not be opened. The required folder cannot be found" I have tried the shift key option but that does not work. help!!

    I cannot open itunes. Everytime i try it says "The itunes application could not be opened.The folder cannot be found." I have tried the shift key option but this does not work. Please help.!!

    Try the actions here for that driver.
    iOS: Device not recognized in iTunes for Windows
    I would first do this:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • The sound on my Macbook Pro does not work.

    The sound on my Macbook Pro does not work.  When we press the volume buttons, the sound icon pops up, but the bar is full with a small "Does not work" circle below it, and nothing happens when I hit volume up or done.  I went into system preferences, but there aren't any options there that I can see to change it. 

    "Unfortunately, it doesn't provide any help for a MacBook Pro, other than indicating to call Apple Support" (sic).
    Au contraire. TS1574's title and affected products are thusly:
    "Troubleshooting issues with no audio from built-in speakers on Macs
    Products Affected Mac mini, MacBook, MacBook Pro, iMac"
    As a result, the instructions of the article are relevant. To be sure, follow those steps, the last of which is to contact Apple.
    So, by way of reminder, here are the steps to troubleshoot the audio on your MacBook Pro. There is no red light, so the port is likely fine. Headphones work, so clearly your sound card is fine.
    1. Ensure an incorrect version of OS X is not installed. If one is, then reinstall or erase/install after backing up your data.
    2. Remove any external audio devices from USB, firewire, etc.
    3. Open Sys Prefs > Sound > Output
    If Internal Speakers is listed, select it and test again.
    If Digital Out is listed, confirm again that all external audio devices and cables have been removed.
    If mute is selected, unselect it.
    If the volume slider is low, raise the volume.
    If the above simply doesn't fix it, the issue may be a corrupted plist. Apple Support might be able to help troubleshoot the issue further, per the last step of TS1574.
    I hope it gets resolved for you. Good luck.

  • Assigned F key to play an action does not work. Why? Using cs6  iMac and wireless key board

    Assigned F key to play an action does not work to play the action on an image. When the F key is selected it seams to control computer attributes rather than the play action assigned in photoshop. Why? Using cs6  iMac and wireless key board.
    Is this a possible preference setting in mac or is it a setting in cs6 photoshop ? Help and knowledge will be appreciated.

    *** Moderator Action ***
    This networking question has been moved from the Solaris 10 discussion space,
    to the Solaris Networking discussion space, for closer topic alignment.
    Whereas there may be IPV6 nuances specific to your Solaris 10 environment and to the hardware, this appears to be a discussion that may be more global in effect.

  • Why does Adobe sendnow work and the newest and greatest Adobe Send does not work?

    Why does Adobe sendnow work and the newest and greatest Adobe Send does not work? I wasted about 8 hours on trying to get Adobe Send to upload 269 files that amounted to 469MB. When it did not work I made a zip file and after a lot of wasted run time that did not work. The first situation gives little indication of when a file is loaded compared to Adobe SendNow. In both cases with Send it failed with a message like only the first 50 can be loaded. When I went and looked none of them had been loaded. With the zip file (I wanted to hide the individual files so they would not be counted) it appeared to work but very slowly and finally said it was done and I went and looked and it had done anything for oever 2 hours except a false "I'm runninng" indication.
    Thus, I took a chance with Adobe SendNow and it works great. It never gave me a limit on the amount of files nor on the size of the complete job. It shows me one file at a time when it has finished with the file uploading it. SendNow has never given me any problems.
    Why woiuld you want to change the program from SendNow to Send without the newest program being the best, fastest, user friendly program of the two? It just doesn't make sense to me. I suggest that Adobe keep SendNow working until Send is fixed. I would also suggest that SendNow and how it looks be kept, called Send, then modify Send one thing at a time until you get it to the point you need it to be for Acrobat. I have heard nothing good and now I have experienced it that Send is a piece of junk. I wasted most of my work day on giving Adobe the benefit of the doubt to find out I made a very bad decision to trust Adobe to make good decisions on the transfer of a function to another place .... both Adobe's responsibility.without making it painless for your customers that totally rely on you. Don't throw away customer confidence as it is very hard to get it back.

    Funny how you answer to "troll". (What's your handle on AT&T forums?)
    Yep! Verizon living up to it's contractual obligations by not releasing updates. Caveat emptor!
    I think there are some reasonable expectations here to keep customer's happy. When one carrier offers upgrades there is an expectation the same will happen across all the carriers. We have seen that except Big Red.
    Verizon could have said the update is in MS court months ago and stilled the voice of the disgruntled, or at least redirected it, but instead chose to be silent. Not for market share but for partial blame I think.
    We will have to agree to disagree since you only see Terms & Conditions and I, see customer satisfaction.

  • I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • My iphone 6plus not working not charge but when i run it the first time working half an hour  when you attempt to run it again light up thr screen and showws the apple logo and after the pice screen illuminates red and does not work what do i do now

    My iphone 6plus not working not charge but when i run it the first time working half an hour  when you attempt to run it again light up thr screen and showws the apple logo and after the pice screen illuminates red and does not work what do i do now

    Hello Nadersalah,
    It seems you're experiencing multiple issue with your iPhone. Based on the information you have provided, it appears your iPhone needs to be serviced. The following link should help you get started with the process and has links with additional information on topics such as warranty and service pricing, battery replacement, and express replacement service.
    iPhone Repair and Service - Apple Support
    Thank you for contributing to Apple Support Communities.
    Cheers,
    Bobby_D

  • The "always match my default message font" option in the Signature preferences from Mac Mail does not work if e-mail is received in other Mail Software. How can I make it work?

    The "always match my default message font" option in the Signature preferences from Mac Mail does not work if e-mail is received in other Mail Software. How can I make it work?

    I found this plugin which solved pretty much all of my mail font rendering problems.  It is designed for Lion, so don't know whether it will work but thought I would offer it up.
    http://noware-it.zxq.net/

  • HT1695 the internet on my iphone 4s does not work outside of my house

    My iphone 4s only connects to the internet in my house, it does not work if I am anywhere else. Everyone else who has an iphone can, how can I make mine work??

    Same. Reset Network -> not solved.
    Restore twice -> not solved.
    I take to genius bar. The STAFF tell me i need take the responsibility on updating the system. Haha.
    I NEED TAKE MY risk on updating to ios6.
    As my iphone4s is out of warranty, the staff told me need to paid 1560HKD to repair.
    I using ios 5 without ANY PROBLEM just because i need install new apps which require ios6.1
    Now the other iphone4s (I got 2 total, one self one my wife) not planning to upgrade, or will not interest iphone 5, who knows if update ios 7 will got something else error and told me is personal fault.

  • The Notification Center Yosemite primary user does not work in my Macbook pro and the other users if it works.

    The Notification Center Yosemite primary user does not work in my Macbook pro and the other users if it works. How can I fix it?

    The Notification Center Yosemite primary user does not work in my Macbook pro and the other users if it works. How can I fix it?

  • After the OS 6 update my speaker does not work. My music plays but no sound comes out. Can someone help me with this issue? I currently have the 4S.

    After the OS 6 update my speaker does not work. Volume control on the side does not adjust the volume either. My music plays but no sound comes out. Can someone help me with this issue? I've tried rebooting my phone but still no sound comes out. I currently have the 4S.

    try to activate and desactivate the airplne switch a couple of time

  • The headphone jack on my iPad2 does not work

    The headphone jack on my iPad2 does not work. I have tried plugging and unplugging the headset, resetting the device, and buying new headphones. None of these have worked. Any suggestions?

    If you are too lazy to deal with the problem and just want to never use the headphone jack, buy one of these in line remotes instead
    http://www.amazon.com/gp/product/B001IWOBLI/ref=olp_product_details?ie=UTF8&me=& seller=

Maybe you are looking for

  • Leopard upgrade results in blue screen

    Finally going to make the jump from 10.3.9 to 10.5. Unfortunately, after running the Leopard disk all I can get is a blue screen. Two pertinent points that may have some bearing on this dilemma: 1. My onboard super drive isn't working so I'm using an

  • SQ01:- Error in retriving the data from more than 1 additional fields

    hi Frnds, i have added three addidtional fields in the infotype through the transaction SQ02. when i am try to create a new new query using the transaction SQ01 then if i select all three new fields individually data is retrived properly but if i sel

  • Why is email disappearing from my inbox in Apple mail?

    I will open an email, read it then close Mail, or not.  Either way, when I go back to Apple Mail to re-read the message it is gone.  I've lost an extremely important message.  I've searched Junk and trash, all of my accounts and the message is gone. 

  • Cannot create a new MSAD directory in Shared Services...

    My Hyperion version is 11.1.1.3 on windows 2003 server. I;m trying to create an External Authentication provider using "Configure user directories". I provide all the parameters as I have provided in the development machine in the same network. Howev

  • Error 14 reading a pdf

    After doing a lot of searching most would suggest that the document is corrupted. But I can view this document in say FoxIT reader. So why is that? The source is unknown but it passes thru CutePDF removing pages not needed. By the time it reaches us