cancel
Showing results for 
Search instead for 
Did you mean: 

unbound-region

mikepoole
Champ in-the-making
Champ in-the-making
I am currently creating a custom page to display in Share.

I've created a template and inlcuded the following region:

<@region id="documentlist" scope="template"/>

When the page displays, the region is converted to "unbound-region-documentlist" when I would expect it to display the out of the box documentlist component and show the content of the folder(components/documentlibrary/documentlist)

What have I missed/messed up?

Many thanks for your time

Mike
3 REPLIES 3

afaust
Legendary Innovator
Legendary Innovator
Hello,

a component needs to be bound to the region in your template. The default documentlist component will not be bound automatically. You need to include a <component> configuration for the region in your template XML file (Spring model object) that refers to the URI for the documentlist web script.

Have you checked the Spring Surf documentation and some Spring Surf tutorials to help you understand the concepts? I'd recommend this getting-started type blog post - it is a bit dated, but still valid for understanding the core concepts.

Regards
Axel

mikepoole
Champ in-the-making
Champ in-the-making
Thanks so much Axel.

Really appreciate it.

Mike

mikepoole
Champ in-the-making
Champ in-the-making
Just to follow on, I've got the documentlist component displaying in the form but it is empty

If I have the nodeRef in the URL and I send it as a property to the component, how can I get it to display the files within the folder?
(My form is the folder-details page so I am viewing a folder that I know has files in it)

Even with share-config-custom set to have debugging on, I can't quite get my head around how the list of documents is being built.

Any help gratefully received

Mike
Getting started

Tags


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.