|
POST
|
I was able to modify an existing script that was published on AGS Online as the ServerAdminToolkit. I used the listServices.py script and modified to fit my needs. The script now gets all ArcGIS server folders and services and writes the names and permissions of each to a csv file. I will use this to periodically check permissions to meet an auditing requirment. Here is a copy of the script in case anyone else has a use for this.
... View more
12-31-2014
08:49 AM
|
0
|
1
|
1502
|
|
POST
|
Folders inside AGS sever that contain my published services.
... View more
12-31-2014
08:13 AM
|
0
|
0
|
1502
|
|
POST
|
I have no issues publishing map services that reference my sde DB. The sde DB is registered properly.
... View more
12-31-2014
08:12 AM
|
0
|
2
|
2721
|
|
POST
|
As the title says, does anyone have a Script to report permissions on all folders and services?
... View more
12-31-2014
06:49 AM
|
0
|
4
|
5477
|
|
POST
|
Hi, When publishing a gp service to AGS server 10.22 my service is failing. It works fine in desktop though. It seems to be a problem with the sde connection file during the service creation. Taking a look at the script uploaded to the v101 folder, the esri added variable looks like g_ESRI_variable_1 = u'..\\..\\..\\..\\..\\GP_Tools\\Database Connections\\GISDB_ArcSDE(PROD Server).sde'. This path is modified from my original path to the sde connection file on my computer Shakemap_Table_Target = os.path.join("D:\\agsResources\\GP_Tools\\GISDB_ArcSDE(PROD Server).sde", "ArcSDE.dbo.EQ_SHAKEMAPS"). When debugging, AGS Server can't seem to locate that location. Is this a known bug or something I may be doing incorrectly? I am able to fix the problems by modifying the script to point that variable at a server location where i store the sde files but I am wondering if there is a better solution. I have to jump through hoops to get access to the uploaded scripts on my production server and would rather this just work when publishing. i appreciate any and all feedback.
... View more
12-31-2014
06:32 AM
|
0
|
12
|
7798
|
|
POST
|
Kevin- I did get this to work but it was a while ago so I am having difficulty remembering everything i did to get this working. For the connection I had to use the following line to get this to work. You should also not that I use windows authentication and my gis server account needed write access to the SQL table that i was updating. # Local variables: WildFire_Table_Target = "Database Connections\\GEOSQL01_ArcSDE(PROD Server).sde\\ArcSDE.dbo.WILDFIREPERIM" Hope that helps..
... View more
07-21-2014
07:11 AM
|
0
|
3
|
2060
|
|
POST
|
Yes that is possible. I use the following code to place a button on the pop up window. It only displays when there is a certain attribute as seen in the CanExecute section. When the user clicks the button it adds the attribute value to a url and launches a new webpage. Once you have your bvalue you can do whatever you want with it.
public class ecfTool : ICommand
{
private string ecfUrl = "http://mywebsite/ExternalLink.do?auto=1&linkName=ByNumber&Number=";
private Graphic inputFeat;
#region ICommand members
public void Execute(object parameter)
{
// Get input feature and layer
OnClickPopupInfo popupInfo = parameter as OnClickPopupInfo;
inputFeat = popupInfo.PopupItem.Graphic;
System.Windows.Browser.HtmlPage.Window.Navigate(
new Uri(ecfUrl + inputFeat.Attributes["FILE_NO"].ToString()),
"_blank", "top=0,left=0,location=1,menubar=1,toolbar=1, resizable=1");
}
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter)
{
// Return true so that the command can always be executed
//return true;
// Check that the parameter contains pop-up information and
// that the current feature shown in the pop-up is a point
OnClickPopupInfo puInfo = parameter as OnClickPopupInfo;
return puInfo != null
&& puInfo.PopupItem != null
&& puInfo.PopupItem.Graphic != null
&& puInfo.PopupItem.Graphic.Geometry is MapPoint
&& puInfo.PopupItem.Graphic.Attributes.ContainsKey("FILE_NO");
}
#endregion
}
... View more
06-06-2014
12:03 PM
|
0
|
0
|
744
|
|
POST
|
ESRI support was able to help with this. It turns out that the ArcGIS Server service was running under a local account. We needed it to be running under the arcgis domain account which has access to the SQL database.
... View more
06-02-2014
10:32 AM
|
1
|
0
|
604
|
|
POST
|
I have decided to make the jump from 10.1 to 10.2.2. While doing this I also decided to move to utilizing a VM. I performed a clean 10.2.2 install on the VM. Got everything configured (IIS Web adaptor, Admin account, AD identity store) but hit a wall when trying to register our existing ArcSDE SQL DB. The error states that the login is from an untrusted domain and can't be used with windows authentication. I triple checked and everything is on the same domain. i am using windows authentication and the arcgis server domain accountwe use does have DB access. We actually have 2 others servers that are on 10.1 that are almost identical in the configuration and utilize the same domain account. Those servers have no issues connection the the DB. All machines including VM are running Windows Server 2008 R2 and have the 64 bit SQL 2008 client installed. Domain Firewalls are off. Any ideas?
... View more
05-29-2014
12:06 PM
|
0
|
1
|
1316
|
|
POST
|
Good catch Raymond. Adolph- Don't forget to mark Raymonds with a Green Checkmark to give credit for the answer.
... View more
05-20-2014
04:15 AM
|
0
|
0
|
1479
|
|
POST
|
I would start by using a web debugger such as Fiddler to view the request being sent. That way you can make sure the request looks ok and you will get the return messaging back to see if the request was successful or if it had an issue.
... View more
05-19-2014
04:47 AM
|
0
|
0
|
1479
|
|
POST
|
If you edit the template you are using, you can put the copyright wherever you want. I do this a lot to move the map elements around and add new menu bars and such.
... View more
04-24-2014
07:24 AM
|
0
|
0
|
544
|
|
POST
|
I just tried and had no issues using IE9. The following requests were sent succesfully when I clicked the refresh button. I used the F12 Developer Tools within IE to capture the traffic. Request GET /SLProxy/proxy.ashx?http%3a%2f%2fwebmapping%2fArcGIS%2frest%2fservices%2fPublic_OMS%2fMapServer%2f9%2fquery%3freturnGeometry%3dtrue%26spatialRel%3desriSpatialRelIntersects%26where%3dCUSTOMERCOUNT%2b%253e%2b0%26outSR%3d102100%26outFields%3d*%26f%3djson%26 HTTP/1.1 Response: {"displayFieldName":"ZCTA","fieldAliases":{"CUSTOMERCOUNT":"CUSTOMERCOUNT","ZIP":"ZIP"},"fields":[{"name":"CUSTOMERCOUNT","type":"esriFieldTypeInteger","alias":"CUSTOMERCOUNT"},{"name":"ZIP","type":"esriFieldTypeString","alias":"ZIP","length":5}],"features":[{"attributes":{"CUSTOMERCOUNT":1,"ZIP":"76020"}},{"attributes":{"CUSTOMERCOUNT":488,"ZIP":"76087"}},{"attributes":{"CUSTOMERCOUNT":1,"ZIP":"76248"}},{"attributes":{"CUSTOMERCOUNT":1,"ZIP":"76426"}}]} Request GET /SLProxy/proxy.ashx?http%3a%2f%2fwebmapping%2fArcGIS%2frest%2fservices%2fPublic_OMS%2fMapServer%2f8%2fquery%3freturnGeometry%3dtrue%26spatialRel%3desriSpatialRelIntersects%26where%3dZIP%2b%253d%2b'76020'%2bor%2bZIP%2b%253d%2b'76087'%2bor%2bZIP%2b%253d%2b'76248'%2bor%2bZIP%2b%253d%2b'76426'%26outSR%3d102100%26outFields%3d*%26f%3djson%26 HTTP/1.1 Response: Too much to post but I did get a valid response.
... View more
03-21-2014
12:11 PM
|
0
|
0
|
992
|
|
POST
|
You can change this by modifying the map layout that you are using. You need to find the correct layout xaml by looking in the .../config/layouts folder. In your layout xaml there should be a section for the HelpLinks. The line you need to search for will be <HyperlinkButton NavigateUri="{Binding Url}" TargetName="_blank" Foreground="{StaticResource AccentTextColorBrush}" >. You need to change TargetName="_blank" to TargetName="_self". Each layout is dirrefernt so i can't tell you which line it will be in the xaml. if you can't find it just let me know which layout you are using and i will take a look at that specific layout. Hope that helps..
... View more
03-03-2014
07:29 AM
|
0
|
0
|
620
|
|
POST
|
Yes. All the information is available here. http://resources.arcgis.com/en/help/main/10.2/index.html#//015400000517000000
... View more
02-25-2014
05:11 AM
|
0
|
0
|
684
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-21-2026 06:15 AM | |
| 4 | 03-12-2025 11:01 AM | |
| 3 | 01-08-2025 09:26 AM | |
| 1 | 01-08-2025 07:19 AM | |
| 1 | 12-06-2024 04:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|