Relationshipclass for Comments?!

2483
3
11-28-2013 10:44 PM
Labels (1)
by Anonymous User
Not applicable
Original User: Schlomm

Hello,
Firstly...Thanks for the nice examples and for providing most of these on github. I've viewed most of them and now I want also use one of these for an own project.
I'm interested in the the comment function, so that people are able to make comments on particular features:
http://localgovtemplates2.esri.com/LUPublicComment/default.htm
https://github.com/Esri/land-use-public-comment

Although there is a link available, which refers to the http://resources.arcgis.com/, but it would be awesome to get some deeper inside. I've already tried to modify some of these files, but for now I haven't got any success.

Because of the fact, that one feature can have more than one comment, I assume that there is a relationship-class between the feature service itself and another table, which stores the comment, right?
Especially this aspect is very important for me: Would it be possible that some of you can explain the theory behind this? I've tried to create the construct of feature class (for feature service) , relationship-class and another table, but without no success, because I don't know how to configure this a the 100% right way.

Thanks in advance!
0 Kudos
3 Replies
DominikSchlarmann
Occasional Contributor
Any hints on this?
Would be awesome to get some tipps regarding the procedure of setting up the (enterprise geo)database to store more than one comment for a feature.

Thanks an advance!
0 Kudos
by Anonymous User
Not applicable
Original User: lind5149

Hello Dominik,

Glad you like the app and are using it on GitHub.
The Land Use Public Comment application works out of the box as an application that is configurable for non-developers. We encourage folks who wish to use the applications with the default functionality to download the "packaged and Esri supported versions" from the arcgis.com website. This contains the apps, sample data, MXD�??s and help documentation

Land Use Public Comment 10.1
http://www.arcgis.com/home/item.html?id=0d11c03269f0428f83fd346b255c94c8

Land Use Public Comment 10.2
http://www.arcgis.com/home/item.html?id=76671a0cf4954b3bad18ac2ef06346b2

However, the other group of folks we work with are developers. We encourage developers to fork the code on Github and use are apps. I think this is what you are more interested in.

If you look at the TAGS for GitHub you will see v10.1.1 and v10.2.0
https://github.com/Esri/land-use-public-comment/tree/v10.1.1
https://github.com/Esri/land-use-public-comment/tree/v10.2.0

Both versions of the app will handle a many comments to one feature. At 10.1.1 the ArcGIS for Local Government schema has a related table between the Land Use Feature Class and the Land Use Comment table. The 10.1.1 app works with this schema.

At 10.2 the ArcGIS for Local Government schema has the Land Use Feature Class and the Land Use Comment table however, they don�??t have a �??related table relationship�?�. Instead this relationship is handled in the app via JSON. When using the application if someone comments on the land use case with Field Name �??CASEID�?�  with the value 2-9-8 then an entry in the comment table which has a �??CASEID�?� field name too, will be assigned the comment with the same CASEID as the feature. The 10.2.0 app works with this schema.

Cheers,
Lindsay
0 Kudos
DominikSchlarmann
Occasional Contributor
Dear Lindsay,
Thank you so much for your answer. Very helpful 🙂
Regarding the different version (10.1 and 10.2): We're working with ArcGIS Server 10.2, but personally and from this moment I like the procedure of using a relationship class for the feature set and the table, which stores the comments, more comfortable.
So... Is it also possible or is there any reason against using the 10.1 version (with relationship class) on ArcGIS Server 10.2?

Thanks a lot,
Dominik
0 Kudos