POST
|
Hi yes, but it depends on where the definition have been setup. But if you go to agol assistance and log in, https://ago-assistant.esri.com/ you can download the json representation of the webmap/feature layer. Then after publishing, you can just replace the json with the one you saved. Just make sure you save a copy before you make any modification so that you can rollback in case you manage to break something. If you configure the popup definition on the webmap instead of the feature layer, I don't think it gets overwritten if you republish as the defintion is stored on the webmap and not the feature layer itself.
... View more
05-13-2021
05:39 AM
|
0
|
1
|
987
|
POST
|
You double posted 🙂 Hi, you can build/use a view to achieve what you want. View can be created from pro or from sql. select case when Point A = 0, and Point B = 1 and Point C = 0 THEN Polyline A = 1 WHEN Point A = 1, and Point B = 1 and Point C = 0 THEN Polyline A = 0 ELSE Polyline A = 1 END as status, attribute1, attribute2, from table a inner join table b on a.id = b.id
... View more
05-13-2021
05:30 AM
|
0
|
0
|
611
|
POST
|
Hi, you can build/use a view to achieve what you want. View can be created from pro or from sql. select case when Point A = 0, and Point B = 1 and Point C = 0 THEN Polyline A = 1 WHEN Point A = 1, and Point B = 1 and Point C = 0 THEN Polyline A = 0 ELSE Polyline A = 1 END as status, attribute1, attribute2, from table a inner join table b on a.id = b.id
... View more
05-13-2021
05:19 AM
|
0
|
0
|
1206
|
POST
|
Hi Craig, Thank you for that, your suggestion about the pending edit have possibly struck the nail. I was able to replicate the issue in the scenario User 1 login to device 1. make and edit (unsync) and log out User 1 then login to device 2, make and edit (sync) and log out User 1 then login make to device 1 and the sync will break, (i am assuming the replicas fails to reconcile). Do you think this is a bug or a limitation of the product? i am pretty sure the users don't check if an edit is synced or not when they log out Do you also know if there are debugging mode for workforce?
... View more
03-18-2021
05:55 PM
|
0
|
0
|
1418
|
POST
|
Hi, We recently helped a client migrate from classic workforce to workforce v2 and we started noticing alot of sync error between the mobile and server. (see screenshot below). To provide some context, we have a client whose field officer(10 worker in a shift) comes in every morning, pick up a tablet and sign into workforce/survey123. At the end of the shift they would sign out. What we have noticed is that when different users sign in and out of the same device, they have a tendency to get the sync error as shown below. To fix the sync issue, the user will have to clear cache/storage (android) and on IOS (reload project). This isn't great as the worker are not tech savvy and frequently get unsync/outdated assignment (we have background code to manipulate the assignments) which leads to alot of confusion. So long and short of it what can we do to resolve this as an issue? @CraigGillgrass your advise here is much appreciated 🙂
... View more
03-17-2021
11:22 PM
|
0
|
5
|
1471
|
POST
|
Hi, the survey will work offline (stored locally in the inbox) and will sync and upload once there is reception. Some survey may have custom code (e.g pulldata) to retrieve data online somewhere and those will obviously break. Hope that helps 🙂
... View more
02-01-2021
10:11 PM
|
0
|
1
|
1723
|
POST
|
Hi, I have a couple of suggestions, 1. check size of image file (may not be 100%) 2. use PIL (python imaging library) to open() and verify() the image file.
... View more
01-24-2021
09:56 PM
|
1
|
0
|
643
|
POST
|
Hi,I am not sure how u are passing the token but you can try the following https://xxxxx/arcgis/rest/services/OSvC/?f=json&token=fdnfdasfdsajffsdfa
... View more
01-24-2021
09:45 PM
|
1
|
0
|
1157
|
POST
|
you can just check the dom for a specific class name assuming it is using css class to change the look. https://dojotoolkit.org/reference-guide/1.7/dojo/hasClass.html If you are unable to get a handle to the dom, you can try using https://dojotoolkit.org/reference-guide/1.9/dojo/query.html
... View more
01-24-2021
09:28 PM
|
1
|
0
|
664
|
POST
|
Hi Marcelo, Hope i am not interpreting your question wrongly. even after the widget have set the filter value, those values can still be changed. but you will likely have to modify and customize FilterParameter.js. The easiest way to do this is to take a copy from WebAppBuilderForArcGIS\client\stemapp\jimu.js\dijit\FilterParameter.js and store it locally. THen update your reference to 'jimu/dijit/FilterParameters' and change it your local reference. (Note you made need to update or copy over the references in FilterParameter as well). I hope that is helpful. So depending if you are using _SingleFilterParameter or _filter/ValueProviderFactory you can update the default value. For example take a look at
... View more
01-13-2021
04:55 PM
|
1
|
0
|
931
|
POST
|
You can do /project_folder/whatever/whatever That will always reference from your project folder.
... View more
01-10-2021
06:53 PM
|
0
|
0
|
1607
|
POST
|
Hi, please take a look at FilterParameter to see if that is what you after. Which is reference in widget.js. From memory the sql expression is build from there. Hope that helps 🙂
... View more
01-10-2021
06:48 PM
|
0
|
3
|
959
|
POST
|
Hi @Raphiki , you have 2 options, one is to create one from scratch. Creating a onscreen widget is the same as creating all the other widget. The only difference is how you specify the manifest.json file. example below {
"name": "ScaleNElevation",
"platform": "HTML",
"2D": true,
"3D": false,
"version": "2.16",
"wabVersion": "2.16",
"author": "Victor Tey",
"description": "View current scale and set scale",
"copyright": "",
"license": "http://www.apache.org/licenses/LICENSE-2.0",
"openAtStart":true,
"properties": {
"inPanel": false,
"hasUIFile": true,
"supportMultiInstance": false,
"closeable": false,
"hasSettingPage": false,
"hasSettingUIFile" : false,
"hasConfig" : true,
"position": {
"left": 10,
"bottom": 60
}
}
} Note the inPanel: false, closable false and position to place the widget. Above is a working copy of my manifest.json. Hope that helps
... View more
01-07-2021
04:30 PM
|
0
|
1
|
729
|
POST
|
nope 😞 i use os path join to join up filepath. Furthermore it works with my user account. Just not a service account I also see this post by Igor that had the exact same error. https://community.esri.com/t5/arcgis-web-appbuilder-questions/cannot-print-very-frustrating-problem/td-p/732644/page/6
... View more
01-07-2021
03:10 PM
|
0
|
1
|
908
|
POST
|
Hi, I have a piece of code that ran fine as a user however once it runs as a service account, I get the following error. Can anyone kindly assist? File "E:\GeoprocessingWorkforce\PROD2_WORKSPACE\dev_phase2\report_handler.py", line 67, in PrintReport
lyt.exportToPDF(filePath)
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\utils.py", line 191, in fn_
return fn(*args, **kw)
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 1161, in exportToPDF
return convertArcObjectToPythonObject(self.c(*gp_fixargs((out_pdf, resolution, image_quality, compress_vector_graphics, image_compression, embed_fonts, layers_attributes, georef_info, jpeg_compression_quality, clip_to_elements, output_as_image, embed_color_profile), True)))
OSError: E:\pdfs\abc.pdf
... View more
01-07-2021
08:00 AM
|
2
|
3
|
923
|
Title | Kudos | Posted |
---|---|---|
1 | 03-29-2022 06:53 PM | |
1 | 07-22-2021 07:59 PM | |
1 | 03-30-2022 04:36 PM | |
1 | 10-23-2021 06:49 AM | |
1 | 07-11-2021 11:42 PM |
Online Status |
Offline
|
Date Last Visited |
03-30-2022
06:13 PM
|