Calendar widget procedure

Moderator: crythias

Locked
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Calendar widget procedure

Post by Sayannara »

Here is a procedure to enable the calendar widget. At this point it does not work. Please suggest.
  1. Create Dynamic Field
    TicketCalendarStartTime
    TicketCalendarEndTime
    step1.png
  2. Enable the Dynamic Field in “Free Fields” (or any ticket action you want)
    Go to Admin > SysConfig > Ticket > Frontend::Agent::Ticket::ViewFreeText
    Find Ticket::Frontend::AgentTicketFreeText###DynamicField
    Add 2 rows
    Key = TicketCalendarStartTime, Content = 1
    Key = TicketCalendarEndTime, Content = 1
    step2.png
  3. Configure the queues that’s tickets are displayed as calendar events
    Go to Admin > SysConfig > Ticket > Frontend::Agent::Dashboard::EventsTicketCalendar
    Find DashboardEventsTicketCalendar###Queues
    Add your queues
    step3.png
  4. Set some values to a ticket for the dynamic fields in the action “Free Fields”
You do not have the required permissions to view the files attached to this post.
Last edited by Sayannara on 05 Jan 2016, 18:44, edited 3 times in total.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Calendar procedure

Post by Sayannara »

(It seems that I cannot add more than 3 images)
step4.png
  • 5. Enable the Dashboard Widget in Settings (right-top box) of page Dashboard
    If you would like to use other dynamic fields to specify the date range, you should configure it in SysConfig > Ticket > Frontend::Agent::Dashboard::EventsTicketCalendar

Results:
step5.png

As you can see it does not work as expected. What am I missing ? Is there something which can alter the calendar like a custom setting ?

If it is a sub queue should I add it with Queue1::SubQueue or only SubQueue ?

Source:
http://ansonc.hk/2014/01/10/otrs-activa ... -calendar/
https://otrs.github.io/doc/manual/admin ... board.html
You do not have the required permissions to view the files attached to this post.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Calendar widget procedure

Post by reneeb »

Check the group settings for the widget in the sysconfig. And delete caches...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Calendar widget procedure

Post by Sayannara »

Thank you. There was no group. I tried with a group but still nothing appears in the calendar. I also tried with the users group but then the widget is not available.

If it is a sub queue should I add it with Queue1::SubQueue or only SubQueue ?
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Calendar widget procedure

Post by jojo »

Queue1::SubQueue
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Calendar widget procedure

Post by RStraub »

I think your problem is that your end time is before your start time. Calendar does not like it and won't show the ticket.

You might want to change the ordering of your dynamic fields so that this error won't re-ocurr that easily :)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Calendar widget procedure

Post by Sayannara »

Yes you are right! Thanks I messed up.

Isn't there a possibility to ensure that End time is always after start time ?
On the dynamic fields page we can only restrict "entering of dates" in the future/past.
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Calendar widget procedure

Post by RStraub »

I doubt that you can easily do that without modifications.

We "kinda" fixed that by writing a custom transition validation module for process tickets...
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Calendar widget procedure

Post by jnelson »

deleted
OTRS 5 on CentOS 7.1
Locked