0

How to populate Cc Fields using the new (great) Custom URLs full page forms?

Hi,

I posted this already on the docs page (https://support.shotgunsoftware.com/entries/115539)

But.... maybe is also a good idea to expose it here so everybody get aware of this easily.

?defaults={"addressings_cc":"Name"}

I've tried with the 'Name', 'Username' and 'Id' of an existing user and all I get is ', , , , ', and when I click on the field it turns into 'undefined, undefined, undefined'

Am I a doing something wrong or Is this a bug?
I could populate other fields succesfully.

Cheers,
Doc

2 comments

  • 0
    Avatar
    KP

    addressings_cc is a multi-entity field which means the value needs to be an Array []. And the syntax for entities is a bit more complex at the moment. Try something like this:

    https://example.shotgunstudio.com/new/Ticket?project=Demo%20Project&defaults={"addressings_cc":[{"name":"John%20Magoo"}]}

  • 0
    Avatar
    Armando Ricalde

    whoa, thanks.
    Really nice Feature!!!

    Doc

Please sign in to leave a comment.