Simple Edit widget syntax question

1859
2
Jump to solution
11-17-2014 11:50 AM
Highlighted
New Contributor III

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)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent Contributor II

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

Reply
0 Kudos
2 Replies
Highlighted
Frequent Contributor II

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

Reply
0 Kudos
Highlighted
New Contributor III

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

Reply
0 Kudos