0

I need to develop a Info path form in SP 2013 where I need to show the attachments as a link. this URL describes how to achieve this in info path 2007 but I am not able to figure out how to achieve the same in 2013.

The second part is when the user clicks on the attachment link (lets say an excel file) It should be open in MS-excel for the user to edit. Once the user click save in ms-excel the changes should reflect in the attachment file as well.

  • The steps should mostly be the same between InfoPath versions for that approach. What have you tried so far? As to the second part, that's not quite how attachments work. You would need to remove then update the attachment, pretty sure. You may be better off with a link to a file in a document library if this is what you're trying to accomplish. – Chris Romp Jan 18 '18 at 17:17
0

There are three workarounds for the issue.

1.Use the default form in the list.

1.1 When you add the attachment firstly, it will display the URL of the attachment like the picture below. But you cannot click the URL to open the file. enter image description here

1.2 After that, when you edit the item, you can click the file name and it will open the file in the office application directly. enter image description here

2. Use InfoPath form.

2.1 You could customize the form in the InfoPath form. Add the rich text box and set the value as the attachment field.

enter image description here 2.2 After that, when you add attachment, it will not display the URL of the attachment in the first time, when you edit the item, it will display the URL of the attachment. If you have multiple attachments, it will display in one line, you should break the line. enter image description here 2.3 If you want to edit the file, you could click the aa.docx and click “open”. It will open the file in the office application. enter image description here

3. Use library.

You could consider using library to store and edit the documents.

  • Thanks Amy have already done it using the second approach – SiD Jan 19 '18 at 11:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.