AnsweredAssumed Answered

File view component - documentLibrary

Question asked by rsocorro on Aug 21, 2018
Latest reply on Sep 4, 2018 by joreun

I tried this code,

 

ngOnInit() {         let nodes: any = this.apiService.getInstance().nodes;         nodes.getNodeInfo('-root-', {             includeSource: true,             include: ['path', 'properties'],             relativePath: '/Sites/swsdp/documentLibrary'        })         .then(node => {             console.log(node);             this.currentFolderId = node.id;             this.changeDetector.detectChanges();         });     }

to set my default folder to be the documentLibrary, but nothing happens, I still need to browse sites, then swsdp to access documentLibrary.

Attachments

Outcomes