营销人员的sitecore Web表单将表单发布到外部url [英] sitecore web form for marketers form post to external url

查看:99
本文介绍了营销人员的sitecore Web表单将表单发布到外部url的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在将Sitecore的Web表单用于Marketer的模块来生成表单.现在,我有一个特殊要求,我需要使用Web Form for Marketer的模块创建一个表单,该表单将发布到外部站点的网页上.外部网站网页需要某些表单字段,因此我需要确保由Web Form for Marketer生成的表单字段具有ID/名称,因为我们希望将其发送到外部网站上的页面.

We are using Sitecore's Web form for Marketer's module to generate forms. Now i have a special requirement, i need to created a form using Web Form for Marketer's module which will post to an extrenal site web page. External site web page is expecting certain form fields so i need to make sure that form fields generated by Web Form for Marketer has id/name as we want to send it to page on external site.

可以使用网络表格进行营销吗?如果不是,在sitecore中拥有这种形式的最佳实践是什么?

Is this possible using web form for marketers? If not what would be best practice to have such form in sitecore?

我们正在使用Sitecore 6.4.

We are using sitecore 6.4.

推荐答案

最简单的实现方法是为营销人员创建自定义Web表单保存操作,并将其分配给表单.

The easiest way to implement it is to create custom Web Forms for Marketers Save Action, and assign it to the form.

在该操作中,只需读取字段值并使用 WebRequest 将数据发布到外部表单,请参见此处的示例-

In that action, just read the field values and post data to external form using WebRequest, see the example here - How to submit http form using C#

这篇关于营销人员的sitecore Web表单将表单发布到外部url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆