# Comment Object "Sticky"

**URL:** <https://forum.inductiveautomation.com/t/comment-object-sticky/24326>\
**Category:** Ignition\
**Created:** [April 23, 2019, 3:59pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326 "2019-04-23T15:59:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 23, 2019, 3:59pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326/1 "2019-04-23T15:59:14Z")

</div>

Can I remove the “Sticky” from the comment object? I don’t want to allow any comment to be STICKY.

Thanks

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 23, 2019, 8:41pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326/2 "2019-04-23T20:41:11Z")

</div>

I can’t seem to make this add “insert” a new row to SQL EXPRESS.  
It gives NO Errors just does not create a new record.  
I have tried to follow the video for using the comment panel

“”"  
`#MSSQL Server query`

`#We're converting the binary data into a VARBINARY datatype on this line, which is the prefered datatype for binary data in MSSQL.`

`query = "INSERT INTO Notes (note, whoid, tstamp, attachment, filename, sticky) VALUES (?, ?, CURRENT_TIMESTAMP, CONVERT(VARBINARY(MAX),?), ?, ?)"`

`arguments` `=``[note, user, attachmentBytes, filename, sticky]`

`system.db.runPrepUpdate(query, arguments)`  
“”"

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [April 23, 2019, 9:06pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326/3 "2019-04-23T21:06:59Z")

</div>

The `insertNote` Extension Function (really, all Extension Functions) send error messages to the console.

Are you seeing any activity in the console (Designer \> Tools menu at the top \> Console \>most recent messages are at the bottom)?

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [April 24, 2019, 3:07pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326/4 "2019-04-24T15:07:43Z")

</div>

I finally got my comment panel working, I don’t know what was going on. I deleted my comment panel and placed another one added my query and insertnote ext function and everything now works.

Will do some more testing, I still wish I could get rid of the “Sticky” checkbox.

Thanks

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [April 24, 2019, 3:11pm UTC](https://forum.inductiveautomation.com/t/comment-object-sticky/24326/5 "2019-04-24T15:11:21Z")

</div>

Glad to hear it!

Regarding the Sticky checkbox, can’t think of a way to hack it, but this would make a good feature request: [https://ideas.inductiveautomation.com/](https://ideas.inductiveautomation.com/)
