Copy link to clipboard
Copied
I maintain a site that was originally created in CF over 12 years ago. It's massive, and frankly the non-profit can't afford a total redo. Some of the sections used CFgrid to allow updating multiple records at once. My problem is that it's a shared server and CFC files are blocked. I've found solutions, but they all require CFC files.
Copy link to clipboard
Copied
You haven't asked a question. Therefore I am not sure what this is about. My guess is that you are looking for an alternative to cfgrid.
If so, then you can use a Javascript library such as DataTables. Javascript runs entirely at the client-side. Therefore, CFCs are not involved.
Go to "ColdFusion UI - The Right Way", then click on cfgrid, for a practical example using Datatables as an alternative to cfgrid. There the CFC only provides the table data. If you already have the data, then you don't need the CFC.
Copy link to clipboard
Copied
Adding to bkbk's reply, note also that cfc's can't be blocked. Wherever or whoever told you that is incorrect.
Also, is your use of cfgrid not working? What's the error? That, too, is hard to "block" use of.
Copy link to clipboard
Copied
I would suggest posting your cfgrid code and the exact error. Sounds like the cfgrid is binding to a CFC and your hosting providor does not support the cfc extension for incoming CF requests.
Copy link to clipboard
Copied
I agree with Mike's assertion this COULD be the problem. I was inferring Rick meant cf pages calling cfc's internally. I should have considered it could be what Mike proposed.
That said, I'd contend it's not NORMAL that a host would block calling cfc's via external urls. And even if they do, it would seem they could allow for whitlisting certain ones (even if they wanted to block all others).
Then again, it's worth nothing that a cfm CAN be called as the binding of a grid. Heck, the cfm could proxy the call to the cfc, if somehow it was too complex to RE-render as a cf.
Finally, Rick, you've now heard from 3 of us. Can you let us know where things stand, if you try anything (or may opt not to).