Passing K2 parameters into your K2 Report URLs

By peter.stilgoe









If you want / need to provide direct links to specific K2 reports without having to prompt the users to input various parameters ie dates etc you can by passing directly into your K2 report url.

The parameters below can be passed in:

a. FullName: Folder\ProcessName
b. Version: int_Version
c. ValueType: 0 to have average duration, 1 to have the instance numbers
d. FromDate: start date for the report YYYY/MM/DD
e. ToDate: end date for the report YYYY/MM/DD
f. Status: 2 for Active, 4 for Completed
g. EventType: 0 for all events, 1 to exclude Server Events

So an example url passing the above parameters in a K2 Blackpoint environment would look something like this:

http://my-server/sites/abc-corp/k2process/_layouts/K2/Reports/ActivityStatistics.aspx?ReportID=3&ProcessFullName=NewMatter\New Matter&Version=26&ValueType=1&FromDate=2011/03/01&ToDate=2011/03/07&Status=4




Share

, ,

About... peter.stilgoe

peter.stilgoeThis author published 497 posts in this site.
Sharepoint, InfoPath, K2, Nintex, Business Process Mapping, Business Intelligence, Automation, ECM, Document Management, Document Imaging, Internet Marketing & Online Business Consultant Email / MSN: pstilgoe@hotmail.com LinkedIn: Pete Stilgoe - Sharepoint Consultant









Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

No Comments

(Required)
(Required, will not be published)