|
DOC
|
@RaoulComaduran2 OK so if you are wanting to add the layer after the search is complete and the zoom is done then you need to add the code that will add the layer to the map in the widget.js _zoomAndClose function. But if you have set the search results to open in the Attribute Table widget then the location to add your layer code is in the _openResultInAttributeTable function. Adding the layer is as simple as:
... View more
12-06-2021
08:44 AM
|
0
|
0
|
17328
|
|
POST
|
@PeterKnoop What you register as an app's Redirect URI, however, also has to be covered by an Allowed Origin on your ArcGIS Online instance. Otherwise, you will get the CORS error I noted above, in step #8, when you start the Experience Builder server on your local machine. I have never messed with the Allowed Origins setting in AGOL and I have been using EB Developer since the beginning and even have EB deployed to my web server without issue.
... View more
12-06-2021
05:27 AM
|
0
|
0
|
10158
|
|
POST
|
@PeterKnoop, Strange. based on what you said I just tried to do the "Create Client ID using ArcGIS Online" steps from the EB install-guide and it still worked using https protocol and my machine name and port 3001... Are you choosing "Other Application" as the application type when adding the new item in AGOL?
... View more
12-03-2021
01:30 PM
|
0
|
2
|
10184
|
|
POST
|
@PeterKnoop Sorry I have to disagree. I have EB working just fine using my device name in the redirect on AGOL.
... View more
12-03-2021
01:12 PM
|
0
|
0
|
10189
|
|
POST
|
@PeterKnoop I personally never use localhost as a url in any development. You can ignore the .mydomain portion most likely (depending on a couple of factors, like is it required for you ssl certificate when using https). Just use your windows device name in place of localhost. If you are not sure what that is. In Windows 10 search for "This PC" right click and choose properties and it is listed as Device name.
... View more
12-03-2021
12:24 PM
|
0
|
0
|
10192
|
|
POST
|
@BensonColeC See this widget for an answer: https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-to-change-wab-widget-window-size/m-p/285094/highlight/true#M7567
... View more
12-03-2021
06:55 AM
|
1
|
0
|
993
|
|
DOC
|
@RaoulComaduran2 That is not something that the widget is capable of without customization. I can provide you some basic guidance, but ultimately this is something you will have to code yourself.
... View more
12-03-2021
06:52 AM
|
0
|
0
|
17380
|
|
DOC
|
@James_Kellough If you want another layer to have hover tips then you just need to use another instance of this widget in your app. I have not plans to allow more than one layer to this widget (not really a great idea as far as performance).
... View more
12-01-2021
10:56 AM
|
0
|
0
|
14762
|
|
DOC
|
@LixinHuang The easiest way is to have the print widget and the identify widget in different controllers. For example if you are using the foldable theme then have the identify widget in one of the on screen widget place holders and the print widget in the header controller.
... View more
12-01-2021
07:01 AM
|
0
|
0
|
15690
|
|
DOC
|
@mohannainar1 OK I have never seen the "mainBackgroundColor" set to "no-color" before now so the code is not handling that correctly. You can make this change in the widget.js file of the eSearch widget or wait for a new fixed version to be released. _addCustomStyle: function(theme) {
var customStyles = lang.getObject('customStyles', false, theme);
if(!customStyles || !customStyles.mainBackgroundColor ||
customStyles.mainBackgroundColor === "" || customStyles.mainBackgroundColor === "no-color"){
return;
}
.....
... View more
12-01-2021
05:49 AM
|
0
|
0
|
17402
|
|
DOC
|
@mohannainar1 Can you share the theme portion of your apps main config.json file? For example: "theme": {
"name": "FoldableTheme",
"styles": [
"yellow",
"default",
"black",
"blue",
"cyan",
"green",
"purple",
"red"
],
"version": "2.21",
"sharedTheme": {
"isPortalSupport": true,
"useHeader": false,
"useLogo": false
},
"customStyles": {
"mainBackgroundColor": "#5a6b4d"
}
},
... View more
11-30-2021
05:38 AM
|
0
|
0
|
17429
|
|
POST
|
@JonathanKressin I did it this way. In my custom widget that produces search results I add an action button to the popup template for the results featurelayer. let AssessReportAB = new ActionButton({
title: "Assessment Report",
id: "taxReport",
image: require("./assets/Report-dark.svg")
});
...
let popUpInfo = {
title: '{' + titleField + '}',
content: this.getPTcontent,
outFields: ["*"],
actions: [AssessReportAB,taxBillAB,impReportAB,CoordReportAB]
};
var pt = new PopupTemplate(popUpInfo);
...
jimuMapView.view.popup.viewModel.on("trigger-action", function(event) {
if(that.props.state === WidgetState.Opened){
if (event.action.id === "taxReport") {
let attributes = jimuMapView.view.popup.viewModel.selectedFeature.attributes;
this.showTaxReport(attributes.PPIN, this.currentLayerAdded);
} of course this route does not add the actions to any popup that appears in the app but that is actually exactly what I want in my scenario.
... View more
11-29-2021
01:36 PM
|
0
|
0
|
1558
|
|
DOC
|
@mohannainar1 What version of version of the widget are you using? What are the error(s) in the browsers web console?
... View more
11-29-2021
05:36 AM
|
0
|
0
|
17445
|
|
DOC
|
@nelsmickaelson From the eSearch help documentation: https://gis.calhouncounty.org/WAB/V2.21/widgets/eSearch/widgets/eSearch/help/eSearch_Help.htm The Show Relates command opens and sends the search relates to the Attribute Table widget. So you need to have a AT widget in your app and the relates will be shown there
... View more
11-29-2021
05:34 AM
|
0
|
0
|
17450
|
|
POST
|
From the sounds of it nothing in the Screening_pmtools.js file is working because it is not loading or has an error when loading. Have you modeled your Screening_pmtools.js code after the drawTools.js file? Meaning it has a constructor function, etc, etc.
... View more
11-29-2021
05:31 AM
|
0
|
0
|
642
|
| Title | Kudos | Posted |
|---|---|---|
| 16 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM | |
| 1 | 03-28-2022 06:20 AM |
| Online Status |
Offline
|
| Date Last Visited |
10 hours ago
|