There are 3 ways to integrate with the discovery service in pyFF:
Sample HTML:
<div id="ds" data-href="{{ entity['entity_id'] }}" data-mdq="https://some.mdq.server/" data-store="https://some.pyff.server/" data-search="https://some.mdq.server/" data-list="an optional URL returning a list" data-related="a hint domain" data-inputfieldselector="#searchinput"> <div class="form-group"> <div class="input-group"> <div class="input-group-addon"><i id="searchindicator" class="fa fa-search"></i></div> <input id="searchinput" class="form-control" type="search"/> </div> </div> </div>
and then use this javascript
$(document).ready(function() { $("#ds").discovery_client(); });
There was an error while loading. Please reload this page.