|
POST
|
I have been successfully publishing map services with data from my Enterprise SDE (SQL Server) geodatabase. The database is registered for use with Server map services. I am now attempting to create a feature service for editing data within my Flex viewer. The feature class is trails and the feature class is versioned for editing. I have created a new public version for the trails feature class and it is the only layer in my mxd. Permissions to the trails data have my ArcGIS Server account (a Windows domain account) granted with select, insert, update, and delete. When I go to publish the mxd as a feature service, the Analyze process throws an error saying the feature service requires a registered database. It appears that my version is not recognized as being registered, even though the SDE database in which this feature class is stored is registered. Are there some extra steps when publishing a feature service using a versioned feature class?
... View more
10-24-2012
02:05 PM
|
1
|
9
|
13362
|
|
POST
|
Prectaylor, Are you using the style that Brad has posted or the one I have posted? Are you on 10.1 or an earlier version? And the way I read your post, the only issue is with the 'NE' directional? Extremely odd... Maybe Brad (or others) have some insight. I can successfully use all directionals--in 10.0 as well as 10.1. There isn't an extra space in your prefix data field for the 'NE' by chance? (i.e. ' NE' instead of 'NE' ) Brian
... View more
10-23-2012
08:13 AM
|
0
|
0
|
2832
|
|
POST
|
Bjorn, Perfect! I thought it would be something simple. This seems like it would be a good topic for the web help documents. Maybe a short how-to for all of the common layout elements that are added to layouts?
... View more
10-02-2012
03:57 PM
|
0
|
0
|
1436
|
|
POST
|
I have successfully published custom layout templates via the ExportWebMap gp tool. They work as expected within my Flex Viewer 3.0 application. My logo, however, fails to show on the output, regardless of the output format. My logo (.jpg format) is in a subfolder of a folder containing my custom layout .mxds. The layout folder is registered with Server as a data source but the folder is NOT on my Server server. I inserted the logo into my layout via the insert--> picture menu items within ArcMap. Must I locate the logo files in a particular location for the Print task to use? It is certainly in a location accessible to the Server, or at least it appears to be. My intent is to use the layouts within the Flex viewer, if that matters.
... View more
10-02-2012
02:17 PM
|
0
|
2
|
4372
|
|
POST
|
Pamela, I haven't tried the following with a public facing app, so I don't know if it will accomplish what you are wanting... If all of the documents are in one folder, you could simply make your link in your data go to the folder itself rather than a specific document within. Using my post above as the example, that would be synonymous with the PlatRoot field. You may need to enable directory browsing on the virtual directory for this to work. But... if you are using rscheitlin's Identify widget, I believe you can now include multiple links. Check the readme document for the widget. I haven't tried it as I currently have no need, but I believe it was changed at the 2.5 version of the widget. You would then need to create/maintain whatever link fields you need within your data as well as create the appropriate virtual directories if there is more than one location you are pulling the documents from.
... View more
09-26-2012
06:36 AM
|
0
|
0
|
1197
|
|
POST
|
Robert, Thank you for taking the time to look into this. I, too, hope this is fixed in SP1. In the meantime I guess I need to come up with some workarounds.
... View more
09-12-2012
10:43 AM
|
0
|
0
|
3339
|
|
POST
|
Robert, Were you ever able to test this further? Any further ideas regarding possible workarounds? I understand that you have a lot of demands on your time!
... View more
09-12-2012
09:55 AM
|
0
|
0
|
3339
|
|
POST
|
Robert, That works as far as not throwing an error. Flash Builder makes a comment about there being no grammar constraints (DTD or XML schema for the document. Does the single quote wrapper work because no DTD is enforcing things? So, the widget loads in the viewer but when I identify a parcel nothing for the field is returned. BTW, in a second run I also added an alias tag and that works great as well, but still nothing returned. With nothing being returned, I decided to check a query directly within the REST service environment. I am attaching two screenshots. One has the fully qualified field in both the "Where" input and the "Out Fields" input. This fails to query. The other screenshot has just the field name (not fully qualified) in the "Where" input and the fully qualified field in the "Out Fields" input. This successfully returns results. I tried a third scenario with just the field name in both the "Where" and "Out Fields" and it failed to query. Let me know if you need me to test anything more.
... View more
08-31-2012
12:29 PM
|
0
|
0
|
3339
|
|
POST
|
It almost seems like ESRI is just using the field name as the alias for joined tables when publishing rather than looking at the alias field and pushing that over, so could this be a "bug"? Robert, I decided to test for my thought quoted above. I created a test service, changing the alias of three of the joined table fields to something obviously different (I used dog, cat, elephant--no mistaking those!) and published the service. In the resulting service the alias for each of those is the same as the field name (i.e. fully qualified with quoted domain user). So publishing the map service definitely ignores the aliases for the joined table fields as they are defined in the mxd. The question is: Is this intended behavior by ESRI (hope not) or a bug? Still doesn't solve the original issue for the short term, but...
... View more
08-31-2012
10:04 AM
|
0
|
0
|
3339
|
|
POST
|
Robert, Thanks for the quick response! Your suggestion is what makes this even more of a head-scratcher. In the mxd, the alias for all of those fields is simply the field name itself. Using the example field I posted originally, the Alias entry is simply PropertyOwner and in the field details the Name is listed as Assessor_Info.DBO.%ParcelInfo.PropertyOwner. (See the attached screenshot) When publishing the service, Server connect to the data with the ArcGIS Server account (which is a domain account in our case) and replaces the "DBO" with our quoted domain\user, and then fully qualifies both the field name AND the alias. For all of the fields in the parcel layer it fully qualifies the field name but the alias is simply the alias as formatted within ArcCatalog/ArcMap. Pre-10.1, with the ODBC connection, the parcel layer field names are fully qualified and the fields from the joined table are simply the field name (not fully qualified) and the alias is simply the field name duplicated. It almost seems like ESRI is just using the field name as the alias for joined tables when publishing rather than looking at the alias field and pushing that over, so could this be a "bug"? Doesn't solve the immediate issue but maybe there isn't an immediate solution? If I try to use an ODBC connection, Server wants to copy the data to the server because no data source is registered (nor can be at this time). That creates a data maintenance headache due to how frequently the Assessor data gets updated and I would rather not go that route unless it is absolutely the only feasible solution. I appreciate your thoughts on a solution to this. BTW, this community does not thank you enough for all of the outstanding coding (and subsequent support) you have done for all of us. I, for one, could not provide my users with some of this functionality as elegantly (and especially as timely) as you have. Thanks for sharing and thank you to your employer for allowing you to spend the time!
... View more
08-31-2012
09:38 AM
|
0
|
0
|
3339
|
|
POST
|
I have a map service containing parcels that has an external SQL Server table containing assessor info joined to it. Pre-10.1 I accomplished this via an ODBC connection to the table, but apparently an active bug with Server prevents registering an ODBC/OLE DB data source. So I have connected to the table with a database connection (that I can register as a source in Server). Everything works as expected, but the REST service publishes the fully qualified field name and alias as: Assessor_Info."domain\user".%ParcelInfo.PropertyOwner ( type: esriFieldTypeString , alias: Assessor_Info."domain\user".%ParcelInfo.PropertyOwner , length: 255 ) FYI, I am using the uncompiled version of the widget... When I configure the fields in the Identify widget config, the quoted domain\user portion of the alias becomes an issue. I have attempted to "escape" the quotes using \" (no success) and &qt;. The &qt; escape properly shows the whole alias as one quoted string value for the config but Flash Builder marks it with "The entity "qt" was referenced, but not declared." Is there another way to escape the quotes to get the config file to read properly? I am attaching my config file in case that helps.
... View more
08-31-2012
08:23 AM
|
0
|
9
|
5458
|
|
POST
|
I have a folder on the server containing the individual locators that make up the composite locator, as well as the composite locator itself. The folder is registered and I have successfully published the individual locators with no issues. When I attempt to publish the composite locator, the Analyze result informs me that the "Composite locator will be copied to the server" with a Code ID of 30009. Is there a reason the individual locators can be published without copying but the composite locator cannot? I must be missing something.
... View more
08-22-2012
01:06 PM
|
0
|
14
|
9860
|
|
POST
|
Bill, I'm not sure what was wrong with the original zip file but I am glad it now works! Let me know how it works (if it works) for you. Brian
... View more
06-21-2012
06:52 AM
|
0
|
0
|
2652
|
|
POST
|
Bill, I'm not sure why my attachment is not working correctly. Post #35 in the link below should be the same file after Brad from ESRI made some tweaks. There is a lot that the white paper fails to cover... http://forums.arcgis.com/threads/28535-Geocoding-Addresses-with-Apartment-Units?p=128250&viewfull=1#post128250 I "re-zipped" the file and I am attaching it yet again, but I am guessing that it is a problem with the system and not the file specifically. Brian
... View more
06-21-2012
06:45 AM
|
0
|
0
|
2652
|
|
POST
|
Roy, I just noticed your post, so I am attaching the file again. Brian
... View more
06-20-2012
02:06 PM
|
0
|
0
|
2652
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-10-2024 12:21 PM | |
| 4 | 07-18-2023 08:22 AM | |
| 2 | 11-09-2021 05:42 PM | |
| 1 | 01-21-2020 02:00 PM | |
| 5 | 08-01-2022 09:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-30-2026
07:47 AM
|