cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I Set Behaviour to FileDownLoad UI Element

Former Member
0 Kudos

Hi all,

I have a FileDownLoad UI Element In my application in 2004.

I want to set the "behaviour " property to this element. (i.e AUTO,ALLOW_SAVE etc) . In 2004s the UI Element has that property . But I want to set in 2004 dynamically.

Plz Help Regarding this,

Thanks in advance

LakshmiNarayanaChowdary.N

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

in your program you can give some thing like

WDFileDownloadBehaviour.ALLOW_SAVE

allowSave

An Open/Save dialog box appears. The user can directly save the file locally or open it with the appropriate program.

auto

The behavior is predefined and depends on the MIME type of the file to be downloaded

openInplace

The file is opened in the appropriate application program within the current window. Which program is opened, depends on the MIME type of the file.

Refer :<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f">tutorial</a>

Regards

Abhijith YS

Former Member
0 Kudos

Hi Abhijit,

In 2004s it's possible to bind the behaviour type(as FileDownload is having the property behaviour which can be assigned with context value).

But in 2004 we have no such property.. Tht's why I wanted it to be dynamic.

Plz find another

Thanks in advance

LakshmiNarayanaChowdary.N

Former Member
0 Kudos

Hi all,

I found no such API in 2004 which supports this.

This API is present in 2004s.. and so it supports.

So i think it is not possible in 2004 version.

Thanks to all

LakshmiNarayanaChowdary.N