• 0

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Difficulties binding my rest service to a treeview plugin

In my XPages project I want to use the following treeview plugin:


I want to read the data for the plugin from a NotesView so I have set up a REST service for this. So I have some javascript to initiate the plugin and call the restservice for the data:


Unfortunately this does not give me the desired result. When I past the result from the restservice into the script and assign it to the tree variable the plugin renders the result.

What am I doing wrong?

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]