AJ,

Thanks, I am "trying" to use buildlink vs an A tag to I can use the
FUs. I just cant figure out why its working for 3 out of 4 of my
extended file types.

Blair,

dmFile is in www,  the other 3 file types are in securefiles/
typenamefolder/files/


On working ones the link generated by build link looks something like:

dmFile: http://www.domain.com/file/my-friendly-url-ized-file-name

cst1File: http://www.domain.com/cst1File/my-friendly-url-ized-file-name
(works)

cst2File: http://www.domain.com/cst2File/my-friendly-url-ized-file-name
(broken)

on the broken one, when I click the link generated by build link

I get to "overview" view type screen

When I click the link generated there (a download.cfm version) I get
the file..

http://www.domain.com/download.cfm?downloadfile=THE_OBJECT_ID&typename=cst2File&fieldname=filename

Why?

I can't seem to find a difference between the two custom types.

Ideas?

** One thing to note.. I think on the NON working one, I may have set
the bFriendly=1 (and updated app) after files had been added to the
library, however, I did draft/approve the ones that did not get FUs
originally.



On Apr 15, 4:35 pm, AJ Mercer <[email protected]> wrote:
> here is two ways for doing a download
>
> <a
> href="#application.url.webroot#/download.cfm?extFile=#key#">#qResults.title#</a>
>
> from farcry\core\webskin\dmFile\displayPageStandard.cfm
> <cflocation
> url="#application.url.webroot#/download.cfm?downloadfile=#stobj.objectid#&typename=#stobj.typename#&fieldname=filename"
> addtoken="false" />
>
> On 16 April 2010 05:19, Blair McKenzie <[email protected]> wrote:
>
>
>
> > If your file is in WWW then the download link should redirect to it
> > instead. What is the link being generated that doesn't work?
>
> > Blair
>
> > On Fri, Apr 16, 2010 at 4:57 AM, Chris Roth <[email protected]> wrote:
>
> >> Where is the setting that controls the buildlink behaviour that
> >> determines if download is used vs rendering the object "overview"
> >> style screen.
>
> >> I have a few custom types that extend dmFile.
>
> >> When I use the "buildlink" skin for dmFile types I get them pushed out
> >> to me via (I think) the download tag using cfcontent.
>
> >> This seems to work for one of my extended types, but I cant figure out
> >> how to do it for two other custom types..
>
> >> I must have done something somewhere, I thought I duplicated the
> >> "working" custom type when I created the others, but I have brain
> >> farted.
>
> >> Ideas?
>
> >> --
> >> You received this message cos you are subscribed to "farcry-dev" Google
> >> group.
> >> To post, email: [email protected]
> >> To unsubscribe, email: 
> >> [email protected]<farcry-dev%[email protected]>
> >> For more options:http://groups.google.com/group/farcry-dev
> >> --------------------------------
> >> Follow us on Twitter:http://twitter.com/farcry
>
> >> To unsubscribe, reply using "remove me" as the subject.
>
> >  --
> > You received this message cos you are subscribed to "farcry-dev" Google
> > group.
> > To post, email: [email protected]
> > To unsubscribe, email: 
> > [email protected]<farcry-dev%[email protected]>
> > For more options:http://groups.google.com/group/farcry-dev
> > --------------------------------
> > Follow us on Twitter:http://twitter.com/farcry
>
> --
>
> AJ Mercerhttp://webonix.nethttp://twitter.com/webonix
>
> --
> 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

-- 
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