POST
|
Awesome. Thanks. It hasn't found them all, and will need a bit of editing, but overall it will save a lot of time. Thanks
... View more
03-18-2024
07:16 AM
|
1
|
0
|
189
|
POST
|
Hi there, I'm looking for help on the above. I have a large number of features which have been delineated by contractors using lines to split them up, rather than by drawing polygons. Is there a simple way to create polygons from this data, without manually having to go in and trace the boundaries? I attach a sample set of the data. Thanks
... View more
03-18-2024
05:22 AM
|
0
|
3
|
278
|
POST
|
Thank you everyone for your help with this. I've done some fiddling based on your suggestions, and a bit more studying of the various docs and created this: // URL Field var nav_url = $feature.ADS_Link_to_Recording_Report // True/False to determine if field is empty var record_link_exists = IsEmpty(nav_url) // Holds results var my_text = '' // If Link is empty, Do not post a link, else Post the text with the link If (record_link_exists) { my_text = `<p><span style="font-family:Arial;font-size:large;">There is no report for this feature</span></p>` } else { my_text = `<p><span style="font-family:Arial;font-size:large;">Read the Archaeology Data Service report for <a href=${nav_url}> ({Site_Name_and_Address})</a> Report` } // Show Data return { type : 'text', text : my_text } This now does exactly what I want. 😊 Thanks
... View more
02-02-2024
09:33 AM
|
0
|
0
|
323
|
POST
|
Hi there, that's very helpful in terms of explanation, thanks. Unfortunately, it gives a null return, even when there is a url (see attached) The upper part of text with the url comes from John's original code, the lower 'No link' from yours. I'm assuming == ' ' looks for anything not null, but this doesn't seem to have worked. Sorry
... View more
02-02-2024
07:50 AM
|
0
|
1
|
341
|
POST
|
I've been using the pop-up as you'll see from the screen shot, I've managed to get the url to appear, but I'm not getting anywhere with the text. I've put the text I want in the normal 'Text' box, but then I get text no matter what.
... View more
02-02-2024
07:09 AM
|
0
|
3
|
350
|
POST
|
Thanks for that. I have tried reading that doc before, but must admit that I quickly got lost, and so in answer to your question, no, I don't know where to paste that in relation to what I've already got. Sorry and thanks for your understanding and help.
... View more
02-02-2024
06:52 AM
|
0
|
5
|
455
|
POST
|
I'm afraid that I've only been able to use the code that John sent above.
... View more
02-02-2024
06:25 AM
|
0
|
7
|
467
|
POST
|
Hi there, as I said I'm new to Arcade, and I'm afraid I don't understand what you're saying. How would that fit into the arcade I've already got? Sorry
... View more
02-02-2024
05:56 AM
|
0
|
9
|
476
|
POST
|
Hi John, that worked thanks, but as I said I was hoping to actually have some text i.e. "Read the Archaeology Data Service report for Bury St. Edmunds Gasworks, if available". I just tried adding that and it fell over ☹️. The linked text will be from {Site_Name_and_Address }, with the actual link to {$feature.ADS_Link_to_Recording_Report}. Am I trying to do something too complicated? Thanks
... View more
02-02-2024
05:50 AM
|
0
|
0
|
481
|
POST
|
Hi folks, I'm trying to do something similar to a previous post with regard to the popup in Map Viewer the pop-up. I want to display a bit of text with the link to a report, where one exists, but leave it completely blank where there isn't one. I assumed I could do this with the add 'Arcade' element to the pop-up, but although I have written a bit of code which returns the correct value in the test area, it doesn't work when live. Have I misunderstood how this works? I should add that I'm new to Arcade, beyond the simple stuff in Pro. I attach a sample subset of my data and below is the bit of arcade I wrote. I deleted the text bit, as I assume I can just add this within the brackets, once I get the report itself to work if (isempty ($feature.ADS_Link_to_Recording_Report)){return null} else {return ($feature.ADS_Link_to_Recording_Report)} I suspect I'm doing something basic wrong, but I'm not sure what. Ta Simon
... View more
02-02-2024
01:37 AM
|
0
|
15
|
898
|
POST
|
Hi folks, I'm trying to do something similar in the pop-up. I want to display a bit of text with the link to a report, where one exists, but leave it completely blank where there isn't one. I assumed I could do this with the add 'Arcade' element to the pop-up, but although I have written a bit of code which returns the correct value in the test area, it doesn't work when live. Have I misunderstood how this works? I should add that I'm new to Arcade, beyond the simple stuff in Pro. Happy to share some sample data etc. if necessary. Ta
... View more
02-01-2024
01:41 AM
|
0
|
2
|
474
|
POST
|
Hi Russ, Thanks for that. It's not very intuitive and makes for extra work. I'm also not entirely sure how much editing control I've had to give, but at least people should be able to see stuff they add. Thanks
... View more
08-22-2023
08:39 AM
|
0
|
1
|
382
|
POST
|
Hi there, I've built an app in Web Experience builder (https://experience.arcgis.com/experience/299ccde28277445e9d50e379998704b3), which includes data captured from Survey 123. I've added the resultant data as layers into the map and app, and configured pop-ups to display the simplified data. However, although the layer appears with small point symbols, the pop-ups don't open in the app. The odd thing is that if I open the app from within AGOL, where I'm signed in, they do, which suggests it is something to do with permissions, but as far as I can see everything is shared with the world. Are there other settings I'm missing somewhere? Furthermore, as a test I built a second version in WAB, and this works with the pop-ups opening as expected. (https://historicengland.maps.arcgis.com/apps/webappviewer/index.html?id=f41d2f26f6aa46f498afc0b33dcba767) In fact, that's not entirely true, as there are issues with the attached images, but that's a separate matter. The main point is why the pop-ups don't appear at all. I hope someone can help.
... View more
08-22-2023
03:49 AM
|
0
|
3
|
450
|
POST
|
I've built an app in Experience Builder based on a Map. I've given users the opportunitiy to add their comments and images via a Survey123 form, but although the images added appear in the Map Viewer, when the pop-up appears in the app, the images don't appear. I've added the image in the pop-up as an attachement. Is that wrong? How esle might I do it. This is the web app - https://experience.arcgis.com/experience/299ccde28277445e9d50e379998704b3?data_id=f56142465105481d96c365d103881ba5-189fe84135d-layer-9%3A9 Thanks
... View more
08-17-2023
02:07 AM
|
0
|
0
|
462
|
Title | Kudos | Posted |
---|---|---|
1 | 03-18-2024 07:16 AM | |
1 | 06-08-2021 05:26 AM | |
1 | 06-03-2021 07:50 AM | |
1 | 05-03-2023 06:34 AM | |
1 | 12-16-2020 04:54 AM |
Online Status |
Offline
|
Date Last Visited |
03-18-2024
06:17 PM
|