POST
|
Can it be loaded thru the widget: // Load Extrenal Libs require({ paths: { react: 'https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.production.min', 'react-dom': 'https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.8.6/umd/react-dom.production.min', }, });
... View more
02-08-2022
12:52 PM
|
1
|
3
|
1219
|
POST
|
Hey Gavin, The library: https://www.npmjs.com/package/stserver-frontend-comp I was able get workaround by modifying the webpack-extensions.common.js resolve/fallback: resolve: { alias: webpackCommon.moduleAlias, extensions: webpackCommon.extensions, mainFields: webpackCommon.resolveMainFields, fallback: { "tty": require.resolve("tty-browserify"), "https": require.resolve("https-browserify"), "http": require.resolve("stream-http"), "stream": require.resolve("stream-browserify"), "zlib": require.resolve("browserify-zlib"), "os": require.resolve("os-browserify/browser") } }, but the component fails to load into widget Thank you, Laurynas
... View more
11-22-2021
06:53 AM
|
0
|
0
|
1216
|
POST
|
Hey, installed custom npm library, then i run ArcGISExperienceBuilder\client> npm start it fails on many libraries: ERROR in ./your-extensions/widgets/simple-lg/node_modules/debug/src/node.js 5:12-26 Module not found: Error: Can't resolve 'tty' in 'C:\Downloads\arcgis-experience-builder-1.6\ArcGISExperienceBuilder\client\your-extensions\widgets\simple-test\node_modules\debug\src' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "tty": require.resolve("tty-browserify") }' - install 'tty-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "tty": false }
... View more
11-19-2021
06:00 PM
|
0
|
2
|
1280
|
BLOG
|
Drone Video replay widget replays video files with associated metadata files. Video and metadata files can be hosted on premises or cloud storage buckets. Widget has specific functionality listed below: Video replay Synchronized video with flight track (click on the flight track or the video and video is replayed from that location) Video query by extent Video filtering by attributes Follow the drone on the map 360 degree video support: pan around, zoom in This widget can be hosted on premises or ArcGIS Online WebApp Builder Applications. User can choose where they want to host needed feature class, video and metadata files. Technology used to develop this widget is JavaScript API 3.X and runs on ArcGIS Enterprise 10.5 or above.
... View more
09-18-2021
06:10 AM
|
2
|
3
|
901
|
POST
|
Hey, Trying to add simple React JS component to the WAB widget getting error: Widget.js: ``` /* eslint-disable no-console */ // Load Extrenal Libs require({ paths: { react: 'https://cdnjs.cloudflare.com/ajax/libs/react/16.8.6/umd/react.production.min', 'react-dom': 'https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.8.6/umd/react-dom.production.min' }, }); // Widget define([ 'dojo/_base/declare', 'dojo/aspect', 'jimu/BaseWidget', 'jimu/LayerInfos/LayerInfos', 'esri/layers/FeatureLayer', 'react', 'react-dom', './_App', ], ( declare, aspect, BaseWidget, LayerInfos, FeatureLayer, React, ReactDOM, App ) => { return declare([BaseWidget], { baseClass: 'my-react-widget', renderWidget() { console.log(this.folderUrl); // props const wab = { map: this.map, config: this.config, id: this.id, }; const esriJS = { LayerInfos, FeatureLayer, }; // open/close handlers const onOpen = func => { aspect.after(this, 'onOpen', func, true); }; const onClose = func => { aspect.after(this, 'onClose', func, true); }; const root = document.getElementById('my-react-widget-root'); ReactDOM.render(React.createElement(App), root); }, // ------------------------ // // WIDGET LIFECYCLE // ------------------------ // startup() { this.renderWidget(); }, postCreate: function(){ }, }); }); ``` _App.js: ``` "use strict"; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } class Car extends _react.default.Component { render() { return /*#__PURE__*/_react.default.createElement("h2", null, "**bleep**, World!"); } } ``` Is even posible? Thank you
... View more
06-07-2021
06:11 PM
|
0
|
0
|
679
|
POST
|
Its a topographic ESRI basemap, how do you fo this? "The web map automatically selects the show developer base maps options w¿hich creates the problem. once you turn it off and save the problem goes away. "
... View more
06-07-2021
07:58 AM
|
0
|
0
|
584
|
POST
|
Made this Public map from CSV file: https://goriliukasbuxton.maps.arcgis.com/home/item.html?id=591df0da103a468790873d4c6c0edcca but map still asking viewers to authenticate, why is that? Thank you,
... View more
06-07-2021
07:16 AM
|
0
|
2
|
589
|
POST
|
Thank you, it is working. How to make it show up on the top in the Scene Viewer? right now its not visible
... View more
06-02-2021
04:13 PM
|
0
|
1
|
1317
|
POST
|
What i mean, is that then i publish the FGDB with one polyline feature, publishing fails with "Error occurred" error, but content item is published, and the feature class has invalid url error how to debug, fix this? Thank you,
... View more
05-21-2021
12:00 PM
|
0
|
3
|
1356
|
POST
|
Hey, Its Polyline feaures, and I am using the 3D symbology: I could send you a file, Thank you,
... View more
05-16-2021
05:22 PM
|
0
|
1
|
1958
|
POST
|
Tryping to convert with this tool: https://pro.arcgis.com/en/pro-app/latest/tool-reference/3d-analyst/layer-3d-to-feature-class.htm and getting this error, how to fix it? Thank you,
... View more
05-16-2021
04:33 PM
|
0
|
4
|
2044
|
POST
|
building new one here: https://codesandbox.io/s/esri-react-test1-ji744?file=/src/App.js it allows to add '@arcgis/code' as dependancy, but errors out
... View more
04-16-2021
08:26 AM
|
0
|
3
|
1989
|
Title | Kudos | Posted |
---|---|---|
1 | 02-09-2022 08:55 AM | |
1 | 02-08-2022 12:52 PM | |
2 | 09-18-2021 06:10 AM | |
1 | 12-09-2020 08:23 AM | |
1 | 12-17-2018 12:02 PM |
Online Status |
Offline
|
Date Last Visited |
02-09-2022
12:31 PM
|