James, getContentObjects and not getContentObject
See http://farcry.posterous.com/new-fapi-function-getcontentobjects Chris. On 17 June, 13:21, James Buckingham <[email protected]> wrote: > Thanks Chris, that would be a lot better definitely but it sadly that > doesn't work :-(. > > Looking at the docs for getContentObject it's needing an objectID and > typename (not required though). > > Cheers again, > James > > On Jun 17, 1:10 pm, Chris Kent <[email protected]> wrote: > > > > > James, > > > Use getContentObjects, > > > <cfset qLinks = > > application.fapi.getContentObjects(typename="dmLink",lProperties="objectid, > > label,alias",alias_eq"#your_alias_in_here#")> > > > Chris. > > > On 17 June, 11:43, James Buckingham <[email protected]> wrote: > > > > Hiya, > > > > We're looking to do a bit of extension work to the dmLink type by > > > adding a new field called "alias" to it. The reason being that we want > > > some way of referencing a particular link in one of our templates. > > > > A dynamic ObjectID obviously isn't suitable so I thought this > > > approach, similar to dmNavigation's alias, would be a good one. > > > > Where I'm getting stuck is I'm not sure how I can pull in an object > > > through a property rather than an objectID. skin:buildLink and > > > skin:View aren't giving me the results I'm looking for. > > > > Does anyone know a way I can do this and do you think this is the best > > > way of tackling this kind of problem? > > > > I'm open to suggestion, and any help is appreciated :-) > > > > Cheers, > > > James -- 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
