# Custom Column (in view) access to User Profile data through javascript

**URL:** <https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289>\
**Category:** Workflow Portal\
**Created:** [January 31, 2019, 9:54pm UTC](https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289 "2019-01-31T21:54:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asullivan78](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@asullivan78](https://discuss.workflowgen.com/u/asullivan78)\
**Post date:** [January 31, 2019, 9:54pm UTC](https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289/1 "2019-01-31T21:54:03Z")

</div>

Trying to display fields from the Participants user profile (i.e. department field) as a custom column.

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [February 1, 2019, 3:38pm UTC](https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289/2 "2019-02-01T15:38:06Z")

</div>

Hi @asullivan78,

The columns in the view can only display **data** of the form. It does not display participant information.  
What you can do is create hidden fields in the form where you can macro IN the participants’ information and OUT the values to a couple of data where you can display them in the view.

Regards,  
Eddy.

---

<div class="post-metadata">

**Author:** ![asullivan78](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@asullivan78](https://discuss.workflowgen.com/u/asullivan78)\
**Post date:** [February 19, 2019, 3:59pm UTC](https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289/3 "2019-02-19T15:59:22Z")

</div>

Hi Eddy,

We have tried the solution you suggested however we have found the only way to Macro In the participants name is to actually launch the current action. Is there a way to populate a field with participant name even though the current action hasn’t been launched (the action has already been assigned).

Thanks,  
Andrew

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [February 20, 2019, 6:52pm UTC](https://discuss.workflowgen.com/t/custom-column-in-view-access-to-user-profile-data-through-javascript/1289/4 "2019-02-20T18:52:09Z")

</div>

Hi @asullivan78,

Definitely - You can use any API (GraphQL, Webhooks, SOAP) to update the process data of a request at any time.

## Method UpdateProcessInstance using the SOAP WS:

[https://docs.workflowgen.com/v7144/api/html/20c3b0e1-4985-1421-2df5-fa3149a2c0e5.htm](https://docs.workflowgen.com/v7144/api/html/20c3b0e1-4985-1421-2df5-fa3149a2c0e5.htm)

## Method updateRequestDataSet using GraphQL:

You can find an example using that method in this article:

> [@Doing mutations with GraphQL using C#](https://discuss.workflowgen.com/t/doing-mutations-with-graphql-using-c/1317):
>
> Description In GraphQL, the HTTP GET method is supported on queries only. The HTTP POST method is supported on queries and operations (mutations). GraphQL will first search for the parameters in the URL’s query string. If not found in the query string, it will look in the POST request body. If the POST body has not been parsed, GraphQL will interpret it depending on the provided Content-Type header: application/json : the POST body will be parsed as a JSON object of parameters. applicatio…

## Method updateRequestDataSet using Webhooks:

> **[Incoming Webhooks | WorkflowGen Integration Guide](https://docs.advantys.com/workflowgen-integration-guide/incoming-webhooks#update-request-dataset)**

Regards,  
Eddy.
