|
POST
|
Easiest is always best.... I also missed that you were in Portal (even though it's right up front.) My solution is down at the ArcMap mxd level. Which I am not sure about how it will work when it comes to Portal but it's on my list of things to try. We've found all sorts of interesting behavior when we go from map services to Feature Services, to hosted Feature Services, etc...
... View more
05-17-2016
01:04 PM
|
0
|
0
|
1015
|
|
POST
|
Using Hyperlinks—Help | ArcGIS for Desktop Try using the hyperlink script option? Set the parser to Python and see if this code will work for you. I pulled your parcel ID into tId out of habit (debugging outside the hyperlink) import webbrowser def OpenLink ( [RICHLAND.DBO.RC_Parcels.PIN_TXT]): tId = [RICHLAND.DBO.RC_Parcels.PIN_TXT] parcelId = '' if (tId is None ) else tId.strip('\r\n\t ') # trims CR, NL, TAB or spaces basePath = 'http://www.co.richland.nd.us/RCIMS/Parcel.html?parcel=' if parcelId: # make sure you don't have an empty parcel id tPath = basePath + parcelId webbrowser.open(tPath) return or in short form with no attempt at error checking: import webbrowser def OpenLink ( [RICHLAND.DBO.RC_Parcels.PIN_TXT]): webbrowser.open('http://www.co.richland.nd.us/RCIMS/Parcel.html?parcel='+[RICHLAND.DBO.RC_Parcels.PIN_TXT]) return Here's an example of more complex scripting where we have a flag that indicates if there's an attached image and we have a previous and current project Id. We want to use current project Id if it exists, otherwise the current prj ID and if neither project ID exists, we have an empty string and we do nothing. Note that Python treats an empty string as a False import webbrowser def OpenLink ( [IR_IMAGE], [CURRENT_PROJECT_NUMBER], [ORIGINAL_PROJECT_NUMBER] 😞 # need to insert code to check that a project number exists, swap between current and original? if [IR_IMAGE] == 'NO' or [IR_IMAGE] == 'N' : # should show up in here as NO but just in case, check against N return cP = [CURRENT_PROJECT_NUMBER] oP = [ORIGINAL_PROJECT_NUMBER] cPrj = '' if (cP is None ) else cP.strip('\r\n\t ') # trims CR, NL, TAB or spaces oPrj = '' if (oP is None) else oP.strip('\r\n\t ') # this can give you an empty string for thisProjId (if both current and previous project IDs are empty) thisProjId = cPrj if (cPrj) else oPrj if thisProjId: # make sure you don't have an empty prj id (either current or original) path = 'http://srvrname.domain.com/Default.aspx?GISProject=' + thisProjId webbrowser.open(path) return NOTE: I have only recent started trying the hyperlink in Layer Properties in an mxd. My long time habits typically have me doing things like: basePath = 'http://srvrname.domain.com/Default.aspx?GISProject=' path = basePath + thisProjId In these hyperlink scripts, I'm not sure this buys you anything since you can only debug outside of the script. I'm guessing or assuming that anything in [] is treated as a string regardless of it's type? Or does it come in as the field type. I'm playing with that now to try to understand it but you really can't get interactive in the script that I'm aware of yet... Dan? Can I pull in arcpy and use messaging or print to stdout?
... View more
05-17-2016
11:36 AM
|
0
|
2
|
1015
|
|
POST
|
Sounds a lot like my experience. A few missteps here and there, a few misunderstandings, etc... But once I had it worked out... no looking back. Best of luck. PS - I decided to go with the allinone box even for production. I did setup Prod for HA and will try to go that route with the secondary box at some point but for now, I'm hoping I can just scale away as the need arrises.
... View more
05-16-2016
04:52 PM
|
0
|
0
|
1496
|
|
POST
|
I believe you will have to either build a model for this or write some python code. We had a vaguely similar situation where we had valves touching two pipes with some valves missing InstallationYear. We wanted to look at the install years from each pipe and using some logic, clean up the missing data in the Valves feature class. The way I approached this was to first find a geoprocessing tool that let me extract out a dataset of the valves and the pipe segments they touched. In your case, I think you could just pick out all lines that were touching? Then make sure the data was arranged in a proper order if it wasn't already. Then loop through that data, doing the comparisons and calculations. This was trickier logic than it might seem because we sometimes touched two pipes, sometimes three and sometimes only one or even none. (Also, we were going into an Enterprise GeoDB (Oracle) and were using versioned editing which creates another set of issues when it comes to scripting.) But the starting point was to figure out how to get the data of interest cut out. I started this by hand in ArcMap and put the data into a file.gdb so I could look at the results. Once I had a technique that worked, I built a small model via Model Builder for getting the data. Then I pushed the model into Python and I now had a skeleton for working with the data I wanted. In my case, I could sort my data on a common field (the valve each pipe was touching.) I'm not sure how you will accomplish that except that maybe the data will just fall out in the order you want by definition of the line segments touching. Hope this makes some sense and maybe points you in the right direction. You might be able to accomplish this with Model Builder? I'm just much more proficient in Python than MB and I had a number of conditions to work around so I needed the flexibility of coding. FYI, by doing this in steps to file.gdbs, I could look at the data along each step. Once I knew things were what I wanted, I shifted to IN_MEMORY for the workspace of the file.gdb This allows for some fast processing times, assuming you have sufficient RAM. Unfortunately, Data Reviewer is just that, only a review tool. It's great for finding issues but then the work begins. Best of luck!
... View more
05-16-2016
11:59 AM
|
0
|
1
|
2857
|
|
POST
|
Apparently I did miss that... "adjust the position of the two handles on the color ramp slider." Although that is not quite what I want, in terms of this task, I can make it get by. I seem to recall somewhere where I could set actual numeric values related to color scaling. Thanks.
... View more
05-06-2016
11:51 AM
|
1
|
0
|
761
|
|
POST
|
In AGOL (or Portal), is there anyway to modify the scaling on a heat map? For example, I have a data set that gives values for Lead in Water. Values go from 1 to 5 so, depending on color scheme, the 5s show up as Red (the hot spots.) However, what I want to do is to show values from 1 to 15 where 15 is a limit we have to worry about. I don't want a low value of 5 showing up in Red. Yes, I could change the color scheme but prefer not to. I could add in a fake data point so the heat values scale as I want but then I need to prevent that point from showing. I seem to recall somwhere I did a heat map in which I can set an upper bound. I've tried a few things but so far no luck. Mayube it was in WAB Developer? I don't think I've tried that yet.
... View more
05-06-2016
11:17 AM
|
0
|
2
|
2250
|
|
POST
|
Alicia: Been awhile since I played with Maps for Office but I last time I did, I had no problem geocoding off of addresses. I was hooked into AGOL and I notice the one difference is that my data had City and State called out in separate columns (Address, CIty, State.) At least that's what I see in the last map I created.
... View more
05-06-2016
10:17 AM
|
1
|
0
|
474
|
|
POST
|
Hey Randall: Check out: https://github.com/Esri/arcgis-cookbook/issues/33 for the long winded discussion of changing names and DS, etc... Might be something of interest there for your thought processes.
... View more
05-02-2016
02:06 PM
|
0
|
0
|
3571
|
|
POST
|
Joe: I just checked some notes and for us, the doubling went away when we removed the compatibility setting. This meant removing our domain and unchecking the intranet box on the compatibility setting dialogue box. I do now that on the servers themselves, I had to mess with the security settings in IE to get things to work correctly. That was not a doubling thing though. Are you using a CA or a self-signed cert? How about the AGS setup? FWIW - We're on HTTPS only on Portal and on ArGIS Server. I also recall that in IIS I had to set the SSL Settings to ignore Client certificates. However, this was related to a 403 permissions error when trying to get to Portal home page.
... View more
05-02-2016
02:04 PM
|
0
|
1
|
3596
|
|
POST
|
HI Randall: I believe my comment came from an observation in another conversation regarding using the Esri Chef cookbooks. Maybe the server name changes and associated difficulties are more related to using a Chef cookbook than to modifying things by hand. I believe one issue I had was related to IP changes and that was solved by some configuration mods to the cookbooks. Good to see that Esri supports an AGS name change. Does that also apply to Portal (reload Cert and web adaptor)? How about DataStore? And if the AGS is a federated hosting server, no issues there? Do you have to rebuild the DataStore link? That said, my, well, too many years to say, of IT experience has taught me that changing server names can be problematic. There can be issues beyond Esri software (depending on the server setup.) SIDs may or may not change and some software encodes off the SID, etc... DNS can come into play, etc... I guess I've been burned in the past by trying to change a name that I've just stopped doing it. My experience has been that it's often easier to rebuild the server from scratch. That of course depends on a lot of other factors. If my AGS had been up for a long enough time that I had a lot of services setup and running, etc... then maybe I'd try to change it. But then that means that you're now down into the weeds and working over links that point to a server no longer there, etc... I suspect a lot of the pain could be mitigated or made worse depending on how one's organization is setup and using Web GIS. My gut (which we know how scientifically valid that is) tells me that the longer the server has been up in operation, the harder the name change will be but also the harder to rebuild the server. In my case, when I realized I needed to change a setup name, our setup was new and with Chef and VMs, I tossed the old one out after pushing the cookbook up to our source code server (Hg), pulled a new VM, pulled the cookbooks down, swapped some names and was back up in about an hour (maybe two, you know how the mind forgets time and pain and suffering.) Thanks for the info. I'd be very curious to hear from Raja how well his swap went.
... View more
05-02-2016
12:35 PM
|
3
|
0
|
3571
|
|
POST
|
Go to your hosting server logs and see if there is more detail in there. That's what I've had to do when publishing fails. Our setup is similar to yours in terms of version and WinSrvr 2012R2. I had issues publishing a map and a zipped file geodatabase. Probably not related to yours but here's a link in case it helps. There's a thread referenced in there that has other publishing issues and solutions. Packaging succeeded, but publishing failed. ERROR 001369: - One Solution Good luck, please post up your solution if you find one.
... View more
05-02-2016
12:11 PM
|
0
|
0
|
499
|
|
POST
|
Changing server names after installing Portal and Server is very problematic and not a recommended practice. You could well be better off starting from scratch after you have settled on appropriate machine names. I personally would not want to support a changed name server, even if I were to get it working again. Anytime an issue comes up, I would be wondering if something were broken or disconnected deep down in the setup.
... View more
04-28-2016
11:55 AM
|
1
|
2
|
3571
|
|
POST
|
We setup our Portal/Hosting Server/DataStore to all be HTTPS only with a domain CA. I have found that I can initially access data from our older 10.1 Servers that are strictly HTTP. I can add the REST Endpoint to a map service as an item in My Content and then drop it on a map. And it seems ok. But then the next day, the map will no longer draw the data and if I try to look at the underlying service, it is not accessible. I assume this is all related my HTTPS only setup (on both Portal and AGS.) This is fine with me. What was confusing was being able to see http at all initially. And it's a head scratcher as to why it takes some period of time for things to stop connecting. EDIT: Spoke with an Esri Portal guru the other day about this issue. He felt that reason you can initially see http when set to https only is related to the browser. IE is apparently especially known for doing this sort of thing.
... View more
04-28-2016
10:45 AM
|
1
|
0
|
1598
|
|
POST
|
As a follow up to my prior post, we are now utilizing the all in one setup in a Dev, Test and Production Portal setup We did the initial installation of both Test and Production in a morning. But that was after we worked through a few issues with our Win 2012 Server R2 - portal wants .NET 3.5 so we had to install that first. Our Dev and Test are setup as single boxes with the configuration files there on the local drive. Production is setup for an HA setup down the road if necessary. i.e. configuration files are out on a shared drive/shared folder setup. To do this you use a slightly different Chef json file that is found in the roles folder. It's clearly labeled for HA work. I have had a 180 shift in thinking here. Originally I thought everything should be on separate boxes. But the ease of putting it on one box made me think twice and then some other conversations convinced me to try this route. I can always split out boxes if performance suffers. But in our VMware Sphere environment, I can bump resources on the fly. We are still configuring Portal so I can't report on how well it works in production yet.
... View more
04-28-2016
10:41 AM
|
0
|
1
|
1772
|
|
POST
|
Apurv, As I recall, I just ran the Web Adaptor installation software a second time. The second go round, you select that it will be for Portal (assuming your first install was for AGS.) So in the above image, just click on Portal for ArcGIS and proceed to install.
... View more
04-28-2016
10:31 AM
|
0
|
0
|
2628
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-11-2016 12:58 PM | |
| 9 | 09-19-2021 04:19 PM | |
| 1 | 05-29-2018 12:13 AM | |
| 1 | 03-21-2017 09:48 AM | |
| 1 | 01-24-2017 09:08 PM |
| Online Status |
Offline
|
| Date Last Visited |
02-13-2025
12:41 PM
|