From 8f59bfcc3c693086c29f6d71780dda3426ab27ea Mon Sep 17 00:00:00 2001 From: Timothy Hobbs Date: Mon, 6 Jan 2020 14:11:44 +0100 Subject: [PATCH] Update integration docs with info about iframe --- docs/integration.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/integration.rst b/docs/integration.rst index 59ab0538..159fde81 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -7,5 +7,12 @@ Django-helpdesk associates an email address with each submitted ticket. If you i - `title` - `body` - `submitter_email` + - `custom_` + +There is also a page under the url `/tickets/submit_iframe/` with the same behavior. + +Fields may be hidden by adding them to a comma separated `_hide_fieds_` query parameter. + +Here is an example url to get you started: `http://localhost:8000/desk/tickets/submit_iframe/?queue=1;custom_dpnk-user=http://lol.cz;submitter_email=foo@bar.cz;title=lol;_hide_fields_=title,queue,submitter_email`. This url sets the queue to 1, sets the custom field `dpnk-url` to `http://lol.cz` and submitter_email to `lol@baz.cz` and hides the title, queue, and submitter_email fields. Note that hidden fields should be set to a default. Note that these fields will continue to be user-editable despite being pre-filled.