on 03-28-2008 12:41 PM
Hi all,
I want to upload an excel file Is it that the size of the file is only 20KB..
Regards,
Chandrashekar.
Pls you can be more clear ...........?
We use FileUpload UIelement for upload , but where you want to upload ???
To KM or to Server ?????
No problem for 20kb of size.
Thanks ,
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1)Take a FileUpload UI element
2)create a vaue attribute of type resource.
3)then attch this attribute , resource property of the FileUpload.
4)For confirmation just take a button and write the following code in the button's action.
IPrivateFileUploadView.IContextElement ele=wdContext.currentContextElement();
if(ele.getFileResource()!=null)
{
IWDResource res=ele.getFileResource();
String s=res.getResourceType().getFileExtension());
String s1=res.getResourceName());
}
else
//display error msg
In the above Fileuplaod is the view name and fileresource is the attribute name.
Regards
Hazrath
Edited by: Hazrath on Mar 31, 2008 1:33 PM
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.