Skip to main content

v2 framework - unable to access HTML element(custom fields) from custom app

  • February 22, 2018
  • 2 replies
  • 45 views

In v2 framework, when the agent changes the priority, should hide/show the custom fields which is displaying under the properties(right sidebar). But unable to access the HTML elements of the custom fields to hide/show.

Kindly provide a solution to handle these types of scenario's



This topic has been closed for replies.

2 replies

  • Community Debut
  • February 22, 2018

Hi Karthick,


You can use the interface APIs to hide/show custom fields. 


Kindly refer the document https://developers.freshdesk.com/v2/docs/interface-api/#tickethideproperty.


 


  • Author
  • Apprentice
  • February 22, 2018

Thanks janani, it worked but whereas for data type fields its not working.

eg. Start date (field name)

client.interface.trigger("hideElement", {id: "Start date"})


Kindly help us on this.