Corrupt document gets created in document library with document template using createlistitem workflowaction in visual studio workflow for office 365 solution

Hi,
My requirement is to create a document library associated to a custom content type with a document template associated. Also I need to create a document based on the template in this document library when a new item is created in another list by taking the
reference ID of that new Item , I need to create the document with the name appended by ID. I need to do all this deployment using WSP.
I have created document library with document template associated to content type by following instructions in below stated blog :http://blogs.msdn.com/b/chaks/archive/2011/05/19/deploying-a-document-template-file-in-content-type-in-a-office365-sandboxed-solution.aspx
This works perfect for me.
However, there are few observations, when going to Document Library > Library Settings > Advanced Settings > Document Template section - doesnt shows the Edit template link. When tried to look at the value for the document template using view source
, it is giving me /Lists/MyDocsListInstance/Forms/template.dotx instead of the actual template file uploaded.
Ignoring the above observation, when I am trying to create a sandbox based workflow in visual studio to create document in document library when new item is created in another list, I provide the ContentTypeID as the ID associated with the document library
with template. 
It creates the corrupt document at end of workflow. 
I have tried using .docx instead of .dotx files for workflow as per solution provided in some of the post but it isnt resolving my issue.
Any help is much appreciated.
Regards,
Krutika

OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
things that go through this evolution.

Similar Messages

  • Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1

    Can't open a document I created an hour before with Pages 5.0.1; get message saying my Pages is too old, for me to download 5.0.1

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Note: Apple has removed over 90 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • External data column as shared column in document library with document sets

    Hello,
    I'm using a document library with document sets. Within this document library i have a External data column called "Project"
    This column has it's columns:
    Project: Installatietype
    Project: Relatie
    Project: Object
    Project: Projectleider
    Project: Status_project
    I wan't to use the external data column as an shared column for my document set(s). But i can't figure out or this is possible.

    Hi,
    According to your description, my understanding is that you want to set the external data column as a shared column in document set content type.
    I tested the same scenario in my environment, and the external data column was not supported to be set as a shared column in document set.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/en-US/5488b777-1c18-4895-a264-27802b2cde27/document-set-shared-columns-and-bcs-data?forum=sharepointgeneralprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my documen

    I've created a fillable PDF document in XI Pro. I need to change the body of the document and create a new fillable PDF document. When I do that it won't let me create a new PDF. It keeps saying "no new  fields recognized. What can I do to redo my document with the changes in the text, but no changes in the fillable fields?

    You start with a source / authoring file for the "static" content (e.g., Name, Last:). Say this is an MS Word file.
    You master the "static" content..
    You keep this authoring file and have a backup of this file.
    You output a PDF and use Acrobat to build and fine tune the "form" (form = the form fields, not the "static" content).
    The authoring file  and output PDF (with form fields) gives you "rev 00".
    Now, you must change something in the "static" content.
    Open the authoring file and save as to a new version (e.g., "wordfile_v00"  becomes "wordfile_v01).
    Output this to "pdffile_v01".
    Use Acrobat to open the PDF form file "pdffile_v00". Save As to a new file name ("pdffile_v00update").
    Using Acrobat XI Pro the click-path Tools - Pages - Replace lets you replace a page or pages of "pdffile_v00update" with a page or pages from "pdffile_v01".
    This replaces the "static" PDF page content and does not affect the form fields on the page.
    (you may have to adjust position of form fields)
    Save "pdffile_v00update" to "pdffile_v01" to reflect the revised status of the PDF form file.
    Be well...

  • HT5037 when I click on iPhoto(9.5.1)  i get "To open your library with this version of iPhoto, it first needs to be prepared." but i downloaded the up-grader, used it and it tells me the library can open with the current version... what should i do now?

    When I click on iPhoto(9.5.1)  i get "To open your library with this version of iPhoto, it first needs to be prepared." but i downloaded the up-grader, used it and it tells me the library can open with the current version... Then when I click on the iphoto again i get the same message "To open your library with this version of iPhoto, it first needs to be prepared."'
    What should I do?

    The upgraded is only necessary for libraries created with iPhoto '07 or eearlier.  Just double click the library to open it in iPhoto, and let it upgrade, if it has been created by a newr version.

  • I want to create a second library with the same account on a separate hard drive....

    Hi,
    I am running out of room on my iMac to store all of my iTunes music and video. I want to create a second library with the same account on a separate hard drive. Will iTunes Match match both libraries ? Will I be able to acess both libraries from all my devices? Can iTunes Match merge them together so I can have easy access to everything?
    Thanks for any advice.
    christos

    Unfortunately, you can't.  The primary address for your iCloud account must be a non-Apple email account.  The only exception to this is for former MobileMe subscribers who migrated to iCloud when MobileMe closed, which was 18 months ago.

  • Can we create Interactive forms only with ABAP & without using GP,  or Java

    Hi,
    I would like to know if we can create Interactive forms only with ABAP & without using GP or Java. We want to develop an offline solution using Interactive forms, but would like to use only ABAP for creating the forms. All the documents so far either refer to creating the forms, in reference to / in sync with: ISR (Service Requests), GP (General Procedures) or Java. Can this be done with ABAP alone?
    Regards,
    Ramesh
    Edited by: Ramesh Nallabelli on Apr 16, 2008 12:02 AM

    Hello Ramesh,
    You should be able to create Adobe Interactive Forms using only the ABAP stack (without GP, Java, etc). Please refer to the thread below. Hope it helps.
    Re: help for-offline interactive forms based on sending receiving mails in ABAP
    Regards,
    Rao

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • Is it possible to share an aperture library with different users using osx server.

    is it possible to share an aperture library with different users using osx server.

    Not really.  You should not be sharing an Aperture library over a network.  It's not designed for that and you'll likely corrupt your library at some point.

  • TS1702 Cannot get iPhone 4 to talk with Mac Lion using Numpad. Have updated, restarted etc. Have Screen Sharing on. It sees my computer but when I press keys on the NumPad there is no response. I have tried it on the Calculator and on Sibelius. Any clues?

    Cannot get iPhone 4 to talk with Mac Lion using Numpad. Have updated, restarted etc. Have Screen Sharing on. It sees my computer but when I press keys on the NumPad there is no response. I have tried it on the Calculator and on Sibelius. Any clues??

    Here's how to do it.
    1. App Store, iTunes Store should have the same AppleID on Computer and iPhones. (Free to share apps, music and books... )
    2. Person A uses the same purchasing account for everything (ie. email, contacts and ...).
    3. Person B have the same purchase account see no. 1 (for App Store and iTunes Store) but create a second AppleID for iCal, e-mail, contacts  and etc.

  • How do we use Script (batch file with msbuild/msbuild project) to build Cordova Project created with Visual Studio Tools for Apache Cordova?

    I use Visual Studio to create Cordova projects. I need to build Cordova projects using msbuild and buildbot via script for my project but I can find only information about how VS combine with Cordova CLI to build multi device hybrid application.

    Hi Samseth,
    Yes, correct, the only thing we can find on the MSDN is:
    Deploy and Run Your App
    And that's the reason why Visual Studio Tools for Apache Cordova existing.
    I think you may get more detail compile information from here:
    http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html
    --James
    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.

  • How do I get my iPod to talk with my iMac using FaceTime?

    I know it's going to be something annoyingly obvious, BUT, how do I get my iPod to talk with my iMac using FaceTime? Both appear to work just fine with other emails, have made calls out to others using email addresses with both the iPod and the iMac. Have recieved calls from others on both iPod and iMac using phone numbers and email addresses. Just can't call my self as it were. Both the iPod and the iMac use the same email address, is this my problem? How do I get it work? (it's for my daughter so she can talk and see her mother when she under goes cancer treatment).

    Yes, having the same FT calling email address is the problem. It like trying to make a phone call to your your phone from your phone.
    On one device add another email address for FT and then uncheck or delete the Apple ID email address the Apple ID call email adddress on the device.
    On the iPod go to SettingsFaceTime>You can be Reached At

  • I created a new library so I can use it for just my music, but now my ipod will only sync to my old library and not the new one I created, even though I'm in the new library when I open itunes.  Any solutions?

    I created a new library so I can use it for just my music, but now my ipod will only sync to my old library and not the new one I created, even though I'm in the new library when I open itunes.  Any solutions?

    The point is that there are four i product users for one computer in my house, and not everyone wants the same music on their device.  Like I said before, the ipod is not syncing to the new library even though I plug it in when the new itunes library is pulled up.  It keeps syncing to the old library...

  • Trying to upgrade to 10.6 so my iPhone could synch...I'm getting this error message "Problem with this Windows (XP) Installer package.  A program required for this install to complete could not be run."  Any ideas?

    I had iTunes 10.2.1.1 but needed to upgrade to 10.6 so my iPhone could synch...I'm getting this error message "Problem with this Windows (XP) Installer package.  A program required for this install to complete could not be run."  Any ideas?

    This has been fixed.  Answer is that I needed to go to "Apple Software Update" and repair it.  (From my Control Panel).

  • I can not get my Ipod to connect with my computer using a usb cord

    I can not get my Ipod to connect with my computer using my usb cord ?

    Hi starhalcomb,
    I'm sorry to hear you are having issues with your iPod touch. I also apologize, I'm a bit unclear on your exact configuration. If you are having issues with your iPod touch not being recognized in iTunes when you connect via USB, you may find the information and troubleshooting steps outlined in one of the following articles helpful:
    iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple Support
    If you don't see your connected device in iTunes for Mac - Apple Support
    Regards,
    - Brenden

Maybe you are looking for

  • Virtual directory mapping in weblogic 7.0

    I'm trying to define a virtual mapping in my web application deployed in Weblogic 7.0 sp2 and it's not working. I've defined in my weblogic.xml <virtual-directory-mapping> <local-path>c:/cursoBEA/imagenes</local-path> <url-pattern>/imagenes/*</url-pa

  • Panoramas in iPhoto '09

    A. When I would make a panorama, here's the steps I took: 1. Take pictures with my camera. 2. Import into iPhoto'09. 3. Assign titles to pictures and export into folder on desktop. 4. Open Adobe Photoshop Elements 6 and import photos from desktop fol

  • How do I get my information from my macbook air to auto link into my iMac desk computer?

    I just purchased an imac desktop computer and had the information from my macbook air transfered into it.  I was away on business and came back to find that my information didn't auto sync into my desktop computer.  How do I auto sync the 2?

  • Scratch Disk Recommendation

    I have until recently been using a seagate goflex, with a firewire 800 adapter, as a scratch disk for FCE. Yesterday whilst editing the hard drive started ticking. I quickly removed it, though after contacting seagate it didnt look hopeful. Therefore

  • Just updated 3GS phone with IOS5:  photos are no longer on my phone - how do I find them?

    Just updated my 3G IPhone with latest IOS5 version.  Now all pictures that were on my phone are gone.  Where did they go and can I get them back???