Select to view content in your preferred language

Print widget with services directory off?

1052
4
Jump to solution
10-07-2013 11:59 AM
BillLotz
Frequent Contributor
Is there a way to use the print widget with the services directory turned off?
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Bill,

From the help:

Disabling the Services Directory is recommended as a best practice for ArcGIS Server systems that are public. You may choose to enable the Service Directory on production systems, only if there is a need to make the HTML pages and forms available to the end users. Once disabled, users are not able to view and use the services using Services Directory HTML pages i.e requests that are made for HTML output format (f=html or when parameter f is not specified). They'll receive an error message if they attempt to access the Services Directory once it has been disabled by the admin. All client applications (Web APIs, Desktop, Mobile, etc.) that programmatically access the Services using JSON or other output formats will continue to function as expected.

So it should work, what may cause a problem is accessing the created file such as a PDF or jpg

Regards

Anthony

View solution in original post

0 Kudos
4 Replies
AnthonyGiles
Honored Contributor
Bill,

If you remove the URL for the printing service from the config directory it will revert to quick printing like previous versions:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Print_widget_tags/01m30000001n0...

Regards

Anthony
0 Kudos
BillLotz
Frequent Contributor
Hello Anthony, Thanks for the reply. I guess that I should rephrase my question; Is there any way to get the advanced printing to work if you have the services directory turned off? Thanks, Bill
0 Kudos
AnthonyGiles
Honored Contributor
Bill,

From the help:

Disabling the Services Directory is recommended as a best practice for ArcGIS Server systems that are public. You may choose to enable the Service Directory on production systems, only if there is a need to make the HTML pages and forms available to the end users. Once disabled, users are not able to view and use the services using Services Directory HTML pages i.e requests that are made for HTML output format (f=html or when parameter f is not specified). They'll receive an error message if they attempt to access the Services Directory once it has been disabled by the admin. All client applications (Web APIs, Desktop, Mobile, etc.) that programmatically access the Services using JSON or other output formats will continue to function as expected.

So it should work, what may cause a problem is accessing the created file such as a PDF or jpg

Regards

Anthony
0 Kudos
BillLotz
Frequent Contributor
Thanks for the answers. I see that it is fixed in 10.2                                                                         http://forums.arcgis.com/threads/89414-Print-task-does-not-work-if-servicesDirectory-is-disabled?p=3...
0 Kudos