Back

(Sample code) Obtain links to a user's tasks

In this example, the goal is to obtain the links to all of the open fillout tasks for the user John Smith, who is a part of the Students datasource.

The datasource ID for the Students datasource must be obtained; to find the datasource ID, use GetDataSourceMappingTable(). The datasource ID is returned in the SourceID parameter (e.g., “Data1”).

Now that the ID of the Students datasource is known, GetUserData() can be used to find the user ID of John Smith. The Students datasource ID is passed to GetUserData() which returns an array containing the user data for all the users in the Students datasource.

Now it is time to get the actual tasks assigned to John Smith by calling GetTasks3().

The last thing to do is iterate through the resulting task data and generate a list of URLs.

Back to top

Copyright © 2025

Explorance Inc. All rights reserved.