Solved! Go to Solution.
If you want to place the Search widget in a container of your choosing, you should specify the ID of the container (or a reference to the container element) in the container property of the widget's constructor. In this case, you would also not use view.ui.add.
const searchWidget = new Search({
view: view,
container: "myElementID",
allPlaceholder: "Enter Search Text",
//etc
});
If you want to place the Search widget in a container of your choosing, you should specify the ID of the container (or a reference to the container element) in the container property of the widget's constructor. In this case, you would also not use view.ui.add.
const searchWidget = new Search({
view: view,
container: "myElementID",
allPlaceholder: "Enter Search Text",
//etc
});
Hello
I run a query by creating a query feature layer.
I have a small problem can you help me?
Can you describe what problem you're having?
I can get the results I want with the sample code.
I can see this with console.log.
How can I display this result in a container
I want to show the result in a container.
Perhaps this might be what you're trying to do:
let parselname = feature.attributes.adi_soyadi;
document.getElementById("sonuc").innerHTML = "Malik Bilgisi: " + parselname;
hi @JoelBennett
I hope you are in good mood and health. everything is fine.
I want to serve a json data.
can you help with this?