POST
|
The static pressure field is not using a domain. It is an integer field. I have it symbolize as 0 showing red and all other showing green. When I publish the service this is what is causing the domain like behavior. Ray
... View more
12-23-2015
05:08 AM
|
0
|
3
|
1006
|
POST
|
I want to symbolize on the asset itself. The inspection is really just there as a bonus. I am really using this to get Static Pressure readings from the field. Also I have never really set up a feature editing template. Have to look into that one. Here are a couple screen shots showing the issue when publishing the service with symbology. When I try to put in a static pressure I get the error below. When I click the arrow all I get is the 0 as an option. Again, Thanks for taking the time to help Ray
... View more
12-22-2015
08:15 AM
|
0
|
7
|
1006
|
POST
|
It actually worked fine once I passed a valid objectid to the script. Reading the post here Delete Features (Operation) I thought I would get back a response saying it failed. Once a valid ObjectID was passed the feature was deleted. Thanks for your help Robert. I will mark this question as answered. Happy holidays to you. Ray
... View more
12-22-2015
07:39 AM
|
0
|
0
|
953
|
POST
|
Yes. I did notice in my script the url was incorrect. I have since changed it to http://gismapserver:6080/arcgis/rest/services/Holes/FeatureServer/0/deleteFeatures Now I get an empty object back as a response. Ray
... View more
12-22-2015
07:34 AM
|
0
|
1
|
953
|
POST
|
Thanks. You got me in the right direction. Running into another issue. I make the request but not getting back the response I'm looking for. Here is my javascript code. I am using jQuery as well $(".deltrench").each(function(){
$(this).click(function(){
//var objid = $(this).data("objid");
var objid = 17000;
var delurl = 'http://gismapserver:6080/arcgis/rest/services/Holes/MapServer/0/deleteFeatures';
$.ajax({
type: "POST",
url: delurl,
data: {
"objectIds": objid,
"f": "json"
},
success: function(data) {
data = jQuery.parseJSON(data);
console.log(data);
}
});
});
}); I post this to the server and there is a huge response. One thing I notice is canModifyLayer:false Is there something I need to do extra? Seems like it may be a permissions thing. Do I need to pass along a username and password to use the service? When I published the service I did make it public. We are on an Intranet with no external access to the server. Thanks for your help again Ray
... View more
12-22-2015
07:13 AM
|
0
|
3
|
953
|
POST
|
OK that was my concern. Do you know of any sample code I can look at? I was looking around briefly and had a hard time finding some code to do what I want which is just call the JSAPI and be able to delete the row by just having the objectid. There will be no map or anything just a basic list of rows with a delete link. I want to call the api once the delete button has been pressed. Thanks again Ray
... View more
12-21-2015
11:27 AM
|
0
|
5
|
953
|
POST
|
Can I delete a record through a web application without using the ESRI jsapi? Here is what I have I have a point feature class. I am adding features through the GeoForm application. I have created a web application using php, JS and html which reads directly from the table(Oracle) to retrieve the attributes. The web app allows the rows to be edited. This all seems to be working fine. I want to have a button which allows the user to delete a record. Can I do this through a regular oracle query based off the OBJECTID or do I need to use the JSAPI and delete is through the service which I have published. The layer is not versioned. Thanks Ray
... View more
12-21-2015
09:57 AM
|
0
|
7
|
3499
|
POST
|
I keep getting an error when I try to connect to my portal site. I am pretty sure I meet the requirement specified by the error but still no dice. As you can see I have a hosting server: I also have a datastore: But I still get this error when trying to connect: Thank in advance for any help. Ray
... View more
12-16-2015
08:10 PM
|
0
|
2
|
4320
|
POST
|
I have setup the fire hydrant Inspections for collector. I am trying to do 2 things. Have the inspectors in the field update asset info by editing the asset values and also add an inspection. The main purpose for this is to collect hydrant pressures. I would like to symbolize the hydrants based off of a field. In this case it is STATIC_PRES. I would like to have Hydrants with a value of 0 to be symbolize red and all others to be green. So if the hydrant is red, they know they have to get a static pressure. Couple problems I have run into. First Attempt: Using arcmap I have accomplished this using the symbology and publishing the service. The map looks great. The problem is when I try to edit the static pressure it has become a drop down and the only thing I can select are 0 and "no value". Second attempt: I took the symbology off and published the service with just a basic symbol. I created the map and used the change style screen to set up a color ramp that goes from 0 and >1 . This seems to work with the online map but collector will not recognize the symbology and makes all the hydrants the same. Anyone have any work arounds for this? Becoming a royal pain in the A$# !! Thanks Ray
... View more
12-14-2015
12:49 PM
|
0
|
16
|
5561
|
POST
|
OK here is what I did to install as service on my windows 7 64-bit machine. My download of WebAppBuilder didn't come with npm or when I installed node.js the path was not set in the environment and I could not run it from the server directory. So I copied the npm directory from the nodejs install into the server directory of WebAppBuilder. On 64 bit machine, nodejs is installed in C:\Program Files\nodejs and the npm folder is in the node_modules folder So my directory structure is like so server: D:\AppBuilder\version\server npm D:\AppBuilder\version\npm Once I straightened this out I was able to run the command to install as service. Change your directories based on your appbuilder directory structure. If you have already installed WebAppBuilder as a service and just wish to change the port, then you can skip to step 4 1. Open cmd 2. change directory to D:\AppBuilder\version\server 3. run "npm run-script install-windows-service" (without quotes) 4. go to services 5. stop service "ArcGisWebAppBuilder" if running 6. Open server.js file in the server folder 7. go to line 181 and change the port from 3344 to whatever port you like 8. save file 9. start "ArcGisWebAppBuilder" service The web app builder should now start on whatever port you changed it to in the server.js file If you run the startup.bat file and want to change the port then just open up the startup.bat file and change the port number on line 11. Hope this helps Ray
... View more
09-22-2015
07:26 AM
|
0
|
0
|
707
|
POST
|
I know this question is marked as answered but I found that the script is looking for the port as a LIKE instead of looking for the exact port as Rob pointed out. So port 13344 was open on my box and the script would fail. To fix problem Edit the startup.bat file and change this line: CALL :IsPortTaken %port% (which is line 23) to this CALL :IsPortTaken port% This will look for ports that start with 3344 but may still fail if you have port 3344x open this would be best CALL :IsPortTaken port Since open ports are exact this would be the best option Hope this helps Ray
... View more
08-14-2015
05:52 AM
|
0
|
0
|
684
|
POST
|
Thanks for the reply. I get the same error message on both http or https when I add /home. Ray
... View more
08-06-2015
08:36 AM
|
0
|
1
|
883
|
POST
|
I have installed Portal on my local network and configured web adapter and server as a federated server. All seems to work fine. I am now trying to configure ArcGIS Desktop to publish services to Portal rather than ArcGIS Online. When I go to ArcGIS Administrator I click "Advanced" and then click "Manage Portal Connections" I click add. I enter https://server.domain.com/arcgis I get the error stated above. If I don't use the https:// it accepts the parameter I can click connect and all seems fine, but when I open ArcMap and click sign in I get an error "An Error has occured. Check you network connection and try again" (this is not a typo that is quoted) I am not sure if this is the correct way to publish to Portal. I can just go to publish then add a connection with the portal address and it works. I tried unchecking the security value stated in this threadArcGIS for Desktop Cannot Connect Portal With Active Directory Sign In but no luck. I am running 10.3.1 Server and Portal. And 10.2 Desktop Thanks Ray
... View more
08-06-2015
06:20 AM
|
0
|
4
|
6065
|
POST
|
What is the fieldtype in the database? Date, Number... also what type of database MsSQL, Oracle, MySQL... I am assuming it is MSSQL Server but don't want to assume. You would have to format the date before you insert it into the database. Other than 3 extra zeros at the end, that value looks like a unix timestamp. Let me know the field type and can advise further. Ray
... View more
06-24-2014
12:35 PM
|
0
|
0
|
572
|
Title | Kudos | Posted |
---|---|---|
3 | 09-08-2017 07:16 AM |
Online Status |
Offline
|
Date Last Visited |
08-20-2024
08:27 PM
|