You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to retrieve co_fattach URL via CP

Accepted answer
40
Views
2
Comments
edited Apr 5, 2019 1:44PM in Customer Portal 2 comments

Content

Has anyone found a way to generate a download URL for a file attachment in the co_fattach table? I've tried the steps listed here, but it no longer appears to work. I am always met with the error:

File attachment not found: file.pdf (/prod_tmp/)

The URL tried is: https://xxxx.custhelp.com/cgi-bin/xxxx.cfg/php/admin/console_util/fa_redirect.php?p_file_id=3348&p_userfname=file.pdf&p_content_type=download

Now, I can get this to work via ConnectPHP using getAdminUrl() -- but I'm trying to avoid that. Being able to do this via a simple report would be preferable.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!