Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

I am trying to list the files and directory names in shared directory (fs:\shared) using the HDK FileBrowser actor.

its listing filenames only. the node ........\name does not display the Directory name.

here's the sample code which i used inside the grid data....

Is there something wrong in fileBrowser actor or am i doing some mistake..??

Check what is the value being set for this actor node.
/actor/FileBrowser/viewPrefs
For directories to be included, we should set it to either of the following values
dirs
dirs+files
files+dirs
mixed
use this node
/actor/FileBrowser/view/$$/isDir - to check if the node corresponding is a directory(1) or a file (0)

Check what is the value being set for this actor node.
/actor/FileBrowser/viewPrefs
For directories to be included, we should set it to either of the following values
dirs
dirs+files
files+dirs
mixed
use this node
/actor/FileBrowser/view/$$/isDir - to check if the node corresponding is a directory(1) or a file (0)

I did not set any value 'mixed' is default value used.. morever i had tried setting it to 'dirs' it does not display any!!!

I did not set any value 'mixed' is default value used.. morever i had tried setting it to 'dirs' it does not display any!!!