Select to view content in your preferred language

Add Library to Arcgis for Server

616
2
02-25-2013 11:33 AM
RinatSolorzano_Palero
Deactivated User
Hi everybody, i need your help to program or just find a widget that could help me to list all documents (PDF's) i have, wheter they are in a specific folder or a Server and open one of them.

Thanks in advance for your help

Rinat S.
Tags (2)
0 Kudos
2 Replies
IvanBespalov
Frequent Contributor
Hi, IMHO you have a choise

[INDENT]1[/INDENT]
[INDENT]- create web service wich returns all/needed files from arcgis server output directory (for example: .NET Directory.GetFiles() );[/INDENT]
[INDENT]- call this service from flex client (Your flex map application)[/INDENT]
[INDENT]all business logic run on server[/INDENT]

or

[INDENT]2[/INDENT]
[INDENT]- create geoprocessing task wich retuns all/needed files from arcgis server output directory, publish task on arcgis server;[/INDENT]
[INDENT]- call this task using arcgis api for flex;[/INDENT]
[INDENT]all business logic run on arcgis server[/INDENT]

or

[INDENT]3[/INDENT]
[INDENT]- configure arcgis output directory as virtual directory (here is discussion);[/INDENT]
[INDENT]- access it from flex client (Your flex map application);[/INDENT]
[INDENT]- loop through folder contents to get needed file names;[/INDENT]
[INDENT]all business logic on client side;[/INDENT]
0 Kudos
RinatSolorzano_Palero
Deactivated User
thkns for the help...

i've done an xml list of all documents updated with a macro using excel  (these are stored in a file server so i simply used the url cause are public documents), after i've used this xml list as config for my widget and listed it with datagrid, i understand thats not the best way to do it but al least works...

Rinat S..
0 Kudos