Hi there,
i would like to achieve a Alarms Small view but then with an additional filter to exclude sensors with a certain tag.
I've created a HTM file but it doesn't work properly:
<!--Data Tables: Alarms small filter CS--> <div class="map_object map_table" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#mapobject type="htmlbefore" subid="<@subid>"> <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>"> <div class="maptablecontainer" style="overflow:hidden"> <#lang key="html.dashboard.alarms" default="Alarms" var="alarms"> <#lang key="html.dashboard.warnings" default="Warnings" var="warnings"> <#objectstatus name="downsens" id="0" show="htmllink" var="alarmcount"> <#objectstatus name="warnsens" id="0" show="htmllink" var="warningcount"> <#objectproperty name="name" var="objname" id="<@objectid>"> <b><#inserthtml html="@alarmcount @alarms, @warningcount @warnings, (@objname)" varexpand="html"></b> <#table tableid="dashalarmtable_filterCS" content="sensors" id="<@objectid>" columns="downtimesince,device,sensor" count="50" sortby="downtimesince" links="false" sortable="false" infoheader="false" filter_tags="@tag(<@tagfilterstring>)" filter_status="5" filter_status="4" filter_status="13" filter_status="14" filter_status="10" filter_tags="@tag(-CS)>" </div> <#mapobject type="htmlafter" subid="<@subid>"> </div>
In my sample the tag would be CS as I do not want them to show up in the list.
What would be wrong in my code?
Regards, Ronald.
Add comment