This topic is locked
[SOLVED]

 Filename on dropdown

4/2/2014 3:10:58 PM
PHPRunner General questions
C
chcp author

I have saved files in the database entry. My setings: view as - show filename (picture no.1). It showes the entire contents in dropdown (picture no.2), but I want to see only filename. Is this normal? Can you help me? Thanks.

I use PHPRUNNER 7.1



C
chcp author 4/4/2014

No one had this problem?

Sergey Kornilov admin 4/4/2014

This won't work the way you want it to work. Those settings only apply to List/View pages while you are trying to setup a Lookup wizard.
Here is the workaround though. Save your project, close it and open it in any text editor. Find the section that defines the field where you upload images and files.

<m_strName>File upload field name here</m_strName>


Find m_bCompatibilityMode node and change value to 1:

<m_bCompatibilityMode>1</m_bCompatibilityMode>


Open your project in PHPRunner now and perform a full build. Now all files and images you upload will be only stored as a filename and you can use it in Lookup wizard as is.

C
chcp author 4/4/2014

Srgey, thank you very much!
Thomas