Additional Error Message Comes When User Attach An Attachment Using Drag And Drop Method
Last updated on MARCH 02, 2017
Applies to:Siebel Tools - Version 184.108.40.206 SIA  and later
Information in this document applies to any platform.
""Checked for relevance on 05-Aug-2013""
We have a requirement for which attachment can't be attached for certain activities.
if user drags and drop any attachment from desktop to attachment list applet, in that case for certain type of activites it should throw an error message and attachment should not be attached.
In our application Attachmnet is a child of activity (Service Request-> Activity-> Activity Attachment)
To achieve above functionality we have written a code for "NewFileAttachment" in WebApplet_PreInvokeMethod.
which look for the activity type, if it meets the criteria then its throws a custom error message.
we have successfully implemented the above functionality, but the only issue we are facing is if user clicks on ok button on error message, after that it throws another system generated message saying
"Unable to upload file C:\Documents and Settings\usw9c6a\Desktop\prod_rule_groups.txt.(SBL-UIJ-00430)"
Please let me know how we can eliminate system generated error message.
here is the code snippet, Applet Name: Activity Attachment Applet
function WebApplet_PreInvokeMethod (MethodName)
else if (MethodName == "NewFileAttachment")
var strActType = this.BusComp().ParentBusComp().GetFieldValue("Type");
var ctr = 0;
while(ctr < TheApplication().ActivityTypeforAtt.length)
if (strActType == TheApplication().ActivityTypeforAtt[ctr])
var strmsg = "Please select a different Activity Type to attach a document to. The following are the not acceptable types: " ;
var count = 0;
while(count < TheApplication().ActivityTypeforAtt.length)
if(count == 0)
strmsg = strmsg + TheApplication().ActivityTypeforAtt[count];
strmsg = strmsg + ", " + TheApplication().ActivityTypeforAtt[count];
count = count+1;
strmsg = strmsg + ".";
ctr = ctr+1;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms