Add Favorites to Layouts | Community
Skip to main content
Level 7
October 20, 2017
New

Add Favorites to Layouts

  • October 20, 2017
  • 3 replies
  • 479 views

We have several reports that must be shared with new users for them to then make a favorite. Wouldn't it be nice to automatically set favorites for a specific layout? This way when a new user gets assigned a layout they have favorites already established.

3 replies

Level 6
October 23, 2017

We would also like more control on layouts. We want to be able to set our company default Filter, View & Groupings via the layout & not use the Workfront generic defaults.

February 25, 2020

As a system admin I would like to be able to bulk edit a 'Favorite' object to multiple users at one time.

RandyRoberts
Community Advisor
Community Advisor
May 27, 2021

I've been searching for a way to do this. It seems to be in the user metadata:

"favorites": {

"label": "Favorites",

"typeObjCode": "FVRITE",

"targetTypeObjCode": null,

"fieldType": "Favorite",

"enumTargetObjCode": null,

"enumType": null,

"url": "https://hcgint.my.workfront.com/attask/api/v13.0/fvrite/metadata"

},


but there's really no way I've found to get to it from an API call. If I had the right code I could possibly post a favorite to a user.


I mapped out the structure of the favorite here:

https://company.my.workfront.com/attask/api/v9.0/favorite/5e9b570100fc6bc9e55422d14f396df2/search?fields=*


{

"ID": "5e9b570100fc6bc9e55422d14f396df2",

"name": "EG Dashboard",

"objCode": "FVRITE",

"customerID": "5731f662003e348aaef9b720a2b190cd",

"objID": "57b3723001e3d8e99b465892d5258210",

"objObjCode": "PTLTAB",

"userID": "5e2ef17a000e86977aeccba89b685154"

}



"ID": ID of the favorite

"name": Name of the favorite

"objCode": Object type

"customerID": HCG Customer ID

"objID": ID of the target object

"objObjCode": Target object type

"userID": ID of the user who is getting the favorite