- Re: Attachment Import
- Posted by Gary on September 3rd, 2003
What do you mean import? Via the CDF? Via the SDK?
Well, you can always create a note and that allows for file attachments.
-Gary
<Steve Chambers> wrote in message
news:eYy5SoicDHA.1772@TK2MSFTNGP10.phx.gbl...
- Posted by on September 3rd, 2003
Import any way we can, associated with the correct parent object.
Our customer has several thousand attachments in Siebel that are associated
with activities. In theory, it should be easy to use the CDF to import the
Activity and then build something via the SDK to leverage the created
association made between the old activity and the new activity.
I think it is not practically possible, and am really wondering if anyone
else has faced this issue.
Thanks,
SC
"Gary" <gary.rey@NOOOOSPAM.virtium.com> wrote in message
news:OB7PZCkcDHA.2684@TK2MSFTNGP11.phx.gbl...
- Posted by Karl Iuel on September 4th, 2003
Hi Steve,
This is what the CRM SDK says:
"To upload or download an attachment you must use an HTML page. This
HTML page must exist on a server in the same domain as the Microsoft CRM
server"
The example they give as an html page is below. If you figure out how to
do this in code (Web service preferably) let me know as I'm currently
facing a similar task)
[html]
NoteUpload.htm
<html>
<head>
<title>Note Upload</title></head>
<body alink="#0000ff" vlink="#0000ff" bgcolor="#ffffff">
<form name="Attachments" enctype="multipart/form-data"
method="POST" action="http://myservername/MSCRMSERVICES/NoteUpload.srf">
<input type="hidden" name="AttachmentType" value="5"> <input
type="hidden" name="AttachmentId" value="{192D46FF-1F84-4F74-AE74-
BABC3E4AC70B}">
<input type="hidden" name="UserId" value="{78861AAC-6104-4283-
B303-0C861108FE26}">
<input type="hidden" name="MerchantId" value="{C59799EE-412C-
4096-B60C-FA1AD13AA4CB}">
<input type="hidden" name="ErrorURL"
value="http://myservername/AttachmentHelpers/error.htm">
<input type="hidden" name="SuccessURL"
value="http://myservername/AttachmentHelpers/NoteDownload.htm">
<input type="File" name="userFile" size="20"> <input
type="submit" name="UPL" value="Submit">
</body>
</html>
<Steve Chambers> wrote in news:erGS6AmcDHA.1696@TK2MSFTNGP10.phx.gbl: