This should do it:

st = application.fapi.getContentObject(application.fapi.getNavId('node-2'));
pageId = st.aObjectIds[2];

On Wednesday, March 7, 2012 11:29:07 PM UTC-5, AJ Mercer wrote:
>
> Is there a Farcry function that returns the objectID for an item (dmHTML 
> or dmInclude) for a given navigation object ID?
>
> I have pages with the same name under multiple navigation nodes
> eg
> node 1
> - page 1
> - page 2
> node 2
>  - page 1
>  - page 2
>
> I would like to pass in the object id of the nav node (form alias, eg 
> node-2) and page title and it would return node 2/page 2 objectID
> something like getPageID(APPLICATION.navID['node-2'], 'page 2')
>
>
> What I am trying to achieve is create a fireindly URL with skin:buildLink 
>
> -- 
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org 
> community="Open" /> <http://webonix.org>
> http://twitter.com/webonix
> Railo Community Manager<http://www.getrailo.org/index.cfm/community/team/>
>
>  

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to