cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get a coreSession in a groovy script

iry_
Champ on-the-rise
Champ on-the-rise

Hello

I want to create documents in a script like this: coreSession.createDocumentModel("/Documents",id,"DocumentWorkspace");

How can I instantiate the coreSession?

1 ACCEPTED ANSWER

Thierry_Martins
Star Collaborator
Star Collaborator

hello !

You just have to use the variable Session which is available in the context of a groovy script Session.createDocumentModel("/Documents",id,"DocumentWorkspace");

TM

View answer in original post

1 REPLY 1

Thierry_Martins
Star Collaborator
Star Collaborator

hello !

You just have to use the variable Session which is available in the context of a groovy script Session.createDocumentModel("/Documents",id,"DocumentWorkspace");

TM

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.