POST
|
@JoshStiller Just to say thank you, cause this code helped me a lot! I was trying to query a service not in WGS84 and the inSR parameter wasn't doing anything using the pulldata("@layer", "getRecordAt",... function. But this code worked very well! So thank you! 😊,
... View more
02-09-2023
08:10 AM
|
0
|
0
|
515
|
BLOG
|
@FrederikPicavet: I'm probably late for commenting on your question, but, when you create a repeat question, a related table is created in the data model and is that related table that will have the photos attached. I faced the same issue and managed to show the first attached image is this manner: Created an expression to get the url for the attached image with a code similar to: var url = 'https://services.arcgis.com/<whatever>/ArcGIS/rest/services/<service_id>/FeatureServer/<photos_table_id>'
var photoid = ''
var photo_rec = First(FeatureSetByRelationshipName($feature,"<name of the relationship for the photo label>"))
if (photo_rec != Null) {
photoid = photo_rec["objectid"]
}
return url + '/' + photoid + '/attachments/' + photoid" 2. Then I inserted a image in the popup using the previously calculated url
... View more
08-09-2022
08:56 AM
|
0
|
0
|
3036
|
POST
|
It seemed a great workaround, but it still gives me a "Dependency cycles" error! 😞
... View more
08-09-2022
03:40 AM
|
0
|
1
|
276
|
POST
|
When editing a previous survey submission, I wan't to clear the responses for questions 2, 3 and 4 if the answer to question 1 is changed. To achieve this, I tried to created a hidden note that would take the value from question 1 with the default parameter and then calculated if the value from question 1 is changed by comparison. Something like: Unfortunately, this gives me a "Dependency cycles" error! Any suggestions on how to achieve this?
... View more
05-23-2022
03:00 AM
|
1
|
3
|
527
|
BLOG
|
Hello, @DougBrowning ! I'm not looking for hiding the whole repeat group, but just the repeat records count that appears at the end of the repeat group:
... View more
02-14-2022
08:20 AM
|
0
|
0
|
3333
|
BLOG
|
Great article! So helpful! Thanks! Is there a way to hide the repeat count and navigation buttons on the form? I'm working on a form that populates different related tables, according to the event type being reported. For this I have different repeat groups that only appear when the correspondent event type is selected. I only need the repeat group questions to be answered once (I've set the repeat_count to 1), but in the form stills appears the "1 of 1" repeat count. Is there a way to hide this? Thanks
... View more
02-13-2022
10:05 AM
|
0
|
0
|
3348
|
POST
|
Hi @ZhifangWang , Just tested and it now works using the format proposed by Jim-Moore: ${$image | src:"https://anyserver.com/dynamicpage.ashx?data=" + my_field}! This is great! Many thanks! Best regards, Carlos
... View more
08-03-2021
03:04 AM
|
0
|
0
|
906
|
POST
|
OK. Thanks! Hoping to see the fix for this in the next version. Take care, Carlos
... View more
06-22-2021
02:20 AM
|
0
|
2
|
2198
|
POST
|
Hi @Jim-Moore. Thank you so much for your help. That configuration works and it adds the value of my_field to the url, but it automatically removes the question mark (?), so it drives the url invalid. I've tried to substitute the question mark with ? and it doesn't remove it, but it still gives me an error when printig the report, even though the generated url is valid:
... View more
06-18-2021
03:51 AM
|
0
|
0
|
2254
|
POST
|
Did you check if the style in the settings tab is set to pages?
... View more
06-15-2021
08:16 AM
|
1
|
0
|
449
|
POST
|
Thanks! This work like a charm! However, it makes me create a new field for the image_url value. Is there any way to avoid this?
... View more
06-15-2021
04:45 AM
|
0
|
4
|
2299
|
POST
|
I'm trying to include a dynamic image content in my report template using the value of one field to construct the image URL. It says in the documentation of the Report template that this could be achieved through the $image keyword. I've tried including a text like this in my template: ${$image | src:"https://anyserver.com/dynamicpage.ashx?data=${my_field}"} But, when I try to load the template to the survey in survey123.arcgis.com, it raises an error: Erro: An error occurred when checking the report template. The tag beginning with "${$image |" is unclosed. The tag beginning with "}"" is unopened. I guess it is not liking the field data I'm trying to add to the image URL, but how can I do this?
... View more
06-14-2021
09:47 AM
|
0
|
11
|
2596
|
IDEA
|
I think it would be very intuitive and pratical for users to be able to access a sharing option like 'Link to feature' through the feature's context menu in the popup window. Something like: This shareable link would function in the same way that the one you get when you choose the Query a feature and zoom to it in the Share widget, but in a much simpler and direct way
... View more
09-22-2020
03:24 AM
|
1
|
0
|
220
|
IDEA
|
I think it would be very intuitive and pratical for users to be able to access a sharing option like 'Link to feature' through the feature's context menu in the popup window. Something like: This shareable link would function in the same way that the one you get when you choose the Query a feature and zoom to it in the Share widget, but in a much simpler and direct way
... View more
09-22-2020
03:24 AM
|
1
|
0
|
186
|
Title | Kudos | Posted |
---|---|---|
1 | 05-23-2022 03:00 AM | |
1 | 06-15-2021 08:16 AM | |
1 | 11-11-2019 07:00 AM | |
1 | 09-22-2020 03:24 AM | |
1 | 09-22-2020 03:24 AM |
Online Status |
Offline
|
Date Last Visited |
02-09-2023
12:40 PM
|