Syspons SurveyXact Library Documentation - v1.0.7
    Preparing search index...

    Function loadForBattery

    • Loads the items for a specific property. The property needs to be set as an id for an empty span tag somewhere inside the question battery, for example at the end of the battery title:

      This is the question text belonging to the question battery<span id="example_property_name"/>
      

      You can add the following line to the expression inside of the survey site.

      ssxlib.monitoring_toolbox.loadForBattery('the_entity', " + [background/background_variable_holding_the_id] + ", 'example_property_name');
      

      Parameters

      • entity: string

        The entity to which the survey is connected.

      • id: string | number

        The ID of the specific entity.

      • property: string

        The property you want to receive.

      Returns void