HELP!!!! I've been hacking away at Mobile TC and can't seem to find out how to select dispatched assigned jobs from the MAP and view a summary of job details like the get other job details command.
This is driving our line guys crazy!
The dispatch assigned job details can be viewed by clicking on the Jobs button on the bottom left corner for the first time. But, once it is viewed user cannot see the details from the map. User has to go to the JobList to get the details.
That's soOOO not what I'm asking for.
1. Select dispatched assigned Job pin from map.
2. Show partial job details just like the get other job command.
In the code, you can allow the selection of current jobs by commenting the current job assigned. I actually would like to find out how to select currently assigned jobs and display the job details in a half screen. Just like get other jobs info.
This 'might' be possible, but would require quite a bit of effort (and may not ultimately work or be supported). Out-of-the-box, the Show Other Crews/Jobs command ultimately results in the broadcastunitsevents.fmt returning minimal event/crew (and XY) info in an internal 'Other Jobs' XML file that TC maintains. Then, once the Other Jobs are returned, the Get Other Job info allows a map click on the otherJobs Pin type, and then gets the Other Job info (returned from the broadcastunitsevents.fmt) for the selected otherJob Pin from the internal Other Jobs XML file and displays it in the smaller form in the bottom of the map.
To attempt to do similar for jobs already assigned to your crew, you would have to mimic the code in the ..\default\jobinfo.htm file, but instead try to use selectPinRequest for 'assigned' jobs (from mobileInserviceBitmapList.xml), which you would likely need to add to mobileInserviceSettings.xml in the <pin> section (similar to <otherJobs>), and then, if the assigned Pin can be clicked, and if the assigned Pin contains the job ID, cycle through the internal Jobs XML file that contains all the Job data that came down via dispatch.fmt when the job was initially assigned.
The key here would be searching through the internal Jobs XML vs. the internal Other Jobs XML. Theoretically all the data is present with regard to the Job data, and there are definitely map Pins for the dispatch assigned jobs. I'm just not sure all the information needed is present in the assigned Pins, and/or if the selectPinRequest supports map clicks for assigned Pins. As a brainstorming exercise, this approach that seems plausible if all things align.
This solution works, you can select the dispatched assign jobs by using the daedispjobs as a selection in the mobileinservice settings. call all job information using oXMLJobs and create your form! Thank you dcBennet!
Add a Comment
Please sign in on the right menu to comment.
If you do not have an account, please Join now.