POST
|
Hi All I would like to add a confirmation dialog box to appear when a user clicks either the: delete button from the feature popup or delete icon from the editor widget I've had a look at the JS api hoping their might have been an event but haven't made any progress. Has anyone implemented a confirmation? Cheers Hamish
... View more
02-09-2016
05:12 PM
|
0
|
2
|
2221
|
POST
|
Hi All What I currently have is a (slightly) customized WAB Editor Widget. I've added the ability to upload an image to the server and then populate a couple of fields within a feature edit window. The image below shows the workflow... Once the image is uploaded, a user can click either 'Use as photo' or 'Use as closeup'. These buttons will then update the associated fields with the URL to the image/thumbnail. What i've noticed is that edits are only saved when the text field is clicked on. So if the main picture and closeup picture were changed, then the user would need to click in each of the four fields to save the changes. What i'm wanting to achieve is that when the user clicks either the 'Use as photo' or 'Use as closeup' button all changes made to the feature are saved. How would I go about achieving this? Cheers Hamish
... View more
02-04-2016
01:02 PM
|
0
|
3
|
2131
|
POST
|
Found the problem. The WAB Widget passes empty fields through as 'NaN' whereas the REST endpoint (and other methods) pass it through as 'Null'. To fix it I set the default values for the not required fields as 'Null'. It is now working perfectly through WAB
... View more
01-24-2016
04:01 PM
|
1
|
1
|
577
|
POST
|
Hi all I have a GP Service published to our dev environment. It consists of one python script that calls a bunch of other python scripts and the end result is a compiled, multi page PDF. The (unpublished) tool works perfect through python and the published tool works perfectly through ArcMap/Catalog and through the REST endpoint. Ultimately what I want to do is use this GP Service through the Geoprocessing Widget in WAB. I've setup the tool in the dev environment, and published it to our web server. When I run the tool through the Web App I get this result (almost instantly): I've checked the server logs (debug logging enable) - attached. Its clear the process isn't running. One thing i notice is that the scratch folder is not made in the job directory. It is there when the tool is run from the REST end point. Does anyone have any idea on why this might be happening? I am prepared to write my only GP widget, but if it can work with the default one then that is desirable
... View more
01-24-2016
02:34 PM
|
0
|
2
|
2569
|
POST
|
Cheers for that. I've ended up using Roberts Enhanced Search Widget. I've had to omit the popups, but the widget will show the values for the necessary fields. I hope that the ability to configure popups does get added.... Hamish
... View more
01-17-2016
11:42 AM
|
0
|
0
|
2559
|
POST
|
Hi All Using WAB and the default search tool I'm wanting to search some feature layers. I've successfully added the feature layers (three of them) and can search and find specific features. However, what I want to do is configure a custom popup for the returned results (a different template for each of the three). How do I go about doing this? I've searched here and google but haven't come up with anything substantial. For example, in the below image, I have searched for the area with 'OBJECTID = 1'. The popup that appears shows all the attributes, but I only want the popup to contain (for example) 'TYPE', 'AREA' and 'LENGTH'. Can anyone help me out? I feel like it may be something fairly simple with the config.... Cheers Hamish
... View more
01-14-2016
04:31 PM
|
1
|
16
|
9852
|
POST
|
Hmm, cheers for that. Unfortunately it looks like it might not quite meet my needs. This looks like its uploading them to somewhere within arcgis server, where as I would like to specify a location on the webserver. I think i have come up with an alternative solution however. Thank you tho!
... View more
12-20-2015
10:36 AM
|
0
|
0
|
436
|
POST
|
What I want to be able to do is extend the Edit widget to allow for image uploads. The data I'm working with has urls to images stored in the attribute table. These images are stored locally on the webserver. The URLs are then used to display the image in the features popup window. I would like the functionality to upload/change/remove photos to the webserver and then place the new url into the attribute table of the feature the image is associated to. I am aware of attachments, but unfortunately this isn't quite the right solution. I haven't looked into the problem much as i was hoping someone has tried to do something similar! Cheers Hamish
... View more
12-09-2015
12:07 PM
|
0
|
4
|
2960
|
POST
|
I'm fairly confident that the issue is with the code I put in my first post. Here is a screenshot of the console when the tasks are called The addresses have been called from top to bottom (they basically appear in the console simultaneously) but looking at the input parameters they are in the right order. What i think the problem is is that the solve times are different. The last one is being solved second (looking at the solve/return time - and I have confirmed this later down the track when I needed to use the x/y locations of the addresses in order) and is therefore being added before the second and third address
... View more
07-09-2015
04:20 PM
|
0
|
1
|
164
|
POST
|
We're using our own. We've access to a few and I've pointed it to them as well with no luck
... View more
07-09-2015
03:42 PM
|
0
|
3
|
615
|
POST
|
So using your code I'm getting the same issue when I tried to implement the addressesToLocations.. The console is saying its a 400 error
... View more
07-09-2015
02:38 PM
|
0
|
5
|
615
|
POST
|
Cheers Robert, I have tried something similar, but I will try your approach. And well done on winning the competition! With all the help you've given me recently I think you very much deserve it!
... View more
07-09-2015
02:19 PM
|
0
|
1
|
615
|
POST
|
Unfortunately that's still returning them out of order... Its really bizarre.
... View more
07-08-2015
10:03 PM
|
0
|
9
|
615
|
Title | Kudos | Posted |
---|---|---|
1 | 01-24-2016 04:01 PM | |
1 | 01-14-2016 04:31 PM | |
1 | 07-08-2015 01:31 PM | |
1 | 06-24-2015 06:50 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|