
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 12:19 AM
Hi all
How can I add extra info onto a Private Task (PTSK) card in a Freeform Visual Task Board (VTB)?
I expected similar functionality as on Guided VTBs, where I could specify a VTB view on the table.
I've tried to resolve it with specifying a VTB view on task, vtb_task and vtb_card table. Without success.
Any other idea?
Cheers
-Luca.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 08:35 PM
Ok. Got it. You have to add the fields you want to the first section in the form for the VTB view. Once I did that it worked fine, the model got build with all the fields from the VTB view of the Private Task form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 01:35 PM
Have you actually filled out the values of any of the fields in the private task? It works for me if I reload the board after having filled in some value for those fields for a card. So in other words:
1. Open a free form board
2. Create PTASK
3. Change some value in the PTASK (assigned_to, etc.)
4. Reload the board
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 01:40 PM
Hm... some fields display but not others. I use the inspector to check out the widget that I am interested in and then call .scope() to get into the Angular objects. For example, angular.element(document.querySelector(".sn-card-component_records")).scope() gets you the first list of record details on a card on your board.
Looking at the angular objects from the front-end I find the following:
The private task (vtb_task) only has a sub-set of the fields in its model.
- VtbRecordModel
- additional_assignee_list:Object
- assigned_to:Object
- assigned_to_dependencies:"assignment_group"
- assignment_group:Object
- can_read:true
- description:Object
- dirty:undefined
- number:Object
- short_description:Object
- sys_class_name:"vtb_task"
- sys_id:"2f6513a613867200b5fc5aef3244b047"
- sys_updated_by:Object
- sys_updated_on:Object
- unsaved:undefined
On the other hand, when I look at the model for a card of an incident, the object has all the fields from the incident default view in the model - even blank ones.
- VtbRecordModel
- additional_assignee_list:Object
- assigned_to:Object
- assigned_to_dependencies:"assignment_group"
- assignment_group:Object
- business_service:Object
- caller_id:Object
- can_read:true
- category:Object
- cmdb_ci:Object
- contact_type:Object
- description:Object
- dirty:undefined
- hold_reason:Object
- impact:Object
- number:Object
- priority:Object
- short_description:Object
- state:Object
- subcategory:Object
- sys_class_name:"incident"
- sys_id:"d71f7935c0a8016700802b64c67c11c6"
- sys_updated_by:Object
- sys_updated_on:Object
- unsaved:undefined
- urgency:Object
- __proto__:Object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 08:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 11:16 AM