Hi Xena

I'm not 100% sure what you try to achieve.
Generally, you can "read" every node and ever node property on the workspaces 
which belong to the JCR repository of your magnolia instance. 
(For sure JCR also has a security layer, but let's keep this aside for the 
moment.)

In java, to get a node, you do something like this:
[code]
Session session = MgnlContext.getJCRSession(RepositoryConstants.CONFIG); // you 
must provide the workspace name!
Node rootNode = session.getRootNode();
// here using relative path
Node anotherNode = 
rootNode.getNode("modules/dam-app/apps/assets/subApps/detail/editor/form/tabs/asset/fields/field_name");
// or without root node, using an absolut path:
Node sameNode = 
session.getNode("/modules/dam-app/apps/assets/subApps/detail/editor/form/tabs/asset/fields/field_name");
[/code]

Within a freemarker template, use templating functions [i][b]cmsfn[/b][/i] 
and/or [i][b]seachfn[/b][/i].
- https://documentation.magnolia-cms.com/display/DOCS/cmsfn
- https://documentation.magnolia-cms.com/display/DOCS/searchfn

I hope this helps,
cheers, 
 Christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=dc4628cf-9a18-44e8-bc58-4134cbc4c71e


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to