POST
|
I have published a 3D object Scene layer to AGOL with associated feature layer. I want to use this in a publicly shared Experience Builder app. The data was custom made for us and we want the data to be secure when it is made public and not accessible to others outside of my app. I have created a new item in AGOL from the original scene layer which I have then added URL limiters to. However when I use this scene layer in Experience Builder it is not available for use in widgets such as Filter or Query. The data is of proposed development scenarios which overlap and the user will need to be able to filter the layer to view each scenario. Is there a way of having a secure scene layer and the filter functionality be available?
... View more
02-12-2024
06:26 AM
|
2
|
0
|
182
|
POST
|
Hi @SveinungBertnesRåheim sorry, I cant share my app as it's internal for my organisations use only. But I have found that the Shadow Cast tool works fine if used in a side bar as shown in my original screen shot.
... View more
11-06-2023
09:15 AM
|
1
|
0
|
553
|
POST
|
Hi @WeiYing1, the issue I was seeing seems to be resolved and the date selector works fine in a side bar in EB. Thank you.
... View more
11-06-2023
12:17 AM
|
1
|
3
|
560
|
POST
|
Thank you. The quicker the better, it makes the tool and the whole app unusable by my customers who need it to help make planning decisions.
... View more
11-02-2023
01:21 AM
|
0
|
0
|
600
|
POST
|
I'm using the 3D toolbox in Experience Builder, the shadowcast analysis does not clear when 'Clear Analysis' is clicked. The shadows then stay permanently on the screen. Is this a bug? It didn't use to do this. Same / similar problem as in this Instant app issue https://community.esri.com/t5/arcgis-instant-apps-ideas/shadowcast-widget-error-in-3d-viewer/idi-p/1268476
... View more
11-01-2023
09:31 AM
|
1
|
10
|
703
|
POST
|
That makes so much more sense! Works perfectly. Thanks very much for your help.
... View more
08-24-2021
02:47 AM
|
0
|
0
|
1738
|
POST
|
Hi, I dont find the documentation snippet very help full as it defines the variable 'form' twice (throwing an error) and doesn't explain where the parameter 'file' comes from in the line form.set("attachment", file); which gives me an error - Uncaught (in promise) ReferenceError: file is not defined. I've never used file input forms before so it might be my naivety but it would be helpful if this could be explained. Thanks
... View more
08-23-2021
09:22 AM
|
0
|
2
|
1750
|
POST
|
I have a custom html form for users to supply information and a map for them to capture a site boundary. The form includes the option to upload file attachments. The feature layer i'm writing to has attachments enabled and is published from our enterprise geodatabase. On submitting the form I can create the new feature with attributes, but I'm struggling with how to then add the file attachments. function submitSite(){
const attributes = {};
attributes["Info"] = dom.byId("Info").value;
attributes["Info2"] = dom.byId("Info2").value;
attributes["Info3"] = dom.byId("Info3").value;
graphicsLayer.graphics.items[0].attributes = attributes;
// sites = featureLayer
sites.applyEdits({
addFeatures:[graphicsLayer.graphics.items[0]]
}).then((submittedResponse) => {
if(submittedResponse.addFeatureResults[0].error == null){
const globId = submittedResponse.addFeatureResults[0].globalId;
sites.definitionExpression = "GlobalID = '" + globId + "'";
// How do i now add the attchments to this feature
}
});
} <form class="attachForm" id="attachment-1" >
<label for="myFile" class="form-label">Attach file</label>
<input class="form-control" type="file" name="attachment" accept=".pdf" id="myFile">
</form> I'm not sure on how to get the file from the input form and how to add it to the new feature as the feature has not been clicked in the map. I've tried using the example provided here https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#addAttachment but I keep getting various errors. Any help on how the achieve this would be much appreciated.
... View more
08-23-2021
02:02 AM
|
0
|
4
|
1791
|
POST
|
Hi, I am setting up an app using the Robs Custom Identify Widget in Web App Builder Developer. Is it possible to set a field to sort the returned results by? I have point and polygon layers with multiple overlapping features and it would be very useful to set a field to order by and direction of order. Thanks
... View more
03-06-2020
03:30 AM
|
0
|
1
|
761
|
POST
|
Thanks for the suggestion. I've just tried that but it still only looks at the world geocode service. I've also filled in the URL in the geocode helperServices in crowdsource-reporter-master\config\defaults.js line 49 and this had no effect either. I tried stating the URL in crowdsource-reporter-master\js\widgets\locator\locator.js line 230 where the locator is created locator = new Locator(geocoders.url); But this still didnt seem work. I'm still at a loss.
... View more
07-22-2019
03:29 AM
|
0
|
0
|
473
|
POST
|
Hi, I am hosting a public facing Crowdsource Reporter app on our own server. I would like to replace the standard Search bar which uses ArcGIS World Geocoding Service. I would like to use my own Search bar that uses a custom geocoding service and presents the results in a more user-friendly format for people to pick a street in our district rather than searching the world. The code for the above widget is: var locatorURL = "{URL}/GeocodeServer";
var geocodeSearch = new Search(
{
sources: [{
locator: new Locator(locatorURL),
singleLineFieldName: "StreetNameMerged",
outFields: ["StreetNameMerged"],
name: "Street Names",
placeholder: "Search for a Street Name"
}],
map: map,
enableSearchingAll: false,
autoComplete: true
}, "geocodeSearch"
);
Is this possible? I've looked through the code and as a novice developer I'm baffled! Any help would be great. Thanks
... View more
07-19-2019
08:25 AM
|
0
|
2
|
547
|
Title | Kudos | Posted |
---|---|---|
2 | 02-12-2024 06:26 AM | |
1 | 11-06-2023 09:15 AM | |
1 | 11-06-2023 12:17 AM | |
1 | 11-01-2023 09:31 AM |
Online Status |
Offline
|
Date Last Visited |
02-20-2024
12:51 PM
|