oops, try 

<cfset stArgs = structNew()>
<cfset stArgs.typeName = "dmHTML">
<cfset stArgs.objectID_in = 
arrayToList(application.fapi.getContentObject(application.fapi.getNavId('node-2').aObjectIDs))>
<cfset stArgs.title_eq = "page 2">
<cfset q=application.fapi.getContentObjects(argumentCollection=stArgs)>

changed the objectID_eq to objectID_in

Chris.

On Thursday, 8 March 2012 04:29:07 UTC, 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