• Resolved josephmarkovich

    (@josephmarkovich)


    Is this allowed when creating a custom update form?

    {% form entity='contact' mode='update' record='{{ user.reference.Id }}' %}

    I keep receiving an error and it’s always having an issue on the record parameter of the form tag.

    Something like this:
    Failed to submit the form.
    Update request failed: Client error: PATCH https://naturebase.crm.dynamics.com/api/data/v9.1/contacts(%7B%7B%20user.reference.Id%20%7D%7D) resulted in a 400 Bad Request response with the following message: Bad Request - Error in query syntax.

    Thank you.
    Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author alexacrm

    (@alexacrm)

    @josephmarkovich user binding is a premium feature. If you are a beta tester and have premium installed, keep in mind that record expects an object, i.e. {% form entity='contact' mode='update' record=user.reference %}

    HTH

    Thread Starter josephmarkovich

    (@josephmarkovich)

    I can’t believe it was that simple of a fix. Thank you!!!

    Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form update’ is closed to new replies.