|
POST
|
I don't have any context or background story but the way I solved this is by creating a geoprocessing widget + tool that works against and Python script on the back-end. With the Python script you can do and customize practically anything and everything. Shay.
... View more
01-05-2021
11:42 PM
|
0
|
0
|
1063
|
|
POST
|
Without any clear information on the widget, the code, its purpose, your portal setup and so much more this is impossible to answer. You should start by isolating the problem and create a simple empty widget in WAB Dev, then upload it to your portal and see if it works - if done properly, it should work with no issues. Later, slowly add logic and isolate when it's no longer runs on your portal. Shay
... View more
01-05-2021
11:40 PM
|
0
|
0
|
978
|
|
POST
|
This sounds like a very specific and custom behaviour that needs to be coded either on top of this widget or for a new custom widget.
... View more
01-05-2021
11:35 PM
|
0
|
0
|
1097
|
|
POST
|
Hi, I suggest you start with the basics of creating a new widget and adding it into WAB before modifying and customizing advanced/different default settings. Have you ever managed to create a custom widget and add it to a WAB application before? if not, start with that through the tutorials or ready examples you can use - https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm Once you managed to create a custom widget and add it successfully to a WAB app, you can configure it to launch automatically when the app starts either through the WAB interface or through the JSON file, but this should be your last concern, it's an easy fix and it sounds like your widget isn't created properly. Shay.
... View more
01-05-2021
11:31 PM
|
0
|
0
|
1183
|
|
POST
|
Hi Samantha, I haven't got the opportunity to play with the Near Me widget, so I don't know much about it but it sounds like you're asking for a custom behaviour that's not supported by that widget, which means it requires to host the widget locally and modify its source code. Also, I can suggest you add screenshots to explain better about your issue and what you're trying to achieve. It's unclear if you're able to customize the code or working online with OOB widget.
... View more
01-05-2021
11:22 PM
|
0
|
1
|
1194
|
|
IDEA
|
Just as John mentioned, the new generation of WAB with the new API is the Experience Builder, which also eliminates the map as a centric component - it's a whole different architecture with the newest JS technologies.. which is why it's easy to miss as the new generation of WAB
... View more
01-05-2021
11:04 PM
|
0
|
0
|
1720
|
|
POST
|
Hi, Python isn't a language known for its efficiency in memory management - around loops in particular... Dan mentioned most of the crucial aspects to look for. On top of it I would say that using arcpy can be quite expensive for performance. Another way to speed up things would be to use more SQL commands rather than arcpy tools - I've noticed you're generating a new table each iteration? adding fields, calculating, etc... Your fields seem to be hard-coded, so I reckon you don't need them all to be dynamic? so why not just have a "template" table to be used as a copy instead of regenerating everything each round? Also, for calculations/populating a new table, you can use SQL instead of arcpy.. it might require more work to replace in the code but it will definitely speed up operations. With that being said, when working on SQL tables without arcpy, be cautious that you won't be able to register a new table as a layer - this type of operation should be done through arcpy, and the rest can be done with pure SQL. You can actually still use pure SQL while using arcpy with less resources/memory as explained here https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/executing-sql-using-an-egdb-connection.htm I'm not sure if it's faster than a pure SQL Python library - It should be the same I guess. This post might also help you to get some good ideas on how to speed up things by using cursors - https://community.esri.com/t5/python-blog/turbo-charging-data-manipulation-with-python-cursors-and/bc-p/1014319#M528
... View more
01-05-2021
10:54 PM
|
0
|
0
|
5729
|
|
BLOG
|
If you get a popup message to sign-in, it's either the proxy didn't trigger for the request or you don't have permissions to access some portal items through the proxy. You need to narrow the problem by accessing the resources through the proxy directly to understand if it works or not - https://#proxy-url/proxy.ashx#?#resource-url# and always work with fiddler or the network tab in dev-tools, to examine the response. When creating an app with client id+secret, you delegate access to Portal for that user who created that app. if Portal items are not owned by/shared with that user who created the dev app, you will still not be able to access these portal items with the client id + secret
... View more
11-24-2020
02:43 PM
|
0
|
0
|
8595
|
|
POST
|
Jeremy, I referred to the column widget as a wrapper to the rows widget. The rows widget is not meant to be responsive. You can read more about this in the documentation - Column widget—ArcGIS Experience Builder | Documentation Shay.
... View more
08-08-2020
01:12 AM
|
0
|
0
|
1653
|
|
POST
|
Hi Carmen, I don't really follow on where you problem is but have you looked into the documentation of the widget? List widget—ArcGIS Experience Builder | Documentation Try following this video, see if it helps you - Get to Know ArcGIS Experience Builder: Build an Experience from Scratch - YouTube Shay.
... View more
08-07-2020
04:55 AM
|
0
|
0
|
1940
|
|
POST
|
Hi Andreas, Experience Builder is now integrated with the new ArcGIS 10.8.1, so new experiences will be saved as portal items, just as they do with ArcGIS Online. If you're referring to the developer edition, I believe its a bit similar to the Web AppBuilder, which allows you to host the apps but not decide on permissions for a non-managed application you choose to host independently. You can share an experience publicly but if the users don't have access to the content, they will have issues seeing it properly. Since you are using the developer edition, you can also implement a security feature identical to the way you configure access for the ExB into your portal - creating an item with a secret pass-key and use it from the app to check for credentials. Shay.
... View more
08-07-2020
04:40 AM
|
0
|
0
|
1873
|
|
POST
|
Hi Jeremy, Have you tried using the column widget? you can add the row widget (containing the images), inside a column widget, then spread the width across all available columns and it should be responsive based on the size. The columns widget is based on a design principle of 12 columns layout system. This allows better flexibility when designing web pages and there are similar principles when developing content for mobile apps. Shay.
... View more
08-07-2020
04:20 AM
|
0
|
2
|
1653
|
|
POST
|
Impressive work Raul, thanks for sharing. It's important to keep in mind that this isn't a sustainable solution. I would consider it as a temporary patch (which can last for a few years as well), but it's hard to maintain and pass-over to other developers if/when necessary. Updates of the application/library might break it as well. Shay.
... View more
08-06-2020
03:13 AM
|
0
|
0
|
2410
|
|
POST
|
Hi Kafil, The way to add 3rd party libraries to WAB is explained in the following link - Use other libraries—ArcGIS Web AppBuilder (Developer Edition) | ArcGIS for Developers With that being said, if you're using modern libraries that are packaged with modern Javascript technologies, which includes NPM and Webpack, these libraries will not be able to be added, as they have dependencies that require installation through NPM and newer versions of Javascript. You can start by adding a simple CDN external library such as JQuery or others (you can find examples in the source code of widgets). Once you get a simple external library to work, you'll know the workflow to add other libraries. Then one-by-one add your own libraries and see if they are able to be added or not. Shay.
... View more
07-31-2020
06:43 AM
|
1
|
0
|
1258
|
|
POST
|
Hi Yaniv, The new Javascript API is based on React & TypeScript. I don't know about your background in programming, but assuming you do have some, consider the Render function to be the main method / entry point of a React component. Once the code is "compiled", the output of HTML is done through the Render function and it's always required. The HTML tags you see inside the Render method is not really HTML tags.. it's JSX, which is also part of the way you code in React. I highly suggest you find some quick and basic videos on how to work with React, to understand better about the technology. It will make much more sense and be less "painful" to learn by experimenting These are only the building blocks, but the more complex stuff comes when learning about state management of components when working with React - and that's where the magic of React comes in place. Online tutorials will teach you much better about it than me. Shay.
... View more
07-31-2020
06:15 AM
|
0
|
0
|
2092
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-17-2023 06:13 AM | |
| 1 | 11-29-2021 06:30 PM | |
| 1 | 11-29-2021 10:52 PM | |
| 1 | 12-01-2021 03:17 PM | |
| 1 | 11-29-2021 06:15 PM |