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 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿
  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘