POST
|
Without understanding the data and the format that its in, I think that a slightly different approach could be used. Have you considered using a Python Notebook to pull and parse the data on a schedule and then update this in to a layer that you then use within Experience Builder? The advantage being you don't have to build and widget or wait for something like this to become available in Experience Builder. You could then use a schedule on the notebook to run it at preset times and use the map refresh settings in the web map to periodically update the data in the layer. The data would then also be available to use in other applications outside of ExB.
... View more
yesterday
|
0
|
0
|
10
|
POST
|
Not sure if you got an answer to this? But there are some details here. https://community.esri.com/t5/arcgis-experience-builder-questions/download-experience-builder-via-cmd/td-p/1391180
... View more
2 weeks ago
|
0
|
0
|
176
|
POST
|
I would then check if the service is running Async or synchrononus. If its running synchronously, then I would switch it to async. If you run the service in sync mode, then the widget will be sitting waiting for a response, it will time out because its a bad user experience to block the UI while waiting for a service to load or return. If you run the service async, then the widget should start polling for updates and then return the print when its finished.
... View more
a month ago
|
0
|
0
|
182
|
POST
|
Hi there, the print runs on your ArcGiS Server as you have indicated. This is most likely where the time out is occuring. The default setting for custom GP tools is 600 sec, which is 10 minutes. I would check these settings in the first instance. Are you running the service as synchronus or asynchronus? It may pay to change the service type to async if your are experiencing timeout issues, this will then stop the browser blocking the UI. Which could be another reason you are receiving timeouts. As to why your print is taking a long time, I would check the logs to see if there are any errors being generated from the custom print service. The other questions to ask are : How much information are you trying to print, eg how many layers, at what scale are you trying to print, what is the size of the print layout. Does the ArcGIS Server have access to all of the required layers that are trying to be printed? Again, I would be looking at the logs in the first instance to see what information is there as that should show you any issues or errors being generated off your custom service. Cheers
... View more
a month ago
|
0
|
0
|
187
|
POST
|
Have you reviewed the documentation with regard to API keys on the platform here https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/? Though given your workflow, i'm not sure the keys will work. The other potential solution for your issue is to look at using application authentication with your processing results. Using a client id and client key, you can generate token. The token can then be used to interact with the platform, there are some limitations with that approach, the account/owner associated with the client id and secret application. https://developers.arcgis.com/documentation/mapping-apis-and-services/security/app-credential-authentication/#limitations-of-app-credential-authentication. Note this does stare you cannot publish a layer. However, my question would be could you create a single hosted layer a push your new features in to this layer? Perhaps adding a field to assoicate the analysis with the current logged in user or some other unique identifier for the results to then filter the analysis. If you are constantly generating hosted feature layers, then you would need some kind of management/governance around all those layers. Again, I don't know the full workflow, but there are perhaps some others that it could be solved, and there are some other authentication methods in the docs I have linked too. The above approach with application authentication is one we are using in an integration context where we have members of the public working with a map embbed in a third party application to update features in to ArcGIS Online.
... View more
03-14-2024
10:20 AM
|
0
|
1
|
122
|
POST
|
Were you looking for a button to change the language, there unfortuately nothing like that at the moment. There is query parameter you can use to switch the language, this should work for all the widgets that have translation files associated, but it won't change any text that you have manually entered, eg he title of the experience. I think these are the only options other than re-creating at this stage.
... View more
03-11-2024
11:10 AM
|
0
|
0
|
140
|
POST
|
If you are trying to access your portal, then you will need to add the web adpator to the end of the URL, eg https://www.myportal.com/portal. When you connect to ArcGIS Online, you do not need to specify this.
... View more
01-30-2024
10:58 AM
|
0
|
0
|
751
|
POST
|
Hi There, This is due to some of the restrictions placed on the iFrame that is used to embed within Experience Builder. We were experiencing something similar and ended up modifying the embed widget to allow us to do this. See details on the someone else who had a similar issue, and the widget download. https://community.esri.com/t5/arcgis-experience-builder-questions/download-disallowed-when-wab-app-embedded/m-p/1363227#M9978 This should be able to be published in to ArcGIS Enterprise and then used in place of the out of the box embed widget where you need to download and trust the content. Cheers
... View more
01-28-2024
10:35 AM
|
1
|
1
|
200
|
POST
|
@AmaiaMartinez @TimSexton1 If you could post this as an idea on the ideas channel, then it might get some traction. I can't create ideas it seems. https://community.esri.com/t5/arcgis-experience-builder-ideas/idb-p/arcgis-experience-builder-ideas. But this would at least get it out there for others to comment on. Thanks
... View more
01-04-2024
12:08 AM
|
0
|
1
|
476
|
POST
|
Hi, Without seeing the code, I suspect whats happening is that maybe you have done something like this when you set the JimuMapView. activeViewChangeHandler = (jmv: JimuMapView) => {
if (!(jmv && jmv.view)) {
return;
}
this.setState({jimuMapView:jmv});
} Or alternatively, you have set the view in state, eg activeViewChangeHandler = (jmv: JimuMapView) => {
if (!(jmv && jmv.view)) {
return;
}
this.setState({jimuMapView:jmv.view});
} In which case you have a JimuMapView in state, a JimuMapView is not the same as a MapView or a SceneView, you need to access the view property on the JimuMapView, in the example above where we set the JimuMapView in to state, it would then be, //do this.
this.state.jimuMapView.view.graphics.add(graphic);
//not this
this.state.jimuMapView.graphics.add(graphic); Or if you have set the view in to state, then its.: //do this.
this.state.jimuMapView.graphics.add(graphic);
//not this
this.state.jimuMapView.view.graphics.add(graphic); The details of the properties on a JimuMapView are here If you see a message saying the a property doesn't exist, then I would recommend setting a breakpoint at the point where you are trying to access the object, and inspect it using the debugging tools in the browser. See an example below, where I have a breakpoint set as the JimuMapView is being checked. In the right hand pane, under Local section, you can see the details of the JimuMapView, you can see the methods and properties it has, you can see it has a view property, but not a graphics property. The other thing I do a lot, is log stuff to the console so I can check the values of properties that have been set or to track my progress through code, simple as: console.log(this.state.jimuMapView) This way you can check that the value expect to be there, is the value you expect. Hope that helps
... View more
12-26-2023
03:08 PM
|
1
|
1
|
951
|
POST
|
Hi Blythe The disallowing of downloads is a default setting now, as discussed in the link you posted, to prevent malicious use of software. We experienced something similar recently with a client where the default embed widget was disallowing popups to be displayed. Given we are working in a trusted environment, we got around this by creating a custom widget to support the use of the popups. I have modified this code now to set the allow-downloads in the iFrame attributes. Code is attached, as you are using Enterprise 11.1 you should be able to import this in to your Enterprise to be used within ExB. See the details here . I have included two versions of the widget, one compiled, ready to drop on to the web server and bring in to Enterprise, and the second is the source code of the uncompiled code, just so if you need to modify or change in the future you can, or if you want to scan for your own security purposes. Note, this is pretty much the out of the box widget, with the updated iFrame attributes. I've not had a chance to test this, but hopefully it works out of the box. Cheers
... View more
12-20-2023
10:39 AM
|
1
|
1
|
473
|
POST
|
If you are using Enterprise or Developer Edtion, I have done this. See the link here This uses a 3D scene and the open street map buildings layer, plus it gets live weather details from WeatherAPI.com, it then uses the values from this to change the environment based on the results of the input point. See some screen shots below of what looks like when its raining (if you can't find a place where its raining or snowing). I'm happy to supply the code, or if you want to have a crack it building it yourself, I have also blogged about how I built it. (It does get quite technical). I basically built a JSAPI widget and then wrapped it in an Experience Builder widget, this was done for my own R&D purposes, so its a little over the top, but it all works. Part One Part Two Part Three
... View more
12-18-2023
01:54 AM
|
0
|
0
|
417
|
POST
|
There are a few issues here. First you need to import Graphic, GraphicsLayer and Point. import Graphic from 'esri/Graphic'
import GraphicsLayer from 'esri/layers/GraphicsLayer'
import Point from 'esri/geometry/Point' Remove the declaration of Graphic, Point and GraphicsLayer at the start of your class export default class Widget extends React.PureComponent<AllWidgetProps<any>, State> {
constructor(props) {
super(props);
this.state = {
jimuMapView : undefined,
};
} Next when creating the new point and graphic, don't use the this. prefix. const graphicB = new Graphic({
geometry: new Point({ x: 42.34123, y: 21.12341 }),
symbol: pointSymbol
});
const layer = new GraphicsLayer({
graphics: [graphicB]
}); Finally, you are trying to add the graphic to the map view, but there is nowhere, where you are getting a reference to it. You need to let the widget know which map to add the graphics too. Have a look at this sample here, This shows how to create a settings page so you can assign your widget a map, then it has a handle within the render method which will get the map when it loaded and ready. Also, you do not need to export your state interface. You only need to export something from a file if you intend to use it in other parts of your project or in an another file. Otherwise you do not need need the export statement.
... View more
12-12-2023
09:32 AM
|
1
|
3
|
1091
|
POST
|
Ah ok, yeah, its good if you only have one or two layers, but the workflow doesn't really scale very well unfortunately. Its a good solution to have up your sleve in specific scenarios.
... View more
12-08-2023
10:27 PM
|
0
|
0
|
686
|
Title | Kudos | Posted |
---|---|---|
1 | 01-28-2024 10:35 AM | |
1 | 01-18-2024 04:56 PM | |
1 | 12-26-2023 03:08 PM | |
1 | 12-20-2023 10:39 AM | |
1 | 12-12-2023 09:32 AM |
Online Status |
Offline
|
Date Last Visited |
4 hours ago
|