douxuzui4590 2014-10-22 05:51
浏览 75

使用PHP-Hubspot API上传Hubspot文件

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条回答 默认 最新

  • dongyan5239 2014-12-09 19:35
    关注

    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?

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题