Product Selector

Fusion 5.12
    Fusion 5.12

    Enable Social Features

    Prior to using social and collaboration tools, you must configure them in Fusion and in App Studio, and then enable them.

    Configure Fusion

    How to configure Fusion (Fusion Server 4.1 and earlier)
    1. In the fusion-app-name Fusion app, create an fusion-app-name_user_data Fusion collection with 1 shard and 2 replicas.

    2. Update the managed-schema to include the new social fields:

      <field indexed="true" multiValued="false" name="type" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="user_id" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="full_name" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="anonymous" required="false" stored="true" type="boolean"/>
        <field indexed="true" multiValued="false" name="created" required="false" stored="true" type="pdate"/>
        <field indexed="true" multiValued="false" name="created_epoch" required="false" stored="true" type="plong"/>
        <field indexed="true" multiValued="false" name="name" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="path" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="private" required="false" stored="true" type="boolean"/>
        <field indexed="true" multiValued="false" name="query_url" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="collection" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="target" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="text" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="title" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="description" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="url" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="accessibility" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="namespace" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="creator__anonymous" required="false" stored="true" type="boolean"/>
        <field indexed="true" multiValued="false" name="creator__full_name" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="creator__id" required="false" stored="true" type="plong"/>
        <field indexed="true" multiValued="false" name="creator__user_id" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__id" required="false" stored="true" type="plong"/>
        <field indexed="true" multiValued="false" name="topic__title" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__private" required="false" stored="true" type="boolean"/>
        <field indexed="true" multiValued="false" name="topic__path" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__namespace" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__description" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__accessibility" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__collection" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__created" required="false" stored="true" type="pdate"/>
        <field indexed="true" multiValued="false" name="topic__created_epoch" required="false" stored="true" type="plong"/>
        <field indexed="true" multiValued="false" name="topic__creator__anonymous" required="false" stored="true" type="boolean"/>
        <field indexed="true" multiValued="false" name="topic__creator__full_name" required="false" stored="true" type="string"/>
        <field indexed="true" multiValued="false" name="topic__creator__id" required="false" stored="true" type="plong"/>
        <field indexed="true" multiValued="false" name="topic__creator__user_id" required="false" stored="true" type="string"/>

    Configure App Studio

    Configure App Studio to support social features.

    Enable social features

    1. Create the file social.conf in the conf/social directory and add the following parameter to it:

      platform: platforms.fusion.social
    2. Create the file social.conf in the conf/platforms/Fusion directory and add the following parameters to it:

      # Required for query/index pipeline
      collection: fusion-app-name_user_data
      
      # Required for query/index profiles
      index-profile: fusion-app-name_user_data
      query-profile: fusion-app-name_user_data
      
      # Allow Fusion platform to store Social entities
      readOnly: false
      webservice-enabled: false