on 11-12-2014 3:53 PM
Hi all, I need to implement a FileDrop Target in a web dynpro for java (sap netweaver developer studio). There is very little documentation about that. I put the ui element in the view. Inside the container is created, I tried to put images, tables and itemlistbox with DropTargetInfo, where you can drag the external files to upload. The value of the filenamePatterns attribute is: *.The resource property is bound to a context attribute of the type IWDResource. I also created the ondrop event (only sends a message). I don´t know what to do to make it work.
Thank you.
hi Juan ,
go through the below link
http://help.sap.com/saphelp_nw73/helpdata/en/49/1393e7d15b0981e10000000a421937/content.htm
Regards
Govardan Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi juan,
in the event can you try to print the if the resource attribute is null or not , like if the attribute is filersrc then try to insert code as
if(null != wdcontext.currentcontextelement().getfilesrc)
{
wdcomponentapi.getmessagemanager().reportsucess("File exists");
}
is your applciation is running in SAP NetWeaver Business Client (NWBC).
Regards
Govardan Raj
The Event simply does not launch The problem must be that you say . The application runs in a browser(on sap portal), not in NWBC . The instructions make it clear , only works on NWBC .
[FileDropTarget can be used only, if the application is running in SAP NetWeaver Business Client (NWBC).]
Thanks for everything Govardan.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.