Select to view content in your preferred language

Editor widget with secure services

2205
2
06-18-2013 07:58 AM
GimenaBernadet_Sebben
New Contributor
I´m having a problem when using an editor widget with secure services.
I think it´s because i´m not able to set the token used to access the geometry service.

how can i solve this?
(the editor uses a feature layer wich has it´s own token, diferent from geometry service)
0 Kudos
2 Replies
JohnGravois
Deactivated User
much like the featureLayer itself, the geometyService class has its own token property and proxyUrl property.  have you tried setting one of these?
0 Kudos
GimenaBernadet_Sebben
New Contributor
much like the featureLayer itself, the geometyService class has its own token property and proxyUrl property.  have you tried setting one of these?


the thing is that the editor widget allows you to set the url of the geometry service and proxyUrl but not the token property.
In others parts of the proyect i´ve used the geometry service with the token set and it has worked ok.

What i´ve done with the widget is:

MyEditorWidget.ProxyUrl = proxy;
MyEditorWidget.Map = Map;
MyEditorWidget.GeometryServiceUrl = urlGeometryService;

but using Fiddler i´ve read the post i´ve recived from de server and it redirects me to a login page.

the only solution is to set the user and password in the proxy, but i wish i do not have to do that
0 Kudos