Looking for help on displaying my popup attributes and attachments in a DIV outside the map view. Anyone have any examples?
I am not looking for a dock solution rather a div below my map div that can display the results when the user clicks on the feature in the map.
Thanks in Advance
Solved! Go to Solution.
Content is an array so you can have multiple types of content in a single popup.
let template = new PopupTemplate({
title: "Testing",
outFields: ["*"],
content: [
{
type: "fields", // Autocasts as new FieldsContent()
// Autocasts as new FieldInfo[]
fieldInfos: [
{
fieldName: "APPLICATIONNUMBER",
label: "Application Number",
format: {
digitSeparator: false
}
},
{
fieldName: "DISTRICT"
}]
}, attachmentsElement],
});
@JeffreyThompson2 thanks for your guidance... much appreciated.