使用PHP-Hubspot API上传Hubspot文件

我一直在为客户端使用Hubspot进行入站营销和电子邮件营销活动。 我使用PHP api在hubspot中管理表单,电子邮件模板,工作流等。 现在我需要使用Hubspot上传文件。 </ p>

目前我正在按照此处提到的方法(以下PHP示例)</ p>

http://developers.hubspot.com/docs/methods/forms/submit_form </ p>

我想要 有一个文件上传按钮以及其他字段。 在寻找解决方案时,我看到了这一点:</ p>

http://help.hubspot.com/articles/KCS_Article/Can-I-add-a-File-Upload-field-to-my-forms < / a> </ p>

按照那里描述的步骤,我可以添加文件上传按钮,但是当我检查提交时,没有上传详细信息。 </ p>

任何人都可以指导我如何在PHP / javascript环境中实现它。</ p>
</ div>

展开原文

原文

I have been using Hubspot for my client for Inbound Marketing and Email Campaigns. I have managed forms,email templates,workflows etc in hubspot using its PHP api. Now I am in need to upload a file using Hubspot.

Currently I'm following the method mentioned here(following PHP example)

http://developers.hubspot.com/docs/methods/forms/submit_form

I would like to have a file upload button along with other fields. While searching for a solution, i saw this:

http://help.hubspot.com/articles/KCS_Article/Can-I-add-a-File-Upload-field-to-my-forms

Following the step described there, i was able to add a file upload button, but when i checked the submissions, no upload details are there.

Can any one guide me how to implement this in a  PHP / javascript environment.

1个回答



也许你的上传成功了,但是你找不到合适的地方? Hubspot上的表单上载与联系人一起存储,而不是与提交条目一起存储。 您可以按照以下说明查找它们:</ p>


  1. 导航到联系人&gt; 联系人主页</ li>
  2. 搜索要检索其文件的联系人姓名&gt; 单击名称以打开联系人记录</ li>
  3. 单击页面左侧的“属性”</ li>
  4. 找到相应的文件上载属性</ li>
    < li>单击属性旁边的按钮(看起来像一个带箭头的框)&gt; 您的文件将打开</ li>
    </ ol>

    说明来自: http://help.hubspot.com/articles/KCS_Article/Contacts/How-do-I -find-the-file-that-my-contact-uploaded-with-a-form-submission </ p>

    如果我弄错了,那么也许你可以发表你的表格的HTML 代码?</ p>
    </ div>

展开原文

原文

Perhaps your uploads have been successful but you're not looking in the right place for them? Form uploads on Hubspot are stored with the contact and not with the submission entries. You can follow these instructions to find them:

  1. Navigate to Contacts > Contacts Home
  2. Search for the name of the contact whose file you want to retrieve > click the name to open the contact record
  3. Click Properties on the left-hand side of the page
  4. Locate the appropriate file upload property
  5. Click the button next to the property (looks like a box with an arrow in it) > your file will open

Instructions from: http://help.hubspot.com/articles/KCS_Article/Contacts/How-do-I-find-the-file-that-my-contact-uploaded-with-a-form-submission

If I am mistaken, then perhaps you can post your form's HTML code?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐