Skip to content

Passing parameters to the FM

Simon Georget edited this page Feb 6, 2014 · 8 revisions

The filemanager accepts some parameters to be passed into the URL :

Changing language

You can specify the language by using langCode. See example below :

http://fm.linea21.com/index.html?langCode=zh-cn

Opening a given folder

You can open a given folder by passing it into the URL with expandedFolder parameter. See example below :

http://fm.linea21.com/index.html?expandedFolder=My_folder/

Restrict the view to a given folder

You can open a given folder by passing it into the URL with exclusiveFolder parameter. See example below :

http://fm.linea21.com/index.html?exclusiveFolder=My_folder/

Be careful, this will allow restrict the view but it can be changed easily by user only by changing parameter value from URL. For restricted permissions on folders please have a lookn on How to allow users to have their own folder ?

Restrict the view to images

You can show only images by passing type=iamges into the URL with. See example below : http://fm.linea21.com/index.html?type=images