Is there a way on the add data widget to have the within map extent toggled off when the widget loads?
Thanks
Gareth
Solved! Go to Solution.
Gareth,
In the AddData\search\BBoxOption.js file change the postCreate function:
postCreate: function() {
this.inherited(arguments);
this.bboxToggle.set("checked", false);
},
Gareth,
In the AddData\search\BBoxOption.js file change the postCreate function:
postCreate: function() {
this.inherited(arguments);
this.bboxToggle.set("checked", false);
},
Robert,
How do you remove the type menu from the add data widget?
Thanks
Gareth
Gareth,
Add this css rule:
.search-data-type-options {
display: none;
}
I take it none of this is clicking with you... What is it you don't understand about adding css rules to hide elements?
Does anyone know how to disable the details option?
I've tried options but it also removes the add option
Gareth,
.jimu-widget-add-data .search-pane .item-card .action-bar>a[data-dojo-attach-point="detailsButton"],
.jimu-widget-add-data .secondary-pane .action-bar>a[data-dojo-attach-point="detailsButton"]{
display: none;
}
Thanks Robert. That has really helped my understanding as you have to add the item inside square brackets.
Does anyone know how to add the item description to the card in the add data widget?
Robert,
How do you remove the layers option from the footer of the add data widget?
Gareth