Select to view content in your preferred language

arcgis viewer for flex widget edit

2141
6
05-22-2014 01:10 PM
GEOMATICASIGI
Emerging Contributor
Hi everyone!

I am working with arcgis server 10 and viewer for flex 3.5. I posted a map with edit widget, the problem is that when you try it does not enable the widget options. Message appears "No editable layers". I'm not expert in this, that is not what I'm doing wrong.


Help me please!!!

Alejandra Jiménez
Delegación Iztapalapa
Tags (2)
0 Kudos
6 Replies
BrianOevermann
Frequent Contributor
Alejandra,

Have you published your map service as a feature service?  The editing widget uses the FeatureServer rather than the MapServer service.  Perhaps you did not check that particular box when publishing your map service?

The other thing to look into is whether you have properly set up your data for editing.  Is this an SDE data layer or a layer in a file geodatabase?
0 Kudos
GEOMATICASIGI
Emerging Contributor
Hi,

The problem with the WMS is that I can connect but the workspace is not displayed. If I can see the layers on display but will not be displayed. ¿Is it because of an error in publication? ¿Is it because of improper installation of the program, or the web?

I need to share the WMS service!


Thanks

Alejandra Jiménez
Delegación Iztapalapa
0 Kudos
BrianOevermann
Frequent Contributor
Alejandra,

You mention a WMS service.  Are you referring to the fact that when publishing your service you checked the "WMS" box in the Capabilities list or are you using 'WMS' as a generic term for the service?

If you are publishing and sharing the service as WMS I will be of no further help, as I have never needed to publish my services in that way.  Hopefully someone else on the forums can respond or perhaps this warrants a support call to ESRI.

If you are using WMS generically, in the Capabilities list for services that have editing capabilities I check the "Feature Access" capability.  This enables the geometry to be served up via the FeatureServer service that shows up in your services list.

As for the data layers being edited... I use data layers from my SDE data store, versioned for editing with the option to move edits directly to base (the checkbox in the dialog that pops up when you register a layer as versioned).  I am using direct connections to the SDE database.  I create a child version that will be used for the editing in my flex viewer in ArcMap.  Then in ArcToolbox I use the "Create Database Connection" tool to create a connection to my SDE database **that connects to the version that I am using for editing**.  That tool allows you to specify a particular version.  I save that connection in a place where my Server can access it.

I then start a new ArcMap project and connect to my SDE database and add my layer(s) that I am editing within that version.  You may need to start editing and ensure that the layer templates are set up.  I typically add a feature of every type that will be edited just to test but also to verify that the editing app is "seeing" everything.  I delete these features later before actual use.  I then publish the map as a service with Feature Access checked (as described above).

After the service is published, I configure the edit widget as well as the main flex viewer config file so that my layers show up.  I typically create a separate version of my viewer specifically for editing a particular layer or set of layers.  I like to have my users in the habit of consciously editing or consuming data but not blurring the two use cases together.  After all, if they are the stewards of the data, I want them to be successful and not inadvertently introducing errors into the data.  End users that edit data don't always think about the big picture of their actions like those of us that "do GIS" do. That means their regular, departmental viewer has the layers that they edit but doesn't have the editing function added.  If they need to add or change anything with that layer they must load the editor, which I tend to strip down to the necessities for editing and not everyday use. But your specific needs will dictate how you structure everything.

If your map services are public, share the link and we can take a look.  Maybe something will pop out that hasn't been obvious in our dialog.
0 Kudos
GEOMATICASIGI
Emerging Contributor
Brian:

I perform the procedure is as follows:
my project in arcmap I verify with Map Service Publishing, where I analyze for errors (0 erroes 1 warning as an exception). I keep it as .msd and mapping and WMS. Finally in ArcGIS Server Manager I give permission for everyone.
My Map mxd contains only file geodatabases.



the connection we make is the following:
in arc catalog / gis servers / add wms server / url (add url) / Get Layers / Ok

The user who consume the service has arcgis 9.3, have any problem with that is there?
It should be noted that it has been displayed only a few moments, however it is not constant, which causes problems and can not work.


thanks
0 Kudos
BrianOevermann
Frequent Contributor
Alejandra,

I think I may be at the end of any suggestions I am able to make regarding this.  I have no experience with WMS services, so I don't know if there are any tricks with getting those to work with editing and the Flex viewer.

Typically, backward compatibility of datasets can be an issue. But I don't know if an ArcGIS 10-based WMS service is incompatible with ArcGIS 9.3 even though your user is consuming the data as a service and not directly.

Your comment that you can sometimes see the service but not consistently sounds like a connectivity issue of some sort with the server.

Unless someone else here in the forums has something to offer, your best bet may be to start a support incident with ESRI.

I'm sorry I cannot offer anything more...
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Alejandra,

   You should review the requirements for editing using ArcGIS Server. You will find that you do have to have a feature service as Brian has already mentioned and you can not have that without using an enterprise geodatabase (not file geodatabase) or supported database.

http://resources.arcgis.com/en/help/main/10.2/#/What_is_a_feature_service/0154000002w8000000/
0 Kudos