Flex and Reports

View: New views
9 Messages — Rating Filter:   Alert me  

Flex and Reports

by Kim Hoopingarner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


What would be suggested in creating PDF reports when I'm using Flex as the application?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6131
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Flex and Reports

by Paul Kukiel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


If ColdFusion is your backend you can use ReportBuilder:

http://www.adobe.com/support/coldfusion/downloads.html


Paul


On Oct 10, 2009, at 5:34 PM, Kim Hoopingarner wrote:

>
> What would be suggested in creating PDF reports when I'm using Flex  
> as the application?
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6132
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Flex and Reports

by Kim Hoopingarner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That is what I tried.  I keep getting an error that I'm trying to figure out.  It's an odd one.

Channel disconnected before an acknowledgement was received.

I call the cfc in flex who gets the query info and sends it to the report.  Here's the cfc.

Ideas?

<cffunction name="TALENT_AttendanceSheet" access="remote" >
        <cfargument name="RegID" required="true">
        <cfargument name="SessionNo" required="true">
               
        <cfquery name="getAll" datasource="KimberlyH85">
                select *
                from e_classes
                ORDER BY ProgramOrder, ClassName, ClassDay, ClassTime
        </cfquery>
       
       
        <cfreport template="TALENT_AttendanceSheet.cfr"  query="getAll" format="PDF">
        </cfreport>
</cffunction>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6133
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Flex and Reports

by Paul Kukiel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think what you ned to do is do a URL request to a .cfm  We pop a new  
windows and call a .cfm page for our reports from flex.

Paul

On Oct 10, 2009, at 6:26 PM, Kim Hoopingarner wrote:

>
> That is what I tried.  I keep getting an error that I'm trying to  
> figure out.  It's an odd one.
>
> Channel disconnected before an acknowledgement was received.
>
> I call the cfc in flex who gets the query info and sends it to the  
> report.  Here's the cfc.
>
> Ideas?
>
> <cffunction name="TALENT_AttendanceSheet" access="remote" >
> <cfargument name="RegID" required="true">
> <cfargument name="SessionNo" required="true">
>
> <cfquery name="getAll" datasource="KimberlyH85">
> select *
>                from e_classes
> ORDER BY ProgramOrder, ClassName, ClassDay, ClassTime
> </cfquery>
>
>
> <cfreport template="TALENT_AttendanceSheet.cfr"  query="getAll"  
> format="PDF">
> </cfreport>
> </cffunction>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6134
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Flex and Reports

by Kim Hoopingarner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks.  I think you are right.  I've tried other suggestions - and it only works if it is in a CFM page.

Kim

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6135
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

PDF conversions

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Slightly OT for this list, but since my frontend is Flex and backend  
CF I thought I'd ask:
I'm looking for a good PDF to Image conversion system. I need to  
ingest PDF documents after user upload and basically convert them to a  
flat (JPG for example) image. The conversion needs to happen serverside.

I know that I can find a lot of such tools via Google, but I would  
prefer a recommendation.

Regards,

Stefan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6136
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Parent Message unknown Re: PDF conversions

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thank you - I did not try that. Will give it a shot.

Best wishes,

Stefan



On 11 Oct 2009, at 22:37, João Fernandes wrote:

>
> Stefan, did you try to use cfpdf? It does already allow you to extract
> pages as images. cfpdf action="thumbnail"
>
>
> --  
>
> João Fernandes
>
> Adobe Certified Expert
> Adobe Community Expert
> http://www.onflexwithcf.org
> http://www.riapt.org
> Portugal Adobe User Group (http://aug.riapt.org)
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6138
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: PDF conversions

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This seems to be working an absolute treat. Many thanks for the tip, I  
never knew you could extract these thumbs at full scale. Perfect.


Regards,

Stefan




On 12 Oct 2009, at 09:18, Stefan Richter wrote:

>
> Thank you - I did not try that. Will give it a shot.
>
> Best wishes,
>
> Stefan
>
>
>
> On 11 Oct 2009, at 22:37, João Fernandes wrote:
>
>>
>> Stefan, did you try to use cfpdf? It does already allow you to  
>> extract
>> pages as images. cfpdf action="thumbnail"
>>
>>
>> --  
>>
>> João Fernandes
>>
>> Adobe Certified Expert
>> Adobe Community Expert
>> http://www.onflexwithcf.org
>> http://www.riapt.org
>> Portugal Adobe User Group (http://aug.riapt.org)
>>
>>
>>
>>
>>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6139
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Flex and Reports

by Kim Hoopingarner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> That is what I tried.  I keep getting an error that I'm trying to
> figure out.  It's an odd one.
>
> Channel disconnected before an acknowledgement was received.
>
> I call the cfc in flex who gets the query info and sends it to the
> report.  Here's the cfc.
>
> Ideas?
>
> <cffunction name="TALENT_AttendanceSheet" access="remote" >
> <cfargument name="RegID" required="true">
> <cfargument name="SessionNo" required="true">
>
> <cfquery name="getAll" datasource="KimberlyH85">
> select *
               
> from e_classes
> ORDER BY ProgramOrder, ClassName, ClassDay, ClassTime
> </cfquery>
>
>
> <cfreport template="TALENT_AttendanceSheet.cfr"  query="getAll"
> format="PDF">
> </cfreport>
> </cffunction>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6194
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37