Select to view content in your preferred language

Simple Edit widget syntax question

2169
2
Jump to solution
11-17-2014 11:50 AM
MegPeterson
Regular Contributor

Hi all -

 

I have one feature in my .mxd that I have successfully published as a feature and map service. The feature is registered in a versioned enterprise database.

 

For that life of me I can't seem to follow the example in configuring the main config.xml and edit.xml to view and edit the feature layer. I'm going bonkers. I keep getting error #1090 (a problem occurred while parsing the config.xml).

 

The tags in the operational layers look like:

 

<operationallayers>

   <layer label="Edit file" type="feature" visible="false" alpha="1" url="http......../FeatureServer/0"</layer>

   <layer label="View file" type="dynamic" visible="true" alpha="1" url="http..........MapServer"</layer>

 

And my Edit.xml calls the <layer name="Edit file"> from the <layersettings>.

 

And help? Gah! (And thanks!)

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor

Meg,

You are not closing your layer tag off correctly, try using this:

<layer label="Edit file" type="feature" visible="false" alpha="1" url="http......../FeatureServer/0" />

Regards

Anthony

View solution in original post

0 Kudos
2 Replies
AnthonyGiles
Honored Contributor

Meg,

You are not closing your layer tag off correctly, try using this:

<layer label="Edit file" type="feature" visible="false" alpha="1" url="http......../FeatureServer/0" />

Regards

Anthony

0 Kudos
MegPeterson
Regular Contributor

Oh geez....thanks Anthony. You've saved my marbles.

0 Kudos