URL or API to open an eCard preview?

Options
I'm working on a new API donation form. Is there a way to reproduce the eCard preview functionality? I was expecting this to be done with query string params, but it isn't on stock forms.


Otherwise I suppose I could just rebuild it entirely and not use the messageViewer.
Tagged:

Comments

  • Hmm, this is interesting as where it would go since haven't personally attempted that yet either.


    I was looking at the popup URL when you click on that "eCard preview" button within the default Donation2 form, and the URL looks like

    http://main.diabetes.org/site/Ecard?taf_preview=true&taf_popup_preview_donations=true&mfc_popup=true&ecard_id=XXXX&stationery_layout_id=XXXX&cons_info_component=true


    could that be replicated as if called from an API form? 


    Other thoughts
    • Isn't that messageViewer would require FRID since that's more of Teamraiser API right?
    • Yeah recreating that layout entirely and just use javascript to grab the content of your textarea and move the copy inside of that layout seems much straightforward perhaps if all else failed :)
     

    Brian Mucha:

    I'm working on a new API donation form. Is there a way to reproduce the eCard preview functionality? I was expecting this to be done with query string params, but it isn't on stock forms.


    Otherwise I suppose I could just rebuild it entirely and not use the messageViewer.

     

Categories