Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Question - The Facts Manager node will fetch the topic name when required from the payload property msg.payload.orbita.facts.questions

Article Property - If you have a custom schema defined for the K-Graph, place the path to the property, where the fact is stored in your custom schema.

Populate - Based on the selected items in this field, the node will fetch and populate the data in the payload object msg.payload.hub

...

Populate Option

Input

Output

Additional comments

Facts

Topic and Relationship

Corresponding Facts

If the topic or relationship or both are missing, the node will output all the facts listed in the K-Graph. You can set a limit to the output result using msg.payload.hub.facts.paging.itemCount

Relationships

...

Related topics - Input should be a topic and the output will be related topics.

...

Topic

Corresponding Relationships

Related topics

Topic

Related Topics

Relationship Facts

Topic

Corresponding Relationships' facts.

Related Questions

...

Topic

Related topics' questions

...

All Questions

...

K-Graph

List of all the questions from the selected K-Graph

...

.

First Question

...

K-Graph

First questions from all the topics of the K-Graph selected

...

Facts by Question

...

Question

Corresponding facts

Engage Organization

Project (Populated by default)

Organization's details from the current project

...

Related Facts

...

Topic

Related topics' facts.

Hub Settings

...

Project (Populated by default)

Hub related content from the current project

...

.

How to use Facts Manager node

...

  1. Set the topic using the function node that feeds to the Facts Manager node.
    Sample code for the function node:

    Code Block
    var _ = global.get('lodash');
    
    _.set(msg, 'payload.orbita.facts.topic',"AboutVoice Orbitasearch")
    
    return msg;
  2. Select the K-Graph and select Relationships from the populate field in the Facts Manager node.

    s
  3. You will get the list of all the Relationships associated with the topic Voice search in the debug tab at
    msg.payload.hub.relationships

Troubleshoot

If you did not select the Knowledge Graph in step 2, you will get the error “Mandatory field kgraphId is missing“ on the Facts Manager node in the Experience Designer. (Refer to screenshot below for the error message.)

...

Related Articles

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "experience-manager"