In order for the system to push cards to Teamhood, the form must have the following fields. They should be “administrative” fields, have default TEAMHOOD values as described, and their label set to match (case sensitive!).
- workspaceId => GUID of workspace
- Set Default Value to {Teamhood:workspaceId} for default workspace ID
- boardId => GUID of Board
- Set Default Value to {Teamhood:boardId} for default boardID
- rowId => GUID of Row
- Set Default Value to {Teamhood:rowId} for default rowID
- statusId => GUID of BOARD Status
- Set Default Value to {Teamhood:statusId} for default status ID
- Must exist as a child of the given boardId
These fields can be optionally provided:
- assignedUserId => GUID of User to assign card to.
If present, these fields will be set when the form is submitted and a Teamhood card created
- teamhoodId => Records the GUID of the card added.
- teamhoodUrl => Records the URL to open created card.
If a “select” form item is created and has a populate-teamhoodusers css class set, then it will automatically populate the dropdown with a list of teamhood users (index off of their Teamhood GUID).
If a “select” form item is created and has a populate-wordpressusers css class set, then it will automatically populate the dropdown with a list of local WORDPRESS users (index off of their WordPress ID).
Listing Submissions on Page
You can use the page listing shortcode to display a list of submissions.
[nswersgravitylist form_id=1 dump=0 fields='6,10,3, 9,11,20' useridField='12']
- form_id is the Gravity Form ID to reference.
- dump is optional. Setting to 1 will output a lot of information for debugging.
- fields is a list of the field IDs to include in the table. Leave it blank to see a list of available fields and IDs. If teamhoodUrl is one of the included fields, this will display as a link to Teamhood and open in a new window.
- useridField is optional. If recording actual user id as a field, this can be used to display the user’s name instead of their user id, if outputting. The submitting user can be captured by creating a hidden field that has the Default Value set to {user:ID}
- dateformat is optional. Provide string to format any date fields. Defaults to ‘m/d/Y’.
Format Reference - teamhoodLinkText is optional. Changes the link text if a teamhood URL is detected. Defaults to ‘View’
Leave a Reply