Expand my Community achievements bar.

Latest Community Ideas Review is Out: Discover What’s New and What to Expect!

Add Favorites to Layouts

Avatar

Level 10

10/20/17

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 Comments

Avatar

Level 10

10/23/17

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.

Avatar

Community Advisor

5/27/21

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?fi...


{

"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