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?

    评论

报告相同问题?

悬赏问题

  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能