Add DynamicField to Dashboard
Moderator: crythias
Add DynamicField to Dashboard
Hi,
I am trying to add dynamicfield to dashboard widget but no success.
i tried:
1. under Sysconfig (WebGUI):
Ticket -> Frontend::Agent::Dashboard
DashboardBackend###0120-TicketNew
DefaultColumns =>
i added my column and choose "2" to show the column by default
2. edit the DashboardTicketGeneric.pm to show dynamic fields
# show tickets
my $Count = 0;
for my $TicketID ( @{$TicketIDs} ) {
$Count++;
next if $Count < $Self->{StartHit};
my %Ticket = $Self->{TicketObject}->TicketGet(
TicketID => $TicketID,
UserID => $Self->{UserID},
DynamicFields => 1,
);
not working - On Dashboard i don't see the new column.
When i click on widget settings i do see the new column but after choosing it it show as an empty column
Thanks
I am trying to add dynamicfield to dashboard widget but no success.
i tried:
1. under Sysconfig (WebGUI):
Ticket -> Frontend::Agent::Dashboard
DashboardBackend###0120-TicketNew
DefaultColumns =>
i added my column and choose "2" to show the column by default
2. edit the DashboardTicketGeneric.pm to show dynamic fields
# show tickets
my $Count = 0;
for my $TicketID ( @{$TicketIDs} ) {
$Count++;
next if $Count < $Self->{StartHit};
my %Ticket = $Self->{TicketObject}->TicketGet(
TicketID => $TicketID,
UserID => $Self->{UserID},
DynamicFields => 1,
);
not working - On Dashboard i don't see the new column.
When i click on widget settings i do see the new column but after choosing it it show as an empty column
Thanks
OTRS Ver: 3.3.5
Re: Add DynamicField to Dashboard
Hi,
I am still struggling with this. cam someone help?
I am still struggling with this. cam someone help?
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Add DynamicField to Dashboard
You shouldn't have modified DashboardTicketGeneric.pm
You should have clicked the hidden gear in the upper right for the dashboard widget and dragged a column left to right
You should have clicked the hidden gear in the upper right for the dashboard widget and dragged a column left to right
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Add DynamicField to Dashboard
I did it and the column show empty so i change the DashboardTicketGeneric.pm and it is still empty.crythias wrote:You shouldn't have modified DashboardTicketGeneric.pm
You should have clicked the hidden gear in the upper right for the dashboard widget and dragged a column left to right
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Add DynamicField to Dashboard
So your problem isn't that the field can't be added, (as your title says) but that you don't see content for a field/column you've added.
And then the questions ... article or ticket, does it really have data?
And then the questions ... article or ticket, does it really have data?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Add DynamicField to Dashboard
maybe you missed this:crythias wrote:So your problem isn't that the field can't be added, (as your title says) but that you don't see content for a field/column you've added.
And then the questions ... article or ticket, does it really have data?
"not working - On Dashboard i don't see the new column.
When i click on widget settings i do see the new column but after choosing it it show as an empty column"
Yes every ticket have data for this dynamic field. i set it as "MUST" when customer open a ticket and i can see the data exist on all tickets.
the only reason i see this dynamicfield column at the widget settings is because i added in sysconfig (is this how it should be done?):
1. under Sysconfig (WebGUI):
Ticket -> Frontend::Agent::Dashboard
DashboardBackend###0120-TicketNew
DefaultColumns =>
i added my column and choose "2" to show the column by default
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Add DynamicField to Dashboard
You did it right, I .. guess. but then I don't know if you've matched the field properly or what.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Add DynamicField to Dashboard
I used the dynamicfield "name" not "label" this is how it should be done?crythias wrote:You did it right, I .. guess. but then I don't know if you've matched the field properly or what.
OTRS Ver: 3.3.5
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Add DynamicField to Dashboard
screenshots would be helpful... Specifically, config of the dynamic field, whether it was an article or ticket field, whether it's valid/invalid, what you put into sysconfig...
Yes, name and only the name as spelled (case sensitive).
Yes, name and only the name as spelled (case sensitive).
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Add DynamicField to Dashboard
Hi all was this ever sorted i know its an old post but i have the same problem.
-
- Znuny newbie
- Posts: 4
- Joined: 23 May 2017, 22:22
- Znuny Version: 5.0.18
- Real Name: Anderson da Silva Moreira
- Company: Senac
Re: Add DynamicField to Dashboard
Hello!
I also have the same problem.
I use the version 5.0.18.
Please, somebody can help us?
Thanks!
I also have the same problem.
I use the version 5.0.18.
Please, somebody can help us?
Thanks!
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Add DynamicField to Dashboard
Hi,
Please open your own post or are you really sure that the OP's OTRS version is the same like your? If not open your own topic and give a complete description what does not work, what you did, what the result is and what you expect.
tia,
Roy
Please open your own post or are you really sure that the OP's OTRS version is the same like your? If not open your own topic and give a complete description what does not work, what you did, what the result is and what you expect.
tia,
Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Add DynamicField to Dashboard
this is clearly either a bug or there is another undocumented option to be enabled.
In the release notes for 5.0.19-20-21 I couldn't find this bug as resolved.
In the release notes for 5.0.19-20-21 I couldn't find this bug as resolved.
OTRS 3.3.3 on Ubuntu
-
- Administrator
- Posts: 3961
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Add DynamicField to Dashboard
Hi,
About which bug do you talk?
- Roy
About which bug do you talk?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Add DynamicField to Dashboard
Sorry for shortness.
In OTRS 5.0.x It is actually possible to add a dynamicfield to the dashboard but even if the dynamicfield in the ticket zoom is correctly filled in in the dashboard appears blank.
In OTRS 5.0.x It is actually possible to add a dynamicfield to the dashboard but even if the dynamicfield in the ticket zoom is correctly filled in in the dashboard appears blank.
OTRS 3.3.3 on Ubuntu
Re: Add DynamicField to Dashboard
it seems that you did some wrong configuration. I have no issues to show DynamicField contents in the dashboard widgets
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 1
- Joined: 01 Oct 2018, 22:34
- Znuny Version: 5.0.5
- Real Name: MATEUS KOVALSKI DE MOURA
- Company: UBEE
Re: Add DynamicField to Dashboard
You should use "Dynamicfield_Name" in Sysconfig to appear correctly in the columns of your panel.