Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Help Desk » Help! Helpdesk shows comments when when "not visible to guests" is checked.

» Current Poll
Do you leave the Aclient enabled?
YES - 83.06%
103 Votes
NO - 16.94%
21 Votes
Total Votes: 124
You may not vote on this poll.
» Stats
Members: 9,466
Threads: 11,733
Posts: 55,229
Top Poster: Nick (4,981)
Welcome our newest member, alex_wilson@symantec.com
» Online Users: 44
2 members and 42 guests
Davey, naveed64
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
Reply
Old 10-19-2005, 03:53 PM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 02-22-2005
Location: Raynham, Massachusetts, USA
Posts: 338


Exclamation Help! Helpdesk shows comments when when "not visible to guests" is checked.

We just found out that the notification policy that notifies contacts and workers when an incident ticket changes actually INCLUDES the comments field even if you checked off "Comments not visible to guests."

Doh!!!

Is there any way to make the notfication policy NOT do that. Thankfully we didn't say anything bad (this time).
bday is offline   Reply With Quote
Old 10-26-2005, 12:17 AM   #2 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,196


First to be clear, it's a Notify Rule rather then a Notification Policy. It is very important to understand that they are very different elements.

It's actually working exactly as it should. Perhaps as a product enhancement altiris would change that box to say "comments visible to Guest consoles". The recipient of an email is not automatically classified as a "guest".

There's not a way to simply hide the comments from the email when the box is checked because the comments are part of your email template. You would actually have to tell it to use a different email template and the only way to do that is with a different notify rule.

You have two choices as I see them:

1-Edit the email template to drop the comments

2-Modify the Notify rule to not send the email if the incident has comments
(admin > notify rules > visible to guests = true/false)

and

Create a second notify rule that uses a different email template if the incident has "visible to guests = false" and add a condition to the existing notify rule (comments included) to only fire if "visible to guest = true"

BTW, when editing the email template, the comments will be the Simple Macro of Workitem(Workitem_Comments).

Cheers,
__________________
______________________
Mike Ainsworth


Last edited by Mike; 11-08-2005 at 09:43 AM.. Reason: spelling error
Mike is offline   Reply With Quote
Old 06-08-2007, 04:43 PM   #3 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Visible to guest

Hello,

I want the default "Visible to Guest" unchecked. Where could I change this?

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 06-08-2007, 05:18 PM   #4 (permalink)
 
Status: HelpDesk Hotshot
Join Date: 02-08-2007
Location: Louisiana
Posts: 122


If you edit WorkItemEdit.ascx and find the checkbox cbVisibleToGuest, adding Checked="False" does nothing. Remove the ItemDataField="workitem_comment_visible_to_guest" and it is unchecked now. I looked through a bunch of tables but couldn't find anything that looked like the default settings for an incident.
jmadigan is offline   Reply With Quote
Old 06-08-2007, 06:07 PM   #5 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Hello,

I had thought about this but this will make the field no more available. I need the field available but the technician will choose if he wants the comment visible or not. I saw a response on altiris.com but the link does not work anymore.

http://forums.altiris.com/messagevie...&enterthread=y
I am able to link to this thread but not the the "HERE" pointing to the solution ...

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-23-2007, 04:29 PM   #6 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


I merged these two threads as they are on "Visible to Guests" management.

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-23-2007, 05:27 PM   #7 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Quote:
Originally Posted by Mike
...

Create a second notify rule that uses a different email template if the incident has "visible to guests = false" and add a condition to the existing notify rule (comments included) to only fire if "visible to guest = true"

Cheers,
Does this mean that I have to duplicate the 135 (for now) Notify Rules which are going to a Contact?

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-23-2007, 06:33 PM   #8 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Quote:
Originally Posted by jmadigan
If you edit WorkItemEdit.ascx and find the checkbox cbVisibleToGuest, adding Checked="False" does nothing. Remove the ItemDataField="workitem_comment_visible_to_guest" and it is unchecked now. I looked through a bunch of tables but couldn't find anything that looked like the default settings for an incident.
But will I be still able to check the box for anyone who wants it?

Thnaks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-23-2007, 06:45 PM   #9 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Quote:
Originally Posted by Mike
...

There's not a way to simply hide the comments from the email when the box is checked because the comments are part of your email template. You would actually have to tell it to use a different email template and the only way to do that is with a different notify rule.

Cheers,
Does this information "Visible to Guest" get stored in the Workitem table? I did not find the field?

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-23-2007, 06:55 PM   #10 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


I finally found it:
comment_visible_to_guest in the workitem table

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-24-2007, 02:34 PM   #11 (permalink)
 
Status: Altiris Admin
Join Date: 04-03-2007
Location: Texas
Posts: 45


You can place the following query in your email template where it currently has WORKITEM(workitem_comment) and the comment will only be visible when the visible to guest box is marked.

HDQUERY[[Select comment from dbo.workitem w1 where number = WORKITEM(workitem_number) and comment_visible_to_guest <> 0 and version= (select MAX(version) from dbo.workitem w2 where w2.number = w1.number)]]

Thanks!

Amber

Last edited by asebastian; 07-24-2007 at 02:36 PM..
asebastian is offline   Reply With Quote
Old 07-24-2007, 02:39 PM   #12 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Excellent shortcut let me try...
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-26-2007, 08:31 PM   #13 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Hello,

The check box "Visible to Guest" is unchecked when I edit the incident but the rules fired when i saved the incident are the ones with "Visible to Guest" is true?

Any other place to unchecked or checked...?
I noticed that the field "Comment_Visible_To_Guest" in the Workitem table is set to "1"????

What is wrong?

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"

Last edited by dominique; 07-26-2007 at 08:33 PM..
dominique is offline   Reply With Quote
Old 07-26-2007, 08:52 PM   #14 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Quote:
Originally Posted by jmadigan
If you edit WorkItemEdit.ascx and find the checkbox cbVisibleToGuest, adding Checked="False" does nothing. Remove the ItemDataField="workitem_comment_visible_to_guest" and it is unchecked now. I looked through a bunch of tables but couldn't find anything that looked like the default settings for an incident.
I found the default value in the properties of the field "Comment_Visible_to_guest"
(see attachment)...

still testing .........

Thanks
Attached Files
File Type: zip Workitem.bmp.zip (16.8 KB, 23 views)
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-26-2007, 09:10 PM   #15 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Hello,

I changed the value to '0' on the property field - still not working still '1' everywhere
I added back ItemDataField="workitem_comment_visible_to_guest" - still not working still '1' everywhere

Any idea..

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-27-2007, 12:53 PM   #16 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Hello,

The "Visible_To_Guest" works fine only on update mode which means I create an incident and then uncheck the box or check the box depending how it was before and then the correct rules are fired.

BUT!!!!!!

on Creation of incident it is still appearing checked (when the "workitem_visible_to_guest" field is present in the workitemedit.ascx) or unchecked when the same field is removed but doesn't matter which one is setup it always acts as checked for the creation....

I tried to change the default value in the properties of the field to N'0" but still no luck...
I restarted IIS, SQL and Altiris Agent.

Any ideas?

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 01-02-2008, 12:45 AM   #17 (permalink)
 
hfrench's Avatar
 
Status: Altiris Admin
Join Date: 06-18-2007
Location: Virginia
Posts: 32


Dom,

Did you ever figure this one out? We are trying to default to unchecked as well.

Thanks,
Hunter
hfrench is offline   Reply With Quote
Old 01-02-2008, 01:12 AM   #18 (permalink)
 
hfrench's Avatar
 
Status: Altiris Admin
Join Date: 06-18-2007
Location: Virginia
Posts: 32


Nevermind:

https://kb.altiris.com/article.asp?article=38948&p=1
hfrench is offline   Reply With Quote
Old 01-02-2008, 07:14 PM   #19 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394


Good catch


I was not using this KB but it is sohrter than what did. I created a template for guest which does not include the comment and another template including the comment for worker and I am using two rules to use both templates with different destination...

Thanks
__________________
Thanks
Dom
http://www.altirigos.com

"Helping somebody else may help you"
dominique is offline   Reply With Quote
Old 07-02-2009, 11:12 AM   #20 (permalink)
 
Status: Altiris Admin
Join Date: 02-20-2008
Location: illinois
Posts: 31


Quote:
Originally Posted by asebastian View Post
You can place the following query in your email template where it currently has WORKITEM(workitem_comment) and the comment will only be visible when the visible to guest box is marked.

HDQUERY[[Select comment from dbo.workitem w1 where number = WORKITEM(workitem_number) and comment_visible_to_guest <> 0 and version= (select MAX(version) from dbo.workitem w2 where w2.number = w1.number)]]

Thanks!

Amber


This is EXACTLY what I needed...works perfectly for me...thanks a million
pryan67 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 04:08 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos