Forum Replies Created

Viewing 2 replies - 31 through 32 (of 32 total)
  • Thread Starter Collin Condray

    (@ccondray)

    I think I found a solution to this problem. On around line 340, getPersonId is not returning an integer, it is returning an object. It needs to be replaced with something like this:

    https://pastebin.com/JRTixfsT

    to make the comparison work.

    Also, if they’re using the same email address that already exists in Highrise, the update won’t work either. You’ll get a “Email [email protected] has already been taken” message.

    If you want to to override the existing email, you’ll have to replace line 137 with:

    https://pastebin.com/tXYXnKwp

    The downside for this quick fix is that you can’t update or add any email addresses if they change it in future form submissions.

    I don’t see anything in the Highrise API that says that it shouldn’t update the email address. I’ll send them a note and see what they have to say.

    Thread Starter Collin Condray

    (@ccondray)

    I’ve been going through the code and can’t see anyplace where it takes the non custom Highrise fields and puts them in with either the sNote or sBackground fields. It looks like the only time it writes to the background info note is if the field is labeled staff_comment, the field name has the word ‘background’ in it, or the field name is sBackground. It only writes to the notes field if the field is named sNotes. I eventually had to hardcode the fields into the plugin that I wanted to go into sBackground which is not an optimal solution. Am I missing something obvious about how this plugin works?

Viewing 2 replies - 31 through 32 (of 32 total)