Search Service - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

AFS Search Service Coordinates

You define the coordinates of the target AFS Search service using the parameters service and status.

  • service denotes the numerical ID of the search service you want to reach
  • status denotes the status variant of the search service. Its value is one of (sandbox, alpha, beta, rc, stable, archive)

To reach the service with ServiceId 7020 and Status stable use this configuration:

<div class="AFSWidget" title="Configuration">
<script type="application/json">
{
"afsDefaults": {
"afs:service": 7020
}
}
</script>
</div>

When the parameter status is not present it defaults to "stable".

To reach the service with ID 7020 and status alpha, use this configuration:

<div class="AFSWidget" title="Configuration">
<script type="application/json">
{
"afsDefaults": {
"afs:service": 7020,
"afs:status": "alpha"
}
}
</script>
</div>