Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / September 2004

Tip: Looking for answers? Try searching our database.

attaching files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CC - 13 Aug 2004 19:28 GMT
The SP1 File Attachment control is very nice, but I can't seem to get
it to do what I want.  I want to allow users to attach documents that
reside in Sharepoint.  The control only seems to work with Sharepoint
if the user has already set up a 'My Network Places' connection to a
document library.  Since we have a large number of Document Libraries
and a large number of users, this just isn't feasible to implement or
manage.

1- am I misunderstanding the abilities of the file attachment control?
2- Is it possible to attach a file programmatically?  I am building
links to the files dynamically and could pass thru code
3- any better ideas for accomplishing this task?

Thanks very much.
Brian Teutsch [MSFT] - 13 Aug 2004 19:54 GMT
I had no problems attaching a document living in a SharePoint library, and
to be sure, I deleted relevant Network Places before doing so.

It is possible to attach a document programmatically. See this blog post:
http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx

Also I replied to your earlier post. It's not possible to change the
directory shown to the user (I think).

Brian

> The SP1 File Attachment control is very nice, but I can't seem to get
> it to do what I want.  I want to allow users to attach documents that
[quoted text clipped - 10 lines]
>
> Thanks very much.
CC - 17 Aug 2004 00:09 GMT
Thanks very much for your replies, Brian.

I looked over the blog you mentioned.  Since I'm a newbie at this, I'm
a little intimidated by the steps (Convert.FromBase64String etc), but
will look a little more into this.

Can you please tell me how you navigated to the Sharepoint documents
if you didn't have an associated "My Network Place" on your system?
i.e. what did you put in the "File Name" field when the dialog box
opened?  Did you use something like \\servername\ or did you use
something like http://servername/dir/.  I tried a few different ways,
and was not able to 'get to' more than a few Sharepoint files (am
expecting to see a lot more).

Thanks,
Carol

> I had no problems attaching a document living in a SharePoint library, and
> to be sure, I deleted relevant Network Places before doing so.
[quoted text clipped - 21 lines]
> >
> > Thanks very much.
Brian Teutsch [MSFT] - 17 Aug 2004 20:18 GMT
I was able to navigate to the SharePoint site simply by going there in IE,
then pasting the URL into my InfoPath Open/Save dialog. It fixed up the URL
a little (index.aspx or such), but nothing more.

Good luck with Base64.It's worth it to try this out, it's quite powerful.

Brian

> Thanks very much for your replies, Brian.
>
[quoted text clipped - 39 lines]
>> >
>> > Thanks very much.
Rogelio - 29 Sep 2004 01:51 GMT
Hi Brian,

I have a similar problem.

I want to attach several files into a Infopath form, but the form is growing
a lot.

Can you tell me how to attach files into form, but archiving the files in a
SharePoint Library with a virtual link since the form in an automated way?
i.e. oppening a explorer window to select the file with the attach button.

regards,
Rogelio Ventura

> I was able to navigate to the SharePoint site simply by going there in IE,
> then pasting the URL into my InfoPath Open/Save dialog. It fixed up the URL
[quoted text clipped - 47 lines]
> >> >
> >> > Thanks very much.
Brian Teutsch [MSFT] - 29 Sep 2004 01:56 GMT
Sorry, but what you want isn't directly possible. There is no ability to
open a browe dialog and let the user return a hyperlink. You can, of course,
ask the user to paste a hyperlink into a textbox, then use the hyperlink
control to make that link clickable.

The file attachment control always stores the file into the XML document.

Brian

> Hi Brian,
>
[quoted text clipped - 72 lines]
>> >> >
>> >> > Thanks very much.
Rogelio - 29 Sep 2004 15:05 GMT
Brian,

Thanks a lot.

Rogelio.

> Sorry, but what you want isn't directly possible. There is no ability to
> open a browe dialog and let the user return a hyperlink. You can, of course,
[quoted text clipped - 81 lines]
> >> >> >
> >> >> > Thanks very much.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.