Expand my Community achievements bar.

SOLVED

Report on Widgets from homepage

Avatar

Level 2

Is there a way to pull a report on many are using the widgets and what type from the homepage of Workfront?

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi @s-strategy,

 

In short no, at least there is nothing in the official documentation. Please check the documentatation for more details on how Home page works. Dashboard that you see there is not an actual dashboard that you could find via api explorer for PTLTAB object.

With little inspection I see what they do on Adobe side. They are using 

https://YOUR_COMPANY.my.workfront.adobe.com/dashboard-service/graphql and they are getting all widgets assigned to the dashboard using operationName attribute as "GetMergedHomeDashboard" and query as "fragment WidgetData on Widget {\n id\n x\n y\n h\n w\n contentMetadata {\n id\n type\n __typename\n }\n __typename\n}\n\nquery GetMergedHomeDashboard {\n dashboard: getMergedHomeDashboard {\n id\n type\n widgets {\n ...WidgetData\n isLayoutTemplateWidget\n __typename\n }\n __typename\n }\n}"

extracted JSON


As you can see this dashboard is fetched per logged in user and there is no generic way to fetch for multiple users.

I hope this explains it.

Best regards,
Ivan

 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Hi @s-strategy,

 

In short no, at least there is nothing in the official documentation. Please check the documentatation for more details on how Home page works. Dashboard that you see there is not an actual dashboard that you could find via api explorer for PTLTAB object.

With little inspection I see what they do on Adobe side. They are using 

https://YOUR_COMPANY.my.workfront.adobe.com/dashboard-service/graphql and they are getting all widgets assigned to the dashboard using operationName attribute as "GetMergedHomeDashboard" and query as "fragment WidgetData on Widget {\n id\n x\n y\n h\n w\n contentMetadata {\n id\n type\n __typename\n }\n __typename\n}\n\nquery GetMergedHomeDashboard {\n dashboard: getMergedHomeDashboard {\n id\n type\n widgets {\n ...WidgetData\n isLayoutTemplateWidget\n __typename\n }\n __typename\n }\n}"

extracted JSON


As you can see this dashboard is fetched per logged in user and there is no generic way to fetch for multiple users.

I hope this explains it.

Best regards,
Ivan