Re: view object as query string

Blair McKenzie <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <CAHJ+aRanGST_n8+eja2cHueq8i6g0C1+QVOzenCsXiJ1_bc+Ag@mail.gmail.com>
Try fixURL <http://docs.farcrycore.org/trunk/component-lib-fapi.html#fixURL>.
It has arguments for exactly your case.

Blair


On Fri, Sep 27, 2013 at 10:05 AM, Might Aswell <[email protected]> wrote:

> Yeah unfortunately due to the 3rd party (our marketing automation vendor)
> needing to manage cookies they require me to use an iframe.
>
> I've added the iframe's url to the form's "rule".. and just need an nice
> clean query string to stick on the end once all my farcry processing is
> done... (I planed on doing this as part of the rule's execute file)...
> another issue I had ran in to is the 3rd party is running on linux, so I
> have to preserve the case of the field names and convert spaces in the
> values to "+" vs. %20 which is why getHTTPRequestData().content worked so
> well when I was testing prior to moving the form to a farcry content type/
>
>
> On Thursday, September 26, 2013 4:51:19 PM UTC-7, Justin Carter wrote:
>
>> Does it need to be done client side?
>>
>> On the server side you could wait for the form submission, validate and
>> save the object, then use CFHTTP to send a POST to the third party with all
>> the form variables that you've already validated and saved?
>>
>> cheers,
>> Justin
>>
>>
>> On Fri, Sep 27, 2013 at 9:37 AM, Might Aswell <[email protected]> wrote:
>>
>>> Hi.
>>>
>>> I have a need to post a content object to a 3rd. party
>>>
>>> Basically I have a content type / form / rule set up to collect data via
>>> an  inquiry form. I need to post the form collected data to another URL via
>>> a hidden iframe.
>>>
>>> I have a content type MyInquiry, and rule set up (based of farFeedback)
>>> that is working nicely... data is stored in FC database, email messages get
>>> fired off to inside team and customer, and the "success message" is
>>> displayed in the container after the form is submitted.
>>>
>>> Now I need a easy "farcry way" to pass the fieldnames and submitted
>>> values safely as a query string.
>>>
>>> Outside of farcry I could use qstring = getHTTPRequestData().content on
>>> the form processing template and that worked well but as I will need to add
>>> more farcry forms and more external URLs to post to I want to do this in a
>>> more rule/webskin fashion but I am admittedly Noob...
>>>
>>> Thoughts, pointers, suggestions, code?
>>>
>>> Thanks!
>>>
>>> Chris
>>>
>>>
>>>  --
>>> You received this message cos you are subscribed to "farcry-dev" Google
>>> group.
>>> To post, email: farcr...-/[email protected]
>>> To unsubscribe, email: farcry-dev+...@**googlegroups.com
>>>
>>> For more options: http://groups.google.com/**group/farcry-dev<http://groups.google.com/group/farcry-dev>
>>> ------------------------------**--
>>> Follow us on Twitter: http://twitter.com/farcry
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "farcry-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to farcry-dev+...@**googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>
>>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: farcry-dev-/[email protected]
> To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups "farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to farcry-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.