Method Community

 

How to update dropdown fields using MethodAPIUpdateV2

Last post 06-29-2016 8:08 AM by Method_Audisho. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-28-2016 10:21 AM

    • EndiGrow
    • Not Ranked
    • Joined on 04-15-2016
    • Acworth, GA
    • Posts 3

    How to update dropdown fields using MethodAPIUpdateV2

    Is this possible?

    I have searched the posts and there are hints that it might be possible but not much else.

    I am abler to update other fields in the same table using MethodAPIUpdateV2.

    I have two fully populated tables  I imported: tasks and tasklistid,.

    I added a dropdown field to tasks called tasklistid.

    It generated the hidden field tasks.tasklistid_RecordID.

    I see that the hidden field is NOT updateable via the API per the XML error message returned.

    I want to add a value to the tasks.tasklistid and have the system populated tasks.tasklistid_RecordID to link to tasklistid.RecordID.

    Can this be done? 

    If so how?

    Damon Endicott
    CIO for the Entrepreneur
  • 06-28-2016 12:59 PM In reply to

    Re: How to update dropdown fields using MethodAPIUpdateV2

    Answer

    Hi Damion,

    In order to add a value to the tasks.tasklistid field, you must first make sure that value exists in the tasklistid table, since this is the table that the dropdown is based on. If the value does not exist in the tasklistid table, you must add it there first before you are able to insert it as a value in the tasks.tasklistid field. Does this help clarify things for you?

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
  • 06-28-2016 5:24 PM In reply to

    • EndiGrow
    • Not Ranked
    • Joined on 04-15-2016
    • Acworth, GA
    • Posts 3

    Re: How to update dropdown fields using MethodAPIUpdateV2

    Thanks. Knowing it was possible I found my error.

    I had copied the wrong pointer data into the update field.

    Damon Endicott
    CIO for the Entrepreneur
  • 06-29-2016 8:08 AM In reply to

    Re: How to update dropdown fields using MethodAPIUpdateV2

    Hi Damion,

    Thank you for following up and I'm happy to hear that you got this working.

    Cheers.

    --Audisho

    Audisho Sada
    Product Manager
    Method:CRM
    a.sada@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
Page 1 of 1 (4 items)