function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mattias NordinMattias Nordin 

Activity window input (querystring options)

It is nice that it is possible to set values in some fields in the task window by passing them into the window via the url. Anyone have the full list of supported query strings?



I have found the following to be working:


Window title:    ?title={!... text ...}
Assigned to:     &tsk1={!}
Name:            &tsk2={!}       or use    &what_id={!}
Related to:      &tsk3={!}   or use    &who_id={!} 
Due Date:        &tsk4={!}
Subject:         &tsk5={!...text...}
Comments:        &tsk6={!...text...}
???:             &tsk7= ???
???:             &tsk8= ???
???:             &tsk9= ???
Type:            &tsk10={!... Must be an existing picklist value ...}
Return url:      &retURL={!}
???:             &followup= ???


 Example of a link that pre populates a task with subject and comment text. It also tries to connect the "Related to" and the "Name" lookup. Text Goes Here&tsk6=Comment text goes here&retURL=%2F0062000000B6wEZ


Anyone have more info about this please post below.




If you use the UI and go to a standard NEW Task window, and then use a browsers capability to Inspect Code, or View Source, etc. then you can look for the various HTML Input tags on the screen.  The DOM ID's of these tags, tsk3, tsk4, etc. can then be seen and you can tell which field they map to.


This isn't just for tags, it's for any object including custom objects.


Best, Steve.