Select to view content in your preferred language

Issue with Editor widget

2072
2
04-15-2014 04:55 AM
AmitGoel
Deactivated User
Hi,

I am working with Editor Widget but got stuck as info Window is not opened in edit mode in my applicaiton. Features on layer turns in edit mode but not info window.
ArcGIS provides some examples in which info window opens in edit mode. I am using same code as described in examples but no luck.
I have attached two examples which have only difference of way of creating map. 
One creates map using Map constructor (EditorWidget.html) while other creates map using createMap function (mapById.html).
First sample opens info Window in edit mode but not the other one.

We are using CreateMap function in my application as we have to load the map using web Map id So probably this can be a reason.
I could not find any other alternative.
So kindly give me some inputs to fix this problem.

Any help would be greatly appreciated.
0 Kudos
2 Replies
JonathanUihlein
Esri Regular Contributor
Hi Amit,

Could you be a bit more specific about what functionality you are having trouble with?
The two samples posted don't have much to do with eachother, so I need a bit more background information.

Which is the file that isn't behaving as expected? What would you like to do with it? What have you tried so far?
0 Kudos
AmitGoel
Deactivated User
Hi,

My requirement is that i have to open popup Info Window in edit mode. I have seen some examples in arcgis api samples they are
achieving the same using Editor class.
I have attached two samples.

  1. EditorWidget.html: I have added some feature layers on the map. When i click on any feature of layer, it opens a popupInfo in          editt mode. it works as expected. Screenshot attached(expected.png)

  2. mapById.html: To run this file you have to host this file on IIS. It loads a public map (webmapId = "4778fee6371d4e83a22786029f     30c7e1"). i have added same layers on this. When i click on any feature of layer, it opens a popup Info in view mode. Screenshot       attached(notExpected.png).

I have attached files again with screenshots. So Please let me know what we are missing.

Thanks
0 Kudos