• Resolved josephmarkovich

    (@josephmarkovich)


    When I am creating a new record using a custom form, is there a way to get the ID of the new record once it is created? Am I able to use it with the redirect parameter of the form?

    Thank you.
    Joe

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

    (@alexacrm)

    @josephmarkovich we do have a task in backlog to do it the same way as in the V1 plugin, via %s parameter in the redirect string.

    Until it’s implemented, you can get around the problem by adding a hidden id field (e.g. leadid) to the form and then populating this field with a generated guid. Update with a new guid will perform an insert in Dataverse. That way guid is known in advance and can be used in the redirect url.

    Thread Starter josephmarkovich

    (@josephmarkovich)

    Hi George-

    I am able to use the %s parameter to redirect to my page and it is the correct guid.

    So, thank you!
    Joe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get ID of record created with custom form’ is closed to new replies.