File attachment control - InfoPath Dev
in

InfoPath Dev

File attachment control

Last post 01-03-2009 09:58 PM by Jimmy. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-02-2009 05:49 PM

    File attachment control

    All, I have a InfoPath File Attachment Control Question:

    Person “A” fills out a infopath form, attaches a excel spreadsheet and then submits the form. Person “B” receives the form and wants to open the excel spreadsheet and make additions/corrections to the attached spreadsheet. When person “B” opens the excel spreadsheet, its “READ ONLY” and no changes can be made to the excel spreadsheet. Can any settings be changed allowing a excel spreadsheet to be opened and changes made, then re-saved to a infopath form?My solution is to open the “read only” file, save it locally – rev 1, make updates to the file, then attach the modified file (rev 1) to the infopath form.

    I would like to know if you have any ideas how I could solve this problem.

    Thank you for your help. 

  • 01-02-2009 07:34 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: File attachment control

    Hello Welcome to the Forums,

    By default it will open attachment to any user. Do you have any conditional formatting for that control?

    How you are sending the forms from User A to User B? Are you using SharePoint?

  • 01-02-2009 09:13 PM In reply to

    Re: File attachment control

    Hi,

    I have tried this out and it is working fine for me. Once you check any conditional formatting is there on the control as shiva said.

    Swathip
    www.ggktech.com
  • 01-03-2009 08:43 AM In reply to

    Re: File attachment control

    I am using Moss 2007 and Infopath 2007. When I attach a word document or a excel spreadsheet to a infopath form, User B's attachment only opens as "read only". I do not have any conditional formatting for the control. I submit the infopath form to a sharepoint library. Thank you for any suggestions.

  • 01-03-2009 08:13 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: File attachment control

    Hello,

    Sometimes InfoPath attachment control behavior is different. Can you remove once that attachment control from InfoPath UI and added it agin from datasource. Then you will get editable for User B.

  • 01-03-2009 09:58 PM In reply to

    Re: File attachment control

    The behavior you describe is normal.  When a user opens a document from an InfoPath form, it is stored in a temp file so that the relevant application can open it.  The application opening the file does not have the ability to save the file back into the form, so the only solution is to do what you already figured out: save the file locally and re-attach it.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.